MicroModelicaCCompiler
4.5.3
|
#include <expression.hpp>
Public Member Functions | |
AST_Expression_If_ElseIf_ (AST_Expression, AST_Expression) | |
string | print () const |
ExpressionType | expressionType () |
AST_Expression | condition () |
AST_Expression | then () |
![]() | |
virtual | ~AST_Expression_ () |
DEFINE_CLASS_PRINTER (AST_Expression) | |
void | accept (AST_Visitor *visitor) |
GET_AS (Expression, BinOp) | |
GET_AS (Expression, Boolean) | |
GET_AS (Expression, BooleanNot) | |
GET_AS (Expression, Brace) | |
GET_AS (Expression, Call) | |
GET_AS (Expression, CallArgs) | |
GET_AS (Expression, ComponentReference) | |
GET_AS (Expression, Derivative) | |
GET_AS (Expression, If) | |
GET_AS (Expression, Integer) | |
GET_AS (Expression, Output) | |
GET_AS (Expression, Range) | |
GET_AS (Expression, Real) | |
GET_AS (Expression, UMinus) | |
GET_AS (Expression, String) | |
GET_AS (Expression, NamedArgument) | |
GET_AS (Expression, ArrayIndex) | |
GET_AS (Expression, Bracket) | |
AST_Expression_If_ElseIf | getAsElseIf () |
![]() | |
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_Expression | _then |
Definition at line 235 of file expression.hpp.
AST_Expression_If_ElseIf_::AST_Expression_If_ElseIf_ | ( | AST_Expression | c, |
AST_Expression | t | ||
) |
Definition at line 361 of file expression.cpp.
AST_Expression AST_Expression_If_ElseIf_::condition | ( | ) |
Definition at line 367 of file expression.cpp.
References _cond.
|
virtual |
Reimplemented from AST_Expression_.
Definition at line 365 of file expression.cpp.
References EXPELSEIF.
|
virtual |
Implements AST_Expression_.
Definition at line 371 of file expression.cpp.
AST_Expression AST_Expression_If_ElseIf_::then | ( | ) |
Definition at line 369 of file expression.cpp.
References _then.
|
private |
Definition at line 244 of file expression.hpp.
Referenced by condition(), and print().
|
private |
Definition at line 245 of file expression.hpp.