summaryrefslogtreecommitdiff
path: root/script/vm
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-12 18:17:15 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-12 18:17:15 +0800
commit3b194eccf878918e7202a98f4765c3015eb93d28 (patch)
tree62b2c29978892f8ff135176097e9463e53b2aaad /script/vm
parent38384f5e47bf8f7b7bc33a1c326250a8ee03b767 (diff)
downloadlua-language-server-3b194eccf878918e7202a98f4765c3015eb93d28.zip
`---@class` can be re-declared
Diffstat (limited to 'script/vm')
-rw-r--r--script/vm/eachDef.lua2
-rw-r--r--script/vm/eachRef.lua2
-rw-r--r--script/vm/getDocs.lua2
-rw-r--r--script/vm/getGlobals.lua2
-rw-r--r--script/vm/getLinks.lua2
-rw-r--r--script/vm/vm.lua2
6 files changed, 6 insertions, 6 deletions
diff --git a/script/vm/eachDef.lua b/script/vm/eachDef.lua
index 2bfad4bf..ea14ed9f 100644
--- a/script/vm/eachDef.lua
+++ b/script/vm/eachDef.lua
@@ -1,4 +1,4 @@
----@type vm
+---@class vm
local vm = require 'vm.vm'
local searcher = require 'core.searcher'
diff --git a/script/vm/eachRef.lua b/script/vm/eachRef.lua
index 35425818..899c04c6 100644
--- a/script/vm/eachRef.lua
+++ b/script/vm/eachRef.lua
@@ -1,4 +1,4 @@
----@type vm
+---@class vm
local vm = require 'vm.vm'
local searcher = require 'core.searcher'
diff --git a/script/vm/getDocs.lua b/script/vm/getDocs.lua
index ff6e6ba3..3a0765bf 100644
--- a/script/vm/getDocs.lua
+++ b/script/vm/getDocs.lua
@@ -1,6 +1,6 @@
local files = require 'files'
local guide = require 'parser.guide'
----@type vm
+---@class vm
local vm = require 'vm.vm'
local config = require 'config'
local collector = require 'core.collector'
diff --git a/script/vm/getGlobals.lua b/script/vm/getGlobals.lua
index 6dacda43..92fd1c8e 100644
--- a/script/vm/getGlobals.lua
+++ b/script/vm/getGlobals.lua
@@ -1,6 +1,6 @@
local collector = require 'core.collector'
local guide = require 'parser.guide'
----@type vm
+---@class vm
local vm = require 'vm.vm'
local noder = require 'core.noder'
diff --git a/script/vm/getLinks.lua b/script/vm/getLinks.lua
index d2332504..b245bdaa 100644
--- a/script/vm/getLinks.lua
+++ b/script/vm/getLinks.lua
@@ -1,5 +1,5 @@
local guide = require 'parser.guide'
----@type vm
+---@class vm
local vm = require 'vm.vm'
local files = require 'files'
diff --git a/script/vm/vm.lua b/script/vm/vm.lua
index 6abaaa0e..aa18ea73 100644
--- a/script/vm/vm.lua
+++ b/script/vm/vm.lua
@@ -14,7 +14,7 @@ local weakMT = { __mode = 'kv' }
_ENV = nil
----@type vm
+---@class vm
local m = {}
function m.getArgInfo(source)