JAVACC_STRING_TYPE JJString
int kind
An integer that describes the kind of this token.
Token(int kind)
Constructs a new token for the specified Image.
JJString image
The string image of the token.
static Token * newToken(int ofKind, const JJString &image)
Returns a new Token void *, by default.
int beginColumn
The column number of the first character of this Token.
static Token * newToken(int ofKind)
int beginLine
The line number of the first character of this Token.
Token * next
A reference to the next regular (non-special) token from the input stream.
Token * specialToken
This field is used to access special tokens that occur prior to this token, but after the immediately...
const JJString & toString()
Returns the image.
Token(int kind, const JJString &image)
Constructs a new token for the specified Image and Kind.
int endColumn
The column number of the last character of this Token.
void * getValue()
An optional attribute value of the Token.
int endLine
The line number of the last character of this Token.
Token()
No-argument constructor.
Token literal values and constants.