diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-01-23 16:05:30 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-01-23 16:05:30 +0800 |
commit | 5597c4449838ad4bfae4c2791c0778e9b7fd08ab (patch) | |
tree | 8d9c56fcd45df3e8ad9745f63cdee1c208e6e284 /script-beta/vm/eachDef.lua | |
parent | 6b4ac4345b65bdf0a26f5f59feaa8353df3a10b1 (diff) | |
download | lua-language-server-5597c4449838ad4bfae4c2791c0778e9b7fd08ab.zip |
暂不支持跨越函数调用的函数field
Diffstat (limited to 'script-beta/vm/eachDef.lua')
-rw-r--r-- | script-beta/vm/eachDef.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script-beta/vm/eachDef.lua b/script-beta/vm/eachDef.lua index 87cbef70..8bb9c0e7 100644 --- a/script-beta/vm/eachDef.lua +++ b/script-beta/vm/eachDef.lua @@ -203,6 +203,7 @@ local function eachDef(source, callback) end --- 获取所有的定义 +--- 只检查语法上的定义,不穿透函数调用 function vm.eachDef(source, callback, max) local mark = {} eachDef(source, function (src) |