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.lua101
1 files changed, 62 insertions, 39 deletions
diff --git a/spec/outputs/unicode/macro.lua b/spec/outputs/unicode/macro.lua
index e2195e4..b4e78cd 100644
--- a/spec/outputs/unicode/macro.lua
+++ b/spec/outputs/unicode/macro.lua
@@ -167,13 +167,11 @@ end
167do 167do
168 local _u53d8_u91cfa = 8 168 local _u53d8_u91cfa = 8
169 _u53d8_u91cfa = (function() 169 _u53d8_u91cfa = (function()
170 local _u53d8_u91cfa 170 local _u53d8_u91cfa = 1
171 _u53d8_u91cfa = 1
172 return _u53d8_u91cfa + 1 171 return _u53d8_u91cfa + 1
173 end)() 172 end)()
174 _u53d8_u91cfa = _u53d8_u91cfa + (function() 173 _u53d8_u91cfa = _u53d8_u91cfa + (function()
175 local _u53d8_u91cfa 174 local _u53d8_u91cfa = 1
176 _u53d8_u91cfa = 1
177 return _u53d8_u91cfa + 1 175 return _u53d8_u91cfa + 1
178 end)() 176 end)()
179 _u6253_u5370(_u53d8_u91cfa) 177 _u6253_u5370(_u53d8_u91cfa)
@@ -217,24 +215,8 @@ do
217-- 这有个注释 215-- 这有个注释
218end 216end
219local _ = require('下划线') 217local _ = require('下划线')
220local _call_0 = (_({ 218local _anon_func_0 = function(_)
221 1, 219 local _call_0 = (_({
222 2,
223 3,
224 4,
225 -2,
226 3
227}))
228_call_0 = _call_0["链"](_call_0)
229_call_0 = _call_0["映射"](_call_0, function(self)
230 return self * 2
231end)
232_call_0 = _call_0["过滤"](_call_0, function(self)
233 return self > 3
234end)
235local _u7ed3_u679ca = _call_0["取值"](_call_0)
236do
237 local _call_1 = (_({
238 1, 220 1,
239 2, 221 2,
240 3, 222 3,
@@ -242,27 +224,70 @@ do
242 -2, 224 -2,
243 3 225 3
244 })) 226 }))
245 _call_1 = _call_1["链"](_call_1) 227 return _call_0["链"](_call_0)
246 _call_1 = _call_1["映射"](_call_1, function(self) 228end
247 return self * 2 229local _call_0 = ((function()
248 end) 230 local _call_0 = ((function()
249 _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)
250 return self > 3 237 return self > 3
251 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)())
252 _call_1["每一个"](_call_1, function(self) 264 _call_1["每一个"](_call_1, function(self)
253 return _u6253_u5370(self) 265 return _u6253_u5370(self)
254 end) 266 end)
255end 267end
256local _call_1 = _u539f_u70b9["变换"]["根节点"]["游戏对象"] 268local _anon_func_2 = function(_u539f_u70b9)
257_call_1 = _call_1["父节点"](_call_1) 269 local _call_1 = _u539f_u70b9["变换"]["根节点"]["游戏对象"]
258_call_1 = _call_1["后代"](_call_1) 270 return _call_1["父节点"](_call_1)
259_call_1 = _call_1["选择启用"](_call_1) 271end
260_call_1 = _call_1["选择可见"](_call_1) 272local _call_1 = ((function()
261_call_1 = _call_1["标签等于"](_call_1, "fx") 273 local _call_1 = ((function()
262_call_1 = _call_1["其中"](_call_1, function(x) 274 local _call_1 = ((function()
263 local _call_2 = x["名称"] 275 local _call_1 = ((function()
264 return _call_2["结尾为"](_call_2, "(克隆)") 276 local _call_1 = ((function()
265end) 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)())
266_u7ed3_u679c = _call_1["摧毁"](_call_1) 291_u7ed3_u679c = _call_1["摧毁"](_call_1)
267do 292do
268 do 293 do
@@ -334,10 +359,8 @@ local _1
334_1 = function() 359_1 = function()
335 _u6253_u5370(1) 360 _u6253_u5370(1)
336 local _accum_0 = { } 361 local _accum_0 = { }
337 local _len_0 = 1
338 while false do 362 while false do
339 break 363 break
340 _len_0 = _len_0 + 1
341 end 364 end
342 return _accum_0 365 return _accum_0
343end 366end