W3cubDocs

/Haxe HashLink

Type

package hl

Available on hl

Variables

@:impl read only kind:TypeKind

Methods

@:impl @:hlNative("std","alloc_enum") allocEnum (this:Type, index:Int, args:NativeArray<Dynamic>):Dynamic

@:impl @:hlNative("std","alloc_obj") allocObject ():Dynamic

@:impl @:hlNative("std","type_args_count") getArgsCount ():Int

@:impl @:hlNative("std","type_enum_fields") getEnumFields ():NativeArray<Bytes>

@:impl @:hlNative("std","type_enum_values") getEnumValues ():NativeArray<Dynamic>

@:impl @:hlNative("std","type_get_global") getGlobal ():Dynamic

@:impl @:hlNative("std","type_instance_fields") getInstanceFields ():NativeArray<Bytes>

@:impl @:extern inline getName ():String

@:impl @:hlNative("std","type_super") getSuper ():Type

@:impl @:hlNative("std","type_safe_cast") safeCast (this:Type):Bool

@:impl @:hlNative("std","type_set_global") setGlobal (this:Type):Bool

Static variables

@:impl static read only kind:TypeKind

Static methods

@:impl @:hlNative("std","alloc_enum") static allocEnum (this:Type, index:Int, args:NativeArray<Dynamic>):Dynamic

@:impl @:hlNative("std","alloc_obj") static allocObject ():Dynamic

@:has_untyped @:extern static inline get<T> (v:T ):Type

@:has_untyped @:extern static inline get<T> (v:T ):Type

@:impl @:hlNative("std","type_args_count") static getArgsCount ():Int

@:has_untyped @:extern static inline getDynamic (v:Dynamic):Type

@:has_untyped @:extern static inline getDynamic (v:Dynamic):Type

@:impl @:hlNative("std","type_enum_fields") static getEnumFields ():NativeArray<Bytes>

@:impl @:hlNative("std","type_enum_values") static getEnumValues ():NativeArray<Dynamic>

@:impl @:hlNative("std","type_get_global") static getGlobal ():Dynamic

@:impl @:hlNative("std","type_instance_fields") static getInstanceFields ():NativeArray<Bytes>

@:impl @:extern static inline getName ():String

@:impl @:hlNative("std","type_super") static getSuper ():Type

@:impl @:hlNative("std","type_safe_cast") static safeCast (this:Type):Bool

@:impl @:hlNative("std","type_set_global") static setGlobal (this:Type):Bool

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