Class Ident
java.lang.Object
|
+--Ident
- Direct Known Subclasses:
- Function, Type, Variable
- public abstract class Ident
- extends Object
This class provides a skeletal implementation of an indentifier.
- Author:
- P. URSO
- See Also:
IdentTable
Constructor Summary |
Ident(String name)
Constructor of the identifier. |
Method Summary |
String |
getName()
Accessor of the name of the identifier. |
String |
toString()
Returns a string representation of this identifier. |
Ident
public Ident(String name)
- Constructor of the identifier.
- Parameters:
name
- name of the identifier.
getName
public String getName()
- Accessor of the name of the identifier.
- Returns:
- the name of the identifier.
toString
public String toString()
- Returns a string representation of this identifier.
- Overrides:
toString
in class Object
- Returns:
- the name of identifier.