Zen
A cross-platform functional programming language

IfThenStatement Class Reference

AST Node representing an if statement without an else. More...

#include <Ast.hpp>

Inheritance diagram for IfThenStatement:
IfStatement Statement Node

List of all members.

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.

Detailed Description

AST Node representing an if statement without an else.


Constructor & Destructor Documentation

IfThenStatement ( const Ast::Expr cond,
const Ast::StatementList tlist 
) [inline]

Default constructor.

Parameters:
condThe condition expression
tlistThe true statement list

Member Function Documentation

void visit ( Statement::Visitor visitor) const [private, virtual]

Abstract visitor function.

Parameters:
visitorThe visitor object.

Implements Statement.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines