public virtual object haxe_ds_WeakMap_cast <K_c, V_c>() { #line 34 "/opt/haxe/std/haxe/ds/WeakMap.hx" if ((global::haxe.lang.Runtime.eq(typeof(K), typeof(K_c)) && global::haxe.lang.Runtime.eq(typeof(V), typeof(V_c)))) { #line 34 "/opt/haxe/std/haxe/ds/WeakMap.hx" return(this); } #line 34 "/opt/haxe/std/haxe/ds/WeakMap.hx" global::haxe.ds.WeakMap <K_c, V_c> new_me = new global::haxe.ds.WeakMap <K_c, V_c>(global::haxe.lang.EmptyObject.EMPTY); #line 34 "/opt/haxe/std/haxe/ds/WeakMap.hx" global::Array <string> fields = global::Reflect.fields(this); #line 34 "/opt/haxe/std/haxe/ds/WeakMap.hx" int i = 0; #line 34 "/opt/haxe/std/haxe/ds/WeakMap.hx" while ((i < fields.length)) { #line 34 "/opt/haxe/std/haxe/ds/WeakMap.hx" string field = fields[i++]; #line 34 "/opt/haxe/std/haxe/ds/WeakMap.hx" global::Reflect.setField(new_me, field, global::Reflect.field(this, field)); } #line 34 "/opt/haxe/std/haxe/ds/WeakMap.hx" return(new_me); }
protected static void __hx_ctor_haxe_ds_WeakMap <K_c, V_c>(global::haxe.ds.WeakMap <K_c, V_c> __hx_this) { #line 39 "/opt/haxe/std/haxe/ds/WeakMap.hx" throw ((global::System.Exception)(global::haxe.Exception.thrown("Not implemented for this platform"))); }
public static object __hx_cast <K_c_c, V_c_c>(global::haxe.ds.WeakMap me) { #line 34 "/opt/haxe/std/haxe/ds/WeakMap.hx" return(((me != null)) ? (me.haxe_ds_WeakMap_cast <K_c_c, V_c_c>()) : default(object)); }
protected static void __hx_ctor_haxe_ds_WeakMap(global::haxe.ds.WeakMap __hx_this) { #line 39 "C:\\HaxeToolkit\\haxe\\std\\haxe\\ds\\WeakMap.hx" throw global::haxe.lang.HaxeException.wrap("Not implemented for this platform"); }