Puma Reference Manual Puma::PreProgram Class Reference



Puma::PreProgram Class Reference

The root node of the preprocessor syntax tree. More...

#include <Puma/PreTreeNodes.h>

Inheritance diagram for Puma::PreProgram:
Inheritance graph

List of all members.

Public Member Functions

 PreProgram (PreTree *g)
 Constructor.
void accept (PreVisitor &v)
 Part of the tree visitor pattern.

Detailed Description

The root node of the preprocessor syntax tree.


Constructor & Destructor Documentation

Constructor.

Parameters:
gThe group of preprocessor directives.

Member Function Documentation

void Puma::PreProgram::accept ( PreVisitor v) [inline, virtual]

Part of the tree visitor pattern.

Calls the node visiting functions suitable for this node type.

Parameters:
vThe visitor object on which to call the visiting functions.

Implements Puma::PreTreeComposite.