Puma Reference Manual Puma: Puma::PreElifDirective Class Reference



Puma::PreElifDirective Class Reference

#include <Puma/PreTreeNodes.h>

Inheritance diagram for Puma::PreElifDirective:

Inheritance graph

List of all members.


Detailed Description

Preprocessor tree node representing an #elif directive.

Example:

 #elif OSTYPE==linux 

Public Member Functions

 PreElifDirective (PreTree *e, PreTree *c)
 Constructor.
void accept (PreVisitor &v)
 Part of the tree visitor pattern.

Constructor & Destructor Documentation

Puma::PreElifDirective::PreElifDirective ( PreTree e,
PreTree c 
) [inline]

Constructor.

Parameters:
e The #elif token.
c The condition.


Member Function Documentation

void Puma::PreElifDirective::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.