public abstract class production_part
extends java.lang.Object
This is an abstract class.
production
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
_label
Optional label for referring to the part within an action (null for
no label).
|
Constructor and Description |
---|
production_part(java.lang.String lab)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Generic equality comparison.
|
boolean |
equals(production_part other)
Equality comparison.
|
int |
hashCode()
Produce a hash code.
|
abstract boolean |
is_action()
Indicate if this is an action (rather than a symbol).
|
java.lang.String |
label()
Optional label for referring to the part within an action (null for
no label).
|
java.lang.String |
toString()
Convert to a string.
|
protected java.lang.String _label
public java.lang.String label()
public abstract boolean is_action()
public boolean equals(production_part other)
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object