Uses of Class
org.antlr.v4.runtime.atn.DecisionState
Packages that use DecisionState
Package
Description
-
Uses of DecisionState in org.antlr.v4.runtime
Methods in org.antlr.v4.runtime with parameters of type DecisionStateModifier and TypeMethodDescriptionprotected int
ParserInterpreter.visitDecisionState
(DecisionState p) Method visitDecisionState() is called when the interpreter reaches a decision state (instance of DecisionState). -
Uses of DecisionState in org.antlr.v4.runtime.atn
Subclasses of DecisionState in org.antlr.v4.runtime.atnModifier and TypeClassDescriptionfinal class
class
The start of a regular(...)
block.final class
Start of(A|B|...)+
loop.final class
Decision state forA+
and(A|B)+
.final class
The block that begins a closure loop.final class
final class
The Tokens rule start state linking to each lexer rule start stateFields in org.antlr.v4.runtime.atn with type parameters of type DecisionStateModifier and TypeFieldDescriptionfinal 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.Methods in org.antlr.v4.runtime.atn that return DecisionStateMethods in org.antlr.v4.runtime.atn with parameters of type DecisionStateModifier and TypeMethodDescriptionint
ATN.defineDecisionState
(DecisionState s) protected void
ParserATNSimulator.predicateDFAState
(DFAState dfaState, DecisionState decisionState) -
Uses of DecisionState in org.antlr.v4.runtime.dfa
Fields in org.antlr.v4.runtime.dfa declared as DecisionStateModifier and TypeFieldDescriptionfinal DecisionState
DFA.atnStartState
From which ATN state did we create this DFA?Constructors in org.antlr.v4.runtime.dfa with parameters of type DecisionStateModifierConstructorDescriptionDFA
(DecisionState atnStartState) DFA
(DecisionState atnStartState, int decision) -
Uses of DecisionState in org.antlr.v4.tool
Methods in org.antlr.v4.tool with parameters of type DecisionStateModifier and TypeMethodDescriptionprotected int
GrammarParserInterpreter.visitDecisionState
(DecisionState p) Override this method so that we can record which alternative was taken at each decision point.