hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
lexer::token::vBasicValue Union Reference

#include <lexer.hpp>

Public Member Functions

 vBasicValue (int64_t v)
 
 vBasicValue (double v)
 
 vBasicValue (bool v)
 
 vBasicValue (uint64_t v)
 
 vBasicValue (int16_t v)
 
 vBasicValue ()
 

Public Attributes

int64_t vInt
 
double vDeci
 
bool vBool
 
uint64_t vUint
 
int16_t vShort
 

Detailed Description

Definition at line 128 of file lexer.hpp.

Constructor & Destructor Documentation

◆ vBasicValue() [1/6]

vBasicValue ( int64_t  v)

Definition at line 598 of file lexer.cpp.

◆ vBasicValue() [2/6]

vBasicValue ( double  v)

Definition at line 602 of file lexer.cpp.

◆ vBasicValue() [3/6]

vBasicValue ( bool  v)

Definition at line 606 of file lexer.cpp.

◆ vBasicValue() [4/6]

vBasicValue ( uint64_t  v)

Definition at line 690 of file lexer.cpp.

◆ vBasicValue() [5/6]

vBasicValue ( int16_t  v)

Definition at line 689 of file lexer.cpp.

◆ vBasicValue() [6/6]

Definition at line 610 of file lexer.cpp.

Member Data Documentation

◆ vBool

bool vBool

Definition at line 131 of file lexer.hpp.

Referenced by yoi::formatToken(), and visitor::visit().

◆ vDeci

double vDeci

Definition at line 130 of file lexer.hpp.

Referenced by visitor::checkMarcoSatisfaction(), yoi::formatToken(), and visitor::visit().

◆ vInt

int64_t vInt

Definition at line 129 of file lexer.hpp.

Referenced by yoi::formatToken(), yoi::parse(), and visitor::visit().

◆ vShort

int16_t vShort

Definition at line 133 of file lexer.hpp.

Referenced by yoi::formatToken(), and visitor::visit().

◆ vUint

uint64_t vUint

Definition at line 132 of file lexer.hpp.

Referenced by yoi::formatToken(), yoi::parse(), and visitor::visit().


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