All Methods Static Methods Instance Methods Abstract Methods Concrete Methods
| Modifier and Type |
Method and Description |
protected abstract PredictionContext |
addEmptyContext() |
PredictionContext |
appendContext(int returnContext,
PredictionContextCache contextCache) |
abstract PredictionContext |
appendContext(PredictionContext suffix,
PredictionContextCache contextCache) |
protected static int |
calculateEmptyHashCode() |
protected static int |
calculateHashCode(PredictionContext[] parents,
int[] returnStates) |
protected static int |
calculateHashCode(PredictionContext parent,
int returnState) |
abstract boolean |
equals(Object o) |
abstract int |
findReturnState(int returnState) |
static PredictionContext |
fromRuleContext(ATN atn,
RuleContext outerContext) |
static PredictionContext |
fromRuleContext(ATN atn,
RuleContext outerContext,
boolean fullContext) |
static PredictionContext |
getCachedContext(PredictionContext context,
ConcurrentMap<PredictionContext,PredictionContext> contextCache,
PredictionContext.IdentityHashMap visited) |
PredictionContext |
getChild(int returnState) |
abstract PredictionContext |
getParent(int index) |
abstract int |
getReturnState(int index) |
abstract boolean |
hasEmpty() |
int |
hashCode() |
abstract boolean |
isEmpty() |
static boolean |
isEmptyLocal(PredictionContext context) |
static PredictionContext |
join(PredictionContext context0,
PredictionContext context1) |
protected abstract PredictionContext |
removeEmptyContext() |
abstract int |
size() |
String[] |
toStrings(Recognizer<?,?> recognizer,
int currentState) |
String[] |
toStrings(Recognizer<?,?> recognizer,
PredictionContext stop,
int currentState) |