diff options
Diffstat (limited to 'Data/Libraries/LDoc/tests/styles/struct.lua')
-rw-r--r-- | Data/Libraries/LDoc/tests/styles/struct.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Data/Libraries/LDoc/tests/styles/struct.lua b/Data/Libraries/LDoc/tests/styles/struct.lua new file mode 100644 index 0000000..c28689a --- /dev/null +++ b/Data/Libraries/LDoc/tests/styles/struct.lua @@ -0,0 +1,13 @@ +------ +-- functions returning compound types +-- @module struct + +----- +-- returns a 'struct'. +-- @string name your name dammit +-- @tfield string arb stuff +-- @treturn st details of person +-- @tfield[st] string name of person +-- @tfield[st] int age of person +function struct(name) end + |