[as2api-dev] [CVS trunk] Support documentation of variable length argument lists

David Holroyd dave at badgers-in-foil.co.uk
Mon Aug 15 07:36:49 UTC 2005


On Sun, Aug 14, 2005 at 05:52:11PM +0200, erixtekila wrote:
> >Support documentation of variable length argument lists
> >(methods that access the 'arguments' array)
> 
> Hi David,
> 
> How do you achieve that in comments in mean ?
> Is there a new tag ?

You just need to give the magic parameter name '...':

  @param ... description of argument list

You can still document any formal arguments as normal.  (I think both are
possible at once?)

I spotted something like that in some AS source code I saw somewhere,
and thought I'd steal the idea :)


dave



More information about the as2api-dev mailing list