??™
path = > Inspected,
// a List of implemented interfaces
interfaces = > {{ path = > haxe.rtti.Infos, params = > {} }},
// class type parameters in an array of string
params = > [],
// the documentation for the current type
// this is not parsed and included when the Infos interface is used
doc = > null,
// a List of fields that belong to the type
fields = > {
(continued)
Part III: Extending the Possibilities
472
{
// this field is the variable ???name???
// the field name
name = > name,
// the field type
type = > TClass(String,{}),
// the field type parameters
params = > null,
doc = > null,
// get accessor (default is RNormal that means no accessor)
get = > RNormal,
// set accessor for a setter method
set = > RMethod(setName),
platforms = > {},
// public or private?
isPublic = > true },
{
// this field is the private method ???setName???
name = > setName,
type = > TFunction(
// a list of arguments
{{
// the function accepts one argument with name n ...
name = > n,
// ... of type string .
Pages:
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876