Puma Reference Manual Puma: Puma::PreProgram Class Reference



Puma::PreProgram Class Reference

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

#include <Puma/PreTreeNodes.h>

Inherits Puma::PreTreeComposite.

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

Puma::PreProgram::PreProgram ( PreTree g  )  [inline]

Constructor.

Parameters:
g The 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:
v The visitor object on which to call the visiting functions.

Implements Puma::PreTreeComposite.




Puma Reference Manual. Created on 11 Sep 2009.