summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-03-02 20:51:58 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-03-02 20:51:58 +0800
commit98ec375b0d758a4bd206149aef5f9d2d84878962 (patch)
treee9dddc46773b5b536b16c5c7df0fe0662c55c4c7 /script
parentbbf4d92a166bb8676f8c7e9a5f735a81c5ed2b03 (diff)
downloadlua-language-server-98ec375b0d758a4bd206149aef5f9d2d84878962.zip
cleanup
Diffstat (limited to 'script')
-rw-r--r--script/vm/compiler.lua (renamed from script/vm/node/compiler.lua)2
-rw-r--r--script/vm/getDef.lua2
-rw-r--r--script/vm/global-manager.lua2
-rw-r--r--script/vm/global.lua (renamed from script/vm/node/global.lua)0
-rw-r--r--script/vm/union.lua (renamed from script/vm/node/union.lua)0
5 files changed, 3 insertions, 3 deletions
diff --git a/script/vm/node/compiler.lua b/script/vm/compiler.lua
index 156c4a74..3af72110 100644
--- a/script/vm/node/compiler.lua
+++ b/script/vm/compiler.lua
@@ -1,6 +1,6 @@
local guide = require 'parser.guide'
local util = require 'utility'
-local union = require 'vm.node.union'
+local union = require 'vm.union'
local localID = require 'vm.local-id'
local localMgr = require 'vm.local-manager'
local globalMgr = require 'vm.global-manager'
diff --git a/script/vm/getDef.lua b/script/vm/getDef.lua
index 7f9acb04..b6897bea 100644
--- a/script/vm/getDef.lua
+++ b/script/vm/getDef.lua
@@ -1,7 +1,7 @@
---@class vm
local vm = require 'vm.vm'
local util = require 'utility'
-local compiler = require 'vm.node.compiler'
+local compiler = require 'vm.compiler'
local guide = require 'parser.guide'
local localID = require 'vm.local-id'
local globalMgr = require 'vm.global-manager'
diff --git a/script/vm/global-manager.lua b/script/vm/global-manager.lua
index fb84ffcd..e59e4930 100644
--- a/script/vm/global-manager.lua
+++ b/script/vm/global-manager.lua
@@ -1,6 +1,6 @@
local util = require 'utility'
local guide = require 'parser.guide'
-local globalBuilder = require 'vm.node.global'
+local globalBuilder = require 'vm.global'
---@class parser.object
---@field _globalNode vm.node.global
diff --git a/script/vm/node/global.lua b/script/vm/global.lua
index d5974e63..d5974e63 100644
--- a/script/vm/node/global.lua
+++ b/script/vm/global.lua
diff --git a/script/vm/node/union.lua b/script/vm/union.lua
index f0c259df..f0c259df 100644
--- a/script/vm/node/union.lua
+++ b/script/vm/union.lua