Puma Reference Manual Puma: Puma::PreUndefDirective Class Reference



Puma::PreUndefDirective Class Reference

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

#include <Puma/PreTreeNodes.h>

Inherits Puma::PreTreeComposite.

List of all members.

Public Member Functions

 PreUndefDirective (PreTree *u, PreTree *m, PreTree *tl)
 Constructor.
 PreUndefDirective (PreTree *u, PreTree *tl)
 Constructor.
void accept (PreVisitor &v)
 Part of the tree visitor pattern.

Detailed Description

Preprocessor tree node representing an #undef directive.

Example:

 #undef MACRO 

Constructor & Destructor Documentation

Puma::PreUndefDirective::PreUndefDirective ( PreTree u,
PreTree m,
PreTree tl 
) [inline]

Constructor.

Parameters:
u The #undef token.
m The name of the macro to undefine.
tl The remaining tokens of the line.
Puma::PreUndefDirective::PreUndefDirective ( PreTree u,
PreTree tl 
) [inline]

Constructor.

Parameters:
u The #undef token.
tl The remaining tokens of the line.

Member Function Documentation

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