summaryrefslogtreecommitdiff
path: root/server-beta/src/seacher/methods.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/seacher/methods.lua
parent1f0a645cddeae4caba21c655651d97b5313d2302 (diff)
downloadlua-language-server-863f1fc0350fff0d7b7e2a376d82ccaaf301f4ce.zip
整理代码
Diffstat (limited to 'server-beta/src/seacher/methods.lua')
-rw-r--r--server-beta/src/seacher/methods.lua26
1 files changed, 26 insertions, 0 deletions
diff --git a/server-beta/src/seacher/methods.lua b/server-beta/src/seacher/methods.lua
new file mode 100644
index 00000000..a23350bf
--- /dev/null
+++ b/server-beta/src/seacher/methods.lua
@@ -0,0 +1,26 @@
+local methods = {}
+
+methods['local'] = require 'seacher.local'
+methods['getlocal'] = require 'seacher.getlocal'
+methods['setlocal'] = methods['getlocal']
+methods['getglobal'] = require 'seacher.getglobal'
+methods['setglobal'] = methods['getglobal']
+methods['getfield'] = require 'seacher.getfield'
+methods['setfield'] = methods['getfield']
+methods['tablefield'] = require 'seacher.tablefield'
+methods['getmethod'] = methods['getfield']
+methods['setmethod'] = methods['getfield']
+methods['getindex'] = methods['getfield']
+methods['setindex'] = methods['getfield']
+methods['field'] = require 'seacher.field'
+methods['method'] = require 'seacher.method'
+methods['index'] = require 'seacher.index'
+methods['number'] = require 'seacher.number'
+methods['boolean'] = require 'seacher.boolean'
+methods['string'] = require 'seacher.string'
+methods['table'] = require 'seacher.table'
+methods['select'] = require 'seacher.select'
+methods['goto'] = require 'seacher.goto'
+methods['label'] = require 'seacher.label'
+
+return methods