|
MicroModelicaCCompiler
4.5.3
|
Namespaces | |
| STATEMENT | |
Classes | |
| class | CompileFlags |
| class | ConvertToExpression |
| class | ConvertToGiNaC |
| class | Error |
| class | Logger |
| class | ModelConfig |
| class | TypeSymbolTable |
| class | Utils |
| class | Variable |
| class | VarSymbolTable |
Typedefs | |
| typedef ModelTable< std::string, std::string > | SymbolTable |
| using | VariableList = std::list< Variable > |
| typedef ModelTable< std::string, std::string > | ImportTable |
| typedef int | grp_t |
Enumerations | |
| enum | ER_Type { ER_Warning, ER_Error, ER_Fatal } |
Functions | |
| void | debugInit (const char *flagList) |
| bool | debugIsEnabled (char flag) |
| void | DEBUG (char flag, const char *format,...) |
| bool | isDebugParam (char *param) |
| void | ERROR (const char *format,...) |
| void | ERROR_UNLESS (bool condition, const char *format,...) |
| static ex | der2_derivative (const ex &x, const ex &y, unsigned diff_param) |
| static ex | der_derivative (const ex &x, const ex &y, unsigned diff_param) |
| void | my_print_power_dflt (const power &p, const print_dflt &c, unsigned level) |
| void | my_print_mul_dflt (const mul &m, const print_dflt &c, unsigned level) |
| void | my_print_add_dflt (const add &s, const print_dflt &c, unsigned level) |
| static ex | var_derivative (const ex &x, const ex &y, unsigned diff_param) |
| void | processStatement (AST_Statement stm) |
| void | applyReduction (AST_Statement_Assign asg, AST_StatementList stms, AST_StatementListIterator stm_it) |
| void | reduceStatement (AST_Statement stm, AST_StatementList stms, AST_StatementListIterator stm_it) |
| ostream & | operator<< (ostream &out, const Variable &v) |
Variables | |
| static const char * | enableFlags = nullptr |
| typedef int MicroModelica::Util::grp_t |
| typedef ModelTable<std::string, std::string> MicroModelica::Util::ImportTable |
| typedef ModelTable< std::string, std::string > MicroModelica::Util::SymbolTable |
Definition at line 62 of file equation.hpp.
| using MicroModelica::Util::VariableList = typedef std::list<Variable> |
Definition at line 199 of file symbol_table.hpp.
| void MicroModelica::Util::applyReduction | ( | AST_Statement_Assign | asg, |
| AST_StatementList | stms, | ||
| AST_StatementListIterator | stm_it | ||
| ) |
Definition at line 146 of file process_statement.cpp.
References current_element, processStatement(), reduceStatement(), STASSIGN, STFOR, and STIF.

| void MicroModelica::Util::DEBUG | ( | char | flag, |
| const char * | format, | ||
| ... | |||
| ) |
| void MicroModelica::Util::debugInit | ( | const char * | flags | ) |
|
static |
Definition at line 54 of file ginac_interface.cpp.
|
static |
Definition at line 58 of file ginac_interface.cpp.
| void MicroModelica::Util::ERROR | ( | const char * | format, |
| ... | |||
| ) |
Definition at line 101 of file debug.cpp.
Referenced by EqualExp::equalTraverseElement().
| void MicroModelica::Util::ERROR_UNLESS | ( | bool | condition, |
| const char * | format, | ||
| ... | |||
| ) |
Print an ERROR message if condition is false. Then exits with EXIT_FAILURE status.
Definition at line 115 of file debug.cpp.
Referenced by EqualExp::compareArrays(), EqualExp::equalTraverseElement(), and EqualExp::getVarInfo().
| void MicroModelica::Util::my_print_add_dflt | ( | const add & | s, |
| const print_dflt & | c, | ||
| unsigned | level | ||
| ) |
Definition at line 89 of file ginac_interface.cpp.
| void MicroModelica::Util::my_print_mul_dflt | ( | const mul & | m, |
| const print_dflt & | c, | ||
| unsigned | level | ||
| ) |
Definition at line 75 of file ginac_interface.cpp.
| void MicroModelica::Util::my_print_power_dflt | ( | const power & | p, |
| const print_dflt & | c, | ||
| unsigned | level | ||
| ) |
Definition at line 64 of file ginac_interface.cpp.
Referenced by MicroModelica::Util::ConvertToExpression::convert().
| ostream& MicroModelica::Util::operator<< | ( | ostream & | out, |
| const Variable & | v | ||
| ) |
Definition at line 234 of file symbol_table.cpp.
| void MicroModelica::Util::processStatement | ( | AST_Statement | stm | ) |
Definition at line 52 of file process_statement.cpp.
Referenced by applyReduction().
| void MicroModelica::Util::reduceStatement | ( | AST_Statement | stm, |
| AST_StatementList | stms, | ||
| AST_StatementListIterator | stm_it | ||
| ) |
Definition at line 162 of file process_statement.cpp.
References current_element.
Referenced by applyReduction().
|
static |
Definition at line 112 of file ginac_interface.cpp.