UTAP::BlockStatement Class Reference

#include <statement.h>

Inheritance diagram for UTAP::BlockStatement:

UTAP::Statement UTAP::declarations_t UTAP::CaseStatement UTAP::DefaultStatement UTAP::SwitchStatement List of all members.

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)
Statementpop_stat ()
Statementback ()
const_iterator begin () const
const_iterator end () const
iterator begin ()
iterator end ()

Protected Attributes

std::vector< Statement * > stats
frame_t frame

Member Typedef Documentation

typedef std::vector<Statement *>::const_iterator UTAP::BlockStatement::const_iterator

typedef std::vector<Statement *>::iterator UTAP::BlockStatement::iterator


Constructor & Destructor Documentation

BlockStatement::BlockStatement ( frame_t   ) 

BlockStatement::~BlockStatement (  )  [virtual]


Member Function Documentation

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.


Member Data Documentation

frame_t UTAP::BlockStatement::frame [protected]

Reimplemented from UTAP::declarations_t.

std::vector<Statement*> UTAP::BlockStatement::stats [protected]


The documentation for this class was generated from the following files:
Generated on Thu Feb 22 14:46:53 2007 for libutap by  doxygen 1.4.7