summaryrefslogtreecommitdiff
path: root/server-beta/src/core/getlocal.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-10-22 21:00:24 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-10-22 21:00:24 +0800
commit863f1fc0350fff0d7b7e2a376d82ccaaf301f4ce (patch)
treee5da7c758612ccf574f0dfc563690306550a1d36 /server-beta/src/core/getlocal.lua
parent1f0a645cddeae4caba21c655651d97b5313d2302 (diff)
downloadlua-language-server-863f1fc0350fff0d7b7e2a376d82ccaaf301f4ce.zip
整理代码
Diffstat (limited to 'server-beta/src/core/getlocal.lua')
-rw-r--r--server-beta/src/core/getlocal.lua19
1 files changed, 0 insertions, 19 deletions
diff --git a/server-beta/src/core/getlocal.lua b/server-beta/src/core/getlocal.lua
deleted file mode 100644
index b84f3b83..00000000
--- a/server-beta/src/core/getlocal.lua
+++ /dev/null
@@ -1,19 +0,0 @@
-local m = {}
-
-function m:def(source, callback)
- self:eachDef(source.loc, callback)
-end
-
-function m:ref(source, callback)
- self:eachRef(source.loc, callback)
-end
-
-function m:field(source, key, callback)
- self:eachField(source.loc, key, callback)
-end
-
-function m:value(source, callback)
- self:eachValue(source.loc, callback)
-end
-
-return m