summaryrefslogtreecommitdiff
path: root/script/parser/luadoc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/parser/luadoc.lua')
-rw-r--r--script/parser/luadoc.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/parser/luadoc.lua b/script/parser/luadoc.lua
index 94be437f..847b7d37 100644
--- a/script/parser/luadoc.lua
+++ b/script/parser/luadoc.lua
@@ -159,6 +159,8 @@ local function peekToken()
return TokenTypes[Ci+1], TokenContents[Ci+1]
end
+---@return string tokenType
+---@return string tokenContent
local function nextToken()
Ci = Ci + 1
if not TokenTypes[Ci] then
@@ -181,6 +183,7 @@ local function getStart()
return TokenStarts[Ci] + Offset
end
+---@return integer
local function getFinish()
if Ci == 0 then
return Offset