Puma Reference Manual Puma: Puma::PreEndifDirective Class Reference



Puma::PreEndifDirective Class Reference

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

#include <Puma/PreTreeNodes.h>

Inherits Puma::PreTreeComposite.

List of all members.

Public Member Functions

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

Detailed Description

Preprocessor tree node representing an #endif directive.

Example:

 #endif 

Constructor & Destructor Documentation

Puma::PreEndifDirective::PreEndifDirective ( PreTree e,
PreTree tl 
) [inline]

Constructor.

Parameters:
e The #endif token.
tl The remaining tokens of the line.

Member Function Documentation

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