summaryrefslogtreecommitdiff
path: root/script/vm/compiler.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-02-10 17:36:24 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-02-10 17:36:24 +0800
commite5f4b3051b23442f5181b4752f951023718ceed6 (patch)
treeb2e2b3ed7589de000faa2b1b96c1145cf1a7a772 /script/vm/compiler.lua
parente81e3400f29bf310e05afb9305a2cfa1c3271873 (diff)
downloadlua-language-server-e5f4b3051b23442f5181b4752f951023718ceed6.zip
update
Diffstat (limited to 'script/vm/compiler.lua')
-rw-r--r--script/vm/compiler.lua25
1 files changed, 0 insertions, 25 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua
deleted file mode 100644
index 51fc5962..00000000
--- a/script/vm/compiler.lua
+++ /dev/null
@@ -1,25 +0,0 @@
-local files = require 'files'
-
----@class vm.compiler
-local m = {}
-
-for uri in files.eachFile() do
- local state = files.getState(uri)
- if state then
- --m.compileGlobalNodes(state.ast)
- end
-end
-
-files.watch(function (ev, uri)
- if ev == 'update' then
- local state = files.getState(uri)
- if state then
- --m.compileGlobalNodes(state.ast)
- end
- end
- if ev == 'remove' then
- --collector:dropUri(uri)
- end
-end)
-
-return m