public class EmptyPredictionContext extends SingletonPredictionContext
cachedHashCode, EMPTY, EMPTY_RETURN_STATE, globalNodeCount, idparent, returnState| Constructor | Description |
|---|---|
EmptyPredictionContext() |
| Modifier and Type | Method | 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() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcalculateEmptyHashCode, calculateHashCode, calculateHashCode, combineCommonParents, fromRuleContext, getAllContextNodes, getAllContextNodes_, getCachedContext, hasEmptyPath, hashCode, merge, mergeArrays, mergeRoot, mergeSingletons, toDOTString, toString, toStrings, toStringscreatepublic 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–2019 ANTLR. All rights reserved.