summaryrefslogtreecommitdiff
path: root/server-beta/src/searcher/index.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-10-23 16:43:19 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-10-23 16:43:19 +0800
commit68541432820dfff4554375c4c424a537943a938d (patch)
treedbd34527656fa6133f80baa6088f0d67b55b6e27 /server-beta/src/searcher/index.lua
parent373cc0d6b746fef04ca353d05defc7f4d6324faa (diff)
downloadlua-language-server-68541432820dfff4554375c4c424a537943a938d.zip
整理代码
Diffstat (limited to 'server-beta/src/searcher/index.lua')
-rw-r--r--server-beta/src/searcher/index.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/server-beta/src/searcher/index.lua b/server-beta/src/searcher/index.lua
index f96c2dcf..f05a57e6 100644
--- a/server-beta/src/searcher/index.lua
+++ b/server-beta/src/searcher/index.lua
@@ -1,13 +1,3 @@
local m = {}
-function m:eachValue(source, callback)
- local parent = source.parent
- if parent.type == 'setindex'
- or parent.type == 'tableindex' then
- if parent.value then
- self:eachValue(parent.value, callback)
- end
- end
-end
-
return m