Methods Summary |
---|
public boolean | equals(com.sun.java_cup.internal.shift_action other)Equality test.
return other != null && other.shift_to() == shift_to();
|
public boolean | equals(java.lang.Object other)Generic equality test.
if (other instanceof shift_action)
return equals((shift_action)other);
else
return false;
|
public int | hashCode()Compute a hash code.
/* use the hash code of the state we are shifting to */
return shift_to().hashCode();
|
public int | kind()Quick access to type of action.return SHIFT;
|
public lalr_state | shift_to()The state we shift to.return _shift_to;
|
public java.lang.String | toString()Convert to a string.return "SHIFT(to state " + shift_to().index() + ")";
|