public class shift_action extends parse_action
Modifier and Type | Field and Description |
---|---|
protected lalr_state |
_shift_to
The state we shift to.
|
ERROR, NONASSOC, REDUCE, SHIFT
Constructor and Description |
---|
shift_action(lalr_state shft_to)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(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.
|
String |
toString()
Convert to a string.
|
equals
protected lalr_state _shift_to
public shift_action(lalr_state shft_to) throws internal_error
shft_to
- the state that this action shifts to.internal_error
public lalr_state shift_to()
public int kind()
kind
in class parse_action
public boolean equals(shift_action other)
public boolean equals(Object other)
equals
in class parse_action
public int hashCode()
hashCode
in class parse_action
public String toString()
toString
in class parse_action
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.