Package antlr
Class TokenSymbol
- java.lang.Object
-
- antlr.GrammarSymbol
-
- antlr.TokenSymbol
-
- Direct Known Subclasses:
StringLiteralSymbol
class TokenSymbol extends GrammarSymbol
-
-
Field Summary
Fields Modifier and Type Field Description protected StringASTNodeTypeSet to a value in the tokens {...} sectionprotected Stringparaphrasedescribes what token matches in "human terms"protected intttype-
Fields inherited from class antlr.GrammarSymbol
id
-
-
Constructor Summary
Constructors Constructor Description TokenSymbol(String r)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetASTNodeType()StringgetParaphrase()intgetTokenType()voidsetASTNodeType(String type)voidsetParaphrase(String p)voidsetTokenType(int t)-
Methods inherited from class antlr.GrammarSymbol
getId, setId
-
-
-
-
Constructor Detail
-
TokenSymbol
public TokenSymbol(String r)
-
-