class Token extends java.lang.Object implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
beginColumn
beginLine and beginColumn describe the position of the first character
of this token; endLine and endColumn describe the position of the
last character of this token.
|
(package private) int |
beginLine
beginLine and beginColumn describe the position of the first character
of this token; endLine and endColumn describe the position of the
last character of this token.
|
(package private) int |
endColumn
beginLine and beginColumn describe the position of the first character
of this token; endLine and endColumn describe the position of the
last character of this token.
|
(package private) int |
endLine
beginLine and beginColumn describe the position of the first character
of this token; endLine and endColumn describe the position of the
last character of this token.
|
(package private) java.lang.String |
image
The string image of the token.
|
(package private) int |
kind
An integer that describes the kind of this token.
|
(package private) Token |
next
A reference to the next regular (non-special) token from the input
stream.
|
private static long |
serialVersionUID |
(package private) Token |
specialToken
This field is used to access special tokens that occur prior to this
token, but after the immediately preceding regular (non-special) token.
|
| Constructor and Description |
|---|
Token() |
private static final long serialVersionUID
int kind
int beginLine
int beginColumn
int endLine
int endColumn
java.lang.String image
Token next
Token specialToken
Token()
public final java.lang.String toString()
toString in class java.lang.Objectstatic final Token newToken(int ofKind)