Package antlr
Class Token
java.lang.Object
antlr.Token
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
CommonToken
A token is minimally a token type. Subclasses can add the text matched
for the token and line info.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Token
static final int
static final int
static final int
static final int
static final int
protected int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MIN_USER_TYPE
public static final int MIN_USER_TYPE- See Also:
-
NULL_TREE_LOOKAHEAD
public static final int NULL_TREE_LOOKAHEAD- See Also:
-
INVALID_TYPE
public static final int INVALID_TYPE- See Also:
-
EOF_TYPE
public static final int EOF_TYPE- See Also:
-
SKIP
public static final int SKIP- See Also:
-
type
protected int type -
badToken
-
-
Constructor Details
-
Token
public Token() -
Token
public Token(int t) -
Token
-
-
Method Details