MicroModelicaCCompiler
4.5.3
|
#include <statement.hpp>
Public Member Functions | |
AST_Statement_For_ (AST_ForIndexList index, AST_StatementList) | |
string | print () const |
AST_StatementList | statements () const |
AST_ForIndexList | forIndexList () const |
virtual StatementType | statementType () |
![]() | |
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) | |
![]() | |
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_StatementList | _sts |
AST_ForIndexList | _ind |
Definition at line 120 of file statement.hpp.
AST_Statement_For_::AST_Statement_For_ | ( | AST_ForIndexList | index, |
AST_StatementList | sts | ||
) |
Definition at line 118 of file statement.cpp.
AST_ForIndexList AST_Statement_For_::forIndexList | ( | ) | const |
|
virtual |
Implements AST_Statement_.
Definition at line 120 of file statement.cpp.
References AST_ListPrint(), BEGIN_BLOCK, current_element, END_BLOCK, forIndexList(), MAKE_SPACE, and statements().
AST_StatementList AST_Statement_For_::statements | ( | ) | const |
|
virtual |
|
private |
Definition at line 130 of file statement.hpp.
Referenced by forIndexList().
|
private |
Definition at line 129 of file statement.hpp.
Referenced by statements().