Puma Reference Manual | Puma: Puma::PreProgram Class Reference |
The root node of the preprocessor syntax tree. More...
#include <Puma/PreTreeNodes.h>
Public Member Functions | |
PreProgram (PreTree *g) | |
Constructor. | |
void | accept (PreVisitor &v) |
Part of the tree visitor pattern. |
The root node of the preprocessor syntax tree.
Puma::PreProgram::PreProgram | ( | PreTree * | g | ) | [inline] |
Constructor.
g | The group of preprocessor directives. |
void Puma::PreProgram::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.