Uses of Class
org.antlr.v4.runtime.dfa.DFAState
-
Packages that use DFAState Package Description org.antlr.v4.runtime.atn org.antlr.v4.runtime.dfa -
-
Uses of DFAState in org.antlr.v4.runtime.atn
Fields in org.antlr.v4.runtime.atn declared as DFAState Modifier and Type Field Description protected DFAState
ProfilingATNSimulator. currentState
protected DFAState
LexerATNSimulator.SimState. dfaState
static DFAState
ATNSimulator. ERROR
Must distinguish between missing edge and edge we know leads nowhereMethods in org.antlr.v4.runtime.atn that return DFAState Modifier and Type Method Description protected DFAState
LexerATNSimulator. addDFAEdge(DFAState from, int t, ATNConfigSet q)
protected DFAState
ParserATNSimulator. addDFAEdge(DFA dfa, DFAState from, int t, DFAState to)
Add an edge to the DFA, if possible.protected DFAState
LexerATNSimulator. addDFAState(ATNConfigSet configs)
Add a new DFA state if there isn't one with this set of configurations already.protected DFAState
ParserATNSimulator. addDFAState(DFA dfa, DFAState D)
Add stateD
to the DFA if it is not already present, and return the actual instance stored in the DFA.protected DFAState
LexerATNSimulator. computeTargetState(CharStream input, DFAState s, int t)
Compute a target state for an edge in the DFA, and attempt to add the computed state and corresponding edge to the DFA.protected DFAState
ParserATNSimulator. computeTargetState(DFA dfa, DFAState previousD, int t)
Compute a target state for an edge in the DFA, and attempt to add the computed state and corresponding edge to the DFA.protected DFAState
ProfilingATNSimulator. computeTargetState(DFA dfa, DFAState previousD, int t)
DFAState
ProfilingATNSimulator. getCurrentState()
protected DFAState
LexerATNSimulator. getExistingTargetState(DFAState s, int t)
Get an existing target state for an edge in the DFA.protected DFAState
ParserATNSimulator. getExistingTargetState(DFAState previousD, int t)
Get an existing target state for an edge in the DFA.protected DFAState
ProfilingATNSimulator. getExistingTargetState(DFAState previousD, int t)
Methods in org.antlr.v4.runtime.atn with parameters of type DFAState Modifier and Type Method Description protected DFAState
LexerATNSimulator. addDFAEdge(DFAState from, int t, ATNConfigSet q)
protected void
LexerATNSimulator. addDFAEdge(DFAState p, int t, DFAState q)
protected DFAState
ParserATNSimulator. addDFAEdge(DFA dfa, DFAState from, int t, DFAState to)
Add an edge to the DFA, if possible.protected DFAState
ParserATNSimulator. addDFAState(DFA dfa, DFAState D)
Add stateD
to the DFA if it is not already present, and return the actual instance stored in the DFA.protected void
LexerATNSimulator. captureSimState(LexerATNSimulator.SimState settings, CharStream input, DFAState dfaState)
protected DFAState
LexerATNSimulator. computeTargetState(CharStream input, DFAState s, int t)
Compute a target state for an edge in the DFA, and attempt to add the computed state and corresponding edge to the DFA.protected DFAState
ParserATNSimulator. computeTargetState(DFA dfa, DFAState previousD, int t)
Compute a target state for an edge in the DFA, and attempt to add the computed state and corresponding edge to the DFA.protected DFAState
ProfilingATNSimulator. computeTargetState(DFA dfa, DFAState previousD, int t)
protected int
LexerATNSimulator. execATN(CharStream input, DFAState ds0)
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 DFAState
LexerATNSimulator. getExistingTargetState(DFAState s, int t)
Get an existing target state for an edge in the DFA.protected DFAState
ParserATNSimulator. getExistingTargetState(DFAState previousD, int t)
Get an existing target state for an edge in the DFA.protected DFAState
ProfilingATNSimulator. getExistingTargetState(DFAState previousD, int t)
protected void
ParserATNSimulator. predicateDFAState(DFAState dfaState, DecisionState decisionState)
protected void
ParserATNSimulator. reportAmbiguity(DFA dfa, DFAState D, int startIndex, int stopIndex, boolean exact, BitSet ambigAlts, ATNConfigSet configs)
If context sensitive parsing, we know it's ambiguity not conflictprotected void
ProfilingATNSimulator. reportAmbiguity(DFA dfa, DFAState D, int startIndex, int stopIndex, boolean exact, BitSet ambigAlts, ATNConfigSet configs)
-
Uses of DFAState in org.antlr.v4.runtime.dfa
Fields in org.antlr.v4.runtime.dfa declared as DFAState Modifier and Type Field Description DFAState[]
DFAState. edges
edges[symbol]
points to target of symbol.DFAState
DFA. s0
Fields in org.antlr.v4.runtime.dfa with type parameters of type DFAState Modifier and Type Field Description Map<DFAState,DFAState>
DFA. states
A set of all DFA states.Map<DFAState,DFAState>
DFA. states
A set of all DFA states.Methods in org.antlr.v4.runtime.dfa that return DFAState Modifier and Type Method Description DFAState
DFA. getPrecedenceStartState(int precedence)
Get the start state for a specific precedence value.Methods in org.antlr.v4.runtime.dfa that return types with arguments of type DFAState Modifier and Type Method Description List<DFAState>
DFA. getStates()
Return a list of all states in this DFA, ordered by state number.Methods in org.antlr.v4.runtime.dfa with parameters of type DFAState Modifier and Type Method Description protected String
DFASerializer. getStateString(DFAState s)
void
DFA. setPrecedenceStartState(int precedence, DFAState startState)
Set the start state for a specific precedence value.
-