Puma Reference Manual | Puma: Puma::PreErrorDirective Class Reference |
#include <Puma/PreTreeNodes.h>
Example:
#error This is an error.
Public Member Functions | |
PreErrorDirective (PreTree *e, PreTree *m) | |
Constructor. | |
void | accept (PreVisitor &v) |
Part of the tree visitor pattern. |
Constructor.
e | The #error token. | |
m | The error message. |
void Puma::PreErrorDirective::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.