lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, Feb 28, 2012 at 12:33, Thijs Schreijer <thijs@thijsschreijer.nl> wrote:
> I think you need the @class and @name tags before using @field
>
> See this code
> https://github.com/Tieske/LuaxPL/blob/master/src/xpl/classes/xplmessage.lua
> that works with LuaDoc and the @field tag
>
> Thijs
>
>> -----Original Message-----
>> From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org]
>> On Behalf Of HyperHacker
>> Sent: dinsdag 28 februari 2012 18:41
>> To: Lua mailing list
>> Subject: How to use @field in LuaDoc?
>>
>> I can't seem to find any info about how to document tables using
>> LuaDoc. I stuck this in one of my .luadoc files:
>>
>> --- asdf
>> -- @field blah what is this I don't even
>> bananas = {
>>       blah = 123
>> }
>>
>> but it doesn't show up in the document at all. I assume .luadoc files
>> are parsed the same as Lua source files?
>>
>> --
>> Sent from my toaster.
>
>
>

Ah, thanks. I thought it would pick those up from the code...

-- 
Sent from my toaster.