|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava_cup.parse_action
java_cup.shift_action
public class shift_action
This class represents a shift action within the parse table. The action simply stores the state that it shifts to and responds to queries about its type.
Field Summary |
---|
Fields inherited from class java_cup.parse_action |
---|
ERROR, NONASSOC, REDUCE, SHIFT |
Constructor Summary | |
---|---|
shift_action(lalr_state shft_to)
Simple constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
Generic equality test. |
boolean |
equals(shift_action other)
Equality test. |
int |
hashCode()
Compute a hash code. |
int |
kind()
Quick access to type of action. |
lalr_state |
shift_to()
The state we shift to. |
java.lang.String |
toString()
Convert to a string. |
Methods inherited from class java_cup.parse_action |
---|
equals |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public shift_action(lalr_state shft_to) throws internal_error
shft_to
- the state that this action shifts to.
internal_error
Method Detail |
---|
public lalr_state shift_to()
public int kind()
kind
in class parse_action
public boolean equals(shift_action other)
public boolean equals(java.lang.Object other)
equals
in class parse_action
public int hashCode()
hashCode
in class parse_action
public java.lang.String toString()
toString
in class parse_action
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |