Puma Reference Manual | Puma::PreUndefDirective Class Reference |
Preprocessor tree node representing an #undef directive. More...
#include <Puma/PreTreeNodes.h>
Public Member Functions | |
PreUndefDirective (PreTree *u, PreTree *m, PreTree *tl) | |
Constructor. | |
PreUndefDirective (PreTree *u, PreTree *tl) | |
Constructor. | |
void | accept (PreVisitor &v) |
Part of the tree visitor pattern. |
Preprocessor tree node representing an #undef directive.
Example:
#undef MACRO
Puma::PreUndefDirective::PreUndefDirective | ( | PreTree * | u, |
PreTree * | m, | ||
PreTree * | tl | ||
) | [inline] |
Constructor.
u | The #undef token. |
m | The name of the macro to undefine. |
tl | The remaining tokens of the line. |
Puma::PreUndefDirective::PreUndefDirective | ( | PreTree * | u, |
PreTree * | tl | ||
) | [inline] |
Constructor.
u | The #undef token. |
tl | The remaining tokens of the line. |
void Puma::PreUndefDirective::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.