Package org.nineml.coffeegrinder.parser
Class EarleyItem
- java.lang.Object
-
- org.nineml.coffeegrinder.parser.EarleyItem
-
public class EarleyItem extends java.lang.ObjectAn Earley item.Earley items are used internally by the parser to keep track of the current state. The current state is an internal
Statethat tracks progress through a production and an indication of where (in the input) the item began. There's also aForestNodeto track the parse forest.
-
-
Field Summary
Fields Modifier and Type Field Description intjStatestateForestNodew
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
state
public final State state
-
j
public final int j
-
w
public final ForestNode w
-
-