Type_Info_Tag

ENUM

Enum Description

Enumeration of the type categories supported by Jai.

Video references

  • Type_Info_Tag is an enum that tells us what kind of thing a Type_Info struct describes.
    “Demo: Run-Time (and Compile-Time) Type Information” YouTube, uploaded by Jonathan Blow, Feb 11, 2015, https://youtu.be/JoNkttD_MUs?t=237

Listing

Fields

INTEGER an integer value (int, u8, u16, u32, u64, s8, s16, s32, s64).
FLOAT a floating point value (float, float32, float64).
BOOL a boolean value (bool).
STRING a character string value (string).
POINTER a pointer value (pointer).
PROCEDURE a procedure (procedure), a.k.a function, method.
VOID unknown value (void).
STRUCT a data structure (struct).
ARRAY an array (array).
NULL no value (null).
ANY wildcard value (any).
ENUM an enumeration (enum).

Details

Fields

INTEGER

INTEGER : u32;

an integer value (int, u8, u16, u32, u64, s8, s16, s32, s64).

FLOAT

FLOAT : u32;

a floating point value (float, float32, float64).

BOOL

BOOL : u32;

a boolean value (bool).

STRING

STRING : u32;

a character string value (string).

POINTER

POINTER : u32;

a pointer value (pointer).

PROCEDURE

PROCEDURE : u32;

a procedure (procedure), a.k.a function, method.

VOID

VOID : u32;

unknown value (void).

STRUCT

STRUCT : u32;

a data structure (struct).

ARRAY

ARRAY : u32;

an array (array).

NULL

NULL : u32;

no value (null).

ANY

ANY : u32;

wildcard value (any).

ENUM

ENUM : u32;

an enumeration (enum).

 

 

 

 

 

 

 

 

 

 

jailang 2019 pixeldroid
https://github.com/pixeldroid/jailang
programming pages theme v0.5.21 (https://github.com/pixeldroid/programming-pages)