[as2api-dev] Problem documenting getter/setter with Inspectable
meta tag
Xavi Beumala
xavi at code4net.com
Mon Sep 5 08:17:11 UTC 2005
Great!
I've tested it and now it seems to be working :-)
Thx a lot!
X.
>
>
> -------- Original Message --------
> Subject: Re: [as2api-dev] Problem documenting getter/setter with
> Inspectable meta tag
> Date: Sat, 3 Sep 2005 21:43:44 +0000
> From: David Holroyd <dave at badgers-in-foil.co.uk>
> To: as2api-dev at lists.badgers-in-foil.co.uk
> References: <431711AC.3050602 at code4net.com>
> <20050902085203.GA8939 at badgers-in-foil.co.uk>
>
> 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
>
More information about the as2api-dev
mailing list