libutap  0.93
Uppaal Timed Automata Parser
UTAP::WhileStatement Class Reference

#include <statement.h>

Inheritance diagram for UTAP::WhileStatement:
Collaboration diagram for UTAP::WhileStatement:

Public Member Functions

 WhileStatement (expression_t, Statement *)
 
int32_t accept (StatementVisitor *visitor) override
 
bool returns () override
 
std::string toString (const std::string &prefix) const override
 
- Public Member Functions inherited from UTAP::Statement
virtual ~Statement ()
 

Public Attributes

expression_t cond
 
Statementstat
 

Additional Inherited Members

- Protected Member Functions inherited from UTAP::Statement
 Statement ()
 

Detailed Description

Definition at line 105 of file statement.h.

Constructor & Destructor Documentation

◆ WhileStatement()

WhileStatement::WhileStatement ( expression_t  cond,
Statement _stat 
)

Definition at line 148 of file statement.cpp.

Member Function Documentation

◆ accept()

int32_t WhileStatement::accept ( StatementVisitor visitor)
overridevirtual

Implements UTAP::Statement.

Definition at line 155 of file statement.cpp.

References UTAP::StatementVisitor::visitWhileStatement().

Here is the call graph for this function:

◆ returns()

bool WhileStatement::returns ( )
overridevirtual

Implements UTAP::Statement.

Definition at line 160 of file statement.cpp.

◆ toString()

string WhileStatement::toString ( const std::string &  prefix) const
overridevirtual

Implements UTAP::Statement.

Definition at line 165 of file statement.cpp.

References cond, INDENT, stat, UTAP::Statement::toString(), and UTAP::expression_t::toString().

Here is the call graph for this function:

Member Data Documentation

◆ cond

◆ stat


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