hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
IRInterfaceImplementationDefinition Class Reference

#include <IR.h>

Classes

struct  Builder
 

Public Member Functions

 IRInterfaceImplementationDefinition (const yoi::wstr &name, std::tuple< IRValueType::valueType, yoi::indexT, yoi::indexT > implStructIndex, const std::pair< yoi::indexT, yoi::indexT > &implInterfaceIndex, const yoi::vec< std::shared_ptr< IRValueType > > &virtualMethods, const std::map< yoi::wstr, yoi::indexT > &virtualMethodIndexMap)
 
yoi::wstr to_string (yoi::indexT indent=0)
 

Public Attributes

yoi::wstr name
 
std::tuple< IRValueType::valueType, yoi::indexT, yoi::indexTimplStructIndex
 
std::pair< yoi::indexT, yoi::indexTimplInterfaceIndex
 
yoi::vec< std::shared_ptr< IRValueType > > virtualMethods
 
std::map< yoi::wstr, yoi::indexTvirtualMethodIndexMap
 
yoi::indexT linkedModuleId
 

Detailed Description

Definition at line 690 of file IR.h.

Constructor & Destructor Documentation

◆ IRInterfaceImplementationDefinition()

IRInterfaceImplementationDefinition ( const yoi::wstr name,
std::tuple< IRValueType::valueType, yoi::indexT, yoi::indexT implStructIndex,
const std::pair< yoi::indexT, yoi::indexT > &  implInterfaceIndex,
const yoi::vec< std::shared_ptr< IRValueType > > &  virtualMethods,
const std::map< yoi::wstr, yoi::indexT > &  virtualMethodIndexMap 
)

Definition at line 85 of file IR.cpp.

Member Function Documentation

◆ to_string()

yoi::wstr to_string ( yoi::indexT  indent = 0)

Definition at line 944 of file IR.cpp.

References magic_enum::enum_name(), and yoi::string2wstring().

Here is the call graph for this function:

Member Data Documentation

◆ implInterfaceIndex

std::pair<yoi::indexT, yoi::indexT> implInterfaceIndex

Definition at line 694 of file IR.h.

◆ implStructIndex

std::tuple<IRValueType::valueType, yoi::indexT, yoi::indexT> implStructIndex

Definition at line 693 of file IR.h.

◆ linkedModuleId

yoi::indexT linkedModuleId

Definition at line 698 of file IR.h.

◆ name

yoi::wstr name

Definition at line 692 of file IR.h.

◆ virtualMethodIndexMap

std::map<yoi::wstr, yoi::indexT> virtualMethodIndexMap

Definition at line 696 of file IR.h.

◆ virtualMethods

yoi::vec<std::shared_ptr<IRValueType> > virtualMethods

Definition at line 695 of file IR.h.


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