Hormiga 1.0

If Class Reference

#include <statement.h>

Inheritance diagram for If:
Collaboration diagram for If:

List of all members.

Public Member Functions

virtual bool exec ()
virtual T_STRING toString () const
 If (Operand *condition, Statement *blockTrue, Statement *blockFalse)
virtual ~If ()

Protected Attributes

Operandcondition
StatementblockTrue
StatementblockFalse

Detailed Description

Definition at line 98 of file statement.h.


Constructor & Destructor Documentation

If::If ( Operand condition,
Statement blockTrue,
Statement blockFalse 
)

Definition at line 179 of file statement.cpp.

If::~If ( ) [virtual]

Definition at line 186 of file statement.cpp.

Here is the call graph for this function:


Member Function Documentation

bool If::exec ( ) [virtual]

If

Implements Statement.

Definition at line 157 of file statement.cpp.

Here is the call graph for this function:

T_STRING If::toString ( ) const [virtual]

Implements Statement.

Definition at line 166 of file statement.cpp.

Here is the call graph for this function:


Member Data Documentation

Statement* If::blockFalse [protected]

Definition at line 108 of file statement.h.

Statement* If::blockTrue [protected]

Definition at line 107 of file statement.h.

Operand* If::condition [protected]

Definition at line 106 of file statement.h.


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