Package antlr
Class TokenSymbol
java.lang.Object
antlr.GrammarSymbol
antlr.TokenSymbol
- Direct Known Subclasses:
StringLiteralSymbol
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringSet to a value in the tokens {...} sectionprotected Stringdescribes what token matches in "human terms"protected intFields inherited from class antlr.GrammarSymbol
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidsetASTNodeType(String type) voidvoidsetTokenType(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)
-