MicroModelicaCCompiler
4.5.3
|
#include <symbol_table.hpp>
Public Member Functions | |
VarSymbolTable () | |
~VarSymbolTable ()=default | |
void | initialize (TypeSymbolTable tst) |
void | insert (VarName name, Variable variable) |
bool | parameters () const |
Option< Variable > | lookup (const std::string &name) const |
unsigned long | maxDim () const |
![]() | |
ModelTable () | |
~ModelTable ()=default | |
void | insert (VarName k, Variable v) |
Option< Variable > | operator[] (VarName k) const |
void | remove (VarName k) |
bool | lookup (VarName key) |
iterator | begin () |
const_iterator | begin () const |
Variable | begin (iterator &it) |
iterator | end () |
const_iterator | end () const |
bool | end (iterator &it) |
Variable | next (iterator &it) |
Variable | value (iterator &it) |
Variable | value (int pos) |
VarName | key (iterator &it) |
void | merge (ModelTable< VarName, Variable > other) |
Variable | first () |
void | clear () |
bool | empty () |
const int | size () const |
std::list< VarName > | keys () |
Private Attributes | |
bool | _parameters |
unsigned long | _max_dims |
Additional Inherited Members | |
![]() | |
typedef std::map< VarName, Variable >::iterator | iterator |
typedef std::map< VarName, Variable >::const_iterator | const_iterator |
![]() | |
std::map< VarName, Variable > | map () const |
Definition at line 184 of file symbol_table.hpp.
MicroModelica::Util::VarSymbolTable::VarSymbolTable | ( | ) |
Definition at line 286 of file symbol_table.cpp.
|
default |
void MicroModelica::Util::VarSymbolTable::initialize | ( | TypeSymbolTable | tst | ) |
Definition at line 288 of file symbol_table.cpp.
Definition at line 312 of file symbol_table.cpp.
Referenced by MicroModelica::IR::Function::Function().
Definition at line 325 of file symbol_table.cpp.
unsigned long MicroModelica::Util::VarSymbolTable::maxDim | ( | ) | const |
Definition at line 335 of file symbol_table.cpp.
|
inline |
Definition at line 190 of file symbol_table.hpp.
|
private |
Definition at line 196 of file symbol_table.hpp.
|
private |
Definition at line 195 of file symbol_table.hpp.