diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-10-14 20:31:55 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-10-14 20:31:55 +0800 |
commit | b735bbc94ce68bd1a7b66f2f2b195e4951508d42 (patch) | |
tree | ed408652a912cc98768ffa8fadc6798e8e718272 /server-beta/src/core/engineer.lua | |
parent | 94e9133d7b25050212bbda323ef83f30142352e8 (diff) | |
download | lua-language-server-b735bbc94ce68bd1a7b66f2f2b195e4951508d42.zip |
整理代码
Diffstat (limited to 'server-beta/src/core/engineer.lua')
-rw-r--r-- | server-beta/src/core/engineer.lua | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/server-beta/src/core/engineer.lua b/server-beta/src/core/engineer.lua index 9171af39..1afdd153 100644 --- a/server-beta/src/core/engineer.lua +++ b/server-beta/src/core/engineer.lua @@ -11,22 +11,24 @@ local mt = {} mt.__index = mt mt.type = 'engineer' -mt['local'] = require 'core.local' -mt['getlocal'] = require 'core.getlocal' -mt['setlocal'] = mt['getlocal'] -mt['getglobal'] = require 'core.getglobal' -mt['setglobal'] = mt['getglobal'] -mt['getfield'] = require 'core.getfield' -mt['field'] = require 'core.field' -mt['method'] = require 'core.method' -mt['index'] = require 'core.index' -mt['number'] = require 'core.number' -mt['boolean'] = require 'core.boolean' -mt['string'] = require 'core.string' -mt['table'] = require 'core.table' -mt['select'] = require 'core.select' -mt['goto'] = require 'core.goto' -mt['label'] = require 'core.label' +mt['local'] = require 'core.local' +mt['getlocal'] = require 'core.getlocal' +mt['setlocal'] = mt['getlocal'] +mt['getglobal'] = require 'core.getglobal' +mt['setglobal'] = mt['getglobal'] +mt['getfield'] = require 'core.getfield' +mt['setfield'] = require 'core.setfield' +mt['tablefield'] = require 'core.tablefield' +mt['field'] = require 'core.field' +mt['method'] = require 'core.method' +mt['index'] = require 'core.index' +mt['number'] = require 'core.number' +mt['boolean'] = require 'core.boolean' +mt['string'] = require 'core.string' +mt['table'] = require 'core.table' +mt['select'] = require 'core.select' +mt['goto'] = require 'core.goto' +mt['label'] = require 'core.label' local specials = { ['_G'] = true, |