#include <statement.h>
Inheritance diagram for UTAP::BlockStatement:
Public Types | |
typedef std::vector< Statement * >::const_iterator | const_iterator |
typedef std::vector< Statement * >::iterator | iterator |
Public Member Functions | |
BlockStatement (frame_t) | |
virtual | ~BlockStatement () |
virtual int32_t | accept (StatementVisitor *visitor) |
virtual bool | returns () |
frame_t | getFrame () |
void | push_stat (Statement *stat) |
Statement * | pop_stat () |
Statement * | back () |
const_iterator | begin () const |
const_iterator | end () const |
iterator | begin () |
iterator | end () |
Protected Attributes | |
std::vector< Statement * > | stats |
frame_t | frame |
typedef std::vector<Statement *>::const_iterator UTAP::BlockStatement::const_iterator |
typedef std::vector<Statement *>::iterator UTAP::BlockStatement::iterator |
BlockStatement::BlockStatement | ( | frame_t | ) |
BlockStatement::~BlockStatement | ( | ) | [virtual] |
int32_t BlockStatement::accept | ( | StatementVisitor * | visitor | ) | [virtual] |
Implements UTAP::Statement.
Reimplemented in UTAP::SwitchStatement, UTAP::CaseStatement, and UTAP::DefaultStatement.
Statement * BlockStatement::back | ( | ) |
BlockStatement::iterator BlockStatement::begin | ( | ) |
BlockStatement::const_iterator BlockStatement::begin | ( | ) | const |
BlockStatement::iterator BlockStatement::end | ( | ) |
BlockStatement::const_iterator BlockStatement::end | ( | ) | const |
frame_t UTAP::BlockStatement::getFrame | ( | ) | [inline] |
Statement * BlockStatement::pop_stat | ( | ) |
void BlockStatement::push_stat | ( | Statement * | stat | ) |
bool BlockStatement::returns | ( | ) | [virtual] |
Implements UTAP::Statement.
Reimplemented in UTAP::SwitchStatement, UTAP::CaseStatement, and UTAP::DefaultStatement.
frame_t UTAP::BlockStatement::frame [protected] |
Reimplemented from UTAP::declarations_t.
std::vector<Statement*> UTAP::BlockStatement::stats [protected] |