dparsergen.generator.lexergenerator

Undocumented in source.

Members

Classes

SubAutomaton
class SubAutomaton
Undocumented in source.

Functions

codepointSetToCode
string codepointSetToCode(string varCode, CodepointSet set, CodepointSet assumed)
Undocumented in source. Be warned that the author may not have intended to support it.
codepointSetToCode
string codepointSetToCode(string varCode, CodepointSet set, bool inverted)
Undocumented in source. Be warned that the author may not have intended to support it.
codepointSetToStr
string codepointSetToStr(CodepointSet set)
Undocumented in source. Be warned that the author may not have intended to support it.
createLexerCode
const(char)[] createLexerCode(EBNFGrammar lexerGrammar, string modulename, string dfafilename)
Undocumented in source. Be warned that the author may not have intended to support it.
genGraphForNonterminal
void genGraphForNonterminal(EBNFGrammar lexerGrammar, Graph!(DCharToken, LexerAction) g, CodepointSet*[] codepointSets, NonterminalID currentNonterminal, Graph!(DCharToken, LexerAction).NodeID start, Graph!(DCharToken, LexerAction).NodeID end, Graph!(DCharToken, LexerAction)[NonterminalID] graphByNonterminal)
Undocumented in source. Be warned that the author may not have intended to support it.
genGraphForNonterminal
Graph!(DCharToken, LexerAction) genGraphForNonterminal(EBNFGrammar lexerGrammar, CodepointSet*[] codepointSets, NonterminalID currentNonterminal, Graph!(DCharToken, LexerAction)[NonterminalID] graphByNonterminal)
Undocumented in source. Be warned that the author may not have intended to support it.
generateStateMachine
void generateStateMachine(CodeWriter code, EBNFGrammar lexerGrammar, Graph!(DCharToken, LexerAction) dfa, bool inSubAutomaton, SubAutomaton[] subAutomatons)
Undocumented in source. Be warned that the author may not have intended to support it.
generateTokenGraph
void generateTokenGraph(EBNFGrammar lexerGrammar, Graph!(DCharToken, LexerAction) g, CodepointSet*[] codepointSets, Symbol symbol, Graph!(DCharToken, LexerAction).NodeID start, Graph!(DCharToken, LexerAction).NodeID end, EdgeFlags edgeFlags)
Undocumented in source. Be warned that the author may not have intended to support it.
removeMinimalMatchEdges
void removeMinimalMatchEdges(Graph!(DCharToken, LexerAction) g, EBNFGrammar lexerGrammar)
Undocumented in source. Be warned that the author may not have intended to support it.
restrictToAssumedCodepoints
CodepointSet restrictToAssumedCodepoints(CodepointSet set, CodepointSet assumed)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

DCharToken
struct DCharToken
Undocumented in source.
LexerAction
struct LexerAction
Undocumented in source.

Meta