Puma Reference Manual | Puma: Puma::PreElseDirective Class Reference |
Preprocessor tree node representing an #else directive. More...
#include <Puma/PreTreeNodes.h>
Inherits Puma::PreTreeComposite.
Public Member Functions | |
PreElseDirective (PreTree *e, PreTree *tl) | |
Constructor. | |
void | accept (PreVisitor &v) |
Part of the tree visitor pattern. |
Preprocessor tree node representing an #else directive.
Example:
#else
Constructor.
e | The #else token. | |
tl | The remaining tokens of the line. |
void Puma::PreElseDirective::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.