Puma Reference Manual Puma: Puma::PreElifDirective Class Reference



Puma::PreElifDirective Class Reference

Preprocessor tree node representing an #elif directive. More...

#include <Puma/PreTreeNodes.h>

Inherits Puma::PreTreeComposite.

List of all members.

Public Member Functions

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

Detailed Description

Preprocessor tree node representing an #elif directive.

Example:

 #elif OSTYPE==linux 

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 24 Nov 2009.