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 |
id
|
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
id
protected java.lang.String id
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)
getId
public java.lang.String getId()
setId
public void setId(java.lang.String s)