[as2api-dev] Problem documenting getter/setter with Inspectable meta tag

David Holroyd dave at badgers-in-foil.co.uk
Fri Sep 2 08:52:04 UTC 2005


On Thu, Sep 01, 2005 at 04:35:24PM +0200, Xavi Beumala wrote:
> Hi all,
> I'm having problems when documenting a getter/setter property wich has  
> a [Inspectable] meta tag associated:
> 
> <code>
> /**
> * Getter/Setter
> */
> public function get myVar():String {
>  return _myVar;
> }
> 
> public function set myVar(mr:String) {
> _myVar = m;
> }
> </code>
> 
> The code above generates correctly the documentation for the class, but 
> if the code changes to:
> 
> <code>
> [Inspectable]
> /**
> * Getter/Setter
> */
> public function get myVar():String {
>  return _myVar;
> }
> 
> public function set myVar(mr:String) {
> _myVar = m;
> }
> </code>
> 
> Then as2api doesn't add the comments to the documentation.
> 
> I'm missing something?

I think there is probably a bug.  I've not had the time to investigate
yet -- maybe over the weekend.

I've not done much testing with code which has those attribute tags
unfortunately :(


dave

-- 
http://david.holroyd.me.uk/



More information about the as2api-dev mailing list