java_cup
public class symbol_part extends production_part
Version: last updated: 11/25/95
See Also: production
Field Summary | |
---|---|
protected symbol | _the_symbol The symbol that this part is made up of. |
Constructor Summary | |
---|---|
symbol_part(symbol sym, String lab) Full constructor. | |
symbol_part(symbol sym) Constructor with no label. |
Method Summary | |
---|---|
boolean | equals(symbol_part other) Equality comparison. |
boolean | equals(Object other) Generic equality comparison. |
int | hashCode() Produce a hash code. |
boolean | is_action() Respond that we are not an action part. |
symbol | the_symbol() The symbol that this part is made up of. |
String | toString() Convert to a string. |
Parameters: sym the symbol that this part is made up of. lab an optional label string for the part.
Parameters: sym the symbol that this part is made up of.