Uses of Class
org.antlr.v4.runtime.dfa.DFA
Packages that use DFA
Package
Description
-
Uses of DFA in org.antlr.v4.runtime
Fields in org.antlr.v4.runtime declared as DFAModifier and TypeFieldDescriptionprotected final DFA[]
LexerInterpreter._decisionToDFA
protected final DFA[]
ParserInterpreter.decisionToDFA
Methods in org.antlr.v4.runtime with parameters of type DFAModifier and TypeMethodDescriptionprotected String
DiagnosticErrorListener.getDecisionDescription
(Parser recognizer, DFA dfa) void
ANTLRErrorListener.reportAmbiguity
(Parser recognizer, DFA dfa, int startIndex, int stopIndex, boolean exact, BitSet ambigAlts, ATNConfigSet configs) This method is called by the parser when a full-context prediction results in an ambiguity.void
BaseErrorListener.reportAmbiguity
(Parser recognizer, DFA dfa, int startIndex, int stopIndex, boolean exact, BitSet ambigAlts, ATNConfigSet configs) void
DiagnosticErrorListener.reportAmbiguity
(Parser recognizer, DFA dfa, int startIndex, int stopIndex, boolean exact, BitSet ambigAlts, ATNConfigSet configs) void
ProxyErrorListener.reportAmbiguity
(Parser recognizer, DFA dfa, int startIndex, int stopIndex, boolean exact, BitSet ambigAlts, ATNConfigSet configs) void
ANTLRErrorListener.reportAttemptingFullContext
(Parser recognizer, DFA dfa, int startIndex, int stopIndex, BitSet conflictingAlts, ATNConfigSet configs) This method is called when an SLL conflict occurs and the parser is about to use the full context information to make an LL decision.void
BaseErrorListener.reportAttemptingFullContext
(Parser recognizer, DFA dfa, int startIndex, int stopIndex, BitSet conflictingAlts, ATNConfigSet configs) void
DiagnosticErrorListener.reportAttemptingFullContext
(Parser recognizer, DFA dfa, int startIndex, int stopIndex, BitSet conflictingAlts, ATNConfigSet configs) void
ProxyErrorListener.reportAttemptingFullContext
(Parser recognizer, DFA dfa, int startIndex, int stopIndex, BitSet conflictingAlts, ATNConfigSet configs) void
ANTLRErrorListener.reportContextSensitivity
(Parser recognizer, DFA dfa, int startIndex, int stopIndex, int prediction, ATNConfigSet configs) This method is called by the parser when a full-context prediction has a unique result.void
BaseErrorListener.reportContextSensitivity
(Parser recognizer, DFA dfa, int startIndex, int stopIndex, int prediction, ATNConfigSet configs) void
DiagnosticErrorListener.reportContextSensitivity
(Parser recognizer, DFA dfa, int startIndex, int stopIndex, int prediction, ATNConfigSet configs) void
ProxyErrorListener.reportContextSensitivity
(Parser recognizer, DFA dfa, int startIndex, int stopIndex, int prediction, ATNConfigSet configs) -
Uses of DFA in org.antlr.v4.runtime.atn
Fields in org.antlr.v4.runtime.atn declared as DFAModifier and TypeFieldDescriptionprotected DFA
ParserATNSimulator._dfa
final DFA[]
LexerATNSimulator.decisionToDFA
final DFA[]
ParserATNSimulator.decisionToDFA
Methods in org.antlr.v4.runtime.atn that return DFAMethods in org.antlr.v4.runtime.atn with parameters of type DFAModifier and TypeMethodDescriptionprotected 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 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
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 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) protected void
ParserATNSimulator.reportAttemptingFullContext
(DFA dfa, BitSet conflictingAlts, ATNConfigSet configs, int startIndex, int stopIndex) protected void
ProfilingATNSimulator.reportAttemptingFullContext
(DFA dfa, BitSet conflictingAlts, ATNConfigSet configs, int startIndex, int stopIndex) protected void
ParserATNSimulator.reportContextSensitivity
(DFA dfa, int prediction, ATNConfigSet configs, int startIndex, int stopIndex) protected void
ProfilingATNSimulator.reportContextSensitivity
(DFA dfa, int prediction, ATNConfigSet configs, int startIndex, int stopIndex) Constructors in org.antlr.v4.runtime.atn with parameters of type DFAModifierConstructorDescriptionLexerATNSimulator
(ATN atn, DFA[] decisionToDFA, PredictionContextCache sharedContextCache) LexerATNSimulator
(Lexer recog, ATN atn, DFA[] decisionToDFA, PredictionContextCache sharedContextCache) ParserATNSimulator
(ATN atn, DFA[] decisionToDFA, PredictionContextCache sharedContextCache) Testing only!ParserATNSimulator
(Parser parser, ATN atn, DFA[] decisionToDFA, PredictionContextCache sharedContextCache) -
Uses of DFA in org.antlr.v4.runtime.dfa
Constructors in org.antlr.v4.runtime.dfa with parameters of type DFAModifierConstructorDescriptionDFASerializer
(DFA dfa, String[] tokenNames) Deprecated.DFASerializer
(DFA dfa, Vocabulary vocabulary) LexerDFASerializer
(DFA dfa) -
Uses of DFA in org.antlr.v4.runtime.tree.xpath
Fields in org.antlr.v4.runtime.tree.xpath declared as DFA -
Uses of DFA in org.antlr.v4.tool
Fields in org.antlr.v4.tool with type parameters of type DFAMethods in org.antlr.v4.tool with parameters of type DFA
DFASerializer(DFA, Vocabulary)
instead.