Puma Reference Manual Puma: Puma::CCSemVisitor Class Reference



Puma::CCSemVisitor Class Reference

#include <CCSemVisitor.h>

Inheritance diagram for Puma::CCSemVisitor:

Inheritance graph

List of all members.

Public Member Functions

 CCSemVisitor (ErrorSink &)
void run (CTree *, CStructure *=(CStructure *) 0)
void configure (Config &)

Protected Member Functions

void pre_visit (CTree *)
 Apply actions before the given node is visited.
void post_visit (CTree *)
 Apply actions after the given node is visited.
void pre_action (CT_Program *)
void pre_action (CT_ArgDeclList *)
void pre_action (CT_ArgNameList *)
void pre_action (CT_ArgDeclSeq *)
void pre_action (CT_MembList *)
void pre_action (CT_MembInitList *)
void pre_action (CT_MembInit *)
void pre_action (CT_CmpdStmt *)
void pre_action (CT_IfStmt *)
void pre_action (CT_IfElseStmt *)
void pre_action (CT_SwitchStmt *)
void pre_action (CT_ForStmt *)
void pre_action (CT_WhileStmt *)
void pre_action (CT_Handler *)
void pre_action (CT_TemplateDecl *)
void pre_action (CT_DoStmt *)
void pre_action (CT_ExprStmt *)
void pre_action (CT_CaseStmt *)
void pre_action (CT_GotoStmt *)
void pre_action (CT_ReturnStmt *)
void pre_action (CT_InitDeclarator *)
void pre_action (CT_ArgDecl *)
void pre_action (CT_Condition *)
void pre_action (CT_ArrayDeclarator *)
void pre_action (CT_BitFieldDeclarator *)
void pre_action (CT_ExprList *)
void pre_action (CT_CmpdLiteral *)
void post_action (CT_Program *)
void post_action (CT_ArgDeclList *)
void post_action (CT_ArgNameList *)
void post_action (CT_ArgDeclSeq *)
void post_action (CT_MembList *)
void post_action (CT_MembInitList *)
void post_action (CT_CmpdStmt *)
void post_action (CT_IfStmt *)
void post_action (CT_IfElseStmt *)
void post_action (CT_SwitchStmt *)
void post_action (CT_ForStmt *)
void post_action (CT_WhileStmt *)
void post_action (CT_Handler *)
void post_action (CT_TemplateDecl *)
CTypeInfo * resolveExpr (CTree *, CTree *) const
CTypeInfo * resolveInit (CTree *, CTree *) const

Protected Attributes

CStructure * current_scope
ErrorSink & err


Constructor & Destructor Documentation

Puma::CCSemVisitor::CCSemVisitor ( ErrorSink &  e  )  [inline]


Member Function Documentation

void Puma::CCSemVisitor::run ( CTree *  ,
CStructure *  = (CStructure *) 0 
)

void Puma::CCSemVisitor::configure ( Config &   )  [inline]

void Puma::CCSemVisitor::pre_visit ( CTree *  node  )  [protected, virtual]

Apply actions before the given node is visited.

To be implemented by derived visitors.

Parameters:
node The node to visit.

Reimplemented from Puma::CVisitor.

void Puma::CCSemVisitor::post_visit ( CTree *  node  )  [protected, virtual]

Apply actions after the given node is visited.

To be implemented by derived visitors.

Parameters:
node The node to visit.

Reimplemented from Puma::CVisitor.

void Puma::CCSemVisitor::pre_action ( CT_Program *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_ArgDeclList *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_ArgNameList *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_ArgDeclSeq *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_MembList *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_MembInitList *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_MembInit *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_CmpdStmt *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_IfStmt *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_IfElseStmt *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_SwitchStmt *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_ForStmt *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_WhileStmt *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_Handler *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_TemplateDecl *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_DoStmt *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_ExprStmt *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_CaseStmt *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_GotoStmt *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_ReturnStmt *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_InitDeclarator *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_ArgDecl *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_Condition *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_ArrayDeclarator *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_BitFieldDeclarator *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_ExprList *   )  [protected]

void Puma::CCSemVisitor::pre_action ( CT_CmpdLiteral *   )  [protected]

void Puma::CCSemVisitor::post_action ( CT_Program *   )  [protected]

void Puma::CCSemVisitor::post_action ( CT_ArgDeclList *   )  [protected]

void Puma::CCSemVisitor::post_action ( CT_ArgNameList *   )  [protected]

void Puma::CCSemVisitor::post_action ( CT_ArgDeclSeq *   )  [protected]

void Puma::CCSemVisitor::post_action ( CT_MembList *   )  [protected]

void Puma::CCSemVisitor::post_action ( CT_MembInitList *   )  [protected]

void Puma::CCSemVisitor::post_action ( CT_CmpdStmt *   )  [protected]

void Puma::CCSemVisitor::post_action ( CT_IfStmt *   )  [protected]

void Puma::CCSemVisitor::post_action ( CT_IfElseStmt *   )  [protected]

void Puma::CCSemVisitor::post_action ( CT_SwitchStmt *   )  [protected]

void Puma::CCSemVisitor::post_action ( CT_ForStmt *   )  [protected]

void Puma::CCSemVisitor::post_action ( CT_WhileStmt *   )  [protected]

void Puma::CCSemVisitor::post_action ( CT_Handler *   )  [protected]

void Puma::CCSemVisitor::post_action ( CT_TemplateDecl *   )  [protected]

CTypeInfo* Puma::CCSemVisitor::resolveExpr ( CTree *  ,
CTree *   
) const [protected]

CTypeInfo* Puma::CCSemVisitor::resolveInit ( CTree *  ,
CTree *   
) const [protected]


Member Data Documentation




Puma Reference Manual. Created on 11 Jul 2008.