Skip to content

AnyTypeKind

IsaacShelton edited this page Mar 21, 2022 · 5 revisions

AnyTypeKind

Specifications

Type Size Memory Management Model File
AnyTypeKind 8 bytes None N/A

Definition

enum AnyTypeKind (
    VOID, BOOL, BYTE, UBYTE, SHORT, USHORT, INT, UINT, LONG,
    ULONG, FLOAT, DOUBLE, PTR, STRUCT, UNION, FUNC_PTR, FIXED_ARRAY
)

Values

Enum Value Type AnyType Type
AnyTypeKind::VOID void N/A
AnyTypeKind::BOOL bool N/A
AnyTypeKind::BYTE byte N/A
AnyTypeKind::UBYTE ubyte N/A
AnyTypeKind::SHORT short N/A
AnyTypeKind::USHORT ushort N/A
AnyTypeKind::INT int N/A
AnyTypeKind::UINT uint N/A
AnyTypeKind::LONG long N/A
AnyTypeKind::ULONG ulong, usize N/A
AnyTypeKind::FLOAT float N/A
AnyTypeKind::DOUBLE double N/A
AnyTypeKind::PTR ptr, *WhateverType AnyPtrType
AnyTypeKind::STRUCT String, List, MyStructType, etc. AnyStructType
AnyTypeKind::UNION MyUnionType, etc. AnyUnionType
AnyTypeKind::FUNC_PTR func() void, func(int, int) int, etc. AnyFuncPtrType
AnyTypeKind::FIXED_ARRAY 10 int, 256 ubyte, etc. AnyFixedArrayType

Purpose

AnyTypeKind is used to indicate which kind of AnyType an AnyType is.

Clone this wiki locally