Puma Reference Manual | Puma: Puma::PreIdentifierList Class Reference |
Preprocessor tree node representing the identifier list of a function-like macro definition. More...
#include <Puma/PreTreeNodes.h>
Public Member Functions | |
PreIdentifierList (PreTree *id) | |
Constructor. | |
void | addSons (PreTree *c, PreTree *id) |
Add two sons, a comma and an identifier. | |
void | accept (PreVisitor &v) |
Part of the tree visitor pattern. |
Preprocessor tree node representing the identifier list of a function-like macro definition.
Example:
a,b,c
Puma::PreIdentifierList::PreIdentifierList | ( | PreTree * | id | ) | [inline] |
Constructor.
id | An identifier. |
void Puma::PreIdentifierList::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.