MicroModelicaCCompiler  4.5.3
expression.cpp File Reference
#include "expression.hpp"
#include <list>
#include <sstream>
#include "../util/ast_util.hpp"
#include "ast_builder.hpp"
Include dependency graph for expression.cpp:

Go to the source code of this file.

Functions

 GET_AS_IMP (Expression, BinOp)
 
 GET_AS_IMP (Expression, Boolean)
 
 GET_AS_IMP (Expression, BooleanNot)
 
 GET_AS_IMP (Expression, Brace)
 
 GET_AS_IMP (Expression, Call)
 
 GET_AS_IMP (Expression, CallArgs)
 
 GET_AS_IMP (Expression, ComponentReference)
 
 GET_AS_IMP (Expression, NamedArgument)
 
 GET_AS_IMP (Expression, Derivative)
 
 GET_AS_IMP (Expression, If)
 
 GET_AS_IMP (Expression, Integer)
 
 GET_AS_IMP (Expression, Output)
 
 GET_AS_IMP (Expression, Range)
 
 GET_AS_IMP (Expression, Real)
 
 GET_AS_IMP (Expression, UMinus)
 
 GET_AS_IMP (Expression, String)
 
 GET_AS_IMP (Expression, Bracket)
 
 CLASS_PRINTER_IMP (AST_Expression)
 
 CLASSP_PRINTER_IMP (AST_Expression_ComponentReference)
 

Variables

const char * BinOpTypeName [] = {" or ", " and ", "<", "<=", ">", ">=", "<>", "==", "+", ".+", "-", ".-", "/", "./", "*", ".*", "^", ".^"}
 

Function Documentation

◆ CLASS_PRINTER_IMP()

CLASS_PRINTER_IMP ( AST_Expression  )

◆ CLASSP_PRINTER_IMP()

CLASSP_PRINTER_IMP ( AST_Expression_ComponentReference  )

◆ GET_AS_IMP() [1/17]

GET_AS_IMP ( Expression  ,
BinOp   
)

◆ GET_AS_IMP() [2/17]

GET_AS_IMP ( Expression  ,
Boolean   
)

◆ GET_AS_IMP() [3/17]

GET_AS_IMP ( Expression  ,
BooleanNot   
)

◆ GET_AS_IMP() [4/17]

GET_AS_IMP ( Expression  ,
Brace   
)

◆ GET_AS_IMP() [5/17]

GET_AS_IMP ( Expression  ,
Bracket   
)

◆ GET_AS_IMP() [6/17]

GET_AS_IMP ( Expression  ,
Call   
)

◆ GET_AS_IMP() [7/17]

GET_AS_IMP ( Expression  ,
CallArgs   
)

◆ GET_AS_IMP() [8/17]

GET_AS_IMP ( Expression  ,
ComponentReference   
)

◆ GET_AS_IMP() [9/17]

GET_AS_IMP ( Expression  ,
Derivative   
)

◆ GET_AS_IMP() [10/17]

GET_AS_IMP ( Expression  ,
If   
)

◆ GET_AS_IMP() [11/17]

GET_AS_IMP ( Expression  ,
Integer   
)

◆ GET_AS_IMP() [12/17]

GET_AS_IMP ( Expression  ,
NamedArgument   
)

◆ GET_AS_IMP() [13/17]

GET_AS_IMP ( Expression  ,
Output   
)

◆ GET_AS_IMP() [14/17]

GET_AS_IMP ( Expression  ,
Range   
)

◆ GET_AS_IMP() [15/17]

GET_AS_IMP ( Expression  ,
Real   
)

◆ GET_AS_IMP() [16/17]

GET_AS_IMP ( Expression  ,
String   
)

◆ GET_AS_IMP() [17/17]

GET_AS_IMP ( Expression  ,
UMinus   
)

Variable Documentation

◆ BinOpTypeName

const char* BinOpTypeName[] = {" or ", " and ", "<", "<=", ">", ">=", "<>", "==", "+", ".+", "-", ".-", "/", "./", "*", ".*", "^", ".^"}

Definition at line 28 of file expression.cpp.

Referenced by AST_Expression_BinOp_::print().