|
MicroModelicaCCompiler
4.5.3
|
#include <statement.hpp>


Public Member Functions | |
| AST_Statement_Assign_ (AST_Expression_ComponentReference cr, AST_Expression exp) | |
| string | print () const |
| AST_Expression | exp () const |
| void | setExp (AST_Expression exp) |
| void | setLHS (AST_Expression_ComponentReference comp_ref) |
| AST_Expression_ComponentReference | lhs () 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_ComponentReference | _lhs |
| AST_Expression | _exp |
Definition at line 76 of file statement.hpp.
| AST_Statement_Assign_::AST_Statement_Assign_ | ( | AST_Expression_ComponentReference | cr, |
| AST_Expression | exp | ||
| ) |
Definition at line 72 of file statement.cpp.
| AST_Expression AST_Statement_Assign_::exp | ( | ) | const |
| AST_Expression_ComponentReference AST_Statement_Assign_::lhs | ( | ) | const |
|
virtual |
Implements AST_Statement_.
Definition at line 80 of file statement.cpp.
References current_element, exp(), EXPCALLARG, lhs(), and MAKE_SPACE.

| void AST_Statement_Assign_::setExp | ( | AST_Expression | exp | ) |
| void AST_Statement_Assign_::setLHS | ( | AST_Expression_ComponentReference | comp_ref | ) |
|
virtual |
|
private |
Definition at line 88 of file statement.hpp.
|
private |
Definition at line 87 of file statement.hpp.