summaryrefslogtreecommitdiff
path: root/server-beta/src/searcher-old/methods.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-10-23 17:31:02 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-10-23 17:31:02 +0800
commit4248038716c6c2281a10af9c0a3f04c6468b1946 (patch)
tree79361f8df2cf46ab99843e84bba175ea60147da2 /server-beta/src/searcher-old/methods.lua
parent68541432820dfff4554375c4c424a537943a938d (diff)
downloadlua-language-server-4248038716c6c2281a10af9c0a3f04c6468b1946.zip
准备换一个写法试试
Diffstat (limited to 'server-beta/src/searcher-old/methods.lua')
-rw-r--r--server-beta/src/searcher-old/methods.lua26
1 files changed, 26 insertions, 0 deletions
diff --git a/server-beta/src/searcher-old/methods.lua b/server-beta/src/searcher-old/methods.lua
new file mode 100644
index 00000000..498978dd
--- /dev/null
+++ b/server-beta/src/searcher-old/methods.lua
@@ -0,0 +1,26 @@
+local methods = {}
+
+methods['local'] = require 'searcher.local'
+methods['getlocal'] = require 'searcher.getlocal'
+methods['setlocal'] = methods['getlocal']
+methods['getglobal'] = require 'searcher.getglobal'
+methods['setglobal'] = methods['getglobal']
+methods['getfield'] = require 'searcher.getfield'
+methods['setfield'] = methods['getfield']
+methods['tablefield'] = require 'searcher.tablefield'
+methods['getmethod'] = methods['getfield']
+methods['setmethod'] = methods['getfield']
+methods['getindex'] = methods['getfield']
+methods['setindex'] = methods['getfield']
+methods['field'] = require 'searcher.field'
+methods['method'] = require 'searcher.method'
+methods['index'] = require 'searcher.index'
+methods['number'] = require 'searcher.number'
+methods['boolean'] = require 'searcher.boolean'
+methods['string'] = require 'searcher.string'
+methods['table'] = require 'searcher.table'
+methods['select'] = require 'searcher.select'
+methods['goto'] = require 'searcher.goto'
+methods['label'] = require 'searcher.label'
+
+return methods