[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luadoc: named parameters
- From: Wesley Smith <wesley.hoke@...>
- Date: Tue, 21 Sep 2010 08:06:18 -0700
There have been a few proposals fir documenting table argument fields, but nothing implemented as far as I know. In the doc system for LuaAV, we simple write:
@param args Description
@param args.field Field description
You can see example output on our doc pages, particularly in the audio.def module: http://lua-av.mat.ucsb.edu/doc/index.html
wes
On Sep 21, 2010, at 7:01 AM, Martin Schröder <martin@oneiros.de> wrote:
> Hi,
> how do you document the named parameters of a function with luadoc?
>
> ---- a function
> -- @param args a table with
> -- @field foo some parameter
> -- @field bar another parameter
>
> doesn't produce the expected result...
>
> Best
> Martin
>