summaryrefslogtreecommitdiff
path: root/script/vm/node.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-19 03:23:43 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-19 03:23:43 +0800
commitc8a4a575caf8e1cc4a44b26dd824112e790782ac (patch)
tree19e323387059cb56073b607301d3a5c8b305e878 /script/vm/node.lua
parentfa191ea61477047c4754b730f129f96239ddb93e (diff)
downloadlua-language-server-c8a4a575caf8e1cc4a44b26dd824112e790782ac.zip
cleanup
Diffstat (limited to 'script/vm/node.lua')
-rw-r--r--script/vm/node.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/script/vm/node.lua b/script/vm/node.lua
index 81405c48..99bc3340 100644
--- a/script/vm/node.lua
+++ b/script/vm/node.lua
@@ -93,6 +93,10 @@ function mt:isFalsy()
return false
end
+function mt:removeFalsy()
+
+end
+
---@return fun():vm.object
function mt:eachObject()
local i = 0
@@ -133,6 +137,7 @@ function vm.setNode(source, node, cover)
end
end
+---@param source vm.object
---@return vm.node?
function vm.getNode(source)
return vm.nodeCache[source]