[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: How to use @field in LuaDoc?
- From: "Thijs Schreijer" <thijs@...>
- Date: Tue, 28 Feb 2012 20:33:16 +0100
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: [email protected] [mailto:[email protected]]
> 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.