![]() |
Zen
A cross-platform functional programming language
|
AST Node representing an if statement without an else. More...
#include <Ast.hpp>
Public Member Functions | |
| IfThenStatement (const Ast::Expr &cond, const Ast::StatementList &tlist) | |
| Default constructor. | |
Private Member Functions | |
| virtual void | visit (Statement::Visitor &visitor) const |
| Abstract visitor function. | |
AST Node representing an if statement without an else.
| IfThenStatement | ( | const Ast::Expr & | cond, |
| const Ast::StatementList & | tlist | ||
| ) | [inline] |
Default constructor.
| cond | The condition expression |
| tlist | The true statement list |
| void visit | ( | Statement::Visitor & | visitor | ) | const [private, virtual] |