Puma Reference Manual Puma: Puma::PreElifPart Class Reference



Puma::PreElifPart Class Reference

#include <Puma/PreTreeNodes.h>

Inheritance diagram for Puma::PreElifPart:

Inheritance graph

List of all members.


Detailed Description

Preprocessor tree node representing a group of directives in the #elif part of an #if conditional.


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.


Constructor & Destructor Documentation

Puma::PreElifPart::PreElifPart (  )  [inline]

Constructor.


Member Function Documentation

void Puma::PreElifPart::addSons ( PreTree dg,
PreTree el 
) [inline]

Add two sons, a directive group and a #elif directive.

Parameters:
dg The directive group.
el The #elif directive.

void Puma::PreElifPart::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 5 Nov 2008.