Uses of Class
org.antlr.v4.runtime.dfa.DFA
-
Packages that use DFA Package Description org.antlr.v4.runtime org.antlr.v4.runtime.atn org.antlr.v4.runtime.dfa -
-
Uses of DFA in org.antlr.v4.runtime
Fields in org.antlr.v4.runtime declared as DFA Modifier and Type Field Description protected DFA[]LexerInterpreter. _decisionToDFAprotected DFA[]ParserInterpreter. decisionToDFAMethods in org.antlr.v4.runtime with parameters of type DFA Modifier and Type Method Description protected StringDiagnosticErrorListener. getDecisionDescription(Parser recognizer, DFA dfa)voidANTLRErrorListener. 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.voidBaseErrorListener. reportAmbiguity(Parser recognizer, DFA dfa, int startIndex, int stopIndex, boolean exact, BitSet ambigAlts, ATNConfigSet configs)voidDiagnosticErrorListener. reportAmbiguity(Parser recognizer, DFA dfa, int startIndex, int stopIndex, boolean exact, BitSet ambigAlts, ATNConfigSet configs)voidProxyErrorListener. reportAmbiguity(Parser recognizer, DFA dfa, int startIndex, int stopIndex, boolean exact, BitSet ambigAlts, ATNConfigSet configs)voidANTLRErrorListener. 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.voidBaseErrorListener. reportAttemptingFullContext(Parser recognizer, DFA dfa, int startIndex, int stopIndex, BitSet conflictingAlts, ATNConfigSet configs)voidDiagnosticErrorListener. reportAttemptingFullContext(Parser recognizer, DFA dfa, int startIndex, int stopIndex, BitSet conflictingAlts, ATNConfigSet configs)voidProxyErrorListener. reportAttemptingFullContext(Parser recognizer, DFA dfa, int startIndex, int stopIndex, BitSet conflictingAlts, ATNConfigSet configs)voidANTLRErrorListener. 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.voidBaseErrorListener. reportContextSensitivity(Parser recognizer, DFA dfa, int startIndex, int stopIndex, int prediction, ATNConfigSet configs)voidDiagnosticErrorListener. reportContextSensitivity(Parser recognizer, DFA dfa, int startIndex, int stopIndex, int prediction, ATNConfigSet configs)voidProxyErrorListener. 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 DFA Modifier and Type Field Description protected DFAParserATNSimulator. _dfaDFA[]LexerATNSimulator. decisionToDFADFA[]ParserATNSimulator. decisionToDFAMethods in org.antlr.v4.runtime.atn that return DFA Modifier and Type Method Description DFALexerATNSimulator. getDFA(int mode)Methods in org.antlr.v4.runtime.atn with parameters of type DFA Modifier and Type Method Description 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 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 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 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)protected voidParserATNSimulator. reportAttemptingFullContext(DFA dfa, BitSet conflictingAlts, ATNConfigSet configs, int startIndex, int stopIndex)protected voidProfilingATNSimulator. reportAttemptingFullContext(DFA dfa, BitSet conflictingAlts, ATNConfigSet configs, int startIndex, int stopIndex)protected voidParserATNSimulator. reportContextSensitivity(DFA dfa, int prediction, ATNConfigSet configs, int startIndex, int stopIndex)protected voidProfilingATNSimulator. reportContextSensitivity(DFA dfa, int prediction, ATNConfigSet configs, int startIndex, int stopIndex)Constructors in org.antlr.v4.runtime.atn with parameters of type DFA Constructor Description LexerATNSimulator(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 DFA Constructor Description DFASerializer(DFA dfa, String[] tokenNames)Deprecated.UseDFASerializer(DFA, Vocabulary)instead.DFASerializer(DFA dfa, Vocabulary vocabulary)LexerDFASerializer(DFA dfa)
-