LDoc2tl/tests/styles/opt.lua

21 lines
364 B
Lua

------------
-- Functions with options and custom tags
--
-- @include opt.md
---- testing [opt]
-- @param one
-- @param[opt] two
-- @param[opt]three
-- @param[opt] four
-- @remark use with caution!
function use_opt (one,two,three,four)
end
--- an explicit table.
-- Can now use tparam aliases in table defns
-- @string name
-- @int[opt=0] age
-- @table person2