Puma Reference Manual Puma: Puma::PreUnassertDirective Class Reference



Puma::PreUnassertDirective Class Reference

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

#include <Puma/PreTreeNodes.h>

Inherits Puma::PreTreeComposite.

List of all members.

Public Member Functions

 PreUnassertDirective (PreTree *ua, PreTree *n, PreTree *tl)
 Constructor.
 PreUnassertDirective (PreTree *ua, PreTree *tl)
 Constructor.
void accept (PreVisitor &v)
 Part of the tree visitor pattern.

Detailed Description

Preprocessor tree node representing an #unassert directive.

Example:

 #unassert OSTYPE 

Constructor & Destructor Documentation

Puma::PreUnassertDirective::PreUnassertDirective ( PreTree ua,
PreTree n,
PreTree tl 
) [inline]

Constructor.

Parameters:
ua The #unassert token.
n The name of the predicate.
tl The remaining tokens of the line.
Puma::PreUnassertDirective::PreUnassertDirective ( PreTree ua,
PreTree tl 
) [inline]

Constructor.

Parameters:
ua The #unassert token.
tl The remaining tokens of the line.

Member Function Documentation

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