Package | Description |
---|---|
org.antlr.v4.runtime | |
org.antlr.v4.runtime.atn | |
org.antlr.v4.runtime.tree |
Modifier and Type | Field and Description |
---|---|
protected ParserRuleContext |
Parser._ctx
The
ParserRuleContext object for the currently executing rule. |
static ParserRuleContext |
RuleContext.EMPTY |
Modifier and Type | Method and Description |
---|---|
<T extends ParserRuleContext> |
ParserRuleContext.getRuleContext(Class<? extends T> ctxType,
int i) |
<T extends ParserRuleContext> |
ParserRuleContext.getRuleContexts(Class<? extends T> ctxType) |
Modifier and Type | Method and Description |
---|---|
ParserRuleContext |
Parser.getContext() |
ParserRuleContext |
Parser.getInvokingContext(int ruleIndex) |
ParserRuleContext |
ParserRuleContext.getParent() |
ParserRuleContext |
Parser.getRuleContext() |
Modifier and Type | Method and Description |
---|---|
void |
ParserRuleContext.copyFrom(ParserRuleContext ctx)
COPY a ctx (I'm deliberately not using copy constructor)
|
void |
Parser.TraceListener.enterEveryRule(ParserRuleContext ctx) |
void |
Parser.TrimToSizeListener.enterEveryRule(ParserRuleContext ctx) |
void |
Parser.enterOuterAlt(ParserRuleContext localctx,
int altNum) |
void |
Parser.enterRecursionRule(ParserRuleContext localctx,
int ruleIndex) |
void |
Parser.enterRule(ParserRuleContext localctx,
int state,
int ruleIndex)
Always called by generated parsers upon entry to a rule.
|
void |
Parser.TraceListener.exitEveryRule(ParserRuleContext ctx) |
void |
Parser.TrimToSizeListener.exitEveryRule(ParserRuleContext ctx) |
void |
Parser.pushNewRecursionContext(ParserRuleContext localctx,
int state,
int ruleIndex)
Like
Parser.enterRule(org.antlr.v4.runtime.ParserRuleContext, int, int) but for recursive rules. |
void |
Parser.unrollRecursionContexts(ParserRuleContext _parentctx) |
Constructor and Description |
---|
NoViableAltException(Parser recognizer,
TokenStream input,
Token startToken,
Token offendingToken,
ATNConfigSet deadEndConfigs,
ParserRuleContext ctx) |
ParserRuleContext(ParserRuleContext parent,
int invokingStateNumber) |
RecognitionException(Recognizer<?,?> recognizer,
IntStream input,
ParserRuleContext ctx) |
RecognitionException(String message,
Recognizer<?,?> recognizer,
IntStream input,
ParserRuleContext ctx) |
Modifier and Type | Field and Description |
---|---|
protected ParserRuleContext |
ParserATNSimulator._outerContext |
Modifier and Type | Method and Description |
---|---|
int |
ParserATNSimulator.adaptivePredict(TokenStream input,
int decision,
ParserRuleContext outerContext) |
protected BitSet |
ParserATNSimulator.evalSemanticContext(DFAState.PredPrediction[] predPredictions,
ParserRuleContext outerContext,
boolean complete)
Look through a list of predicate/alt pairs, returning alts for the
pairs that win.
|
protected int |
ParserATNSimulator.execATN(DFA dfa,
DFAState s0,
TokenStream input,
int startIndex,
ParserRuleContext outerContext)
Performs ATN simulation to compute a predicted alternative based
upon the remaining input, but also updates the DFA cache to avoid
having to traverse the ATN again for the same input sequence.
|
protected int |
ParserATNSimulator.execATNWithFullContext(DFA dfa,
DFAState D,
ATNConfigSet s0,
TokenStream input,
int startIndex,
ParserRuleContext outerContext) |
protected NoViableAltException |
ParserATNSimulator.noViableAlt(TokenStream input,
ParserRuleContext outerContext,
ATNConfigSet configs,
int startIndex) |
Modifier and Type | Method and Description |
---|---|
void |
ParseTreeListener.enterEveryRule(ParserRuleContext ctx) |
void |
ParseTreeListener.exitEveryRule(ParserRuleContext ctx) |
Copyright © 1992-2013 ANTLR. All Rights Reserved.