summaryrefslogtreecommitdiff
path: root/script-beta/vm/eachRef.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-01-23 16:05:30 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-01-23 16:05:30 +0800
commit5597c4449838ad4bfae4c2791c0778e9b7fd08ab (patch)
tree8d9c56fcd45df3e8ad9745f63cdee1c208e6e284 /script-beta/vm/eachRef.lua
parent6b4ac4345b65bdf0a26f5f59feaa8353df3a10b1 (diff)
downloadlua-language-server-5597c4449838ad4bfae4c2791c0778e9b7fd08ab.zip
暂不支持跨越函数调用的函数field
Diffstat (limited to 'script-beta/vm/eachRef.lua')
-rw-r--r--script-beta/vm/eachRef.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script-beta/vm/eachRef.lua b/script-beta/vm/eachRef.lua
index b8a2bce5..6d34d28b 100644
--- a/script-beta/vm/eachRef.lua
+++ b/script-beta/vm/eachRef.lua
@@ -190,6 +190,7 @@ local function eachRef(source, callback)
end
--- 获取所有的引用
+--- 可以穿透函数返回值
function vm.eachRef(source, callback, max)
local mark = {}
eachRef(source, function (src)