Welcome to the NetCologne GmbH open source mirroring service!

This machine mirrors various open-source projects. 20 Gbit/s uplink.

If there are any issues or you want another project mirrored, please contact mirror-service -=AT=- netcologne DOT de !

Comma: comma::StmtVisitor Class Reference

comma::StmtVisitor Class Reference

#include <StmtVisitor.h>

Inheritance diagram for comma::StmtVisitor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~StmtVisitor ()
Inner Visitor Methods.

The following set of methods are concerned with visiting the inner nodes of the statement hierarchy. Default implementations are provided. The behaviour is to simply dispatch over the set of concrete subclasses. For example, the default method for visiting a StmtSequence will resolve its argument to a BlockStmt and then invoke the specialized visitor for the resolved type. Of course, an implementation may choose to override any or all of these methods.



virtual void visitAst (Ast *node)
virtual void visitStmt (Stmt *node)
virtual void visitStmtSequence (StmtSequence *node)
Concrete Visitor Methods.

The following group of methods visit the non-virtual nodes in the type hierarchy. The default implementation for these methods do nothing.



virtual void visitBlockStmt (BlockStmt *node)
virtual void visitProcedureCallStmt (ProcedureCallStmt *node)
virtual void visitReturnStmt (ReturnStmt *node)
virtual void visitAssignmentStmt (AssignmentStmt *node)
virtual void visitIfStmt (IfStmt *node)
virtual void visitWhileStmt (WhileStmt *node)
virtual void visitForStmt (ForStmt *node)
virtual void visitLoopStmt (LoopStmt *node)
virtual void visitRaiseStmt (RaiseStmt *node)
virtual void visitPragmaStmt (PragmaStmt *node)
virtual void visitNullStmt (NullStmt *node)

Detailed Description

Definition at line 24 of file StmtVisitor.h.


Constructor & Destructor Documentation

virtual comma::StmtVisitor::~StmtVisitor (  )  [inline, virtual]

Definition at line 27 of file StmtVisitor.h.


Member Function Documentation

void StmtVisitor::visitAssignmentStmt ( AssignmentStmt node  )  [virtual]

Definition at line 62 of file StmtVisitor.cpp.

void StmtVisitor::visitAst ( Ast node  )  [virtual]

Definition at line 18 of file StmtVisitor.cpp.

void StmtVisitor::visitBlockStmt ( BlockStmt node  )  [virtual]

Definition at line 59 of file StmtVisitor.cpp.

void StmtVisitor::visitForStmt ( ForStmt node  )  [virtual]

Definition at line 65 of file StmtVisitor.cpp.

void StmtVisitor::visitIfStmt ( IfStmt node  )  [virtual]

Definition at line 63 of file StmtVisitor.cpp.

void StmtVisitor::visitLoopStmt ( LoopStmt node  )  [virtual]

Definition at line 66 of file StmtVisitor.cpp.

void StmtVisitor::visitNullStmt ( NullStmt node  )  [virtual]

Definition at line 69 of file StmtVisitor.cpp.

void StmtVisitor::visitPragmaStmt ( PragmaStmt node  )  [virtual]

Definition at line 68 of file StmtVisitor.cpp.

void StmtVisitor::visitProcedureCallStmt ( ProcedureCallStmt node  )  [virtual]

Definition at line 60 of file StmtVisitor.cpp.

void StmtVisitor::visitRaiseStmt ( RaiseStmt node  )  [virtual]

Definition at line 67 of file StmtVisitor.cpp.

void StmtVisitor::visitReturnStmt ( ReturnStmt node  )  [virtual]

Definition at line 61 of file StmtVisitor.cpp.

void StmtVisitor::visitStmt ( Stmt node  )  [virtual]

Definition at line 31 of file StmtVisitor.cpp.

void StmtVisitor::visitStmtSequence ( StmtSequence node  )  [virtual]

Definition at line 53 of file StmtVisitor.cpp.

void StmtVisitor::visitWhileStmt ( WhileStmt node  )  [virtual]

Definition at line 64 of file StmtVisitor.cpp.


The documentation for this class was generated from the following files:

Generated on 1 Feb 2010 for Comma by  doxygen 1.6.1