|
MicroModelicaCCompiler
4.5.3
|
#include <class.hpp>


Public Member Functions | |
| Function () | |
| Function (string name) | |
| virtual | ~Function ()=default |
| string | name () const |
| void | insert (AST_External_Function_Call efc) |
| void | insert (VarName n, Util::Variable &vi, DEC_Type type) |
| void | insert (VarName n, Util::Variable &vi) |
| void | insert (AST_Equation eq) |
| void | insert (AST_Statement stm, bool initial) |
| void | insert (AST_Statement stm) |
| void | insert (string n) |
| void | insert (AST_Argument_Modification x) |
| Util::VarSymbolTable | symbols () const |
| Util::ImportTable | imports () const |
| StatementTable | statements () const |
| ExternalFunctionTable | externalFunctions () const |
| CompiledPackageTable | packages () const |
| unsigned int | outputNbr () const |
| FunctionAnnotation | annotations () const |
| Util::VariableList | arguments () const |
Public Member Functions inherited from MicroModelica::IR::Class | |
| virtual | ~Class ()=default |
Private Attributes | |
| Util::ImportTable | _imports |
| std::string | _name |
| Util::VarSymbolTable | _local_symbols |
| FunctionAnnotation | _annotations |
| StatementTable | _statements |
| CompiledPackageTable | _packages |
| Util::VariableList | _arguments |
| unsigned int | _output_nbr |
| unsigned int | _external_function_id |
| unsigned int | _statement_id |
| ExternalFunctionTable | _external_functions |
| MicroModelica::IR::Function::Function | ( | string | name | ) |
Definition at line 84 of file class.cpp.
References EM_CANT_OPEN_FILE, EM_IR, MicroModelica::Util::ER_Error, and MicroModelica::Util::VarSymbolTable::insert().

|
virtualdefault |
| FunctionAnnotation MicroModelica::IR::Function::annotations | ( | ) | const |
Definition at line 180 of file class.cpp.
References MicroModelica::IR::Package::_functions, and ModelTable< Key, Value >::merge().

| Util::VariableList MicroModelica::IR::Function::arguments | ( | ) | const |
| ExternalFunctionTable MicroModelica::IR::Function::externalFunctions | ( | ) | const |
|
virtual |
Implements MicroModelica::IR::Class.
|
virtual |
Implements MicroModelica::IR::Class.
|
virtual |
Implements MicroModelica::IR::Class.
|
virtual |
Implements MicroModelica::IR::Class.
|
virtual |
Implements MicroModelica::IR::Class.
|
virtual |
Implements MicroModelica::IR::Class.
Definition at line 116 of file class.cpp.
References current_element.
|
virtual |
Implements MicroModelica::IR::Class.
Definition at line 100 of file class.cpp.
References EM_IR, EM_VARIABLE_NOT_FOUND, and MicroModelica::Util::ER_Error.
|
virtual |
Implements MicroModelica::IR::Class.
|
virtual |
Implements MicroModelica::IR::Class.
Definition at line 143 of file class.cpp.
References EM_ANNOTATION_NOT_FOUND, EM_IR, and MicroModelica::Util::ER_Error.
|
virtual |
Implements MicroModelica::IR::Class.
| unsigned int MicroModelica::IR::Function::outputNbr | ( | ) | const |
| CompiledPackageTable MicroModelica::IR::Function::packages | ( | ) | const |
| StatementTable MicroModelica::IR::Function::statements | ( | ) | const |
Definition at line 172 of file class.cpp.
References MicroModelica::IR::Package::_imports, and ModelTable< Key, Value >::insert().

|
virtual |
Implements MicroModelica::IR::Class.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |