summaryrefslogtreecommitdiff
path: root/server-beta/src/searcher/methods.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-10-23 11:44:11 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-10-23 11:44:11 +0800
commit373cc0d6b746fef04ca353d05defc7f4d6324faa (patch)
treebafb5165d7a5e79a5c5bc9ea94e7a8c496722665 /server-beta/src/searcher/methods.lua
parentcf3fb4859d6255fd6c5d4e4f448766db8f407389 (diff)
downloadlua-language-server-373cc0d6b746fef04ca353d05defc7f4d6324faa.zip
整理代码
Diffstat (limited to 'server-beta/src/searcher/methods.lua')
-rw-r--r--server-beta/src/searcher/methods.lua26
1 files changed, 26 insertions, 0 deletions
diff --git a/server-beta/src/searcher/methods.lua b/server-beta/src/searcher/methods.lua
new file mode 100644
index 00000000..498978dd
--- /dev/null
+++ b/server-beta/src/searcher/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