MicroModelicaCCompiler  4.5.3
type.hpp File Reference
#include <iostream>
#include <list>
#include <string>
#include <ast/ast_types.hpp>
#include <ast/expression.hpp>
#include <util/macros.hpp>
Include dependency graph for type.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Type_
 
class  Type_Real_
 
class  Type_Integer_
 
class  Type_Boolean_
 
class  Type_String_
 
class  Type_Array_
 
class  Type_Tupla_
 
class  Type_Function_
 

Enumerations

enum  SymbolType {
  SymbolType::TYREAL, SymbolType::TYINTEGER, SymbolType::TYBOOLEAN, SymbolType::TYSTRING,
  SymbolType::TYARRAY, SymbolType::TYTUPLA, SymbolType::TYFUNCTION
}
 

Functions

 DEFINE_TYPE (Type)
 
 DEFINE_TYPE (Type_Real)
 
 DEFINE_TYPE (Type_Integer)
 
 DEFINE_TYPE (Type_Boolean)
 
 DEFINE_TYPE (Type_String)
 
 DEFINE_TYPE (Type_Array)
 
 DEFINE_TYPE (Type_Tupla)
 
 DEFINE_TYPE (Type_Function)
 
 DEFINE_LIST (Type)
 
Type_Real newType_Real ()
 
void deleteType_Real (Type_Real m)
 
Type_Integer newType_Integer ()
 
void deleteType_Integer (Type_Integer m)
 
Type_String newType_String ()
 
void deleteType_String (Type_String m)
 

Enumeration Type Documentation

◆ SymbolType

enum SymbolType
strong
Enumerator
TYREAL 
TYINTEGER 
TYBOOLEAN 
TYSTRING 
TYARRAY 
TYTUPLA 
TYFUNCTION 

Definition at line 30 of file type.hpp.

Function Documentation

◆ DEFINE_LIST()

DEFINE_LIST ( Type  )

◆ DEFINE_TYPE() [1/8]

DEFINE_TYPE ( Type  )

◆ DEFINE_TYPE() [2/8]

DEFINE_TYPE ( Type_Array  )

◆ DEFINE_TYPE() [3/8]

DEFINE_TYPE ( Type_Boolean  )

◆ DEFINE_TYPE() [4/8]

DEFINE_TYPE ( Type_Function  )

◆ DEFINE_TYPE() [5/8]

DEFINE_TYPE ( Type_Integer  )

◆ DEFINE_TYPE() [6/8]

DEFINE_TYPE ( Type_Real  )

◆ DEFINE_TYPE() [7/8]

DEFINE_TYPE ( Type_String  )

◆ DEFINE_TYPE() [8/8]

DEFINE_TYPE ( Type_Tupla  )

◆ deleteType_Integer()

void deleteType_Integer ( Type_Integer  m)

Definition at line 58 of file type.cpp.

◆ deleteType_Real()

void deleteType_Real ( Type_Real  m)

Definition at line 47 of file type.cpp.

◆ deleteType_String()

void deleteType_String ( Type_String  m)

Definition at line 76 of file type.cpp.

◆ newType_Integer()

Type_Integer newType_Integer ( )

Definition at line 56 of file type.cpp.

◆ newType_Real()

Type_Real newType_Real ( )

Definition at line 45 of file type.cpp.

◆ newType_String()

Type_String newType_String ( )

Definition at line 74 of file type.cpp.