macro.Type

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–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/haxe/macro/Type.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部