From 838ce36fdd7abdff0b4cab5e67c2500325178805 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 23 Jun 2022 02:57:13 +0800 Subject: update --- script/parser/luadoc.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'script/parser/luadoc.lua') 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 -- cgit v1.2.3