Package | Description |
---|---|
org.antlr.v4.runtime | |
org.antlr.v4.runtime.atn | |
org.antlr.v4.runtime.dfa |
Modifier and Type | Method and Description |
---|---|
protected int |
ParserInterpreter.visitDecisionState(DecisionState p)
Method visitDecisionState() is called when the interpreter reaches
a decision state (instance of DecisionState).
|
Modifier and Type | Class and Description |
---|---|
class |
BasicBlockStartState |
class |
BlockStartState
The start of a regular
(...) block. |
class |
PlusBlockStartState
Start of
(A|B|...)+ loop. |
class |
PlusLoopbackState
Decision state for
A+ and (A|B)+ . |
class |
StarBlockStartState
The block that begins a closure loop.
|
class |
StarLoopEntryState |
class |
TokensStartState
The Tokens rule start state linking to each lexer rule start state
|
Modifier and Type | Field and Description |
---|---|
List<DecisionState> |
ATN.decisionToState
Each subrule/rule is a decision point and we must track them so we
can go back later and build DFA predictors for them.
|
Modifier and Type | Method and Description |
---|---|
DecisionState |
ATN.getDecisionState(int decision) |
Modifier and Type | Method and Description |
---|---|
int |
ATN.defineDecisionState(DecisionState s) |
protected void |
ParserATNSimulator.predicateDFAState(DFAState dfaState,
DecisionState decisionState) |
Modifier and Type | Field and Description |
---|---|
DecisionState |
DFA.atnStartState
From which ATN state did we create this DFA?
|
Constructor and Description |
---|
DFA(DecisionState atnStartState) |
DFA(DecisionState atnStartState,
int decision) |
Copyright © 1992–2020 ANTLR. All rights reserved.