class Symbol extends Position
Modifier and Type | Class and Description |
---|---|
(package private) static class |
Symbol.Id
Alle definierten Symbole.
|
Modifier and Type | Field and Description |
---|---|
(package private) Symbol.Id |
id
Das Symbol.
|
(package private) java.lang.String |
ident
Wenn das Symbol IDENT ist, steht der gelesene Bezeichner in diesem Attribut.
|
(package private) int |
number
Wenn das Symbol NUMBER ist, steht die gelesene Zahl in diesem Attribut.
|
Constructor and Description |
---|
Symbol(Symbol.Id id,
Position position)
Konstruktor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Die Methode erzeugt aus diesem Objekt eine darstellbare Zeichenkette.
|
Symbol.Id id
int number
java.lang.String ident