sammine-lang
Loading...
Searching...
No Matches
Type Struct Reference

Public Member Functions

 operator bool () const
 
bool synthesized () const
 
bool checked () const
 
 Type (TypeKind type_kind, TypeData type_data)
 
bool operator== (const Type &other) const
 
bool operator!= (const Type &other) const
 
bool operator< (const Type &t) const
 
bool operator> (const Type &t) const
 
std::string to_string () const
 
 operator std::string ()
 

Static Public Member Functions

static Type I64_t ()
 
static Type F64_t ()
 
static Type Bool ()
 
static Type Poisoned ()
 
static Type Unit ()
 
static Type String (const std::string &str)
 
static Type NonExistent ()
 
static Type Function (std::vector< Type > params)
 

Public Attributes

TypeKind type_kind
 
TypeData type_data
 
bool is_checked = false
 

The documentation for this struct was generated from the following files: