org.metasyntactic.math.automata
Class LRParseTable.Shift
java.lang.Object
|
+--org.metasyntactic.math.automata.LRParseTable.Action
|
+--org.metasyntactic.math.automata.LRParseTable.Shift
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- LRParseTable
- public static class LRParseTable.Shift
- extends LRParseTable.Action
If action[am, ai] = shift s, the parser executes a
shift move. The shift moves consists of the parser shifting both the
current input symbol ai and the next state s, which is given
in action[am, ai], onto the stack; ai+1
becomes the current input symbol.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
LRParseTable.Shift
protected LRParseTable.Shift(java.lang.Object state)
toString
public java.lang.String toString()
- Overrides:
toString in class LRParseTable.Action
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals in class LRParseTable.Action
hashCode
public int hashCode()
- Specified by:
hashCode in class LRParseTable.Action