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 DFAStateProfilingATNSimulator. currentStateprotected DFAStateLexerATNSimulator.SimState. dfaStatestatic DFAStateATNSimulator. ERRORMust 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 DFAStateLexerATNSimulator. addDFAEdge(DFAState from, int t, ATNConfigSet q)protected DFAStateParserATNSimulator. addDFAEdge(DFA dfa, DFAState from, int t, DFAState to)Add an edge to the DFA, if possible.protected DFAStateLexerATNSimulator. addDFAState(ATNConfigSet configs)Add a new DFA state if there isn't one with this set of configurations already.protected DFAStateParserATNSimulator. addDFAState(DFA dfa, DFAState D)Add stateDto the DFA if it is not already present, and return the actual instance stored in the DFA.protected DFAStateLexerATNSimulator. 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 DFAStateParserATNSimulator. 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 DFAStateProfilingATNSimulator. computeTargetState(DFA dfa, DFAState previousD, int t)DFAStateProfilingATNSimulator. getCurrentState()protected DFAStateLexerATNSimulator. getExistingTargetState(DFAState s, int t)Get an existing target state for an edge in the DFA.protected DFAStateParserATNSimulator. getExistingTargetState(DFAState previousD, int t)Get an existing target state for an edge in the DFA.protected DFAStateProfilingATNSimulator. getExistingTargetState(DFAState previousD, int t)Methods in org.antlr.v4.runtime.atn with parameters of type DFAState Modifier and Type Method Description protected DFAStateLexerATNSimulator. addDFAEdge(DFAState from, int t, ATNConfigSet q)protected voidLexerATNSimulator. addDFAEdge(DFAState p, int t, DFAState q)protected DFAStateParserATNSimulator. addDFAEdge(DFA dfa, DFAState from, int t, DFAState to)Add an edge to the DFA, if possible.protected DFAStateParserATNSimulator. addDFAState(DFA dfa, DFAState D)Add stateDto the DFA if it is not already present, and return the actual instance stored in the DFA.protected voidLexerATNSimulator. captureSimState(LexerATNSimulator.SimState settings, CharStream input, DFAState dfaState)protected DFAStateLexerATNSimulator. 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 DFAStateParserATNSimulator. 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 DFAStateProfilingATNSimulator. computeTargetState(DFA dfa, DFAState previousD, int t)protected intLexerATNSimulator. execATN(CharStream input, DFAState ds0)protected intParserATNSimulator. 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 intParserATNSimulator. execATNWithFullContext(DFA dfa, DFAState D, ATNConfigSet s0, TokenStream input, int startIndex, ParserRuleContext outerContext)protected DFAStateLexerATNSimulator. getExistingTargetState(DFAState s, int t)Get an existing target state for an edge in the DFA.protected DFAStateParserATNSimulator. getExistingTargetState(DFAState previousD, int t)Get an existing target state for an edge in the DFA.protected DFAStateProfilingATNSimulator. getExistingTargetState(DFAState previousD, int t)protected voidParserATNSimulator. predicateDFAState(DFAState dfaState, DecisionState decisionState)protected voidParserATNSimulator. 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 voidProfilingATNSimulator. 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. edgesedges[symbol]points to target of symbol.DFAStateDFA. s0Fields in org.antlr.v4.runtime.dfa with type parameters of type DFAState Modifier and Type Field Description Map<DFAState,DFAState>DFA. statesA set of all DFA states.Map<DFAState,DFAState>DFA. statesA set of all DFA states.Methods in org.antlr.v4.runtime.dfa that return DFAState Modifier and Type Method Description DFAStateDFA. 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 StringDFASerializer. getStateString(DFAState s)voidDFA. setPrecedenceStartState(int precedence, DFAState startState)Set the start state for a specific precedence value.
-