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

#include <statement.h>

Inheritance diagram for UTAP::ForStatement:
Collaboration diagram for UTAP::ForStatement:

Public Member Functions

 ForStatement (expression_t, expression_t, 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 init
 
expression_t cond
 
expression_t step
 
Statementstat
 

Additional Inherited Members

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

Detailed Description

Definition at line 75 of file statement.h.

Constructor & Destructor Documentation

◆ ForStatement()

ForStatement::ForStatement ( expression_t  init,
expression_t  cond,
expression_t  step,
Statement _stat 
)

Definition at line 98 of file statement.cpp.

Member Function Documentation

◆ accept()

int32_t ForStatement::accept ( StatementVisitor visitor)
overridevirtual

Implements UTAP::Statement.

Definition at line 105 of file statement.cpp.

References UTAP::StatementVisitor::visitForStatement().

Here is the call graph for this function:

◆ returns()

bool ForStatement::returns ( )
overridevirtual

Implements UTAP::Statement.

Definition at line 110 of file statement.cpp.

◆ toString()

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

Implements UTAP::Statement.

Definition at line 115 of file statement.cpp.

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

Here is the call graph for this function:

Member Data Documentation

◆ cond

◆ init

◆ stat

◆ step


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