Puma Reference Manual Puma: Puma::PreElifPart Class Reference



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.

List of all members.

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.

Detailed Description

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


Constructor & Destructor Documentation

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

Constructor.


Member Function Documentation

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.

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.



Puma Reference Manual. Created on 18 Sep 2009.