public class EmptyPredictionContext extends SingletonPredictionContext
parent, returnState
cachedHashCode, 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 EMPTY context is in set
|
int |
size() |
String |
toString() |
create, iterator
calculateHashCode, combineCommonParents, compareTo, fromRuleContext, getAllContextNodes_, getAllContextNodes, getCachedContext, hasEmptyPath, hashCode, merge, mergeArrays, mergeRoot, mergeSingletons, toDOTString, toString, toString, toStrings, toStrings
public boolean isEmpty()
PredictionContext
isEmpty
in class PredictionContext
public int size()
size
in class SingletonPredictionContext
public PredictionContext getParent(int index)
getParent
in class SingletonPredictionContext
public int getReturnState(int index)
getReturnState
in class SingletonPredictionContext
public boolean equals(Object o)
equals
in class SingletonPredictionContext
public String toString()
toString
in class SingletonPredictionContext
Copyright © 2012. All Rights Reserved.