|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.javacc.parser.Expansion
public class Expansion
Describes expansions - entities that may occur on the right hand sides of productions. This is the base class of a bunch of other more specific classes.
Field Summary | |
---|---|
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 Summary | |
---|---|
Expansion()
|
Method Summary | |
---|---|
int |
hashCode()
A reimplementing of Object.hashCode() to be deterministic. |
static void |
reInit()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.Object parent
public static long nextGenerationIndex
public long myGeneration
public boolean inMinimumSize
Constructor Detail |
---|
public Expansion()
Method Detail |
---|
public int hashCode()
hashCode
in class java.lang.Object
public static void reInit()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |