Prev | Current Page 865 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

..
t = > TClass(String,{}),
// ... that is not optional
opt = > false }},
// the return type of the function (string)
TClass(String,{})),
params = > null,
doc = > null,
get = > RNormal,
set = > RNormal,
platforms = > {},
isPublic = > false },
{
// the instance method inspect()
name = > inspect,
type = > TFunction(
// the method accepts no arguments
{},
// and returns an enumeration ...
TEnum(
haxe.rtti.TypeTree,
// ... with no type parameters
{})),
params = > null,
doc = > null,
get = > RNormal,
set = > RNormal,
platforms = > {},
isPublic = > true },
(continued)
Chapter 16: haXe Advanced Topics
473
{
// the class constructor
// it is a normal function after all
name = > new,
type = > TFunction({},TEnum(Void,{})),
params = > null,
doc = > null,
get = > RNormal,
set = > RNormal,
platforms = > {},
isPublic = > true }},
// a type can be private for its module
isPrivate = > false,
platforms = > {},
isInterface = > false,
// has the class the extern modifier?
isExtern = > false,
// this class has no ancestors .


Pages:
853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877