Ejemplo n.º 1
0
 protected static void __hx_ctor_haxe_iterators_ArrayIterator <T_c>(global::haxe.iterators.ArrayIterator <T_c> __hx_this, global::Array <T_c> array)
 {
     __hx_this.current = 0;
     {
         __hx_this.array = array;
     }
 }
Ejemplo n.º 2
0
        public virtual object haxe_iterators_ArrayIterator_cast <T_c>()
        {
                        #line 28 "/opt/haxe/std/haxe/iterators/ArrayIterator.hx"
            if (global::haxe.lang.Runtime.eq(typeof(T), typeof(T_c)))
            {
                                #line 28 "/opt/haxe/std/haxe/iterators/ArrayIterator.hx"
                return(this);
            }

                        #line 28 "/opt/haxe/std/haxe/iterators/ArrayIterator.hx"
            global::haxe.iterators.ArrayIterator <T_c> new_me = new global::haxe.iterators.ArrayIterator <T_c>(((global::haxe.lang.EmptyObject)(global::haxe.lang.EmptyObject.EMPTY)));
                        #line 28 "/opt/haxe/std/haxe/iterators/ArrayIterator.hx"
            global::Array <string> fields = global::Reflect.fields(this);
                        #line 28 "/opt/haxe/std/haxe/iterators/ArrayIterator.hx"
            int i = 0;
                        #line 28 "/opt/haxe/std/haxe/iterators/ArrayIterator.hx"
            while ((i < fields.length))
            {
                                #line 28 "/opt/haxe/std/haxe/iterators/ArrayIterator.hx"
                string field = fields[i++];
                                #line 28 "/opt/haxe/std/haxe/iterators/ArrayIterator.hx"
                global::Reflect.setField(new_me, field, global::Reflect.field(this, field));
            }

                        #line 28 "/opt/haxe/std/haxe/iterators/ArrayIterator.hx"
            return(new_me);
        }
Ejemplo n.º 3
0
 protected static void __hx_ctor_haxe_iterators_ArrayIterator <T_c>(global::haxe.iterators.ArrayIterator <T_c> __hx_this, global::Array <T_c> array)
 {
                 #line 30 "/opt/haxe/std/haxe/iterators/ArrayIterator.hx"
     __hx_this.current = 0;
                 #line 37 "/opt/haxe/std/haxe/iterators/ArrayIterator.hx"
     {
                         #line 37 "/opt/haxe/std/haxe/iterators/ArrayIterator.hx"
         __hx_this.array = array;
     }
 }
Ejemplo n.º 4
0
 protected static void __hx_ctor_haxe_iterators_ArrayIterator <T_c>(global::haxe.iterators.ArrayIterator <T_c> __hx_this, global::Array <T_c> array)
 {
                 #line 30 "C:\\HaxeToolkit\\haxe\\std\\haxe\\iterators\\ArrayIterator.hx"
     __hx_this.current = 0;
                 #line 37 "C:\\HaxeToolkit\\haxe\\std\\haxe\\iterators\\ArrayIterator.hx"
     {
                         #line 37 "C:\\HaxeToolkit\\haxe\\std\\haxe\\iterators\\ArrayIterator.hx"
         __hx_this.array = array;
     }
 }
Ejemplo n.º 5
0
        public virtual object haxe_iterators_ArrayIterator_cast <T_c>()
        {
            if (global::haxe.lang.Runtime.eq(typeof(T), typeof(T_c)))
            {
                return(this);
            }

            global::haxe.iterators.ArrayIterator <T_c> new_me = new global::haxe.iterators.ArrayIterator <T_c>(((global::haxe.lang.EmptyObject)(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);
        }
Ejemplo n.º 6
0
 public static object __hx_cast <T_c_c>(global::haxe.iterators.ArrayIterator me)
 {
     return(((me != null)) ? (me.haxe_iterators_ArrayIterator_cast <T_c_c>()) : default(object));
 }
Ejemplo n.º 7
0
 public static object __hx_cast <T_c_c>(global::haxe.iterators.ArrayIterator me)
 {
                 #line 28 "/opt/haxe/std/haxe/iterators/ArrayIterator.hx"
     return(((me != null)) ? (me.haxe_iterators_ArrayIterator_cast <T_c_c>()) : default(object));
 }
Ejemplo n.º 8
0
 public static object __hx_cast <T_c_c>(global::haxe.iterators.ArrayIterator me)
 {
                 #line 28 "C:\\HaxeToolkit\\haxe\\std\\haxe\\iterators\\ArrayIterator.hx"
     return(((me != null)) ? (me.haxe_iterators_ArrayIterator_cast <T_c_c>()) : default(object));
 }