Modifier and Type | Field and Description |
---|---|
private java.lang.String |
m_value
This instance variable captures the token value for the reserved word.
|
Constructor and Description |
---|
Identifier(java.lang.String tokenValue)
Initializes an instance of an identifier.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue()
Obtains the token value of a given reserved word token.
|
java.lang.String |
toString()
Returns the textual description of the object.
|
private java.lang.String m_value
public Identifier(java.lang.String tokenValue)
tokenValue
- is the identifier to remember.public java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Object