Public Member Functions | Package Attributes

antlr.CommonAST Class Reference

Inheritance diagram for antlr.CommonAST:
antlr.BaseAST antlr.collections.AST antlr.CommonASTWithHiddenTokens ASTType49 MyAST PascalAST

List of all members.

Public Member Functions

String getText ()
int getType ()
void initialize (int t, String txt)
void initialize (AST t)
 CommonAST ()
 CommonAST (Token tok)
void initialize (Token tok)
void setText (String text_)
void setType (int ttype_)

Package Attributes

int ttype = Token.INVALID_TYPE
String text

Detailed Description

Common AST node implementation


Constructor & Destructor Documentation

antlr.CommonAST.CommonAST (  ) 
antlr.CommonAST.CommonAST ( Token  tok  ) 

Member Function Documentation

String antlr.CommonAST.getText (  ) 
int antlr.CommonAST.getType (  ) 

Get the token type for this node

Reimplemented from antlr.BaseAST.

References antlr.CommonAST.ttype.

void antlr.CommonAST.initialize ( AST  t  )  [virtual]
void antlr.CommonAST.initialize ( Token  tok  )  [virtual]
void antlr.CommonAST.initialize ( int  t,
String  txt 
) [virtual]
void antlr.CommonAST.setText ( String  text_  ) 

Set the token text for this node

Reimplemented from antlr.BaseAST.

References antlr.CommonAST.text.

Referenced by antlr.CommonAST.initialize().

void antlr.CommonAST.setType ( int  ttype_  ) 

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties