- actionIgnored
bool actionIgnored(LRGraph graph, LRGraphNode node, Action a, Action[] actions)
Undocumented in source. Be warned that the author may not have intended to support it.
- addDelayedReduceStates
void addDelayedReduceStates(LRGraph graph, LRGraph origGraph)
Undocumented in source. Be warned that the author may not have intended to support it.
- calcNextLookahead
BitSet!TokenID calcNextLookahead(LRGraph graph, size_t stateNr, size_t elementNr, TokenID currentToken, size_t indent)
Undocumented in source. Be warned that the author may not have intended to support it.
- calcNextLookahead
BitSet!TokenID calcNextLookahead(LRGraph graph, size_t stateNr, Action action, TokenID currentToken)
Undocumented in source. Be warned that the author may not have intended to support it.
- calcNextLookahead
void calcNextLookahead(BitSet!TokenID result, LRGraph graph, SymbolWithConstraint symbol, TokenID currentToken, bool[NonterminalWithConstraint] done, size_t indent)
Undocumented in source. Be warned that the author may not have intended to support it.
- calcNextLookaheadAfter
bool calcNextLookaheadAfter(BitSet!TokenID result, LRGraph graph, size_t stateNr, size_t elementNr, size_t dotPos, TokenID currentToken, size_t indent)
Undocumented in source. Be warned that the author may not have intended to support it.
- calculateExtraConstraints
void calculateExtraConstraints(LRGraph graph)
Undocumented in source. Be warned that the author may not have intended to support it.
- calculateLookahead
void calculateLookahead(LRGraph graph)
Undocumented in source. Be warned that the author may not have intended to support it.
- completeLRElementSet
LRElementSet completeLRElementSet(LRGraph graph, LRElementSet elementSet)
Undocumented in source. Be warned that the author may not have intended to support it.
- countUntilGraph
sizediff_t countUntilGraph(LRGraph graph, LRElement[] s)
Undocumented in source. Be warned that the author may not have intended to support it.
- elementFirstSet
BitSet!TokenID elementFirstSet(LRElement e, LRGraph graph)
Undocumented in source. Be warned that the author may not have intended to support it.
- elementSetClosure
LRElementSet elementSetClosure(LRGraph graph, LRElement[] startElements, bool transitive)
Undocumented in source.
- elementSetGoto
LRElement[] elementSetGoto(LRGraph graph, size_t prevState, LRElement[] elements, Symbol next, string subToken)
Undocumented in source. Be warned that the author may not have intended to support it.
- firstElement
LRElement[] firstElement(LRGraph graph, SymbolID nonterminalID, bool needsEmptyProduction)
Undocumented in source. Be warned that the author may not have intended to support it.
- genActionTable
ActionTable genActionTable(LRGraph graph, LRGraphNode node)
Undocumented in source. Be warned that the author may not have intended to support it.
- getNextLookahead
void getNextLookahead(EBNFGrammar grammar, immutable(SymbolInstance)[] l, BitSet!TokenID realLookahead, bool lookaheadNeedsAfterEnd, BitSet!TokenID newLookahead)
Undocumented in source. Be warned that the author may not have intended to support it.
- getOnlyNonterminal
NonterminalID getOnlyNonterminal(LRGraph graph, LRElement[] elements)
Undocumented in source. Be warned that the author may not have intended to support it.
- gotoSet
LRElementSet gotoSet(LRGraph graph, size_t prevState, LRElement[] elements, NonterminalID[] next)
Undocumented in source. Be warned that the author may not have intended to support it.
- makeLRGraph
LRGraph makeLRGraph(EBNFGrammar grammar, GlobalOptions globalOptions, LRGraph origGraph)
Undocumented in source. Be warned that the author may not have intended to support it.
- needsJumps
bool needsJumps(LRGraph graph, size_t stateNr, LRGraphNode node, ActionTable actionTable)
Undocumented in source. Be warned that the author may not have intended to support it.
- nodeFirstSet
BitSet!TokenID nodeFirstSet(LRGraphNode node, LRGraph graph)
Undocumented in source. Be warned that the author may not have intended to support it.
- nonterminalOutForProduction
NonterminalID nonterminalOutForProduction(const(Production)* p)
Undocumented in source. Be warned that the author may not have intended to support it.
- similarElements
bool similarElements(LRElement e1, LRElement e2)
Undocumented in source. Be warned that the author may not have intended to support it.
- tokenSetToString
void tokenSetToString(Appender!string app, BitSet!TokenID tokens, EBNFGrammar grammar)
Undocumented in source. Be warned that the author may not have intended to support it.
- tokenSetToString
string tokenSetToString(BitSet!TokenID tokens, EBNFGrammar grammar)
Undocumented in source. Be warned that the author may not have intended to support it.
- trivialState
bool trivialState(LRGraphNode s)
Undocumented in source. Be warned that the author may not have intended to support it.