public final class IdentifierSymbol extends AbstractSymbol
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
text
This is the text of the Identifier.
|
| Constructor and Description |
|---|
IdentifierSymbol(java.lang.String text,
Position position)
The constructor instantiate the identifier with a @param text.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getText() |
int |
hashCode() |
java.lang.String |
toString() |
getPosition, isPackageDescriptionFileSymbol, isPathSymbol, isRowEndSymbol, isValueSymbol, toCommentSymbol, toOptionSymbol, toPackageDescriptionFileSymbol, toPathSymbol, toValueSymbol, toVariableSymbolpublic IdentifierSymbol(java.lang.String text,
Position position)
text - is the text of the identifier.position - is the position of the data in the stream.public java.lang.String getText()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class AbstractSymbolpublic int hashCode()
hashCode in class AbstractSymbol