antlr
Class TokenSymbol

java.lang.Object
  |
  +--antlr.GrammarSymbol
        |
        +--antlr.TokenSymbol
Direct Known Subclasses:
StringLiteralSymbol

class TokenSymbol
extends GrammarSymbol


Field Summary
protected  String ASTNodeType
          Set to a value in the tokens {...} section
protected  String id
           
protected  String paraphrase
          describes what token matches in "human terms"
protected  int ttype
           
 
Constructor Summary
TokenSymbol(String r)
           
 
Method Summary
 String getASTNodeType()
           
 String getId()
           
 String getParaphrase()
           
 int getTokenType()
           
 void setASTNodeType(String type)
           
 void setId(String s)
           
 void setParaphrase(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 String paraphrase
describes what token matches in "human terms"


ASTNodeType

protected String ASTNodeType
Set to a value in the tokens {...} section


id

protected String id
Constructor Detail

TokenSymbol

public TokenSymbol(String r)
Method Detail

getASTNodeType

public String getASTNodeType()

setASTNodeType

public void setASTNodeType(String type)

getParaphrase

public String getParaphrase()

getTokenType

public int getTokenType()

setParaphrase

public void setParaphrase(String p)

setTokenType

public void setTokenType(int t)

getId

public String getId()

setId

public void setId(String s)


comments?