Puma Reference Manual | Puma: Puma::PreIfndefDirective Class Reference |
#include <Puma/PreTreeNodes.h>
Example:
#ifndef Linux
Public Member Functions | |
PreIfndefDirective (PreTree *i, PreTree *n, PreTree *tl) | |
Constructor. | |
PreIfndefDirective (PreTree *i, PreTree *tl) | |
Constructor. | |
void | accept (PreVisitor &v) |
Part of the tree visitor pattern. |
Constructor.
i | The #ifndef token. | |
n | The name of the macro. | |
tl | The remaining tokens of the line. |
Constructor.
i | The #ifndef token. | |
tl | The remaining tokens of the line. |
void Puma::PreIfndefDirective::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.