}
/** a single state in the LR table and the transitions possible from it */
- public class State implements Comparable<Table.State>, Iterable<Position> {
+ public class State implements Comparable<Table.State>, Iterable<Position>, IntegerMappable {
+ public int toInt() { return idx; }
+
/*
public boolean isResolvable(Token t) {
boolean found = false;