Exemple #1
0
 public static global::Array <object> fields(object o)
 {
     global::haxe.lang.IHxObject ihx = ((global::haxe.lang.IHxObject)((o as global::haxe.lang.IHxObject)));
     if ((ihx != null))
     {
         global::Array <object> ret = new global::Array <object>(new object[] {});
         ihx.__hx_getFields(ret);
         return(ret);
     }
     else if ((o is global::System.Type))
     {
         return(global::Type.getClassFields(((global::System.Type)(o))));
     }
     else
     {
         return(global::Reflect.instanceFields(o.GetType()));
     }
 }
Exemple #2
0
 public static global::haxe.root.Array fields(object o)
 {
                 #line 88 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx"
     global::haxe.lang.IHxObject ihx = ((global::haxe.lang.IHxObject)((o as global::haxe.lang.IHxObject)));
     if ((ihx != null))
     {
                         #line 90 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx"
         global::haxe.root.Array ret = new global::haxe.root.Array(new object[] {});
         ihx.__hx_getFields(ret);
                         #line 92 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx"
         return(ret);
     }
     else if ((o is global::System.Type))
     {
                         #line 94 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx"
         return(global::haxe.root.Type.getClassFields(((global::System.Type)(o))));
     }
     else
     {
                         #line 96 "C:\\HaxeToolkit\\haxe\\std\\cs\\_std\\Reflect.hx"
         return(global::haxe.root.Reflect.instanceFields(o.GetType()));
     }
 }
Exemple #3
0
 public static global::Array <string> fields(object o)
 {
             #line 88 "/opt/haxe/std/cs/_std/Reflect.hx"
     global::haxe.lang.IHxObject ihx = (o as global::haxe.lang.IHxObject);
     if ((ihx != null))
     {
                     #line 90 "/opt/haxe/std/cs/_std/Reflect.hx"
         global::Array <string> ret = new global::Array <string>(new string[] {});
         ihx.__hx_getFields(ret);
                     #line 92 "/opt/haxe/std/cs/_std/Reflect.hx"
         return(ret);
     }
     else if ((o is global::System.Type))
     {
                     #line 94 "/opt/haxe/std/cs/_std/Reflect.hx"
         return(global::Type.getClassFields(((global::System.Type)(o))));
     }
     else
     {
                     #line 96 "/opt/haxe/std/cs/_std/Reflect.hx"
         return(global::Reflect.instanceFields(o.GetType()));
     }
 }