dparsergen.generator.grammar

Undocumented in source.

Members

Classes

EBNFGrammar
class EBNFGrammar
Undocumented in source.
SymbolInfo
class SymbolInfo
Undocumented in source.

Functions

addAnnotation
void addAnnotation(Annotations annotations, Tree tree)
Undocumented in source. Be warned that the author may not have intended to support it.
buildRegArrayGraph
Graph!(SymbolWithConstraint, NonterminalID) buildRegArrayGraph(EBNFGrammar grammar, NonterminalID[] regArrayNonterminals)
Undocumented in source. Be warned that the author may not have intended to support it.
checkGrammar
void checkGrammar(EBNFGrammar grammar)
Undocumented in source. Be warned that the author may not have intended to support it.
createGrammar
NonterminalID createGrammar(EBNFGrammar grammar, string name, Tree tree, EBNF ebnf, bool isVirtual)
Undocumented in source. Be warned that the author may not have intended to support it.
createGrammar
EBNFGrammar createGrammar(EBNF ebnf)
Undocumented in source. Be warned that the author may not have intended to support it.
createGrammarWithoutDeactivatedProductions
EBNFGrammar createGrammarWithoutDeactivatedProductions(EBNFGrammar realGrammar)
Undocumented in source. Be warned that the author may not have intended to support it.
createLexerGrammar
EBNFGrammar createLexerGrammar(EBNF ebnf, EBNFGrammar realGrammar)
Undocumented in source. Be warned that the author may not have intended to support it.
createOptEmptyGrammar
EBNFGrammar createOptEmptyGrammar(EBNF ebnf, EBNFGrammar realGrammar)
Undocumented in source. Be warned that the author may not have intended to support it.
createRegArrayGrammar
EBNFGrammar createRegArrayGrammar(EBNF ebnf, EBNFGrammar realGrammar)
Undocumented in source. Be warned that the author may not have intended to support it.
createSymbol
SymbolInstance createSymbol(EBNFGrammar grammar, Tree tree, EBNF ebnf)
Undocumented in source. Be warned that the author may not have intended to support it.
escapeName
string escapeName(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
generateSymbolInfos
SymbolInfo[string] generateSymbolInfos(EBNF ebnf)
Undocumented in source. Be warned that the author may not have intended to support it.
getSymbolByName
Symbol getSymbolByName(EBNFGrammar grammar, string name)
Undocumented in source. Be warned that the author may not have intended to support it.
tagsSorted
bool tagsSorted(immutable(TagUsage)[] tags)
Undocumented in source. Be warned that the author may not have intended to support it.
writeFinalGrammarFile
void writeFinalGrammarFile(string finalgrammarfilename, EBNFGrammar grammar, EBNFGrammar lexerGrammar)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Constraint
struct Constraint
Undocumented in source.
NonterminalWithConstraint
struct NonterminalWithConstraint
Undocumented in source.
StartNonterminal
struct StartNonterminal
Undocumented in source.
SymbolWithConstraint
struct SymbolWithConstraint
Undocumented in source.

Meta