summaryrefslogtreecommitdiff
path: root/script/parser
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-08-14 18:01:58 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-08-14 18:01:58 +0800
commitf09aa4104a56996e838dd30d28bbef706e461469 (patch)
tree47af5ff871d0cb28a4e563a4ad7ba16980eedea1 /script/parser
parent5ccedb1cf07a73a8e0eb4ace84b320c8a997dbbb (diff)
downloadlua-language-server-f09aa4104a56996e838dd30d28bbef706e461469.zip
fix warning
Diffstat (limited to 'script/parser')
-rw-r--r--script/parser/guide.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index d7399b4d..dc46fecf 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -56,7 +56,7 @@ local type = type
---@field returnIndex integer
---@field assignIndex integer
---@field docIndex integer
----@field docs parser.object[]
+---@field docs parser.object
---@field state table
---@field comment table
---@field optional boolean
@@ -74,7 +74,9 @@ local type = type
---@field hasBreak? true
---@field hasExit? true
---@field [integer] parser.object|any
----@field package _root parser.object
+---@field package _root parser.object
+---@field package _eachCache? parser.object[]
+---@field package _isGlobal? boolean
---@class guide
---@field debugMode boolean