From 53364ddc2e09362cb17432abf4fb598557554a9f Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 30 Oct 2021 11:42:13 +0800 Subject: + LDoc --- Data/Libraries/LDoc/tests/styles/func.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Data/Libraries/LDoc/tests/styles/func.lua (limited to 'Data/Libraries/LDoc/tests/styles/func.lua') diff --git a/Data/Libraries/LDoc/tests/styles/func.lua b/Data/Libraries/LDoc/tests/styles/func.lua new file mode 100644 index 0000000..ef05845 --- /dev/null +++ b/Data/Libraries/LDoc/tests/styles/func.lua @@ -0,0 +1,15 @@ +------------ +-- Get length of string. +-- A (silly) module which returns a single function +-- +-- @module func +-- @string some text +-- @param opts multibyte encoding options +-- @string opts.charset encoding used +-- @bool opts.strict be very pedantic +-- @bool verbose tell the world about everything +-- @return its length +return function(s,opts,verbose) + return #s +end + -- cgit v1.1-26-g67d0