Zen
A cross-platform functional programming language
|
Base class for all AST Nodes representing executable statements. More...
#include <Ast.hpp>
Classes | |
class | Visitor |
Statement Visitor interface class. More... | |
Public Member Functions | |
virtual void | visit (Visitor &visitor) const =0 |
Abstract visitor function. | |
Protected Member Functions | |
Statement () | |
Default constructor. |
Base class for all AST Nodes representing executable statements.
virtual void visit | ( | Visitor & | visitor | ) | const [pure virtual] |
Abstract visitor function.
visitor | The visitor object. |
Implemented in StatementBlock, ExprStatement, DefineVarStatement, LogStatement, IfThenStatement, IfElseStatement, SelectStatement, SwitchStatement, TypeSpecStatement, BreakStatement, ContinueStatement, EmptyStatement, ForStatement, ForeachStatement, WhileStatement, DoWhileStatement, RoutineReturnStatement, and FunctionReturnStatement.