Puma Reference Manual | Puma: Puma::PreIfDirective Class Reference |
Preprocessor tree node representing an #if directive. More...
#include <Puma/PreTreeNodes.h>
Public Member Functions | |
PreIfDirective (PreTree *i, PreTree *c) | |
Constructor. | |
void | accept (PreVisitor &v) |
Part of the tree visitor pattern. |
Preprocessor tree node representing an #if directive.
Example:
#if OSTYPE==Linux
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.