Puma Reference Manual | Puma: Puma::PreElifPart Class Reference |
Preprocessor tree node representing a group of directives in the #elif part of an #if conditional. More...
#include <Puma/PreTreeNodes.h>
Inherits Puma::PreTreeComposite.
Public Member Functions | |
PreElifPart () | |
Constructor. | |
void | addSons (PreTree *dg, PreTree *el) |
Add two sons, a directive group and a #elif directive. | |
void | accept (PreVisitor &v) |
Part of the tree visitor pattern. |
Preprocessor tree node representing a group of directives in the #elif part of an #if conditional.
Puma::PreElifPart::PreElifPart | ( | ) | [inline] |
Constructor.
void Puma::PreElifPart::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.