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(Object o) |
PredictionContext |
getParent(int index) |
int |
getReturnState(int index) |
boolean |
isEmpty()
This means only the
PredictionContext.EMPTY (wildcard? not sure) context is in set. |
int |
size() |
String |
toString() |
createcalculateEmptyHashCode, calculateHashCode, calculateHashCode, combineCommonParents, fromRuleContext, getAllContextNodes_, getAllContextNodes, getCachedContext, hasEmptyPath, hashCode, merge, mergeArrays, mergeRoot, mergeSingletons, toDOTString, toString, toStrings, toStringspublic boolean isEmpty()
PredictionContextPredictionContext.EMPTY (wildcard? not sure) 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(Object o)
equals in class SingletonPredictionContextpublic String toString()
toString in class SingletonPredictionContextCopyright © 1992–2018 ANTLR. All rights reserved.