antlr
Class TokenSymbol
java.lang.Object
antlr.GrammarSymbol
antlr.TokenSymbol
- Direct Known Subclasses:
- StringLiteralSymbol
class TokenSymbol
- extends GrammarSymbol
Field Summary |
protected java.lang.String |
ASTNodeType
Set to a value in the tokens {...} section |
protected java.lang.String |
paraphrase
describes what token matches in "human terms" |
protected int |
ttype
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ttype
protected int ttype
paraphrase
protected java.lang.String paraphrase
- describes what token matches in "human terms"
ASTNodeType
protected java.lang.String ASTNodeType
- Set to a value in the tokens {...} section
TokenSymbol
public TokenSymbol(java.lang.String r)
getASTNodeType
public java.lang.String getASTNodeType()
setASTNodeType
public void setASTNodeType(java.lang.String type)
getParaphrase
public java.lang.String getParaphrase()
getTokenType
public int getTokenType()
setParaphrase
public void setParaphrase(java.lang.String p)
setTokenType
public void setTokenType(int t)