hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
rtti.h File Reference
#include <cstddef>
#include <cstdint>
Include dependency graph for rtti.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  YoiTypeInfo
 
struct  YoiTypeInfoObject
 

Enumerations

enum class  valueType : uint64_t {
  integerRaw = 0 , decimalRaw , booleanRaw , characterObject ,
  stringLiteral , structObject , null , integerObject ,
  booleanObject , decimalObject , stringObject , virtualMethod ,
  pointerObject , interfaceObject , none , charRaw ,
  incompleteTemplateType , foreignInt32Type , foreignFloatType
}
 

Functions

YoiTypeInfoObjectrtti_object_alloc (YoiIntegerObject *type_id_object)
 

Variables

YoiTypeInfo rtti_table []
 

Enumeration Type Documentation

◆ valueType

enum class valueType : uint64_t
strong
Enumerator
integerRaw 
decimalRaw 
booleanRaw 
characterObject 
stringLiteral 
structObject 
null 
integerObject 
booleanObject 
decimalObject 
stringObject 
virtualMethod 
pointerObject 
interfaceObject 
none 
charRaw 
incompleteTemplateType 
foreignInt32Type 
foreignFloatType 

Definition at line 11 of file rtti.h.

Function Documentation

◆ rtti_object_alloc()

YoiTypeInfoObject * rtti_object_alloc ( YoiIntegerObject type_id_object)

Definition at line 5 of file rtti.cpp.

References rtti_table, runtime_object_alloc(), YoiTypeInfo::type_name, and YoiIntegerObject::value.

Here is the call graph for this function:

Variable Documentation

◆ rtti_table

YoiTypeInfo rtti_table[]

Definition at line 56 of file rtti.h.

Referenced by rtti_object_alloc(), and runtime_finalize_object_report().