FileDocCategorySizeDatePackage
TokenSymbol.javaAPI DocGlassfish v2 API947Wed Aug 30 15:34:12 BST 2006persistence.antlr

TokenSymbol

public class TokenSymbol extends GrammarSymbol

Fields Summary
protected int
ttype
protected String
paraphrase
describes what token matches in "human terms"
protected String
ASTNodeType
Set to a value in the tokens {...} section
Constructors Summary
public TokenSymbol(String r)


       
        super(r);
        ttype = Token.INVALID_TYPE;
    
Methods Summary
public java.lang.StringgetASTNodeType()

        return ASTNodeType;
    
public java.lang.StringgetParaphrase()

        return paraphrase;
    
public intgetTokenType()

        return ttype;
    
public voidsetASTNodeType(java.lang.String type)

        ASTNodeType = type;
    
public voidsetParaphrase(java.lang.String p)

        paraphrase = p;
    
public voidsetTokenType(int t)

        ttype = t;