jcaas.script_nodes
Class Identifier
java.lang.Object
jcaas.script_nodes.Identifier
public class Identifier
- extends java.lang.Object
This class represents a IDENTIFIER node of a script.
Constructor Summary |
Identifier(java.lang.String name)
Constructs an IDENTIFIER with the given name. |
Method Summary |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
Gets the name of the IDENTIFIER. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
Identifier
public Identifier(java.lang.String name)
- Constructs an IDENTIFIER with the given name.
- Parameters:
name
- the name of the IDENTIFIER.
getName
public java.lang.String getName()
- Gets the name of the IDENTIFIER.
- Returns:
- the name of the IDENTIFIER.
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object