libutap
|
#include <statement.h>
Public Member Functions | |
SwitchStatement (frame_t, expression_t) | |
virtual int32_t | accept (StatementVisitor *visitor) |
virtual bool | returns () |
std::string | toString (std::string prefix) const |
![]() | |
BlockStatement (frame_t) | |
virtual | ~BlockStatement () |
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 () |
![]() | |
virtual | ~Statement () |
![]() | |
bool | addFunction (type_t type, std::string, function_t *&) |
Add function declaration. More... | |
std::string | toString (bool global=false) const |
The following methods are used to write the declarations in an XML file. More... | |
std::string | getConstants () const |
std::string | getTypeDefinitions () const |
std::string | getVariables (bool global) const |
std::string | getFunctions () const |
Public Attributes | |
expression_t | cond |
![]() | |
frame_t | frame |
std::list< variable_t > | variables |
Variables. More... | |
std::list< function_t > | functions |
Functions. More... | |
std::list< progress_t > | progress |
Progress measures. More... | |
std::list< iodecl_t > | iodecl |
std::list< gantt_t > | ganttChart |
Additional Inherited Members | |
![]() | |
typedef std::vector< Statement * > ::const_iterator | const_iterator |
typedef std::vector< Statement * > ::iterator | iterator |
![]() | |
Statement () | |
![]() | |
std::vector< Statement * > | stats |
frame_t | frame |
SwitchStatement::SwitchStatement | ( | frame_t | frame, |
expression_t | cond | ||
) |
|
virtual |
Reimplemented from UTAP::BlockStatement.
References UTAP::StatementVisitor::visitSwitchStatement().
|
virtual |
Reimplemented from UTAP::BlockStatement.
|
virtual |
Reimplemented from UTAP::BlockStatement.
References cond, INDENT, UTAP::expression_t::toString(), and UTAP::BlockStatement::toString().
expression_t UTAP::SwitchStatement::cond |