LRElement

Undocumented in source.
struct LRElement {}

Members

Functions

addPrevElement
void addPrevElement(immutable(PrevElement) prev)
Undocumented in source. Be warned that the author may not have intended to support it.
addPrevElement
void addPrevElement(const(PrevElement)[] prevs)
Undocumented in source. Be warned that the author may not have intended to support it.
advance
LRElement advance()
Undocumented in source. Be warned that the author may not have intended to support it.
afterDot
immutable(SymbolInstance)[] afterDot(EBNFGrammar grammar)
Undocumented in source. Be warned that the author may not have intended to support it.
afterNext
immutable(SymbolInstance)[] afterNext(EBNFGrammar grammar)
Undocumented in source. Be warned that the author may not have intended to support it.
dup
LRElement dup()
Undocumented in source. Be warned that the author may not have intended to support it.
gotoParent
size_t gotoParent()
Undocumented in source. Be warned that the author may not have intended to support it.
isFinished
bool isFinished(EBNFGrammar grammar)
Undocumented in source. Be warned that the author may not have intended to support it.
isNextNonterminal
bool isNextNonterminal(EBNFGrammar grammar)
Undocumented in source. Be warned that the author may not have intended to support it.
isNextToken
bool isNextToken(EBNFGrammar grammar)
Undocumented in source. Be warned that the author may not have intended to support it.
isNextValid
bool isNextValid(EBNFGrammar grammar)
Undocumented in source. Be warned that the author may not have intended to support it.
next
immutable(SymbolInstance) next(EBNFGrammar grammar)
Undocumented in source. Be warned that the author may not have intended to support it.
nextNonterminals
immutable(NonterminalWithConstraint)[] nextNonterminals(EBNFGrammar grammar, bool directUnwrap)
Undocumented in source. Be warned that the author may not have intended to support it.
prev
immutable(SymbolInstance) prev(EBNFGrammar grammar)
Undocumented in source. Be warned that the author may not have intended to support it.
realLookahead
BitSet!TokenID realLookahead()
Undocumented in source. Be warned that the author may not have intended to support it.
stackSymbols
immutable(SymbolInstance)[] stackSymbols()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString(LRGraph graph)
Undocumented in source. Be warned that the author may not have intended to support it.
toStringNoLookahead
string toStringNoLookahead(LRGraph graph)
Undocumented in source. Be warned that the author may not have intended to support it.
toStringOnlyEnd
string toStringOnlyEnd(LRGraph graph)
Undocumented in source. Be warned that the author may not have intended to support it.
toStringOnlyEnd
void toStringOnlyEnd(LRGraph graph, Appender!string app)
Undocumented in source. Be warned that the author may not have intended to support it.
toStringOnlyLookahead
string toStringOnlyLookahead(LRGraph graph)
Undocumented in source. Be warned that the author may not have intended to support it.
toStringOnlyLookahead
void toStringOnlyLookahead(LRGraph graph, Appender!string app)
Undocumented in source. Be warned that the author may not have intended to support it.
toStringOnlyProduction
string toStringOnlyProduction(LRGraph graph)
Undocumented in source. Be warned that the author may not have intended to support it.
toStringOnlyProductionAfterDot
string toStringOnlyProductionAfterDot(LRGraph graph)
Undocumented in source. Be warned that the author may not have intended to support it.
toStringOnlyProductionAfterDot
void toStringOnlyProductionAfterDot(LRGraph graph, Appender!string app)
Undocumented in source. Be warned that the author may not have intended to support it.
toStringOnlyProductionBeforeDot
string toStringOnlyProductionBeforeDot(LRGraph graph)
Undocumented in source. Be warned that the author may not have intended to support it.
toStringOnlyProductionBeforeDot
void toStringOnlyProductionBeforeDot(LRGraph graph, Appender!string app)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

dotPos
size_t dotPos;
Undocumented in source.
extraConstraint
Constraint extraConstraint;
Undocumented in source.
ignoreInConflict
bool ignoreInConflict;
Undocumented in source.
isStartElement
bool isStartElement;
Undocumented in source.
lookahead
BitSet!TokenID lookahead;
Undocumented in source.
nextElements
immutable(PrevElement)[] nextElements;
Undocumented in source.
prevElements
immutable(PrevElement)[] prevElements;
Undocumented in source.
prevElementsMap
bool[immutable(PrevElement)] prevElementsMap;
Undocumented in source.
production
const(Production)* production;
Undocumented in source.
results
size_t[] results;
Undocumented in source.

Meta