| Package | Description |
|---|---|
| org.antlr.v4.runtime.atn |
| Modifier and Type | Method and Description |
|---|---|
protected ATNConfig |
ParserATNSimulator.actionTransition(ATNConfig config,
ActionTransition t) |
ATNConfig |
ATNConfig.appendContext(int context,
PredictionContextCache contextCache) |
ATNConfig |
ATNConfig.appendContext(PredictionContext context,
PredictionContextCache contextCache) |
ATNConfig |
ATNConfig.clone() |
static ATNConfig |
ATNConfig.create(ATNState state,
int alt,
PredictionContext context) |
static ATNConfig |
ATNConfig.create(ATNState state,
int alt,
PredictionContext context,
SemanticContext semanticContext) |
static ATNConfig |
ATNConfig.create(ATNState state,
int alt,
PredictionContext context,
SemanticContext semanticContext,
LexerActionExecutor lexerActionExecutor) |
ATNConfig |
ATNConfigSet.get(int index) |
protected ATNConfig |
ParserATNSimulator.getEpsilonTarget(ATNConfig config,
Transition t,
boolean collectPredicates,
boolean inContext,
PredictionContextCache contextCache,
boolean treatEofAsEpsilon) |
protected ATNConfig |
LexerATNSimulator.getEpsilonTarget(CharStream input,
ATNConfig config,
Transition t,
ATNConfigSet configs,
boolean speculative,
boolean treatEofAsEpsilon) |
protected ATNConfig |
ParserATNSimulator.precedenceTransition(ATNConfig config,
PrecedencePredicateTransition pt,
boolean collectPredicates,
boolean inContext) |
protected ATNConfig |
ParserATNSimulator.predTransition(ATNConfig config,
PredicateTransition pt,
boolean collectPredicates,
boolean inContext) |
protected ATNConfig |
ParserATNSimulator.ruleTransition(ATNConfig config,
RuleTransition t,
PredictionContextCache contextCache) |
ATNConfig |
ATNConfig.transform(ATNState state,
boolean checkNonGreedy) |
ATNConfig |
ATNConfig.transform(ATNState state,
LexerActionExecutor lexerActionExecutor,
boolean checkNonGreedy) |
ATNConfig |
ATNConfig.transform(ATNState state,
PredictionContext context,
boolean checkNonGreedy) |
ATNConfig |
ATNConfig.transform(ATNState state,
SemanticContext semanticContext,
boolean checkNonGreedy) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<ATNConfig> |
ATNConfigSet.iterator() |
| Modifier and Type | Method and Description |
|---|---|
protected ATNConfig |
ParserATNSimulator.actionTransition(ATNConfig config,
ActionTransition t) |
boolean |
ATNConfigSet.add(ATNConfig e) |
boolean |
ATNConfigSet.add(ATNConfig e,
PredictionContextCache contextCache) |
protected boolean |
OrderedATNConfigSet.canMerge(ATNConfig left,
long leftKey,
ATNConfig right) |
protected boolean |
ATNConfigSet.canMerge(ATNConfig left,
long leftKey,
ATNConfig right) |
protected void |
ParserATNSimulator.closure(ATNConfig config,
ATNConfigSet configs,
ATNConfigSet intermediate,
Set<ATNConfig> closureBusy,
boolean collectPredicates,
boolean hasMoreContexts,
PredictionContextCache contextCache,
int depth,
boolean treatEofAsEpsilon) |
protected boolean |
LexerATNSimulator.closure(CharStream input,
ATNConfig config,
ATNConfigSet configs,
boolean currentAltReachedAcceptState,
boolean speculative,
boolean treatEofAsEpsilon)
Since the alternatives within any lexer decision are ordered by
preference, this method stops pursuing the closure as soon as an accept
state is reached.
|
boolean |
ATNConfig.contains(ATNConfig subconfig)
|
boolean |
ATNConfig.equals(ATNConfig other) |
protected ATNConfig |
ParserATNSimulator.getEpsilonTarget(ATNConfig config,
Transition t,
boolean collectPredicates,
boolean inContext,
PredictionContextCache contextCache,
boolean treatEofAsEpsilon) |
protected ATNConfig |
LexerATNSimulator.getEpsilonTarget(CharStream input,
ATNConfig config,
Transition t,
ATNConfigSet configs,
boolean speculative,
boolean treatEofAsEpsilon) |
protected long |
OrderedATNConfigSet.getKey(ATNConfig e) |
protected long |
ATNConfigSet.getKey(ATNConfig e) |
protected ATNState |
ParserATNSimulator.getReachableTarget(ATNConfig source,
Transition trans,
int ttype) |
protected ATNConfig |
ParserATNSimulator.precedenceTransition(ATNConfig config,
PrecedencePredicateTransition pt,
boolean collectPredicates,
boolean inContext) |
protected ATNConfig |
ParserATNSimulator.predTransition(ATNConfig config,
PredicateTransition pt,
boolean collectPredicates,
boolean inContext) |
protected ATNConfig |
ParserATNSimulator.ruleTransition(ATNConfig config,
RuleTransition t,
PredictionContextCache contextCache) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
LL1Analyzer._LOOK(ATNState s,
ATNState stopState,
PredictionContext ctx,
IntervalSet look,
Set<ATNConfig> lookBusy,
BitSet calledRuleStack,
boolean seeThruPreds,
boolean addEOF)
Compute set of tokens that can follow
s in the ATN in the
specified ctx. |
boolean |
ATNConfigSet.addAll(Collection<? extends ATNConfig> c) |
boolean |
ATNConfigSet.addAll(Collection<? extends ATNConfig> c,
PredictionContextCache contextCache) |
protected void |
ParserATNSimulator.closure(ATNConfig config,
ATNConfigSet configs,
ATNConfigSet intermediate,
Set<ATNConfig> closureBusy,
boolean collectPredicates,
boolean hasMoreContexts,
PredictionContextCache contextCache,
int depth,
boolean treatEofAsEpsilon) |
protected boolean |
ParserATNSimulator.configWithAltAtStopState(Collection<ATNConfig> configs,
int alt) |
protected int |
ParserATNSimulator.getUniqueAlt(Collection<ATNConfig> configs) |
| Constructor and Description |
|---|
ATNConfig(ATNConfig c,
ATNState state,
PredictionContext context) |
Copyright © 1992–2024 Daniel Sun. All rights reserved.