Puma Reference Manual Puma::PreUnassertDirective Class Reference



Puma::PreUnassertDirective Class Reference

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

#include <Puma/PreTreeNodes.h>

Inheritance diagram for Puma::PreUnassertDirective:
Inheritance graph

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

Constructor.

Parameters:
uaThe #unassert token.
nThe name of the predicate.
tlThe remaining tokens of the line.

Constructor.

Parameters:
uaThe #unassert token.
tlThe 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:
vThe visitor object on which to call the visiting functions.

Implements Puma::PreTreeComposite.