Methods Summary |
---|
public boolean | equals(com.sun.java_cup.internal.symbol_part other)Equality comparison.
return other != null && super.equals(other) &&
the_symbol().equals(other.the_symbol());
|
public boolean | equals(java.lang.Object other)Generic equality comparison.
if (!(other instanceof symbol_part))
return false;
else
return equals((symbol_part)other);
|
public int | hashCode()Produce a hash code.
return super.hashCode() ^
(the_symbol()==null ? 0 : the_symbol().hashCode());
|
public boolean | is_action()Respond that we are not an action part. return false;
|
public symbol | the_symbol()The symbol that this part is made up of.return _the_symbol;
|
public java.lang.String | toString()Convert to a string.
if (the_symbol() != null)
return super.toString() + the_symbol();
else
return super.toString() + "$$MISSING-SYMBOL$$";
|