public class SingletonPredictionContext extends PredictionContext
Modifier and Type | Field and Description |
---|---|
PredictionContext |
parent |
int |
returnState |
cachedHashCode, EMPTY, EMPTY_RETURN_STATE, globalNodeCount, id
Modifier and Type | Method and Description |
---|---|
static SingletonPredictionContext |
create(PredictionContext parent,
int returnState) |
boolean |
equals(Object o) |
PredictionContext |
getParent(int index) |
int |
getReturnState(int index) |
int |
size() |
String |
toString() |
calculateEmptyHashCode, calculateHashCode, calculateHashCode, combineCommonParents, fromRuleContext, getAllContextNodes_, getAllContextNodes, getCachedContext, hasEmptyPath, hashCode, isEmpty, merge, mergeArrays, mergeRoot, mergeSingletons, toDOTString, toString, toStrings, toStrings
public final PredictionContext parent
public final int returnState
public static SingletonPredictionContext create(PredictionContext parent, int returnState)
public int size()
size
in class PredictionContext
public PredictionContext getParent(int index)
getParent
in class PredictionContext
public int getReturnState(int index)
getReturnState
in class PredictionContext
public boolean equals(Object o)
equals
in class PredictionContext
Copyright © 1992–2018 ANTLR. All rights reserved.