2014-10-12 18:35:19 +02:00
|
|
|
------------
|
2014-10-15 18:20:55 +02:00
|
|
|
-- Functions with options and custom tags
|
|
|
|
--
|
2014-10-12 18:35:19 +02:00
|
|
|
-- @include opt.md
|
|
|
|
|
|
|
|
---- testing [opt]
|
|
|
|
-- @param one
|
|
|
|
-- @param[opt] two
|
|
|
|
-- @param[opt]three
|
|
|
|
-- @param[opt] four
|
2014-10-15 18:20:55 +02:00
|
|
|
-- @remark use with caution!
|
2014-10-12 18:35:19 +02:00
|
|
|
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
|
|
|
|
|