public virtual object haxe_ds_EnumValueMap_cast <K_c, V_c>() { #line 31 "/opt/haxe/std/haxe/ds/EnumValueMap.hx" if ((global::haxe.lang.Runtime.eq(typeof(K), typeof(K_c)) && global::haxe.lang.Runtime.eq(typeof(V), typeof(V_c)))) { #line 31 "/opt/haxe/std/haxe/ds/EnumValueMap.hx" return(this); } #line 31 "/opt/haxe/std/haxe/ds/EnumValueMap.hx" global::haxe.ds.EnumValueMap <K_c, V_c> new_me = new global::haxe.ds.EnumValueMap <K_c, V_c>(global::haxe.lang.EmptyObject.EMPTY); #line 31 "/opt/haxe/std/haxe/ds/EnumValueMap.hx" global::Array <string> fields = global::Reflect.fields(this); #line 31 "/opt/haxe/std/haxe/ds/EnumValueMap.hx" int i = 0; #line 31 "/opt/haxe/std/haxe/ds/EnumValueMap.hx" while ((i < fields.length)) { #line 31 "/opt/haxe/std/haxe/ds/EnumValueMap.hx" string field = fields[i++]; #line 31 "/opt/haxe/std/haxe/ds/EnumValueMap.hx" global::Reflect.setField(new_me, field, global::Reflect.field(this, field)); } #line 31 "/opt/haxe/std/haxe/ds/EnumValueMap.hx" return(new_me); }
public override global::haxe.ds.BalancedTree copy() { #line 66 "C:\\HaxeToolkit\\haxe\\std\\haxe\\ds\\EnumValueMap.hx" global::haxe.ds.EnumValueMap copied = new global::haxe.ds.EnumValueMap(); copied.root = this.root; #line 68 "C:\\HaxeToolkit\\haxe\\std\\haxe\\ds\\EnumValueMap.hx" return(copied); }
public override global::haxe.ds.BalancedTree <K, V> copy() { #line 66 "/opt/haxe/std/haxe/ds/EnumValueMap.hx" global::haxe.ds.EnumValueMap <K, V> copied = new global::haxe.ds.EnumValueMap <K, V>(); copied.root = this.root; #line 68 "/opt/haxe/std/haxe/ds/EnumValueMap.hx" return(copied); }
protected static void __hx_ctor__TestControl(global::TestControl __hx_this) { unchecked { __hx_this.m_callstack_level = 0; __hx_this.MAX_CALLSTACK = 10; { __hx_this.m_curfunc = global::TestControl_STATE.none; __hx_this.m_nextfunc = global::TestControl_STATE.none; global::Array <object> _g = new global::Array <object>(new object[] {}); { int _g1 = 0; int _g2 = __hx_this.MAX_CALLSTACK; while ((_g1 < _g2)) { int i = _g1++; _g.push(global::TestControl_STATE.none); } } __hx_this.m_callstacks = _g; global::haxe.ds.EnumValueMap <object, object> _g3 = new global::haxe.ds.EnumValueMap <object, object>(); _g3.@set(global::TestControl_STATE.S_0000, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_0000", 42918572)))); _g3.@set(global::TestControl_STATE.S_0001, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_0001", 42918573)))); _g3.@set(global::TestControl_STATE.S_0002, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_0002", 42918574)))); _g3.@set(global::TestControl_STATE.S_0003, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_0003", 42918575)))); _g3.@set(global::TestControl_STATE.S_0004, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_0004", 42918576)))); _g3.@set(global::TestControl_STATE.S_0005, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_0005", 42918577)))); _g3.@set(global::TestControl_STATE.S_0006, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_0006", 42918578)))); _g3.@set(global::TestControl_STATE.S_0007, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_0007", 42918579)))); _g3.@set(global::TestControl_STATE.S_0008, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_0008", 42918580)))); _g3.@set(global::TestControl_STATE.S_END, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_END", 155323023)))); _g3.@set(global::TestControl_STATE.S_GSB000, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_GSB000", 1395622150)))); _g3.@set(global::TestControl_STATE.S_LOP000, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_LOP000", 245299599)))); _g3.@set(global::TestControl_STATE.S_LOP000_Check____, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_LOP000_Check____", 943573240)))); _g3.@set(global::TestControl_STATE.S_LOP000_Next____, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_LOP000_Next____", 656521411)))); _g3.@set(global::TestControl_STATE.S_RET000, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_RET000", 895889723)))); _g3.@set(global::TestControl_STATE.S_RET001, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_RET001", 895889724)))); _g3.@set(global::TestControl_STATE.S_SBS000, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_SBS000", 1625594232)))); _g3.@set(global::TestControl_STATE.S_SBS001, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_SBS001", 1625594233)))); _g3.@set(global::TestControl_STATE.S_START, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_START", 2035708950)))); _g3.@set(global::TestControl_STATE.S_WAIT1SEC, ((global::haxe.lang.Function)(new global::haxe.lang.Closure(__hx_this, "S_WAIT1SEC", 1294696833)))); { global::haxe.lang.Function @value = null; _g3.@set(global::TestControl_STATE.unknown, @value); } __hx_this.m_funcmap = _g3; } } }
public virtual object haxe_ds_EnumValueMap_cast <K_c, V_c>() { if ((global::haxe.lang.Runtime.eq(typeof(K), typeof(K_c)) && global::haxe.lang.Runtime.eq(typeof(V), typeof(V_c)))) { return(this); } global::haxe.ds.EnumValueMap <K_c, V_c> new_me = new global::haxe.ds.EnumValueMap <K_c, V_c>(global::haxe.lang.EmptyObject.EMPTY); global::Array <string> fields = global::Reflect.fields(this); int i = 0; while ((i < fields.length)) { string field = fields[i++]; global::Reflect.setField(new_me, field, global::Reflect.field(this, field)); } return(new_me); }
protected static void __hx_ctor_haxe_ds_EnumValueMap(global::haxe.ds.EnumValueMap __hx_this) { #line 41 "C:\\HaxeToolkit\\haxe\\std\\haxe\\ds\\BalancedTree.hx" global::haxe.ds.BalancedTree.__hx_ctor_haxe_ds_BalancedTree(((global::haxe.ds.BalancedTree)(__hx_this))); }
public static new object __hx_cast <K_c_c, V_c_c>(global::haxe.ds.EnumValueMap me) { #line 31 "/opt/haxe/std/haxe/ds/EnumValueMap.hx" return(((me != null)) ? (me.haxe_ds_EnumValueMap_cast <K_c_c, V_c_c>()) : default(object)); }
protected static void __hx_ctor_haxe_ds_EnumValueMap <K_c, V_c>(global::haxe.ds.EnumValueMap <K_c, V_c> __hx_this) { #line 41 "/opt/haxe/std/haxe/ds/BalancedTree.hx" global::haxe.ds.BalancedTree <object, object> .__hx_ctor_haxe_ds_BalancedTree <K_c, V_c>(((global::haxe.ds.BalancedTree <K_c, V_c>)(__hx_this))); }
public static new object __hx_cast <K_c_c, V_c_c>(global::haxe.ds.EnumValueMap me) { return(((me != null)) ? (me.haxe_ds_EnumValueMap_cast <K_c_c, V_c_c>()) : default(object)); }
protected static void __hx_ctor_haxe_ds_EnumValueMap <K_c, V_c>(global::haxe.ds.EnumValueMap <K_c, V_c> __hx_this) { global::haxe.ds.BalancedTree <object, object> .__hx_ctor_haxe_ds_BalancedTree <K_c, V_c>(((global::haxe.ds.BalancedTree <K_c, V_c>)(__hx_this))); }
public override object __hx_setField(string field, int hash, object @value, bool handleProperties) { unchecked { switch (hash) { case 506919763: { this.m_S_WAIT1SEC = ((int)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 1855943296: { this.m_index = ((int)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 30564047: { this.m_val = ((int)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 30120495: { this.m_msg = global::haxe.lang.Runtime.toString(@value); return(@value); } case 419997469: { this.m_callstack_level = ((int)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 1301665051: { this.m_callstacks = ((global::Array <object>)(global::Array <object> .__hx_cast <object>(((global::Array)(@value))))); return(@value); } case 1292742927: { this.MAX_CALLSTACK = ((int)(global::haxe.lang.Runtime.toInt(@value))); return(@value); } case 2074579142: { this.m_funcmap = ((global::haxe.ds.EnumValueMap <object, object>)(global::haxe.ds.EnumValueMap <object, object> .__hx_cast <object, object>(((global::haxe.ds.EnumValueMap)(@value))))); return(@value); } case 1736000552: { this.m_noWait = global::haxe.lang.Runtime.toBool(@value); return(@value); } case 738420489: { this.m_nextfunc = ((global::TestControl_STATE)(@value)); return(@value); } case 1317224370: { this.m_curfunc = ((global::TestControl_STATE)(@value)); return(@value); } default: { return(base.__hx_setField(field, hash, @value, handleProperties)); } } } }