public class EarleyItem
extends java.lang.Object
Earley items are used internally by the parser to keep track of the current state.
The current state is an internal State
that tracks progress through a production
and an indication of where (in the input) the item began. There's also a ForestNode
to track the parse forest.
Modifier and Type | Field and Description |
---|---|
int |
j |
State |
state |
ForestNode |
w |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
public final State state
public final int j
public final ForestNode w