MicroModelicaCCompiler
4.5.3
|
#include <statement.hpp>
Public Member Functions | |
AST_Statement_Else_ (AST_Expression cond, AST_StatementList sts) | |
AST_Expression | condition () const |
AST_StatementList | statements () const |
void | accept (AST_Visitor *visitor) |
![]() | |
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 150 of file statement.hpp.
AST_Statement_Else_::AST_Statement_Else_ | ( | AST_Expression | cond, |
AST_StatementList | sts | ||
) |
Definition at line 311 of file statement.cpp.
|
virtual |
Implements AST_Node_.
Definition at line 317 of file statement.cpp.
References _cond, _sts, current_element, and AST_Visitor::visit().
AST_Expression AST_Statement_Else_::condition | ( | ) | const |
Definition at line 313 of file statement.cpp.
References _cond.
AST_StatementList AST_Statement_Else_::statements | ( | ) | const |
Definition at line 315 of file statement.cpp.
References _sts.
|
private |
Definition at line 158 of file statement.hpp.
Referenced by accept(), and condition().
|
private |
Definition at line 159 of file statement.hpp.
Referenced by accept(), and statements().