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

Example:
#if OSTYPE==Linux
Public Member Functions | |
| PreIfDirective (PreTree *i, PreTree *c) | |
| Constructor. | |
| void | accept (PreVisitor &v) |
| Part of the tree visitor pattern. | |
Constructor.
| i | The #if token. | |
| c | The condition. |
| void Puma::PreIfDirective::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.