hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
IROperand::operandValue Union Reference

#include <IR.h>

Public Member Functions

 operandValue ()
 
 operandValue (int64_t integer)
 
 operandValue (double decimal)
 
 operandValue (yoi::indexT indexV)
 
 operandValue (bool boolean)
 
 operandValue (yoi::wchar character)
 
 operandValue (short shortV)
 

Public Attributes

int64_t integer
 
double decimal
 
bool boolean
 
yoi::wchar character
 
yoi::indexT stringLiteralIndex
 
yoi::indexT symbolIndex
 
yoi::indexT codeBlockIndex
 
uint64_t unsignedV
 
short shortV
 

Detailed Description

Definition at line 225 of file IR.h.

Constructor & Destructor Documentation

◆ operandValue() [1/7]

Definition at line 19 of file IR.cpp.

◆ operandValue() [2/7]

operandValue ( int64_t  integer)

Definition at line 21 of file IR.cpp.

◆ operandValue() [3/7]

operandValue ( double  decimal)

Definition at line 27 of file IR.cpp.

◆ operandValue() [4/7]

Definition at line 23 of file IR.cpp.

◆ operandValue() [5/7]

operandValue ( bool  boolean)

Definition at line 25 of file IR.cpp.

◆ operandValue() [6/7]

operandValue ( yoi::wchar  character)

Definition at line 29 of file IR.cpp.

◆ operandValue() [7/7]

operandValue ( short  shortV)

Definition at line 1429 of file IR.cpp.

References IROperand::operandValue::shortV.

Member Data Documentation

◆ boolean

bool boolean

Definition at line 228 of file IR.h.

Referenced by IROperand::to_string().

◆ character

yoi::wchar character

Definition at line 229 of file IR.h.

Referenced by IROperand::to_string().

◆ codeBlockIndex

yoi::indexT codeBlockIndex

Definition at line 232 of file IR.h.

Referenced by IROperand::to_string().

◆ decimal

double decimal

Definition at line 227 of file IR.h.

Referenced by IROperand::to_string().

◆ integer

int64_t integer

Definition at line 226 of file IR.h.

Referenced by IROperand::to_string().

◆ shortV

short shortV

Definition at line 234 of file IR.h.

Referenced by IROperand::operandValue::operandValue(), and IROperand::to_string().

◆ stringLiteralIndex

yoi::indexT stringLiteralIndex

Definition at line 230 of file IR.h.

Referenced by IROperand::to_string().

◆ symbolIndex

yoi::indexT symbolIndex

Definition at line 231 of file IR.h.

Referenced by IROperand::to_string().

◆ unsignedV

uint64_t unsignedV

Definition at line 233 of file IR.h.

Referenced by IROperand::to_string().


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