W3cubDocs

/Haxe

Type

package haxe.macro

Available on all platforms

Represents a type.

Values

TMono(t:Ref<Null<Type>>)

Represents a monomorph.

See also:

TEnum(t:Ref<EnumType>, params:Array<Type>)

Represents an enum instance.

See also:

TInst(t:Ref<ClassType>, params:Array<Type>)

Represents a class instance.

See also:

TType(t:Ref<DefType>, params:Array<Type>)

Represents a typedef.

See also:

TFun(args:Array<{t:Type, opt:Bool, name:String}>, ret:Type)

Represents a function type.

See also:

TAnonymous(a:Ref<AnonType>)

Represents an anonymous structure type.

See also:

TDynamic(t:Null<Type>)

Represents Dynamic.

See also:

TLazy(f:() ‑> Type)

Used internally by the compiler to delay some typing.

TAbstract(t:Ref<AbstractType>, params:Array<Type>)

Represents an abstract type.

See also:

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/macro/Type.html