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

#include <IR.h>

Collaboration diagram for IREnumerationType:

Classes

class  Builder
 

Public Types

enum class  UnderlyingType : yoi::indexT { I8 , I16 , I64 }
 

Public Member Functions

 IREnumerationType (const yoi::wstr &name, const yoi::indexTable< yoi::wstr, yoi::indexT > &valueToIndexMap)
 
UnderlyingType getUnderlyingType ()
 

Public Attributes

yoi::wstr name
 
yoi::indexTable< yoi::wstr, yoi::indexTvalueToIndexMap
 

Detailed Description

Definition at line 384 of file IR.h.

Member Enumeration Documentation

◆ UnderlyingType

enum class UnderlyingType : yoi::indexT
strong
Enumerator
I8 
I16 
I64 

Definition at line 386 of file IR.h.

Constructor & Destructor Documentation

◆ IREnumerationType()

IREnumerationType ( const yoi::wstr name,
const yoi::indexTable< yoi::wstr, yoi::indexT > &  valueToIndexMap 
)

Definition at line 1551 of file IR.cpp.

Member Function Documentation

◆ getUnderlyingType()

Member Data Documentation

◆ name

yoi::wstr name

Definition at line 387 of file IR.h.

Referenced by IREnumerationType::Builder::yield().

◆ valueToIndexMap


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