java_cup.production
| Modifier and Type | Field and Description |
|---|---|
| protected symbol | _the_symbol
The symbol that this part is made up of. |
| Access | Constructor and Description |
|---|---|
| public | symbol_part(symbol
the symbol that this part is made up of. sym, String an optional label string for the part. lab)Full constructor. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java_cup. |
| public int | |
| public boolean | is_action()
Implements abstract java_cup. |
| public symbol | |
| public String |
| _the_symbol | back to summary |
|---|---|
| protected symbol _the_symbol The symbol that this part is made up of. | |
| symbol_part | back to summary |
|---|---|
| public symbol_part(symbol sym, String lab) throws internal_error Full constructor. | |
| symbol_part | back to summary |
|---|---|
| public symbol_part(symbol sym) throws internal_error Constructor with no label.
| |
| equals | back to summary |
|---|---|
| public boolean equals(symbol_part other) Equality comparison. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java_cup. Generic equality comparison.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java_cup. Produce a hash code.
| |
| is_action | back to summary |
|---|---|
| public boolean is_action() Implements abstract java_cup. Respond that we are not an action part. | |
| the_symbol | back to summary |
|---|---|
| public symbol the_symbol() The symbol that this part is made up of. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java_cup. Convert to a string.
| |