Grammar

A wrapper around the basic template grammar for parsing a diamond template.

Constructors

this
this(string name, char startCharacter, char endCharacter, ContentMode contentMode, CharacterIncludeMode characterIncludeMode, bool includeStatementCharacter, bool ignoreDepth, char mandatoryStartCharacter)

Creates a new template grammar.

Members

Properties

characterIncludeMode
auto characterIncludeMode [@property getter]

Gets the character include mode.

contentMode
auto contentMode [@property getter]

Gets the content mode.

endCharacter
auto endCharacter [@property getter]

Gets the end character.

ignoreDepth
auto ignoreDepth [@property getter]

Gets a boolean determining whether the grammar should ignore depth or not.

includeStatementCharacter
auto includeStatementCharacter [@property getter]

Gets a boolean determining whether the statement character should be included.

mandatoryStartCharacter
auto mandatoryStartCharacter [@property getter]

Gets a character that must follow the start character. '\0' indicates no character.

name
auto name [@property getter]

Gets the name.

startCharacter
auto startCharacter [@property getter]

Gets the start character.

Meta