| Package | Description |
|---|---|
| org.antlr.v4.runtime.atn |
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayPredictionContext |
class |
EmptyPredictionContext |
class |
SingletonPredictionContext |
| Modifier and Type | Field and Description |
|---|---|
static PredictionContext |
PredictionContext.EMPTY_FULL |
static PredictionContext |
PredictionContext.EMPTY_LOCAL |
PredictionContext |
SingletonPredictionContext.parent |
PredictionContext[] |
ArrayPredictionContext.parents |
| Modifier and Type | Method and Description |
|---|---|
protected PredictionContext |
SingletonPredictionContext.addEmptyContext() |
protected abstract PredictionContext |
PredictionContext.addEmptyContext() |
protected PredictionContext |
EmptyPredictionContext.addEmptyContext() |
protected PredictionContext |
ArrayPredictionContext.addEmptyContext() |
PredictionContext |
PredictionContext.appendContext(int returnContext,
PredictionContextCache contextCache) |
PredictionContext |
EmptyPredictionContext.appendContext(int returnContext,
PredictionContextCache contextCache) |
PredictionContext |
SingletonPredictionContext.appendContext(PredictionContext suffix,
PredictionContextCache contextCache) |
abstract PredictionContext |
PredictionContext.appendContext(PredictionContext suffix,
PredictionContextCache contextCache) |
PredictionContext |
EmptyPredictionContext.appendContext(PredictionContext suffix,
PredictionContextCache contextCache) |
PredictionContext |
ArrayPredictionContext.appendContext(PredictionContext suffix,
PredictionContextCache contextCache) |
static PredictionContext |
PredictionContext.fromRuleContext(ATN atn,
RuleContext outerContext) |
static PredictionContext |
PredictionContext.fromRuleContext(ATN atn,
RuleContext outerContext,
boolean fullContext) |
PredictionContext |
PredictionContextCache.getAsCached(PredictionContext context) |
PredictionContext |
ATN.getCachedContext(PredictionContext context) |
static PredictionContext |
PredictionContext.getCachedContext(PredictionContext context,
ConcurrentMap<PredictionContext,PredictionContext> contextCache,
PredictionContext.IdentityHashMap visited) |
PredictionContext |
PredictionContext.getChild(int returnState) |
PredictionContext |
PredictionContextCache.getChild(PredictionContext context,
int invokingState) |
PredictionContext |
ATNConfig.getContext() |
PredictionContext |
SingletonPredictionContext.getParent(int index) |
abstract PredictionContext |
PredictionContext.getParent(int index) |
PredictionContext |
EmptyPredictionContext.getParent(int index) |
PredictionContext |
ArrayPredictionContext.getParent(int index) |
PredictionContext |
PredictionContextCache.IdentityCommutativePredictionContextOperands.getX() |
PredictionContext |
PredictionContextCache.IdentityCommutativePredictionContextOperands.getY() |
PredictionContext |
PredictionContextCache.join(PredictionContext x,
PredictionContext y) |
static PredictionContext |
PredictionContext.join(PredictionContext context0,
PredictionContext context1) |
protected PredictionContext |
SingletonPredictionContext.removeEmptyContext() |
protected abstract PredictionContext |
PredictionContext.removeEmptyContext() |
protected PredictionContext |
EmptyPredictionContext.removeEmptyContext() |
protected PredictionContext |
ArrayPredictionContext.removeEmptyContext() |
| 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. |
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 static int |
PredictionContext.calculateHashCode(PredictionContext[] parents,
int[] returnStates) |
protected static int |
PredictionContext.calculateHashCode(PredictionContext parent,
int returnState) |
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) |
boolean |
PredictionContext.IdentityEqualityComparator.equals(PredictionContext a,
PredictionContext b) |
PredictionContext |
PredictionContextCache.getAsCached(PredictionContext context) |
PredictionContext |
ATN.getCachedContext(PredictionContext context) |
static PredictionContext |
PredictionContext.getCachedContext(PredictionContext context,
ConcurrentMap<PredictionContext,PredictionContext> contextCache,
PredictionContext.IdentityHashMap visited) |
PredictionContext |
PredictionContextCache.getChild(PredictionContext context,
int invokingState) |
int |
PredictionContext.IdentityEqualityComparator.hashCode(PredictionContext obj) |
static boolean |
PredictionContext.isEmptyLocal(PredictionContext context) |
PredictionContext |
PredictionContextCache.join(PredictionContext x,
PredictionContext y) |
static PredictionContext |
PredictionContext.join(PredictionContext context0,
PredictionContext context1) |
IntervalSet |
LL1Analyzer.LOOK(ATNState s,
ATNState stopState,
PredictionContext ctx)
Compute set of tokens that can follow
s in the ATN in the
specified ctx. |
IntervalSet |
LL1Analyzer.LOOK(ATNState s,
PredictionContext ctx)
Compute set of tokens that can follow
s in the ATN in the
specified ctx. |
IntervalSet |
ATN.nextTokens(ATNState s,
PredictionContext ctx)
Compute the set of valid tokens that can occur starting in state
s. |
void |
ATNConfig.setContext(PredictionContext context) |
String[] |
PredictionContext.toStrings(Recognizer<?,?> recognizer,
PredictionContext stop,
int currentState) |
String[] |
EmptyPredictionContext.toStrings(Recognizer<?,?> recognizer,
PredictionContext stop,
int currentState) |
ATNConfig |
ATNConfig.transform(ATNState state,
PredictionContext context,
boolean checkNonGreedy) |
| Modifier and Type | Method and Description |
|---|---|
static PredictionContext |
PredictionContext.getCachedContext(PredictionContext context,
ConcurrentMap<PredictionContext,PredictionContext> contextCache,
PredictionContext.IdentityHashMap visited) |
static PredictionContext |
PredictionContext.getCachedContext(PredictionContext context,
ConcurrentMap<PredictionContext,PredictionContext> contextCache,
PredictionContext.IdentityHashMap visited) |
| Constructor and Description |
|---|
ATNConfig(ATNConfig c,
ATNState state,
PredictionContext context) |
ATNConfig(ATNState state,
int alt,
PredictionContext context) |
IdentityCommutativePredictionContextOperands(PredictionContext x,
PredictionContext y) |
PredictionContextAndInt(PredictionContext obj,
int value) |
Copyright © 1992–2024 Daniel Sun. All rights reserved.