antlr
public class CommonAST extends BaseAST
| Field Summary | |
|---|---|
| String | text |
| int | ttype |
| Constructor Summary | |
|---|---|
| CommonAST() | |
| CommonAST(Token tok) | |
| Method Summary | |
|---|---|
| String | getText() Get the token text for this node |
| int | getType() Get the token type for this node |
| void | initialize(int t, String txt) |
| void | initialize(AST t) |
| void | initialize(Token tok) |
| void | setText(String text_) Set the token text for this node |
| void | setType(int ttype_) Set the token type for this node |