Package | Description |
---|---|
org.antlr.v4.runtime | |
org.antlr.v4.tool |
Modifier and Type | Field | Description |
---|---|---|
protected InterpreterRuleContext |
ParserInterpreter.overrideDecisionRoot |
What is the current context when we override a decisions? This tells
us what the root of the parse tree is when using override
for an ambiguity/lookahead check.
|
protected InterpreterRuleContext |
ParserInterpreter.rootContext |
Modifier and Type | Method | Description |
---|---|---|
protected InterpreterRuleContext |
ParserInterpreter.createInterpreterRuleContext(ParserRuleContext parent,
int invokingStateNumber,
int ruleIndex) |
Provide simple "factory" for InterpreterRuleContext's.
|
InterpreterRuleContext |
ParserInterpreter.getOverrideDecisionRoot() |
|
InterpreterRuleContext |
ParserInterpreter.getRootContext() |
Return the root of the parse, which can be useful if the parser
bails out.
|
Modifier and Type | Class | Description |
---|---|---|
class |
GrammarInterpreterRuleContext |
An
InterpreterRuleContext that knows which alternative
for a rule was matched. |
Modifier and Type | Method | Description |
---|---|---|
protected InterpreterRuleContext |
GrammarParserInterpreter.createInterpreterRuleContext(ParserRuleContext parent,
int invokingStateNumber,
int ruleIndex) |
Copyright © 1992–2019 ANTLR. All rights reserved.