summaryrefslogtreecommitdiff
path: root/script/parser/guide.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-24 05:25:06 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-24 05:25:06 +0800
commit24abcb32ef427ce9ed8501af2a0a01aca42e23cf (patch)
tree1101364b3bf330ac986520fd340509e75a708877 /script/parser/guide.lua
parentb204411a88f4c36be9e9ce2710f03f2a0295e3a6 (diff)
downloadlua-language-server-24abcb32ef427ce9ed8501af2a0a01aca42e23cf.zip
infer by `goto`
Diffstat (limited to 'script/parser/guide.lua')
-rw-r--r--script/parser/guide.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index b008c69b..a934892e 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -57,6 +57,8 @@ local type = type
---@field step parser.object
---@field redundant { max: integer, passed: integer }
---@field filter parser.object
+---@field hasGoTo? true
+---@field hasReturn? true
---@field _root parser.object
---@class guide
@@ -416,6 +418,7 @@ function m.getUri(obj)
return ''
end
+---@return parser.object
function m.getENV(source, start)
if not start then
start = 1