aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/unicode/tables.lua
diff options
context:
space:
mode:
Diffstat (limited to 'spec/outputs/unicode/tables.lua')
-rw-r--r--spec/outputs/unicode/tables.lua594
1 files changed, 594 insertions, 0 deletions
diff --git a/spec/outputs/unicode/tables.lua b/spec/outputs/unicode/tables.lua
new file mode 100644
index 0000000..28ad6e2
--- /dev/null
+++ b/spec/outputs/unicode/tables.lua
@@ -0,0 +1,594 @@
1local _u80cc_u5305 = {
2 ["东西"] = {
3 ["是的"] = 200,
4 ["他们"] = function()
5 print("你好")
6 return _u4f60_u7684_u811a("小")
7 end,
8 ["美丽"] = _u5934_u53d1_u53d8_u91cf,
9 ["金"] = _u55ef_u53d8_u91cf
10 },
11 ["您"] = 1000,
12 ["吃"] = goo_u53d8_u91cf,
13 ["是的"] = dudd_u53d8_u91cf
14}
15local _u5f00_u59cb = {
16 ["东西"] = "冷"
17}
18local _u6d74 = {
19 ["开"] = "火"
20}
21local _u53e6_u4e00_u4e2a = {
22 [4] = 232,
23 ["好食物"] = "是最好的"
24}
25local fwip_u53d8_u91cf = {
26 ["东西"] = _u4f60_u597d("什么"),
27 ["数字"] = 2323,
28 ["什么"] = yo_u53d8_u91cf("妈妈", "是的"),
29 ["水果"] = basket_u53d8_u91cf,
30 ["坚果"] = day_u53d8_u91cf
31}
32local frick_u53d8_u91cf = {
33 ["你好"] = "世界"
34}
35local frack_u53d8_u91cf, _u6700_u597d = {
36 ["你好"] = "世界",
37 ["米饭"] = 3434
38}, "什么"
39local ya_u53d8_u91cf = {
40 1,
41 2,
42 3,
43 ["键"] = 100,
44 343,
45 "你好",
46 ["嗯"] = 232
47}
48local x_u53d8_u91cf = {
49 1,
50 2,
51 4343,
52 343,
53 343
54}
55local g_u53d8_u91cf, p_u53d8_u91cf = {
56 1,
57 2,
58 ["nowy变量"] = "是",
59 3,
60 4,
61 ["嘿"] = 232,
62 ["另一个"] = "天"
63}, 234
64local annother_u53d8_u91cf = {
65 1,
66 2,
67 3,
68 3,
69 4,
70 5,
71 6,
72 7,
73 8
74}
75local _u662f_u7684_u53d8_u91cf = {
76 [232] = 3434,
77 "你好",
78 ["冰"] = "蛋糕"
79}
80local whatabout_u53d8_u91cf = {
81 _u4f60_u597d(_u4e16_u754c, _u53e6_u4e00_u4e2a_u53d8_u91cf),
82 _u4ec0_u4e48,
83 _u5173_u4e8e,
84 _u73b0_u5728,
85 _u4f60_u597d("世界"),
86 _u662f_u7684_u53d8_u91cf,
87 _u4f60_u597d("世界", _u662f_u7684_u53d8_u91cf)
88}
89x_u53d8_u91cf = {
90 ["东西"] = function(self)
91 return "你好"
92 end,
93 ["酷"] = {
94 ["床"] = {
95 2323,
96 2323
97 },
98 ["红"] = 2343
99 },
100 ["名字"] = function(self, node_u53d8_u91cf)
101 return self:value(node_u53d8_u91cf)
102 end
103}
104x_u53d8_u91cf = {
105 ["东西"] = _u4e1c_u897f,
106 ["东西"] = _u4e1c_u897f_u53d8_u91cf
107}
108local y_u53d8_u91cf = {
109 ["你好"] = _u4f60_u597d,
110 ["那里"] = _u90a3_u91cc,
111 ["怎么样"] = _u600e_u4e48_u6837,
112 ["你"] = _u4f60,
113 ["事情"] = _u4e8b_u60c5
114}
115_u7535_u8bdd_u6211("你好", {
116 ["x变量"] = x_u53d8_u91cf,
117 ["y变量"] = y_u53d8_u91cf,
118 ["z变量"] = z_u53d8_u91cf
119})
120local t_u53d8_u91cf = {
121 ["a变量"] = 'a',
122 [b_u53d8_u91cf] = 'b'
123}
124local xam_u53d8_u91cf = {
125 ["你好"] = 1234,
126 ["你好"] = 12354,
127 [ [[你好变量]]] = 12354,
128 ["你好"] = 12354,
129 [ [[你好变量]]] = 12354
130}
131local kam_u53d8_u91cf = {
132 ["你好"] = 12,
133 ["好奶酪"] = "嗯",
134 ["是的"] = 12 + 232,
135 ["让我们"] = keepit({
136 ["继续"] = _u771f_u7684,
137 ["好的"] = "是的"
138 }),
139 ["更多"] = {
140 1,
141 (function()
142 local _accum_0 = { }
143 local _len_0 = 1
144 for x_u53d8_u91cf = 1, 10 do
145 _accum_0[_len_0] = x_u53d8_u91cf
146 _len_0 = _len_0 + 1
147 end
148 return _accum_0
149 end)()
150 },
151 [{
152 "一个",
153 "两个"
154 }] = _u4e00_u4ef6_u4e8b_u60c5(function(self) end)
155}
156keepit({
157 ["继续"] = _u771f_u7684,
158 ["好的"] = "是的",
159 ["workd变量"] = "好的"
160})
161_u4e8b_u60c5({
162 ["什么"] = "伟大",
163 ["没有"] = "更多",
164 ["好的"] = 123
165})
166_u4e8b_u60c5({
167 ["什么"] = "伟大",
168 ["没有"] = "更多"
169})
170local __u53d8_u91cf = {
171 ["好的"] = 123
172}
173local k_u53d8_u91cf = {
174 ["你好"] = "世界"
175}
176k_u53d8_u91cf = {
177 ['你好'] = '世界'
178}
179k_u53d8_u91cf = {
180 ["你好"] = '世界',
181 ["帽子"] = "zat变量"
182}
183_u8bf7({
184 ["你好"] = "世界"
185})
186k_u53d8_u91cf = {
187 ["你好"] = "世界",
188 ["一个"] = "区域"
189}
190local f1_u53d8_u91cf, f2_u53d8_u91cf, f3_u53d8_u91cf = "一个", {
191 ["两个"] = three_u53d8_u91cf
192}, "四"
193f1_u53d8_u91cf, f2_u53d8_u91cf = {
194 ["两个"] = three_u53d8_u91cf
195}, "四"
196f1_u53d8_u91cf = {
197 "一个",
198 ["两个"] = three_u53d8_u91cf,
199 "四"
200}
201local j1_u53d8_u91cf, j2_u53d8_u91cf, j3_u53d8_u91cf, j4_u53d8_u91cf = "一个", {
202 ["两个"] = three_u53d8_u91cf,
203 ["四"] = five_u53d8_u91cf
204}, 6, 7
205local _u5973_u82f1_u96c4 = {
206 ["名字"] = "克里斯蒂娜",
207 ["年龄"] = 18,
208 ["工作"] = "公主",
209 ["喜欢"] = {
210 {
211 ["名字"] = "小猫",
212 ["img变量"] = "/image/kittens.png"
213 },
214 {
215 ["名字"] = "花",
216 ["img变量"] = "/image/flower.png"
217 }
218 },
219 ["物品"] = {
220 {
221 ["名字"] = "戒指",
222 ["数量"] = 2
223 },
224 {
225 ["名字"] = "项链",
226 ["数量"] = 1
227 }
228 },
229 ["状态"] = {
230 ["desc变量"] = "弱",
231 {
232 ["属性"] = "健康",
233 ["价值"] = 50
234 },
235 {
236 ["属性"] = "魔法",
237 ["价值"] = 100
238 }
239 }
240}
241local _u5e93_u5b58 = {
242 ["设备"] = {
243 "剑",
244 "盾"
245 },
246 ["物品"] = {
247 {
248 ["名字"] = "药水",
249 ["计数"] = 10
250 },
251 {
252 ["名字"] = "面包",
253 ["计数"] = 3
254 }
255 }
256}
257local _u7269_u54c1 = {
258 _u51fd_u6570(),
259 (function()
260 local _with_0 = _u53d8_u91cftb
261 _with_0.abc = 123
262 return _with_0
263 end)(),
264 {
265 1,
266 2,
267 3
268 },
269 _u51fd_u6570({
270 1,
271 2,
272 3
273 }),
274 _u51fd_u6570({
275 1,
276 2,
277 3
278 }),
279 (function()
280 local _accum_0 = { }
281 local _len_0 = 1
282 for _u53d8_u91cfi = 1, 3 do
283 _accum_0[_len_0] = _u53d8_u91cfi
284 _len_0 = _len_0 + 1
285 end
286 return _accum_0
287 end)(),
288 tostring((function()
289 if _u53d8_u91cfa then
290 return _u53d8_u91cfb
291 end
292 end)())
293}
294local _u53cc_u9879 = {
295 {
296 "国王",
297 "王后"
298 },
299 {
300 "英雄",
301 "公主"
302 }
303}
304_u7269_u54c1 = {
305 {
306 ["名称"] = "戒指",
307 ["数量"] = 2
308 },
309 {
310 ["名称"] = "项链",
311 ["数量"] = 1
312 }
313}
314local _u83dc_u5355 = {
315 {
316 ["文本"] = "保存",
317 ["子菜单"] = {
318 {
319 ["文本"] = "插槽1:" .. (_u63d2_u69fd[1]["名称"] or "无"),
320 ["点击"] = function() end
321 },
322 {
323 ["文本"] = {
324 "插槽2"
325 },
326 ["点击"] = function() end
327 },
328 {
329 ["文本"] = [[插槽3]],
330 ["点击"] = function() end
331 },
332 {
333 ["文本"] = (function()
334 local _call_0 = ("插槽4")
335 return _call_0["名称"](_call_0)
336 end)(),
337 ["点击"] = function() end
338 },
339 {
340 ["文本"] = (function()
341 local _call_0 = ({
342 {
343 "插槽5"
344 }
345 })[1]
346 return _call_0["名称"](_call_0)
347 end)(),
348 ["点击"] = function() end
349 },
350 [6] = {
351 ["文本"] = ("插槽6"),
352 ["点击"] = function() end
353 }
354 }
355 }
356}
357local _u53d8_u91cftb
358do
359 local _tab_0 = { }
360 local _idx_0 = 1
361 for _key_0, _value_0 in pairs(_u5176_u4ed6) do
362 if _idx_0 == _key_0 then
363 _tab_0[#_tab_0 + 1] = _value_0
364 _idx_0 = _idx_0 + 1
365 else
366 _tab_0[_key_0] = _value_0
367 end
368 end
369 _u53d8_u91cftb = _tab_0
370end
371local tb_u6df7_u5408
372do
373 local _tab_0 = {
374 1,
375 2,
376 3
377 }
378 local _obj_0
379 _u7269_u54c1.x = 1
380 _u7269_u54c1["函数"](_u7269_u54c1)
381 _obj_0 = _u7269_u54c1
382 local _idx_0 = 1
383 for _key_0, _value_0 in pairs(_obj_0) do
384 if _idx_0 == _key_0 then
385 _tab_0[#_tab_0 + 1] = _value_0
386 _idx_0 = _idx_0 + 1
387 else
388 _tab_0[_key_0] = _value_0
389 end
390 end
391 _tab_0[#_tab_0 + 1] = "a"
392 _tab_0[#_tab_0 + 1] = "b"
393 _tab_0[#_tab_0 + 1] = "c"
394 local _obj_1
395 do
396 local _obj_2 = _u51fd_u6570
397 if _obj_2 ~= nil then
398 _obj_1 = _obj_2()
399 end
400 end
401 local _idx_1 = 1
402 for _key_0, _value_0 in pairs(_obj_1) do
403 if _idx_1 == _key_0 then
404 _tab_0[#_tab_0 + 1] = _value_0
405 _idx_1 = _idx_1 + 1
406 else
407 _tab_0[_key_0] = _value_0
408 end
409 end
410 _tab_0["键"] = "值"
411 for _index_0 = 1, select('#', ...) do
412 _tab_0[#_tab_0 + 1] = select(_index_0, ...)
413 end
414 tb_u6df7_u5408 = _tab_0
415end
416local tb_u6df7_u5408A
417do
418 local _tab_0 = { }
419 local _obj_0
420 do
421 local _accum_0 = { }
422 local _len_0 = 1
423 for _u53d8_u91cfi = 1, 10 do
424 _accum_0[_len_0] = _u53d8_u91cfi
425 _len_0 = _len_0 + 1
426 end
427 _obj_0 = _accum_0
428 end
429 local _idx_0 = 1
430 for _key_0, _value_0 in pairs(_obj_0) do
431 if _idx_0 == _key_0 then
432 _tab_0[#_tab_0 + 1] = _value_0
433 _idx_0 = _idx_0 + 1
434 else
435 _tab_0[_key_0] = _value_0
436 end
437 end
438 _tab_0[#_tab_0 + 1] = 11
439 tb_u6df7_u5408A = _tab_0
440end
441local tb_u6df7_u5408B
442do
443 local _tab_0 = { }
444 local _obj_0 = ...
445 local _idx_0 = 1
446 for _key_0, _value_0 in pairs(_obj_0) do
447 if _idx_0 == _key_0 then
448 _tab_0[#_tab_0 + 1] = _value_0
449 _idx_0 = _idx_0 + 1
450 else
451 _tab_0[_key_0] = _value_0
452 end
453 end
454 local _obj_1 = {
455 ...
456 }
457 local _idx_1 = 1
458 for _key_0, _value_0 in pairs(_obj_1) do
459 if _idx_1 == _key_0 then
460 _tab_0[#_tab_0 + 1] = _value_0
461 _idx_1 = _idx_1 + 1
462 else
463 _tab_0[_key_0] = _value_0
464 end
465 end
466 local _obj_2
467 do
468 local _tab_1 = { }
469 local _obj_3 = ...
470 local _idx_2 = 1
471 for _key_0, _value_0 in pairs(_obj_3) do
472 if _idx_2 == _key_0 then
473 _tab_1[#_tab_1 + 1] = _value_0
474 _idx_2 = _idx_2 + 1
475 else
476 _tab_1[_key_0] = _value_0
477 end
478 end
479 _obj_2 = _tab_1
480 end
481 local _idx_2 = 1
482 for _key_0, _value_0 in pairs(_obj_2) do
483 if _idx_2 == _key_0 then
484 _tab_0[#_tab_0 + 1] = _value_0
485 _idx_2 = _idx_2 + 1
486 else
487 _tab_0[_key_0] = _value_0
488 end
489 end
490 _tab_0[#_tab_0 + 1] = 1
491 _tab_0[#_tab_0 + 1] = 2
492 _tab_0[#_tab_0 + 1] = 3
493 tb_u6df7_u5408B = _tab_0
494end
495local _u6a21_u677f <const> = {
496 foo = "你好",
497 bar = "世界",
498 baz = "!"
499}
500local _u4e13_u95e8_u5316 <const> = (function()
501 local _tab_0 = { }
502 local _idx_0 = 1
503 for _key_0, _value_0 in pairs(_u6a21_u677f) do
504 if _idx_0 == _key_0 then
505 _tab_0[#_tab_0 + 1] = _value_0
506 _idx_0 = _idx_0 + 1
507 else
508 _tab_0[_key_0] = _value_0
509 end
510 end
511 _tab_0.bar = "鲍勃"
512 return _tab_0
513end)()
514local _u4e13_u95e8_u5316B
515do
516 local _tab_0 = {
517 ["函数"] = function() end
518 }
519 local _idx_0 = 1
520 for _key_0, _value_0 in pairs(_u6a21_u677f) do
521 if _idx_0 == _key_0 then
522 _tab_0[#_tab_0 + 1] = _value_0
523 _idx_0 = _idx_0 + 1
524 else
525 _tab_0[_key_0] = _value_0
526 end
527 end
528 _tab_0["结束"] = function() end
529 _tab_0["如果"] = true
530 _tab_0["否则"] = false
531 _u4e13_u95e8_u5316B = _tab_0
532end
533local _u90e8_u5206 = {
534 "肩膀",
535 "膝盖"
536}
537local _u6b4c_u8bcd
538do
539 local _tab_0 = {
540 "头"
541 }
542 local _idx_0 = 1
543 for _key_0, _value_0 in pairs(_u90e8_u5206) do
544 if _idx_0 == _key_0 then
545 _tab_0[#_tab_0 + 1] = _value_0
546 _idx_0 = _idx_0 + 1
547 else
548 _tab_0[_key_0] = _value_0
549 end
550 end
551 _tab_0[#_tab_0 + 1] = "和"
552 _tab_0[#_tab_0 + 1] = "脚趾"
553 _u6b4c_u8bcd = _tab_0
554end
555local tb_u5757 = {
556 ["子菜单"] = (function(...)
557 local _tab_0 = {
558 ["值"] = _u503c
559 }
560 local _idx_0 = 1
561 for _key_0, _value_0 in pairs(_u7269_u54c1) do
562 if _idx_0 == _key_0 then
563 _tab_0[#_tab_0 + 1] = _value_0
564 _idx_0 = _idx_0 + 1
565 else
566 _tab_0[_key_0] = _value_0
567 end
568 end
569 for _index_0 = 1, select('#', ...) do
570 _tab_0[#_tab_0 + 1] = select(_index_0, ...)
571 end
572 return _tab_0
573 end)(...)
574}
575_u51fd_u6570((function(...)
576 local _tab_0 = { }
577 local _idx_0 = 1
578 for _key_0, _value_0 in pairs(_u7269_u54c1) do
579 if _idx_0 == _key_0 then
580 _tab_0[#_tab_0 + 1] = _value_0
581 _idx_0 = _idx_0 + 1
582 else
583 _tab_0[_key_0] = _value_0
584 end
585 end
586 _tab_0["值"] = _u503c
587 _tab_0[#_tab_0 + 1] = ...
588 _tab_0.k = _u53d8_u91cfv
589 for _index_0 = 1, select('#', ...) do
590 _tab_0[#_tab_0 + 1] = select(_index_0, ...)
591 end
592 return _tab_0
593end)(...))
594return nil