summaryrefslogtreecommitdiff
path: root/server/src/vm/dots.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/vm/dots.lua')
-rw-r--r--server/src/vm/dots.lua28
1 files changed, 0 insertions, 28 deletions
diff --git a/server/src/vm/dots.lua b/server/src/vm/dots.lua
deleted file mode 100644
index e9a1ac15..00000000
--- a/server/src/vm/dots.lua
+++ /dev/null
@@ -1,28 +0,0 @@
-local createValue = require 'vm.value'
-
-local mt = {}
-mt.__index = mt
-mt.type = 'dots'
-
-function mt:set(n, value)
- self[n] = value
-end
-
-function mt:get(expect)
- local result = {}
- if expect then
- for i = 1, expect do
- result[i] = self[i] or createValue('any')
- end
- else
- for i = 1, #self do
- result[i] = self[i]
- end
- end
- return result
-end
-
-return function ()
- local self = setmetatable({}, mt)
- return self
-end