Prev | Current Page 857 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"


getEnumConstructs(e:Enum) :
Array
Returns an array of strings containing all the
names of the constructors available in the argument
Enum. Starting from version 1.16 the
sequence of the constructors is guaranteed.
getEnumName(e:Enum) : String Returns the complete name of the passed Enum
definition.
Table continued on following page
Part III: Extending the Possibilities
468
Static Method Description
getSuperClass(c:Class) :
Class
Returns the super class definition of the passed
class definition.
resolveClass(name :String) :
Class
Evaluates the passed string argument and
returns a matching class definition or null if it
doesn??™t exist. The Enum must have been compiled
in the file to be accessible.
resolveEnum(name:String):Enum Evaluates the passed string argument and
returns a matching Enum definition or null if it
doesn??™t exist. The Enum must have been compiled
to be accessible.
toClass(t:Dynamic) : Class Returns a class definition if the passed value is a
class; returns null otherwise.


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