summaryrefslogtreecommitdiff
path: root/Data/Libraries/LDoc/tests/styles/three.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Data/Libraries/LDoc/tests/styles/three.lua')
-rw-r--r--Data/Libraries/LDoc/tests/styles/three.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/Data/Libraries/LDoc/tests/styles/three.lua b/Data/Libraries/LDoc/tests/styles/three.lua
new file mode 100644
index 0000000..09c0ceb
--- /dev/null
+++ b/Data/Libraries/LDoc/tests/styles/three.lua
@@ -0,0 +1,21 @@
+------------
+-- Alternative to no-magic style.
+-- Description here
+----
+
+--- documented, but private
+local function question ()
+end
+
+--- answer to everything.
+-- @return magic number
+local function answer ()
+ return 42
+end
+
+--- @export
+return {
+ answer = answer
+}
+
+