Types

Namespace for a set of predefined types.

Members

Static functions

createTypes
char[] createTypes(string[2][] typeNames)

Creates a list of statements for creating and initializing types.

fromTOK
Type fromTOK(TOK tok)

Returns the corresponding Type instance for tok, or null if it does not apply.

init_
void init_()

Initializes global, predefined types. NB: Not thread-safe.

Static variables

Bool
TypeBasic Bool;

Predefined basic types.

CFloat32
TypeBasic CFloat32;

Predefined basic types.

CFloat64
TypeBasic CFloat64;

Predefined basic types.

CFloat80
TypeBasic CFloat80;

Predefined basic types.

Char
TypeBasic Char;

Predefined basic types.

DChar
TypeBasic DChar;

Predefined basic types.

DontKnowYet
TypeError DontKnowYet;

The symbol is undefined but might be resolved.

Error
TypeError Error;

The error type.

Float32
TypeBasic Float32;

Predefined basic types.

Float64
TypeBasic Float64;

Predefined basic types.

Float80
TypeBasic Float80;

Predefined basic types.

IFloat32
TypeBasic IFloat32;

Predefined basic types.

IFloat64
TypeBasic IFloat64;

Predefined basic types.

IFloat80
TypeBasic IFloat80;

Predefined basic types.

Int128
TypeBasic Int128;

Predefined basic types.

Int16
TypeBasic Int16;

Predefined basic types.

Int32
TypeBasic Int32;

Predefined basic types.

Int64
TypeBasic Int64;

Predefined basic types.

Int8
TypeBasic Int8;

Predefined basic types.

UInt128
TypeBasic UInt128;

Predefined basic types.

UInt16
TypeBasic UInt16;

Predefined basic types.

UInt32
TypeBasic UInt32;

Predefined basic types.

UInt64
TypeBasic UInt64;

Predefined basic types.

UInt8
TypeBasic UInt8;

Predefined basic types.

Undefined
TypeError Undefined;

The undefined type.

Void
TypeBasic Void;

Predefined basic types.

Void_0Args_DFunc
TypeFunction Void_0Args_DFunc;

Type: extern(D) void X()

Void_ptr
TypePointer Void_ptr;

The void pointer type.

WChar
TypeBasic WChar;

Predefined basic types.

XChar
TypeBasic XChar;

Predefined basic types.

init
auto init;

Initializes global, predefined types. NB: Not thread-safe.

Meta