[as2api-dev] Problem documenting getter/setter with Inspectable
meta tag
David Holroyd
dave at badgers-in-foil.co.uk
Sat Sep 3 21:43:44 UTC 2005
On Thu, Sep 01, 2005 at 04:35:24PM +0200, Xavi Beumala wrote:
> 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 think I've fixed this. If you're using the Ruby sources, you can
download a modified version of parse/parser.rb from here:
http://svn.badgers-in-foil.co.uk/as2api/trunk/as2api/parse/parser.rb
Otherwise, let me know what platform you're using, and I'll try to get
an updated executable built for you some time soon.
Thanks for reporting this bug!
dave
--
http://david.holroyd.me.uk/
More information about the as2api-dev
mailing list