diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-10-23 16:43:19 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-10-23 16:43:19 +0800 |
commit | 68541432820dfff4554375c4c424a537943a938d (patch) | |
tree | dbd34527656fa6133f80baa6088f0d67b55b6e27 /server-beta/src/searcher/tablefield.lua | |
parent | 373cc0d6b746fef04ca353d05defc7f4d6324faa (diff) | |
download | lua-language-server-68541432820dfff4554375c4c424a537943a938d.zip |
整理代码
Diffstat (limited to 'server-beta/src/searcher/tablefield.lua')
-rw-r--r-- | server-beta/src/searcher/tablefield.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server-beta/src/searcher/tablefield.lua b/server-beta/src/searcher/tablefield.lua index 219828d4..09456029 100644 --- a/server-beta/src/searcher/tablefield.lua +++ b/server-beta/src/searcher/tablefield.lua @@ -12,4 +12,8 @@ function m:eachValue(source, callback) end end +function m:getValue(source) + return source.value and self:getValue(source.value) or source +end + return m |