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>

Inheritance diagram for Puma::PreElifPart:
Inheritance graph

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:
vThe 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:
dgThe directive group.
elThe #elif directive.