MicroModelicaCCompiler
4.5.3
|
#include <equation.hpp>
Public Member Functions | |
AST_Equation_Else_ (AST_Expression cond, AST_EquationList eqs) | |
AST_Expression | condition () const |
void | setCondition (AST_Expression e) |
AST_EquationList | equations () 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_EquationList | _eqs |
Definition at line 128 of file equation.hpp.
AST_Equation_Else_::AST_Equation_Else_ | ( | AST_Expression | cond, |
AST_EquationList | eqs | ||
) |
Definition at line 260 of file equation.cpp.
|
virtual |
Implements AST_Node_.
Definition at line 268 of file equation.cpp.
References _cond, _eqs, current_element, and AST_Visitor::visit().
AST_Expression AST_Equation_Else_::condition | ( | ) | const |
Definition at line 262 of file equation.cpp.
References _cond.
AST_EquationList AST_Equation_Else_::equations | ( | ) | const |
Definition at line 266 of file equation.cpp.
References _eqs.
void AST_Equation_Else_::setCondition | ( | AST_Expression | e | ) |
Definition at line 264 of file equation.cpp.
References _cond.
|
private |
Definition at line 137 of file equation.hpp.
Referenced by accept(), condition(), and setCondition().
|
private |
Definition at line 138 of file equation.hpp.
Referenced by accept(), and equations().