aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/unicode/macro.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/outputs/unicode/macro.lua')
-rw-r--r--spec/outputs/unicode/macro.lua95
1 files changed, 60 insertions, 35 deletions
diff --git a/spec/outputs/unicode/macro.lua b/spec/outputs/unicode/macro.lua
index 099080f..b4e78cd 100644
--- a/spec/outputs/unicode/macro.lua
+++ b/spec/outputs/unicode/macro.lua
@@ -215,24 +215,8 @@ do
215-- 这有个注释 215-- 这有个注释
216end 216end
217local _ = require('下划线') 217local _ = require('下划线')
218local _call_0 = (_({ 218local _anon_func_0 = function(_)
219 1, 219 local _call_0 = (_({
220 2,
221 3,
222 4,
223 -2,
224 3
225}))
226_call_0 = _call_0["链"](_call_0)
227_call_0 = _call_0["映射"](_call_0, function(self)
228 return self * 2
229end)
230_call_0 = _call_0["过滤"](_call_0, function(self)
231 return self > 3
232end)
233local _u7ed3_u679ca = _call_0["取值"](_call_0)
234do
235 local _call_1 = (_({
236 1, 220 1,
237 2, 221 2,
238 3, 222 3,
@@ -240,27 +224,70 @@ do
240 -2, 224 -2,
241 3 225 3
242 })) 226 }))
243 _call_1 = _call_1["链"](_call_1) 227 return _call_0["链"](_call_0)
244 _call_1 = _call_1["映射"](_call_1, function(self) 228end
245 return self * 2 229local _call_0 = ((function()
246 end) 230 local _call_0 = ((function()
247 _call_1 = _call_1["过滤"](_call_1, function(self) 231 local _call_0 = (_anon_func_0(_))
232 return _call_0["映射"](_call_0, function(self)
233 return self * 2
234 end)
235 end)())
236 return _call_0["过滤"](_call_0, function(self)
248 return self > 3 237 return self > 3
249 end) 238 end)
239end)())
240local _u7ed3_u679ca = _call_0["取值"](_call_0)
241local _anon_func_1 = function(_)
242 local _call_1 = (_({
243 1,
244 2,
245 3,
246 4,
247 -2,
248 3
249 }))
250 return _call_1["链"](_call_1)
251end
252do
253 local _call_1 = ((function()
254 local _call_1 = ((function()
255 local _call_1 = (_anon_func_1(_))
256 return _call_1["映射"](_call_1, function(self)
257 return self * 2
258 end)
259 end)())
260 return _call_1["过滤"](_call_1, function(self)
261 return self > 3
262 end)
263 end)())
250 _call_1["每一个"](_call_1, function(self) 264 _call_1["每一个"](_call_1, function(self)
251 return _u6253_u5370(self) 265 return _u6253_u5370(self)
252 end) 266 end)
253end 267end
254local _call_1 = _u539f_u70b9["变换"]["根节点"]["游戏对象"] 268local _anon_func_2 = function(_u539f_u70b9)
255_call_1 = _call_1["父节点"](_call_1) 269 local _call_1 = _u539f_u70b9["变换"]["根节点"]["游戏对象"]
256_call_1 = _call_1["后代"](_call_1) 270 return _call_1["父节点"](_call_1)
257_call_1 = _call_1["选择启用"](_call_1) 271end
258_call_1 = _call_1["选择可见"](_call_1) 272local _call_1 = ((function()
259_call_1 = _call_1["标签等于"](_call_1, "fx") 273 local _call_1 = ((function()
260_call_1 = _call_1["其中"](_call_1, function(x) 274 local _call_1 = ((function()
261 local _call_2 = x["名称"] 275 local _call_1 = ((function()
262 return _call_2["结尾为"](_call_2, "(克隆)") 276 local _call_1 = ((function()
263end) 277 local _call_1 = (_anon_func_2(_u539f_u70b9))
278 return _call_1["后代"](_call_1)
279 end)())
280 return _call_1["选择启用"](_call_1)
281 end)())
282 return _call_1["选择可见"](_call_1)
283 end)())
284 return _call_1["标签等于"](_call_1, "fx")
285 end)())
286 return _call_1["其中"](_call_1, function(x)
287 local _call_2 = x["名称"]
288 return _call_2["结尾为"](_call_2, "(克隆)")
289 end)
290end)())
264_u7ed3_u679c = _call_1["摧毁"](_call_1) 291_u7ed3_u679c = _call_1["摧毁"](_call_1)
265do 292do
266 do 293 do
@@ -332,10 +359,8 @@ local _1
332_1 = function() 359_1 = function()
333 _u6253_u5370(1) 360 _u6253_u5370(1)
334 local _accum_0 = { } 361 local _accum_0 = { }
335 local _len_0 = 1
336 while false do 362 while false do
337 break 363 break
338 _len_0 = _len_0 + 1
339 end 364 end
340 return _accum_0 365 return _accum_0
341end 366end