summaryrefslogtreecommitdiff
path: root/server-beta/src/searcher/field.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/field.lua
parent373cc0d6b746fef04ca353d05defc7f4d6324faa (diff)
downloadlua-language-server-68541432820dfff4554375c4c424a537943a938d.zip
整理代码
Diffstat (limited to 'server-beta/src/searcher/field.lua')
-rw-r--r--server-beta/src/searcher/field.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/server-beta/src/searcher/field.lua b/server-beta/src/searcher/field.lua
index a9b01d25..c5667b04 100644
--- a/server-beta/src/searcher/field.lua
+++ b/server-beta/src/searcher/field.lua
@@ -31,4 +31,8 @@ function m:eachValue(source, callback)
self:eachValue(source.parent, callback)
end
+function m:getValue(source)
+ return self:getValue(source.parent)
+end
+
return m