Methods Summary |
---|
public java.lang.String | code_string()String containing code for the action in question.return _code_string;
|
public boolean | equals(com.sun.java_cup.internal.action_part other)Equality comparison for properly typed object.
/* compare the strings */
return other != null && super.equals(other) &&
other.code_string().equals(code_string());
|
public boolean | equals(java.lang.Object other)Generic equality comparison.
if (!(other instanceof action_part))
return false;
else
return equals((action_part)other);
|
public int | hashCode()Produce a hash code.
return super.hashCode() ^
(code_string()==null ? 0 : code_string().hashCode());
|
public boolean | is_action()Override to report this object as an action. return true;
|
public void | set_code_string(java.lang.String new_str)Set the code string._code_string = new_str;
|
public java.lang.String | toString()Convert to a string.
return super.toString() + "{" + code_string() + "}";
|