This is an abstract class.
java_cup.production
| Modifier and Type | Field and Description |
|---|---|
| protected String | _label
Optional label for referring to the part within an action (null for no label). |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| public int | |
| public abstract boolean | |
| public String | |
| public String |
| _label | back to summary |
|---|---|
| protected String _label Optional label for referring to the part within an action (null for no label). | |
| production_part | back to summary |
|---|---|
| public production_part(String lab) Simple constructor. | |
| equals | back to summary |
|---|---|
| public boolean equals(production_part other) Equality comparison. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Generic equality comparison.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Produce a hash code.
| |
| is_action | back to summary |
|---|---|
| public abstract boolean is_action() Indicate if this is an action (rather than a symbol). Here in the base class, we don't this know yet, so its an abstract method. | |
| label | back to summary |
|---|---|
| public String label() Optional label for referring to the part within an action (null for no label). | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Convert to a string.
| |