Methods Summary |
---|
public boolean | equals(com.sun.java_cup.internal.reduce_action other)Equality test.
return other != null && other.reduce_with() == reduce_with();
|
public boolean | equals(java.lang.Object other)Generic equality test.
if (other instanceof reduce_action)
return equals((reduce_action)other);
else
return false;
|
public int | hashCode()Compute a hash code.
/* use the hash code of the production we are reducing with */
return reduce_with().hashCode();
|
public int | kind()Quick access to type of action.return REDUCE;
|
public production | reduce_with()The production we reduce with.return _reduce_with;
|
public java.lang.String | toString()Convert to string.
return "REDUCE(with prod " + reduce_with().index() + ")";
|