summaryrefslogtreecommitdiff
path: root/server-beta/src/searcher-old/tablefield.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-11-08 13:26:27 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-11-08 13:26:27 +0800
commit2ce73841e83f44212c20bfd997bc1874cda9e3c0 (patch)
tree49c32b171b54ef126f867b802e3693831089779e /server-beta/src/searcher-old/tablefield.lua
parentfe9dfabffeb6460f41c9f74fbeb4093db67bed4a (diff)
downloadlua-language-server-2ce73841e83f44212c20bfd997bc1874cda9e3c0.zip
整理代码
Diffstat (limited to 'server-beta/src/searcher-old/tablefield.lua')
-rw-r--r--server-beta/src/searcher-old/tablefield.lua19
1 files changed, 0 insertions, 19 deletions
diff --git a/server-beta/src/searcher-old/tablefield.lua b/server-beta/src/searcher-old/tablefield.lua
deleted file mode 100644
index 09456029..00000000
--- a/server-beta/src/searcher-old/tablefield.lua
+++ /dev/null
@@ -1,19 +0,0 @@
-local m = {}
-
-function m:eachField(source, key, callback)
- if source.value then
- self:eachField(source.value, key, callback)
- end
-end
-
-function m:eachValue(source, callback)
- if source.value then
- self:eachValue(source.value, callback)
- end
-end
-
-function m:getValue(source)
- return source.value and self:getValue(source.value) or source
-end
-
-return m