summaryrefslogtreecommitdiff
path: root/script/vm/compiler.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-07-06 19:02:23 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-07-06 19:02:23 +0800
commit26e0310a410820650832f8576154c9b7ee183324 (patch)
tree3979fdaa48bdc223c2af9dd17b3f7a5f4764b8f6 /script/vm/compiler.lua
parent91ab8e7b4c3c17da0a1bcdfb02a38c23cc786910 (diff)
downloadlua-language-server-26e0310a410820650832f8576154c9b7ee183324.zip
support unary operator
Diffstat (limited to 'script/vm/compiler.lua')
-rw-r--r--script/vm/compiler.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua
index beb6e4e5..a13f1e3a 100644
--- a/script/vm/compiler.lua
+++ b/script/vm/compiler.lua
@@ -12,6 +12,7 @@ local vm = require 'vm.vm'
---@field _globalBase table
---@field cindex integer
---@field func parser.object
+---@field operators? parser.object[]
-- 该函数有副作用,会给source绑定node!
---@param source parser.object