dparsergen.generator.parsercodegencommon

Undocumented in source.

Members

Functions

checkTagsCode
bool checkTagsCode(CodeWriter code, EBNFGrammar grammar, Production* production)
Undocumented in source. Be warned that the author may not have intended to support it.
createAllNonterminalsCode
string createAllNonterminalsCode(EBNFGrammar grammar)
Undocumented in source. Be warned that the author may not have intended to support it.
createAllProductionsCode
string createAllProductionsCode(EBNFGrammar grammar)
Undocumented in source. Be warned that the author may not have intended to support it.
createAllTokensCode
string createAllTokensCode(EBNFGrammar grammar)
Undocumented in source. Be warned that the author may not have intended to support it.
createParseStateComments
void createParseStateComments(CodeWriter code, LRGraph graph, LRElementSet elements, NonterminalID[][] stackDelayedReduce)
Undocumented in source. Be warned that the author may not have intended to support it.
createParseStateComments
void createParseStateComments(CodeWriter code, LRGraph graph, size_t stateNr, LRGraphNode node)
Undocumented in source. Be warned that the author may not have intended to support it.
isIdentifierStr
bool isIdentifierStr(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
nonterminalFlagsToCode
string nonterminalFlagsToCode(NonterminalFlags t)
Undocumented in source. Be warned that the author may not have intended to support it.
nonterminalIDCode
string nonterminalIDCode(EBNFGrammar grammar, NonterminalID nonterminalID)
Undocumented in source. Be warned that the author may not have intended to support it.
parseFunctionName
string parseFunctionName(LRGraph graph, size_t stateNr, string prefix)
Undocumented in source. Be warned that the author may not have intended to support it.
reduceFunctionName
string reduceFunctionName(LRGraph graph, Production* production, string prefix)
Undocumented in source. Be warned that the author may not have intended to support it.
reduceTagsCode
string reduceTagsCode(EBNFGrammar grammar, Production* production)
Undocumented in source. Be warned that the author may not have intended to support it.
symbolNameCode
string symbolNameCode(EBNFGrammar grammar, Symbol s)
Undocumented in source. Be warned that the author may not have intended to support it.
tokenDCode
string tokenDCode(string tokName)
Undocumented in source. Be warned that the author may not have intended to support it.
tokenDCode
string tokenDCode(Token tok)
Undocumented in source. Be warned that the author may not have intended to support it.
tokenSetCode
string tokenSetCode(EBNFGrammar grammar, BitSet!TokenID set, string var, bool inverted)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

CommaGen
struct CommaGen
Undocumented in source.

Meta