public class StringSymbol extends AbstractSymbol
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
text
This attribute is the text of the String.
|
| Constructor and Description |
|---|
StringSymbol(java.lang.String text,
Position position)
This constructor initialize the String Symbol.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getText()
This method returns the attribute text.
|
int |
hashCode() |
java.lang.String |
toString() |
getPosition, isPackageDescriptionFileSymbol, isPathSymbol, isRowEndSymbol, isValueSymbol, toCommentSymbol, toOptionSymbol, toPackageDescriptionFileSymbol, toPathSymbol, toValueSymbol, toVariableSymbolprivate final transient java.lang.String text
public StringSymbol(java.lang.String text,
Position position)
text - is the text of the String.position - is the row and column 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