| Puma Reference Manual | Puma: Puma::PreAssertDirective Class Reference |
#include <Puma/PreTreeNodes.h>

Example:
#assert OSTYPE (linux)
Public Member Functions | |
| PreAssertDirective (PreTree *a, PreTree *p, PreTree *an) | |
| Constructor. | |
| PreAssertDirective (PreTree *a, PreTree *tl) | |
| Constructor. | |
| void | accept (PreVisitor &v) |
| Part of the tree visitor pattern. | |
Constructor.
| a | The #assert token. | |
| p | The predicate name. | |
| an | The answer to the predicate. |
Constructor.
| a | The #assert token. | |
| tl | The remaining tokens of the line. |
| void Puma::PreAssertDirective::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.