W3cubDocs

/Haxe

Type

package haxe.macro

Available on all platforms

Represents a type.

Values

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

Represents a monomorph.

See:

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

Represents an enum instance.

See:

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

Represents a class instance.

See:

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

Represents a typedef.

See:

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

Represents a function type.

See:

TAnonymous(a:Ref<AnonType>)

Represents an anonymous structure type.

See:

TDynamic(t:Null<Type>)

Represents Dynamic.

See:

TLazy(f:Void ‑> Type)

Used internally by the compiler to delay some typing.

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

Represents an abstract type.

See:

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