File: annot.lua

package info (click to toggle)
lua-ldoc 1.5.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 928 kB
  • sloc: makefile: 63; ansic: 56
file content (21 lines) | stat: -rw-r--r-- 310 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
----------------
-- Testing annotations
-- @module annot

--- first fun.
function first()
   if boo then
      local bar = do_something()
      if bar then
      ---  @fixme otherwise do what?
      end
   end
end

--- second try.
function second()
   --- @todo also handle foo case
   if bar then

   end
end