|
|||||||||
| Home >> All >> [ java_cup overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
java_cup
Class shift_action

java.lang.Objectjava_cup.parse_action
java_cup.shift_action
- public class shift_action
- extends parse_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.
- Version:
- last updated: 11/25/95
| Field Summary | |
protected lalr_state |
_shift_to
The state we shift to. |
| 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 |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
_shift_to
protected lalr_state _shift_to
- The state we shift to.
| Constructor Detail |
shift_action
public shift_action(lalr_state shft_to) throws internal_error
- Simple constructor.
| Method Detail |
shift_to
public lalr_state shift_to()
- The state we shift to.
kind
public int kind()
- Quick access to type of action.
- Overrides:
kindin classparse_action
equals
public boolean equals(shift_action other)
- Equality test.
equals
public boolean equals(java.lang.Object other)
- Generic equality test.
- Overrides:
equalsin classparse_action
hashCode
public int hashCode()
- Compute a hash code.
- Overrides:
hashCodein classparse_action
toString
public java.lang.String toString()
- Convert to a string.
- Overrides:
toStringin classparse_action
|
|||||||||
| Home >> All >> [ java_cup overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC