| Package | Description |
|---|---|
| org.antlr.v4.runtime.atn |
| Modifier and Type | Field and Description |
|---|---|
static PredictionContextCache |
PredictionContextCache.UNCACHED |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ATNConfigSet.add(ATNConfig e,
PredictionContextCache contextCache) |
boolean |
ATNConfigSet.addAll(Collection<? extends ATNConfig> c,
PredictionContextCache contextCache) |
protected DFAState |
ParserATNSimulator.addDFAContextState(DFA dfa,
ATNConfigSet configs,
int returnContext,
PredictionContextCache contextCache)
See comment on LexerInterpreter.addDFAState.
|
protected DFAState |
ParserATNSimulator.addDFAEdge(DFA dfa,
DFAState fromState,
int t,
IntegerList contextTransitions,
ATNConfigSet toConfigs,
PredictionContextCache contextCache) |
protected DFAState |
ParserATNSimulator.addDFAState(DFA dfa,
ATNConfigSet configs,
PredictionContextCache contextCache)
See comment on LexerInterpreter.addDFAState.
|
PredictionContext |
PredictionContext.appendContext(int returnContext,
PredictionContextCache contextCache) |
PredictionContext |
EmptyPredictionContext.appendContext(int returnContext,
PredictionContextCache contextCache) |
ATNConfig |
ATNConfig.appendContext(int context,
PredictionContextCache contextCache) |
PredictionContext |
SingletonPredictionContext.appendContext(PredictionContext suffix,
PredictionContextCache contextCache) |
abstract PredictionContext |
PredictionContext.appendContext(PredictionContext suffix,
PredictionContextCache contextCache) |
PredictionContext |
EmptyPredictionContext.appendContext(PredictionContext suffix,
PredictionContextCache contextCache) |
ATNConfig |
ATNConfig.appendContext(PredictionContext context,
PredictionContextCache contextCache) |
PredictionContext |
ArrayPredictionContext.appendContext(PredictionContext suffix,
PredictionContextCache contextCache) |
protected ATNConfigSet |
ParserATNSimulator.applyPrecedenceFilter(ATNConfigSet configs,
ParserRuleContext globalContext,
PredictionContextCache contextCache)
This method transforms the start state computed by
ParserATNSimulator.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 void |
ParserATNSimulator.closure(ATNConfig config,
ATNConfigSet configs,
ATNConfigSet intermediate,
Set<ATNConfig> closureBusy,
boolean collectPredicates,
boolean hasMoreContexts,
PredictionContextCache contextCache,
int depth,
boolean treatEofAsEpsilon) |
protected void |
ParserATNSimulator.closure(ATNConfigSet sourceConfigs,
ATNConfigSet configs,
boolean collectPredicates,
boolean hasMoreContext,
PredictionContextCache contextCache,
boolean treatEofAsEpsilon) |
protected SimulatorState |
ProfilingATNSimulator.computeReachSet(DFA dfa,
SimulatorState previous,
int t,
PredictionContextCache contextCache) |
protected SimulatorState |
ParserATNSimulator.computeReachSet(DFA dfa,
SimulatorState previous,
int t,
PredictionContextCache contextCache) |
protected Tuple2<DFAState,ParserRuleContext> |
ProfilingATNSimulator.computeTargetState(DFA dfa,
DFAState s,
ParserRuleContext remainingGlobalContext,
int t,
boolean useContext,
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 ATNConfig |
ParserATNSimulator.getEpsilonTarget(ATNConfig config,
Transition t,
boolean collectPredicates,
boolean inContext,
PredictionContextCache contextCache,
boolean treatEofAsEpsilon) |
protected ATNConfigSet |
ParserATNSimulator.removeAllConfigsNotInRuleStopState(ATNConfigSet configs,
PredictionContextCache contextCache)
Return a configuration set containing only the configurations from
configs which are in a RuleStopState. |
protected ATNConfig |
ParserATNSimulator.ruleTransition(ATNConfig config,
RuleTransition t,
PredictionContextCache contextCache) |
Copyright © 1992–2024 Daniel Sun. All rights reserved.