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

Example:
#define CONSTANT 1
Public Member Functions | |
| PreDefineConstantDirective (PreTree *d, PreTree *n, PreTree *v) | |
| Constructor. | |
| PreDefineConstantDirective (PreTree *d, PreTree *tl) | |
| Constructor. | |
| void | accept (PreVisitor &v) |
| Part of the tree visitor pattern. | |
| Puma::PreDefineConstantDirective::PreDefineConstantDirective | ( | PreTree * | d, | |
| PreTree * | n, | |||
| PreTree * | v | |||
| ) | [inline] |
Constructor.
| d | The #define token. | |
| n | The name of the constant. | |
| v | The constant value. |
Constructor.
| d | The #define token. | |
| tl | The remaining tokens of the line. |
| void Puma::PreDefineConstantDirective::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.