#include <StmtVisitor.h>
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. | |
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) |
Definition at line 24 of file StmtVisitor.h.
virtual comma::StmtVisitor::~StmtVisitor | ( | ) | [inline, virtual] |
Definition at line 27 of file StmtVisitor.h.
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.