Пример #1
0
        public object _Array_ArrayIterator_cast <T_c>()
        {
            if (global::haxe.lang.Runtime.eq(typeof(T), typeof(T_c)))
            {
                return(this);
            }

            global::haxe.root._Array.ArrayIterator <T_c> new_me = new global::haxe.root._Array.ArrayIterator <T_c>(((global::haxe.lang.EmptyObject)(global::haxe.lang.EmptyObject.EMPTY)));
            global::haxe.root.Array <object>             fields = global::haxe.root.Reflect.fields(this);
            int i = 0;

            while ((i < fields.length))
            {
                string field = global::haxe.lang.Runtime.toString(fields[i++]);
                global::haxe.root.Reflect.setField(new_me, field, global::haxe.root.Reflect.field(this, field));
            }

            return(new_me);
        }
Пример #2
0
 public static object __hx_cast <T_c_c>(global::haxe.root._Array.ArrayIterator me)
 {
     return(((me != null)) ? (me._Array_ArrayIterator_cast <T_c_c>()) : default(object));
 }
Пример #3
0
 protected static void __hx_ctor__Array_ArrayIterator <T_c>(global::haxe.root._Array.ArrayIterator <T_c> __hx_this, global::haxe.root.Array <T_c> a)
 {
     __hx_this.arr = a;
     __hx_this.len = a.length;
     __hx_this.i   = 0;
 }