public class Expansion
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
eol |
boolean |
inMinimumSize
This flag is used for bookkeeping by the minimumSize method in class
ParseEngine.
|
long |
myGeneration |
static long |
nextGenerationIndex
To avoid right-recursive loops when calculating follow sets, we use
a generation number which indicates if this expansion was visited
by LookaheadWalk.genFollowSet in the same generation.
|
java.lang.Object |
parent
The parent of this expansion node.
|
Constructor and Description |
---|
Expansion() |
Modifier and Type | Method and Description |
---|---|
java.lang.StringBuffer |
dump(int indent,
java.util.Set<? super Expansion> alreadyDumped) |
protected java.lang.StringBuffer |
dumpPrefix(int indent) |
int |
hashCode()
A reimplementing of Object.hashCode() to be deterministic.
|
static void |
reInit() |
java.lang.String |
toString() |
public java.lang.Object parent
public static long nextGenerationIndex
public long myGeneration
public boolean inMinimumSize
protected static final java.lang.String eol
public int hashCode()
hashCode
in class java.lang.Object
public static void reInit()
public java.lang.String toString()
toString
in class java.lang.Object
protected java.lang.StringBuffer dumpPrefix(int indent)
public java.lang.StringBuffer dump(int indent, java.util.Set<? super Expansion> alreadyDumped)