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

Public Member Functions | |
| PreInclSemNode (Unit *unit, bool guarded) | |
| Constructor. | |
| void | accept (PreVisitor &v) |
| Part of the tree visitor pattern. | |
| Unit * | unit () const |
| Get the token unit of the included file. | |
| bool | guarded () const |
| Check if the inclusion was not done due to an include guard. | |
| Puma::PreInclSemNode::PreInclSemNode | ( | Unit * | unit, | |
| bool | guarded | |||
| ) | [inline] |
Constructor.
| unit | The unit containing the tokens of the include file. | |
| guarded | True if the inclusion was not done due to an include guard. |
| void Puma::PreInclSemNode::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::PreTree.
| Unit* Puma::PreInclSemNode::unit | ( | ) | const [inline] |
Get the token unit of the included file.
| bool Puma::PreInclSemNode::guarded | ( | ) | const [inline] |
Check if the inclusion was not done due to an include guard.