hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
|
#include <type.H>
Public Member Functions | |
void | show (std::ostream &out) const |
const MonoTypePtr & | type () const |
const MonoTypePtr & | length () const |
long | requireLength () const |
![]() | |
MonoTypeCase () | |
![]() | |
virtual | ~MonoType () |
bool | operator== (const MonoType &rhs) const |
int | case_id () const |
template<typename Class , typename T , typename ... Args> | |
MonoTypePtr | makeType (const Args &... args) |
Static Public Member Functions | |
static MonoTypePtr | make (const MonoTypePtr &ty, const MonoTypePtr &len) |
Static Public Attributes | |
static const int | type_case_id = 4 |
Private Member Functions | |
FixedArray (const MonoTypePtr &, const MonoTypePtr &) | |
Private Attributes | |
MonoTypePtr | ty |
MonoTypePtr | len |
Friends | |
class | MonoType |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< MonoType > | ptr |
typedef std::set< std::string > | TypeVarNames |
![]() | |
TypeVarNames | freeTVars |
int | tgenCount |
unsigned int | memorySize |
ptr | unaliasedType |
![]() | |
MonoType (int cid) | |
![]() | |
template<typename Class , typename T , typename ... Args> | |
static ptr | makeType (const Args &... args) |
|
private |
const MonoTypePtr & hobbes::FixedArray::length | ( | ) | const |
|
static |
long hobbes::FixedArray::requireLength | ( | ) | const |
|
virtual |
Implements hobbes::MonoType.
const MonoTypePtr & hobbes::FixedArray::type | ( | ) | const |
|
friend |
|
private |
|
private |
|
static |