Preprocessor tree node representing a #define directive for function-like macros.
Example:
|
| | PreDefineFunctionDirective (PreTree *a, PreTree *b, PreTree *c, PreTree *d, PreTree *e, PreTree *f, PreTree *g, PreTree *h) |
| | Constructor. More...
|
| |
| | PreDefineFunctionDirective (PreTree *a, PreTree *b, PreTree *c, PreTree *d, PreTree *e, PreTree *f, PreTree *g) |
| | Constructor. More...
|
| |
| | PreDefineFunctionDirective (PreTree *a, PreTree *b, PreTree *c, PreTree *d, PreTree *e, PreTree *f) |
| | Constructor. More...
|
| |
| | PreDefineFunctionDirective (PreTree *a, PreTree *b, PreTree *c, PreTree *d, PreTree *e) |
| | Constructor. More...
|
| |
| void | accept (PreVisitor &v) |
| | Part of the tree visitor pattern. More...
|
| |
| virtual | ~PreTreeComposite () |
| | Destructor. More...
|
| |
| virtual void | accept (PreVisitor &)=0 |
| | Part of the tree visitor pattern. More...
|
| |
| virtual void | add_son (PreTree *s) |
| | Add a son (syntactic child node). More...
|
| |
| virtual void | replace_son (int n, PreTree *new_s) |
| | Replace the n-th son. More...
|
| |
| virtual PreTree * | son (int n) const |
| | Get the n-th son. More...
|
| |
| virtual int | sons () const |
| | Get the number of sons. More...
|
| |
| virtual void | add_daughter (PreTree *d) |
| | Add a daughter (semantic child node). More...
|
| |
| virtual void | replace_daughter (int n, PreTree *new_d) |
| | Replace the n-th daughter. More...
|
| |
| virtual PreTree * | daughter (int n) const |
| | Get the n-th daughter. More...
|
| |
| virtual int | daughters () const |
| | Get the number of daughters. More...
|
| |
| virtual Token * | startToken () const |
| | Get the first token of the syntactic construct represented by the sub-tree. More...
|
| |
| virtual Token * | endToken () const |
| | Get the last token of the syntactic construct represented by the sub-tree. More...
|
| |
| virtual | ~PreTree () |
| | Destructor. More...
|
| |
| virtual bool | isLeaf () const |
| | Check if the node is a leaf, i.e. More...
|
| |
| virtual void | accept (PreVisitor &)=0 |
| | Part of the tree visitor pattern. More...
|
| |
| virtual void | add_son (PreTree *s) |
| | Add a son (syntactic child node). More...
|
| |
| virtual void | replace_son (int n, PreTree *new_s) |
| | Replace the n-th son. More...
|
| |
| virtual PreTree * | son (int n) const |
| | Get the n-th son. More...
|
| |
| virtual int | sons () const |
| | Get the number of sons. More...
|
| |
| virtual void | add_daughter (PreTree *d) |
| | Add a daughter (semantic child node). More...
|
| |
| virtual void | replace_daughter (int n, PreTree *new_d) |
| | Replace the n-th daughter. More...
|
| |
| virtual PreTree * | daughter (int n) const |
| | Get the n-th daughter. More...
|
| |
| virtual int | daughters () const |
| | Get the number of daughters. More...
|
| |
| virtual Token * | startToken () const |
| | Get the first token of the syntactic construct represented by the sub-tree. More...
|
| |
| virtual Token * | endToken () const |
| | Get the last token of the syntactic construct represented by the sub-tree. More...
|
| |