djinn.types

Undocumented in source.

Members

Aliases

TokenSink
alias TokenSink = Appender!(Token[])

Undocumented in source.

string8b
alias string8b = typeof("".byCodeUnit)

Avoids autodecoding

Classes

SyntaxException
class SyntaxException

For Djinn syntax errors

Enums

TokenType
enum TokenType

Undocumented in source.

WhitespaceStripping
enum WhitespaceStripping

Jinja2 supports using - to indicate that whitespace should be stripped from the given side of the token

Functions

syntaxException
SyntaxException syntaxException(string msg, const(Source)* src, string file, size_t line)

Undocumented in source. Be warned that the author may not have intended to support it.

syntaxException
SyntaxException syntaxException(string msg, const(Pos) pos, string file, size_t line)

Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Pos
struct Pos

Tracks position in source code

Source
struct Source

A source code string with information about it

Token
struct Token

Pieces of Djinn source code

Meta