Including intrinsic class definitions results in incorrect output in Docs

Bug #490419 reported by DaveW
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
as2api
New
Undecided
Unassigned

Bug Description

when creating a class in the following format as is standard and valid for a new intrinsic class:

/**
 * com.MyClass Desctiption
 */
intrinsic class com.myClass
{

/**
 * myCustomMethod description
 */
public static function myCustomMethod():Void;

/**
 * myOtherCustomMethod description
 * @param value The description of value
 * @return Boolean The Description of the return value
 */
public static function myOtherCustomMethod (value:Number):Boolean;
}

AS2API is unable to generate the correctly formatted documentation.
This form of ActionScript 2 class definition is common when dealing with AS2 Mobile API extensions.

Revision history for this message
David Holroyd (dholroyd) wrote :

It's been rather a long time since I looked at the as2api code, but the latest from subversion does generate documentation from the example you provided, and it looks at least superficially correct (although I had to tweak the as2api the code to work with modern libgettext-ruby).

Are you using the code from subversion, or the current release from the project page?

If you are using the latest from subversion, can you tell me what changes to the generated output you'd like to see? If you are not using the latest from subversion, maybe give that a whirl?

Revision history for this message
David Holroyd (dholroyd) wrote :

Ok, I'm an idiot -- I see now that the class description has been copied to the description of each member.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.