public class EmptyPredictionContext extends SingletonPredictionContext
parent, returnStatecachedHashCode, EMPTY, EMPTY_RETURN_STATE, globalNodeCount, id| Constructor and Description |
|---|
EmptyPredictionContext() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
PredictionContext |
getParent(int index) |
int |
getReturnState(int index) |
boolean |
isEmpty()
This means only the
PredictionContext.EMPTY context is in set. |
int |
size() |
java.lang.String |
toString() |
createcalculateEmptyHashCode, calculateHashCode, calculateHashCode, combineCommonParents, fromRuleContext, getAllContextNodes_, getAllContextNodes, getCachedContext, hasEmptyPath, hashCode, merge, mergeArrays, mergeRoot, mergeSingletons, toDOTString, toString, toStrings, toStringspublic boolean isEmpty()
PredictionContextPredictionContext.EMPTY context is in set.isEmpty in class PredictionContextpublic int size()
size in class SingletonPredictionContextpublic PredictionContext getParent(int index)
getParent in class SingletonPredictionContextpublic int getReturnState(int index)
getReturnState in class SingletonPredictionContextpublic boolean equals(java.lang.Object o)
equals in class SingletonPredictionContextpublic java.lang.String toString()
toString in class SingletonPredictionContext