Hormiga 1.0

Statements Class Reference

#include <statement.h>

Inheritance diagram for Statements:
Collaboration diagram for Statements:

List of all members.

Public Member Functions

virtual bool exec ()
virtual T_STRING toString () const
 Statements (T_STMT_BLOCK *block)
virtual ~Statements ()
virtual T_STMT_BLOCK * getStatements ()
virtual void append (Statement *s)

Protected Attributes

T_STMT_BLOCK * block

Detailed Description

Keep and execute a "block of code" or "group of statement"

Definition at line 72 of file statement.h.


Constructor & Destructor Documentation

Statements::Statements ( T_STMT_BLOCK *  block)

Definition at line 104 of file statement.cpp.

Statements::~Statements ( ) [virtual]

Definition at line 109 of file statement.cpp.


Member Function Documentation

virtual void Statements::append ( Statement s) [inline, virtual]

Definition at line 80 of file statement.h.

bool Statements::exec ( ) [virtual]

Statements

Implements Statement.

Definition at line 79 of file statement.cpp.

Here is the call graph for this function:

virtual T_STMT_BLOCK* Statements::getStatements ( ) [inline, virtual]

Definition at line 79 of file statement.h.

T_STRING Statements::toString ( ) const [virtual]

Implements Statement.

Definition at line 90 of file statement.cpp.

Here is the call graph for this function:


Member Data Documentation

T_STMT_BLOCK* Statements::block [protected]

Definition at line 82 of file statement.h.


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