#include <librets/RetsAST.h>
Public Member Functions | |
| RetsAST (const RetsAST &other) | |
| Copy constructor. | |
| RetsAST () | |
| Default constructor. | |
| virtual | ~RetsAST () |
| virtual int | getLine () const |
| Returns the line number of the node (or try to derive it from the child node). | |
| virtual void | setLine (int line) |
| virtual int | getColumn (void) const |
| Returns the column number of the node (or try to derive it from the child node). | |
| virtual void | setColumn (int column) |
| virtual void | initialize (int t, const std::string &text) |
| virtual void | initialize (antlr::RefToken t) |
| virtual void | initialize (RefRetsAST ast) |
| void | addChild (RefRetsAST child) |
| void | setNextSibling (RefRetsAST sibling) |
| virtual antlr::RefAST | clone () |
Static Public Member Functions | |
| static antlr::RefAST | factory () |
Filenames will take more work since you'll need a custom token class as well (one that contains the filename)
| RetsAST | ( | ) |
Default constructor.
| virtual ~RetsAST | ( | ) | [virtual] |
| void addChild | ( | RefRetsAST | child | ) |
| virtual antlr::RefAST clone | ( | ) | [virtual] |
| static antlr::RefAST factory | ( | ) | [static] |
| virtual int getColumn | ( | void | ) | const [virtual] |
Returns the column number of the node (or try to derive it from the child node).
| virtual int getLine | ( | ) | const [virtual] |
Returns the line number of the node (or try to derive it from the child node).
| virtual void initialize | ( | RefRetsAST | ast | ) | [virtual] |
| virtual void initialize | ( | antlr::RefToken | t | ) | [virtual] |
| virtual void initialize | ( | int | t, | |
| const std::string & | text | |||
| ) | [virtual] |
| virtual void setColumn | ( | int | column | ) | [virtual] |
| virtual void setLine | ( | int | line | ) | [virtual] |
| void setNextSibling | ( | RefRetsAST | sibling | ) |