java_cup
Class 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.
_shift_to
protected lalr_state _shift_to
The state we shift to.
shift_action
public shift_action(lalr_state shft_to)
throws internal_error
Simple constructor.
shft_to
- the state that this action shifts to.
equals
public boolean equals(Object other)
Generic equality test.
- equals in interface parse_action
equals
public boolean equals(shift_action other)
Equality test.
kind
public int kind()
Quick access to type of action.
- kind in interface parse_action
shift_to
public lalr_state shift_to()
The state we shift to.