Package antlr
Class TokenSymbol
java.lang.Object
antlr.GrammarSymbol
antlr.TokenSymbol
- Direct Known Subclasses:
StringLiteralSymbol
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
Set to a value in the tokens {...} sectionprotected String
describes what token matches in "human terms"protected int
Fields inherited from class antlr.GrammarSymbol
id
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
setASTNodeType
(String type) void
void
setTokenType
(int t) Methods inherited from class antlr.GrammarSymbol
getId, setId
-
Field Details
-
ttype
protected int ttype -
paraphrase
describes what token matches in "human terms" -
ASTNodeType
Set to a value in the tokens {...} section
-
-
Constructor Details
-
TokenSymbol
-
-
Method Details
-
getASTNodeType
-
setASTNodeType
-
getParaphrase
-
getTokenType
public int getTokenType() -
setParaphrase
-
setTokenType
public void setTokenType(int t)
-