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
           
 
Constructor Summary
TokenSymbol(java.lang.String r)
           
 
Method Summary
 java.lang.String getASTNodeType()
           
 java.lang.String getId()
           
 java.lang.String getParaphrase()
           
 int getTokenType()
           
 void setASTNodeType(java.lang.String type)
           
 void setId(java.lang.String s)
           
 void setParaphrase(java.lang.String p)
           
 void setTokenType(int t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

TokenSymbol

public TokenSymbol(java.lang.String r)
Method Detail

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)