Puma Reference Manual Puma: Puma::PreWarningDirective Class Reference



Puma::PreWarningDirective Class Reference

Preprocessor tree node representing a #warning directive. More...

#include <Puma/PreTreeNodes.h>

Inherits Puma::PreTreeComposite.

List of all members.

Public Member Functions

 PreWarningDirective (PreTree *w, PreTree *m)
 Constructor.
void accept (PreVisitor &v)
 Part of the tree visitor pattern.

Detailed Description

Preprocessor tree node representing a #warning directive.

Example:

 #warning This is a warning. 

Constructor & Destructor Documentation

Puma::PreWarningDirective::PreWarningDirective ( PreTree w,
PreTree m 
) [inline]

Constructor.

Parameters:
w The #warning token.
m The warning message.

Member Function Documentation

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