antlr.v4.runtime.ParserInterpreter

Undocumented in source.

Members

Aliases

ParentContextPair
alias ParentContextPair = Tuple!(ParserRuleContext, "a", int, "b")
Undocumented in source.
TokenFactorySourcePair
alias TokenFactorySourcePair = Tuple!(TokenSource, "a", CharStream, "b")
Undocumented in source.

Classes

ParserInterpreter
class ParserInterpreter

@uml A parser simulator that mimics what ANTLR's generated parser code does. A ParserATNSimulator is used to make predictions via adaptivePredict but this class moves a pointer through the ATN to simulate parsing. ParserATNSimulator just makes us efficient rather than having to backtrack, for example.

Meta