| Puma Reference Manual | Puma: Puma::PreConditionalGroup Class Reference |
#include <Puma/PreTreeNodes.h>

Example:
#if ... #elif ... #else ... #endif
Public Member Functions | |
| PreConditionalGroup (PreTree *i, PreTree *dg, PreTree *ei) | |
| Constructor. | |
| PreConditionalGroup (PreTree *i, PreTree *e, PreTree *dg, PreTree *ei) | |
| Constructor. | |
| void | accept (PreVisitor &v) |
| Part of the tree visitor pattern. | |
Constructor.
| i | The #if part. | |
| dg | The directive group. | |
| ei | The #endif part. |
| Puma::PreConditionalGroup::PreConditionalGroup | ( | PreTree * | i, | |
| PreTree * | e, | |||
| PreTree * | dg, | |||
| PreTree * | ei | |||
| ) | [inline] |
Constructor.
| i | The #if part. | |
| e | The #elif or #else part. | |
| dg | The directive group. | |
| ei | The #endif part. |
| void Puma::PreConditionalGroup::accept | ( | PreVisitor & | v | ) | [inline, virtual] |
Part of the tree visitor pattern.
Calls the node visiting functions suitable for this node type.
| v | The visitor object on which to call the visiting functions. |
Implements Puma::PreTreeComposite.