#include <CCSemVisitor.h>
List of all members.
Additional Inherited Members |
| CVisitor () |
| Constructor.
|
virtual | ~CVisitor () |
| Destructor.
|
void | abort (bool v=true) |
| Set the aborted state.
|
void | prune (bool v=true) |
| Set the pruned state (don't visit the sub-tree).
|
bool | aborted () const |
| Check if the node visiting is aborted.
|
bool | pruned () const |
| Check if the visiting the sub-tree is aborted.
|
void | visit (CTree *node) |
| Visit the given syntax tree node.
|
Constructor & Destructor Documentation
Puma::CCSemVisitor::CCSemVisitor |
( |
ErrorSink & |
e | ) |
|
|
inline |
Member Function Documentation
void Puma::CCSemVisitor::configure |
( |
Config & |
| ) |
|
|
inline |
void Puma::CCSemVisitor::post_action |
( |
CT_Program * |
| ) |
|
|
protected |
void Puma::CCSemVisitor::post_action |
( |
CT_IfStmt * |
| ) |
|
|
protected |
void Puma::CCSemVisitor::post_action |
( |
CT_ForStmt * |
| ) |
|
|
protected |
void Puma::CCSemVisitor::post_action |
( |
CT_Handler * |
| ) |
|
|
protected |
void Puma::CCSemVisitor::post_visit |
( |
CTree * |
node | ) |
|
|
protectedvirtual |
Apply actions after the given node is visited.
To be implemented by derived visitors.
- Parameters:
-
Reimplemented from Puma::CVisitor.
void Puma::CCSemVisitor::pre_action |
( |
CT_Program * |
| ) |
|
|
protected |
void Puma::CCSemVisitor::pre_action |
( |
CT_IfStmt * |
| ) |
|
|
protected |
void Puma::CCSemVisitor::pre_action |
( |
CT_ForStmt * |
| ) |
|
|
protected |
void Puma::CCSemVisitor::pre_action |
( |
CT_Handler * |
| ) |
|
|
protected |
void Puma::CCSemVisitor::pre_action |
( |
CT_DoStmt * |
| ) |
|
|
protected |
void Puma::CCSemVisitor::pre_action |
( |
CT_ArgDecl * |
| ) |
|
|
protected |
void Puma::CCSemVisitor::pre_visit |
( |
CTree * |
node | ) |
|
|
protectedvirtual |
Apply actions before the given node is visited.
To be implemented by derived visitors.
- Parameters:
-
Reimplemented from Puma::CVisitor.
Member Data Documentation