|
MicroModelicaCCompiler
4.5.3
|
#include <statement.hpp>


Public Member Functions | |
| AST_Statement_While_ (AST_Expression cond, AST_StatementList) | |
| string | print () const |
| AST_Expression | condition () const |
| AST_StatementList | statements () const |
| virtual StatementType | statementType () |
Public Member Functions inherited from AST_Statement_ | |
| DEFINE_CLASS_PRINTER (AST_Statement) | |
| void | accept (AST_Visitor *visitor) |
| GET_AS (Statement, While) | |
| GET_AS (Statement, If) | |
| GET_AS (Statement, For) | |
| GET_AS (Statement, When) | |
| GET_AS (Statement, Assign) | |
| GET_AS (Statement, OutputAssigment) | |
Public Member Functions inherited from AST_Node_ | |
| AST_Node_ () | |
| virtual | ~AST_Node_ () |
| DEFINE_CLASS_PRINTER (AST_Node) | |
| DEFINE_ORDER_REL (AST_Node) | |
| void | setLineNum (int linenum) |
| int | lineNum () const |
Private Attributes | |
| AST_Expression | _cond |
| AST_StatementList | _sts |
Definition at line 107 of file statement.hpp.
| AST_Statement_While_::AST_Statement_While_ | ( | AST_Expression | cond, |
| AST_StatementList | sts | ||
| ) |
Definition at line 191 of file statement.cpp.
| AST_Expression AST_Statement_While_::condition | ( | ) | const |
|
virtual |
Implements AST_Statement_.
Definition at line 199 of file statement.cpp.
References BEGIN_BLOCK, condition(), current_element, END_BLOCK, MAKE_SPACE, and statements().

| AST_StatementList AST_Statement_While_::statements | ( | ) | const |
|
virtual |
|
private |
Definition at line 116 of file statement.hpp.
Referenced by condition().
|
private |
Definition at line 117 of file statement.hpp.
Referenced by statements().