| |
|
| java.lang.Object java_cup.production_part java_cup.symbol_part
symbol_part | public class symbol_part extends production_part (Code) | | This class represents a part of a production which is a symbol (terminal
or non terminal). This simply maintains a reference to the symbol in
question.
See Also: java_cup.production version: last updated: 11/25/95 author: Scott Hudson |
_the_symbol | protected symbol _the_symbol(Code) | | The symbol that this part is made up of.
|
symbol_part | public symbol_part(symbol sym, String lab) throws internal_error(Code) | | Full constructor.
Parameters: sym - the symbol that this part is made up of. Parameters: lab - an optional label string for the part. |
symbol_part | public symbol_part(symbol sym) throws internal_error(Code) | | Constructor with no label.
Parameters: sym - the symbol that this part is made up of. |
equals | public boolean equals(Object other)(Code) | | Generic equality comparison.
|
hashCode | public int hashCode()(Code) | | Produce a hash code.
|
is_action | public boolean is_action()(Code) | | Respond that we are not an action part.
|
the_symbol | public symbol the_symbol()(Code) | | The symbol that this part is made up of.
|
|
|
|