#include <MyAST.h>
Public Member Functions | |
MyAST (const MyAST &other) | |
MyAST (void) | |
virtual | ~MyAST (void) |
virtual int | getLine (void) const |
virtual void | setLine (int l) |
virtual void | initialize (int t, const ANTLR_USE_NAMESPACE(std) string &txt) |
virtual void | initialize (ANTLR_USE_NAMESPACE(antlr) RefToken t) |
virtual void | initialize (RefMyAST ast) |
void | addChild (RefMyAST c) |
void | setNextSibling (RefMyAST c) |
virtual | ANTLR_USE_NAMESPACE (antlr) RefAST clone(void) |
Static Public Member Functions | |
ANTLR_USE_NAMESPACE (antlr) RefAST factory(void) | |
Private Attributes | |
int | line |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
the initialize methods are called by the tree building constructs depending on which version is called the line number is filled in. e.g. a bit depending on how the node is constructed it will have the line number filled in or not (imaginary nodes!). |
|
|
|
|
|
|