Prev | Current Page 856 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"


enumConstructor(e:Dynamic) : String Returns the constructor name of the passed
Enum.
enumEq(a:T, b:T) : Bool Compares recursively the constructors of two
Enum of type T and their parameters.
enumIndex(e : Dynamic) : Int Returns the index of the constructor of an enum.
enumParameters(e:Dynamic) :
Array
Extracts the constructor parameters of the
passed Enum and returns them in a Dynamic
array.
getClass(o:T) : Class Returns the class definition for the class of type T.
getClassFields(c:Class) :
Array
Returns an array of strings containing the names
of all the static fields defined in the passed class
definition.
getClassName(c:Class) : String Returns the complete name of the passed class
definition.
getInstanceFields(c:Class) :
Array
Returns an array of strings containing the names
of all the instance fields defined in the passed
class definition.
getEnum(o:Dynamic) : Enum Returns the enum definition of the passed value
if this is an Enum instance; returns null otherwise.


Pages:
844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868