flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurice Amsellem <maurice.amsel...@systar.com>
Subject RE: describeType still used in many places in SDK
Date Thu, 10 Oct 2013 19:57:15 GMT
I will use Parsley's Spicefactory implementation as a reference, to know how to access elements.
 (I will not steal the code).


-----Message d'origine-----
De : Alex Harui [mailto:aharui@adobe.com] 
Envoyé : jeudi 10 octobre 2013 21:44
À : dev@flex.apache.org
Objet : Re: describeType still used in many places in SDK

On 10/10/13 12:31 PM, "Maurice Amsellem" <maurice.amsellem@systar.com>

>Yes, I am just calling describeType vs decribeTypeJSON.
>JSON is returning an unstructured object with the following props:
>isDynamic: Bool
>isFinal: bool
>isStatic: bool
>name: String
>  accessors: Array of unstructured Objects .
>  bases: Array of Strings , for the hierarchy of supers
>  interfaces
>  metadata
>  methods
>  variables
>  constructor
>Access should have same performance than E4X ..  ?
OK, I might be remembering incorrectly.  I thought describetype's XML was not flat and the
superclass's accessors were not listed with the subclass's accessors.  If you can get to all
accessors of all superclasses in one shot then yes, it won't matter.


View raw message