#include <symbol_table.hpp>
Definition at line 75 of file symbol_table.hpp.
◆ RealType
◆ Variable() [1/3]
MicroModelica::Util::Variable::Variable |
( |
| ) |
|
◆ Variable() [2/3]
MicroModelica::Util::Variable::Variable |
( |
Type |
t, |
|
|
AST_TypePrefix |
tp, |
|
|
AST_Modification |
m, |
|
|
AST_Comment |
c |
|
) |
| |
◆ Variable() [3/3]
MicroModelica::Util::Variable::Variable |
( |
Type |
t, |
|
|
AST_TypePrefix |
tp, |
|
|
AST_Modification |
m, |
|
|
AST_Comment |
c, |
|
|
const vector< int > & |
s, |
|
|
bool |
array |
|
) |
| |
◆ builtIn()
bool MicroModelica::Util::Variable::builtIn |
( |
| ) |
const |
|
inline |
◆ castOperator()
std::string MicroModelica::Util::Variable::castOperator |
( |
| ) |
const |
◆ comment()
AST_Comment MicroModelica::Util::Variable::comment |
( |
| ) |
|
|
inline |
◆ declaration()
string MicroModelica::Util::Variable::declaration |
( |
std::string |
prefix = "" | ) |
|
◆ dimensions()
unsigned long MicroModelica::Util::Variable::dimensions |
( |
| ) |
const |
|
inline |
◆ exp()
AST_Expression MicroModelica::Util::Variable::exp |
( |
| ) |
|
|
inline |
◆ hasAssignment()
bool MicroModelica::Util::Variable::hasAssignment |
( |
| ) |
const |
|
inline |
◆ hasEachModifier()
bool MicroModelica::Util::Variable::hasEachModifier |
( |
| ) |
const |
|
inline |
◆ hasOffset()
bool MicroModelica::Util::Variable::hasOffset |
( |
| ) |
const |
|
inline |
◆ hasStartModifier()
bool MicroModelica::Util::Variable::hasStartModifier |
( |
| ) |
const |
|
inline |
◆ initialization()
string MicroModelica::Util::Variable::initialization |
( |
| ) |
|
◆ isAlgebraic()
bool MicroModelica::Util::Variable::isAlgebraic |
( |
| ) |
const |
|
inline |
◆ isArray()
bool MicroModelica::Util::Variable::isArray |
( |
| ) |
const |
|
inline |
◆ isConstant()
bool MicroModelica::Util::Variable::isConstant |
( |
| ) |
const |
|
inline |
◆ isDiscrete()
bool MicroModelica::Util::Variable::isDiscrete |
( |
| ) |
const |
|
inline |
◆ isDiscreteInteger()
bool MicroModelica::Util::Variable::isDiscreteInteger |
( |
| ) |
const |
|
protected |
◆ isEqType()
bool MicroModelica::Util::Variable::isEqType |
( |
| ) |
const |
|
inline |
◆ isForType()
bool MicroModelica::Util::Variable::isForType |
( |
| ) |
const |
|
inline |
◆ isInput()
bool MicroModelica::Util::Variable::isInput |
( |
| ) |
const |
|
inline |
◆ isLocal()
bool MicroModelica::Util::Variable::isLocal |
( |
| ) |
const |
|
inline |
◆ isModelVar()
bool MicroModelica::Util::Variable::isModelVar |
( |
| ) |
const |
|
inline |
◆ isOutput()
bool MicroModelica::Util::Variable::isOutput |
( |
| ) |
const |
|
inline |
◆ isParameter()
bool MicroModelica::Util::Variable::isParameter |
( |
| ) |
const |
|
inline |
◆ isScalar()
bool MicroModelica::Util::Variable::isScalar |
( |
| ) |
const |
|
inline |
◆ isState()
bool MicroModelica::Util::Variable::isState |
( |
| ) |
const |
|
inline |
◆ isString()
bool MicroModelica::Util::Variable::isString |
( |
| ) |
const |
|
inline |
◆ isTime()
bool MicroModelica::Util::Variable::isTime |
( |
| ) |
const |
|
inline |
◆ isUnknown()
bool MicroModelica::Util::Variable::isUnknown |
( |
| ) |
const |
|
inline |
◆ modification()
AST_Modification MicroModelica::Util::Variable::modification |
( |
| ) |
|
|
inline |
◆ name()
string MicroModelica::Util::Variable::name |
( |
| ) |
const |
|
inline |
◆ offset()
int MicroModelica::Util::Variable::offset |
( |
| ) |
const |
|
inline |
◆ operator!=()
bool MicroModelica::Util::Variable::operator!= |
( |
const Variable & |
other | ) |
|
◆ operator=()
◆ operator==()
bool MicroModelica::Util::Variable::operator== |
( |
const Variable & |
other | ) |
|
◆ print()
string MicroModelica::Util::Variable::print |
( |
| ) |
const |
◆ processModification()
void MicroModelica::Util::Variable::processModification |
( |
| ) |
|
|
protected |
Process the argument modification to determine the variable modifiers if any.
- Note
- {We don't look for errors here, if there's an error in the code, it should be detected in an earlier stage (the model checker and the intermediate code generation.}
Definition at line 151 of file symbol_table.cpp.
◆ rowSize()
unsigned int MicroModelica::Util::Variable::rowSize |
( |
unsigned int |
dim | ) |
const |
◆ setBuiltIn()
void MicroModelica::Util::Variable::setBuiltIn |
( |
| ) |
|
|
inline |
◆ setComment()
void MicroModelica::Util::Variable::setComment |
( |
AST_Comment |
c | ) |
|
|
inline |
◆ setEachModifier()
void MicroModelica::Util::Variable::setEachModifier |
( |
bool |
each | ) |
|
|
inline |
◆ setModification()
void MicroModelica::Util::Variable::setModification |
( |
AST_Modification |
m | ) |
|
|
inline |
◆ setName()
void MicroModelica::Util::Variable::setName |
( |
string |
name | ) |
|
◆ setOffset()
void MicroModelica::Util::Variable::setOffset |
( |
int |
offset | ) |
|
|
inline |
◆ setParameter()
void MicroModelica::Util::Variable::setParameter |
( |
| ) |
|
|
inline |
◆ setRealType()
void MicroModelica::Util::Variable::setRealType |
( |
RealType |
type | ) |
|
|
inline |
◆ setState()
void MicroModelica::Util::Variable::setState |
( |
| ) |
|
|
inline |
◆ setType()
void MicroModelica::Util::Variable::setType |
( |
Type |
t | ) |
|
|
inline |
◆ setUnknown()
void MicroModelica::Util::Variable::setUnknown |
( |
| ) |
|
|
inline |
◆ setValue()
void MicroModelica::Util::Variable::setValue |
( |
int |
val | ) |
|
|
inline |
◆ size() [1/2]
unsigned int MicroModelica::Util::Variable::size |
( |
| ) |
|
◆ size() [2/2]
unsigned int MicroModelica::Util::Variable::size |
( |
int |
dim | ) |
const |
|
inline |
◆ type()
Type MicroModelica::Util::Variable::type |
( |
| ) |
|
|
inline |
◆ typePrefix()
◆ unsetAssignment()
void MicroModelica::Util::Variable::unsetAssignment |
( |
| ) |
|
|
inlineprotected |
◆ unsetStartEach()
void MicroModelica::Util::Variable::unsetStartEach |
( |
| ) |
|
|
inlineprotected |
◆ value()
int MicroModelica::Util::Variable::value |
( |
| ) |
const |
|
inline |
◆ operator<< [1/2]
ostream& operator<< |
( |
ostream & |
os, |
|
|
const Variable & |
e |
|
) |
| |
|
friend |
◆ operator<< [2/2]
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const Variable & |
v |
|
) |
| |
|
friend |
◆ _builtin
bool MicroModelica::Util::Variable::_builtin |
|
protected |
◆ _comm
AST_Comment MicroModelica::Util::Variable::_comm |
|
protected |
◆ _exp
AST_Expression MicroModelica::Util::Variable::_exp |
|
protected |
◆ _hasAssigment
bool MicroModelica::Util::Variable::_hasAssigment |
|
protected |
◆ _hasEach
bool MicroModelica::Util::Variable::_hasEach |
|
protected |
◆ _hasOffset
bool MicroModelica::Util::Variable::_hasOffset |
|
protected |
◆ _hasStart
bool MicroModelica::Util::Variable::_hasStart |
|
protected |
◆ _isArray
bool MicroModelica::Util::Variable::_isArray |
|
protected |
◆ _m
AST_Modification MicroModelica::Util::Variable::_m |
|
protected |
◆ _name
string MicroModelica::Util::Variable::_name |
|
protected |
◆ _offset
int MicroModelica::Util::Variable::_offset |
|
protected |
◆ _realType
RealType MicroModelica::Util::Variable::_realType |
|
protected |
◆ _size
vector<int> MicroModelica::Util::Variable::_size |
|
protected |
◆ _t
Type MicroModelica::Util::Variable::_t |
|
protected |
◆ _tp
◆ _unknown
bool MicroModelica::Util::Variable::_unknown |
|
protected |
◆ _value
int MicroModelica::Util::Variable::_value |
|
protected |
The documentation for this class was generated from the following files: