MicroModelicaCCompiler  4.5.3
AST_Expression_ Class Referenceabstract

#include <expression.hpp>

Inheritance diagram for AST_Expression_:
Collaboration diagram for AST_Expression_:

Public Member Functions

virtual ~AST_Expression_ ()
 
 DEFINE_CLASS_PRINTER (AST_Expression)
 
virtual string print () const =0
 
virtual ExpressionType expressionType ()
 
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 ()
 
- 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
 

Detailed Description

Definition at line 30 of file expression.hpp.

Constructor & Destructor Documentation

◆ ~AST_Expression_()

AST_Expression_::~AST_Expression_ ( )
virtual

Definition at line 32 of file expression.cpp.

Member Function Documentation

◆ accept()

void AST_Expression_::accept ( AST_Visitor visitor)
virtual

Implements AST_Node_.

Definition at line 56 of file expression.cpp.

References AST_Visitor::visit().

Here is the call graph for this function:

◆ DEFINE_CLASS_PRINTER()

AST_Expression_::DEFINE_CLASS_PRINTER ( AST_Expression  )

◆ expressionType()

◆ GET_AS() [1/18]

AST_Expression_::GET_AS ( Expression  ,
ArrayIndex   
)

◆ GET_AS() [2/18]

AST_Expression_::GET_AS ( Expression  ,
BinOp   
)

◆ GET_AS() [3/18]

AST_Expression_::GET_AS ( Expression  ,
Boolean   
)

◆ GET_AS() [4/18]

AST_Expression_::GET_AS ( Expression  ,
BooleanNot   
)

◆ GET_AS() [5/18]

AST_Expression_::GET_AS ( Expression  ,
Brace   
)

◆ GET_AS() [6/18]

AST_Expression_::GET_AS ( Expression  ,
Bracket   
)

◆ GET_AS() [7/18]

AST_Expression_::GET_AS ( Expression  ,
Call   
)

◆ GET_AS() [8/18]

AST_Expression_::GET_AS ( Expression  ,
CallArgs   
)

◆ GET_AS() [9/18]

AST_Expression_::GET_AS ( Expression  ,
ComponentReference   
)

◆ GET_AS() [10/18]

AST_Expression_::GET_AS ( Expression  ,
Derivative   
)

◆ GET_AS() [11/18]

AST_Expression_::GET_AS ( Expression  ,
If   
)

◆ GET_AS() [12/18]

AST_Expression_::GET_AS ( Expression  ,
Integer   
)

◆ GET_AS() [13/18]

AST_Expression_::GET_AS ( Expression  ,
NamedArgument   
)

◆ GET_AS() [14/18]

AST_Expression_::GET_AS ( Expression  ,
Output   
)

◆ GET_AS() [15/18]

AST_Expression_::GET_AS ( Expression  ,
Range   
)

◆ GET_AS() [16/18]

AST_Expression_::GET_AS ( Expression  ,
Real   
)

◆ GET_AS() [17/18]

AST_Expression_::GET_AS ( Expression  ,
String   
)

◆ GET_AS() [18/18]

AST_Expression_::GET_AS ( Expression  ,
UMinus   
)

◆ getAsElseIf()

AST_Expression_If_ElseIf AST_Expression_::getAsElseIf ( )

Definition at line 363 of file expression.cpp.

◆ print()


The documentation for this class was generated from the following files: