Puma Reference Manual | Puma: Puma::PreWarningDirective Class Reference |
#include <Puma/PreTreeNodes.h>
Example:
#warning This is a warning.
Public Member Functions | |
PreWarningDirective (PreTree *w, PreTree *m) | |
Constructor. | |
void | accept (PreVisitor &v) |
Part of the tree visitor pattern. |
Constructor.
w | The #warning token. | |
m | The warning message. |
void Puma::PreWarningDirective::accept | ( | PreVisitor & | v | ) | [inline, virtual] |
Part of the tree visitor pattern.
Calls the node visiting functions suitable for this node type.
v | The visitor object on which to call the visiting functions. |
Implements Puma::PreTreeComposite.