|
libutap
0.93
Uppaal Timed Automata Parser
|
#include <statement.h>


Public Types | |
| typedef std::vector< Statement * >::const_iterator | const_iterator |
| typedef std::vector< Statement * >::iterator | iterator |
Public Member Functions | |
| BlockStatement (frame_t) | |
| ~BlockStatement () override | |
| int32_t | accept (StatementVisitor *visitor) override |
| bool | returns () override |
| 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 () |
| std::string | toString (const std::string &prefix) const override |
Public Member Functions inherited from UTAP::Statement | |
| virtual | ~Statement () |
Public Member Functions inherited from UTAP::declarations_t | |
| bool | addFunction (type_t type, const 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 |
Protected Attributes | |
| std::vector< Statement * > | stats |
| frame_t | frame |
Additional Inherited Members | |
Public Attributes inherited from UTAP::declarations_t | |
| 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 |
Protected Member Functions inherited from UTAP::Statement | |
| Statement () | |
Definition at line 127 of file statement.h.
| typedef std::vector<Statement *>::const_iterator UTAP::BlockStatement::const_iterator |
Definition at line 130 of file statement.h.
| typedef std::vector<Statement *>::iterator UTAP::BlockStatement::iterator |
Definition at line 131 of file statement.h.
| BlockStatement::BlockStatement | ( | frame_t | frame | ) |
Definition at line 193 of file statement.cpp.
References frame.
|
override |
Definition at line 199 of file statement.cpp.
References pop_stat(), and stats.

|
overridevirtual |
Implements UTAP::Statement.
Reimplemented in UTAP::DefaultStatement, UTAP::CaseStatement, and UTAP::SwitchStatement.
Definition at line 243 of file statement.cpp.
References UTAP::StatementVisitor::visitBlockStatement().
Referenced by UTAP::SignalFlow::visitExpression(), and UTAP::TypeChecker::visitFunction().


| Statement * BlockStatement::back | ( | ) |
Definition at line 230 of file statement.cpp.
References stats.
Referenced by pop_stat(), and returns().

| BlockStatement::const_iterator BlockStatement::begin | ( | ) | const |
Definition at line 210 of file statement.cpp.
References stats.
Referenced by returns(), UTAP::SignalFlow::visitBlockStatement(), UTAP::AbstractStatementVisitor::visitBlockStatement(), and UTAP::ExpressionVisitor::visitBlockStatement().

| BlockStatement::iterator BlockStatement::begin | ( | ) |
Definition at line 220 of file statement.cpp.
References stats.
| BlockStatement::const_iterator BlockStatement::end | ( | ) | const |
Definition at line 215 of file statement.cpp.
References stats.
Referenced by returns(), UTAP::SignalFlow::visitBlockStatement(), UTAP::AbstractStatementVisitor::visitBlockStatement(), and UTAP::ExpressionVisitor::visitBlockStatement().

| BlockStatement::iterator BlockStatement::end | ( | ) |
Definition at line 225 of file statement.cpp.
References stats.
|
inline |
Definition at line 141 of file statement.h.
References UTAP::Statement::toString().
Referenced by UTAP::TypeChecker::visitBlockStatement(), UTAP::ExpressionVisitor::visitBlockStatement(), UTAP::SignalFlow::visitExpression(), and UTAP::TypeChecker::visitFunction().


| Statement * BlockStatement::pop_stat | ( | ) |
Definition at line 236 of file statement.cpp.
Referenced by ~BlockStatement().


| void BlockStatement::push_stat | ( | Statement * | stat | ) |
Definition at line 204 of file statement.cpp.
References stats.
|
overridevirtual |
Implements UTAP::Statement.
Reimplemented in UTAP::DefaultStatement, UTAP::CaseStatement, and UTAP::SwitchStatement.
Definition at line 248 of file statement.cpp.
References back(), begin(), end(), and UTAP::Statement::returns().

|
overridevirtual |
Implements UTAP::Statement.
Reimplemented in UTAP::CaseStatement, and UTAP::SwitchStatement.
Definition at line 253 of file statement.cpp.
References stats.
Referenced by UTAP::SwitchStatement::toString(), and UTAP::CaseStatement::toString().

|
protected |
Definition at line 134 of file statement.h.
Referenced by BlockStatement().
|
protected |
Definition at line 133 of file statement.h.
Referenced by back(), begin(), end(), pop_stat(), push_stat(), toString(), and ~BlockStatement().