Uses of Class
org.antlr.v4.runtime.atn.PredictionContextCache
Packages that use PredictionContextCache
-
Uses of PredictionContextCache in org.antlr.v4.runtime.atn
Fields in org.antlr.v4.runtime.atn declared as PredictionContextCacheModifier and TypeFieldDescriptionstatic final PredictionContextCachePredictionContextCache.UNCACHEDMethods in org.antlr.v4.runtime.atn with parameters of type PredictionContextCacheModifier and TypeMethodDescriptionbooleanATNConfigSet.add(ATNConfig e, PredictionContextCache contextCache) booleanATNConfigSet.addAll(Collection<? extends ATNConfig> c, PredictionContextCache contextCache) protected DFAStateParserATNSimulator.addDFAContextState(DFA dfa, ATNConfigSet configs, int returnContext, PredictionContextCache contextCache) See comment on LexerInterpreter.addDFAState.protected DFAStateParserATNSimulator.addDFAEdge(DFA dfa, DFAState fromState, int t, IntegerList contextTransitions, ATNConfigSet toConfigs, PredictionContextCache contextCache) protected DFAStateParserATNSimulator.addDFAState(DFA dfa, ATNConfigSet configs, PredictionContextCache contextCache) See comment on LexerInterpreter.addDFAState.ArrayPredictionContext.appendContext(PredictionContext suffix, PredictionContextCache contextCache) ATNConfig.appendContext(int context, PredictionContextCache contextCache) ATNConfig.appendContext(PredictionContext context, PredictionContextCache contextCache) EmptyPredictionContext.appendContext(int returnContext, PredictionContextCache contextCache) EmptyPredictionContext.appendContext(PredictionContext suffix, PredictionContextCache contextCache) PredictionContext.appendContext(int returnContext, PredictionContextCache contextCache) abstract PredictionContextPredictionContext.appendContext(PredictionContext suffix, PredictionContextCache contextCache) SingletonPredictionContext.appendContext(PredictionContext suffix, PredictionContextCache contextCache) protected ATNConfigSetParserATNSimulator.applyPrecedenceFilter(ATNConfigSet configs, ParserRuleContext globalContext, PredictionContextCache contextCache) This method transforms the start state computed byParserATNSimulator.computeStartState(org.antlr.v4.runtime.dfa.DFA, org.antlr.v4.runtime.ParserRuleContext, boolean)to the special start state used by a precedence DFA for a particular precedence value.protected voidParserATNSimulator.closure(ATNConfig config, ATNConfigSet configs, ATNConfigSet intermediate, Set<ATNConfig> closureBusy, boolean collectPredicates, boolean hasMoreContexts, PredictionContextCache contextCache, int depth, boolean treatEofAsEpsilon) protected voidParserATNSimulator.closure(ATNConfigSet sourceConfigs, ATNConfigSet configs, boolean collectPredicates, boolean hasMoreContext, PredictionContextCache contextCache, boolean treatEofAsEpsilon) protected SimulatorStateParserATNSimulator.computeReachSet(DFA dfa, SimulatorState previous, int t, PredictionContextCache contextCache) protected SimulatorStateProfilingATNSimulator.computeReachSet(DFA dfa, SimulatorState previous, int t, PredictionContextCache contextCache) protected Tuple2<DFAState, ParserRuleContext> ParserATNSimulator.computeTargetState(DFA dfa, DFAState s, ParserRuleContext remainingGlobalContext, int t, boolean useContext, PredictionContextCache contextCache) Compute a target state for an edge in the DFA, and attempt to add the computed state and corresponding edge to the DFA.protected Tuple2<DFAState, ParserRuleContext> ProfilingATNSimulator.computeTargetState(DFA dfa, DFAState s, ParserRuleContext remainingGlobalContext, int t, boolean useContext, PredictionContextCache contextCache) protected ATNConfigParserATNSimulator.getEpsilonTarget(ATNConfig config, Transition t, boolean collectPredicates, boolean inContext, PredictionContextCache contextCache, boolean treatEofAsEpsilon) private ConflictInfoParserATNSimulator.isConflicted(ATNConfigSet configset, PredictionContextCache contextCache) (package private) static PredictionContextPredictionContext.join(PredictionContext context0, PredictionContext context1, PredictionContextCache contextCache) protected ATNConfigSetParserATNSimulator.removeAllConfigsNotInRuleStopState(ATNConfigSet configs, PredictionContextCache contextCache) Return a configuration set containing only the configurations fromconfigswhich are in aRuleStopState.protected ATNConfigParserATNSimulator.ruleTransition(ATNConfig config, RuleTransition t, PredictionContextCache contextCache)