diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-08-23 14:58:17 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-08-23 14:58:17 +0800 |
commit | 22d7f6c23be209c7b5de149f18efa850f84915f1 (patch) | |
tree | eb5d6feeba3f37bb9c704c2c8f418cff40c8da3f /script/parser/guide.lua | |
parent | fdab3eaed0f5e3e85252d5126e1f1927b633c80d (diff) | |
download | lua-language-server-22d7f6c23be209c7b5de149f18efa850f84915f1.zip |
resolve #624 `different-requires`
Diffstat (limited to 'script/parser/guide.lua')
-rw-r--r-- | script/parser/guide.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua index 378d2613..6dcfbf95 100644 --- a/script/parser/guide.lua +++ b/script/parser/guide.lua @@ -722,6 +722,9 @@ function m.eachSource(ast, callback) end --- 获取指定的 special +---@param ast parser.guide.object +---@param name string +---@param callback fun(source: parser.guide.object) function m.eachSpecialOf(ast, name, callback) local root = m.getRoot(ast) if not root.specials then |