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) |
Iterator<SingletonPredictionContext> |
iterator() |
int |
size() |
String |
toString() |
calculateHashCode, combineCommonParents, compareTo, fromRuleContext, getAllContextNodes_, getAllContextNodes, getCachedContext, hasEmptyPath, hashCode, isEmpty, merge, mergeArrays, mergeRoot, mergeSingletons, toDOTString, toString, toString, toStrings, toStringspublic final PredictionContext parent
public final int returnState
public static SingletonPredictionContext create(PredictionContext parent, int returnState)
public Iterator<SingletonPredictionContext> iterator()
iterator in interface Iterable<SingletonPredictionContext>iterator in class PredictionContextpublic int size()
size in class PredictionContextpublic PredictionContext getParent(int index)
getParent in class PredictionContextpublic int getReturnState(int index)
getReturnState in class PredictionContextCopyright © 1992-2013 ANTLR. All Rights Reserved.