diff options
Diffstat (limited to 'spec/outputs/unicode/return.lua')
-rw-r--r-- | spec/outputs/unicode/return.lua | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/spec/outputs/unicode/return.lua b/spec/outputs/unicode/return.lua new file mode 100644 index 0000000..250932d --- /dev/null +++ b/spec/outputs/unicode/return.lua | |||
@@ -0,0 +1,126 @@ | |||
1 | local _ | ||
2 | _ = function() | ||
3 | local _list_0 = _u7269_u54c1 | ||
4 | for _index_0 = 1, #_list_0 do | ||
5 | local _u53d8_u91cfx = _list_0[_index_0] | ||
6 | _ = _u53d8_u91cfx | ||
7 | end | ||
8 | end | ||
9 | _ = function() | ||
10 | local _accum_0 = { } | ||
11 | local _len_0 = 1 | ||
12 | local _list_0 = _u7269_u54c1 | ||
13 | for _index_0 = 1, #_list_0 do | ||
14 | local _u53d8_u91cfx = _list_0[_index_0] | ||
15 | _accum_0[_len_0] = _u53d8_u91cfx | ||
16 | _len_0 = _len_0 + 1 | ||
17 | end | ||
18 | return _accum_0 | ||
19 | end | ||
20 | do | ||
21 | local _list_0 = _u7269_u54c1 | ||
22 | for _index_0 = 1, #_list_0 do | ||
23 | local _u53d8_u91cfx = _list_0[_index_0] | ||
24 | return _u53d8_u91cfx | ||
25 | end | ||
26 | end | ||
27 | do | ||
28 | local _accum_0 = { } | ||
29 | local _len_0 = 1 | ||
30 | local _list_0 = _u7269_u54c1 | ||
31 | for _index_0 = 1, #_list_0 do | ||
32 | local _u53d8_u91cfx = _list_0[_index_0] | ||
33 | _accum_0[_len_0] = _u53d8_u91cfx | ||
34 | _len_0 = _len_0 + 1 | ||
35 | end | ||
36 | return _accum_0 | ||
37 | end | ||
38 | do | ||
39 | local _tbl_0 = { } | ||
40 | local _list_0 = _u7269_u54c1 | ||
41 | for _index_0 = 1, #_list_0 do | ||
42 | local _u53d8_u91cfx, _u53d8_u91cfy = _list_0[_index_0] | ||
43 | _tbl_0[_u53d8_u91cfx] = _u53d8_u91cfy | ||
44 | end | ||
45 | return _tbl_0 | ||
46 | end | ||
47 | _ = function() | ||
48 | if _u53d8_u91cfa then | ||
49 | if _u53d8_u91cfa then | ||
50 | return _u53d8_u91cfa | ||
51 | else | ||
52 | return _u53d8_u91cfb | ||
53 | end | ||
54 | elseif _u53d8_u91cfb then | ||
55 | if _u53d8_u91cfa then | ||
56 | return _u53d8_u91cfa | ||
57 | else | ||
58 | return _u53d8_u91cfb | ||
59 | end | ||
60 | else | ||
61 | if _u53d8_u91cfa then | ||
62 | return _u53d8_u91cfa | ||
63 | else | ||
64 | return _u53d8_u91cfb | ||
65 | end | ||
66 | end | ||
67 | end | ||
68 | do | ||
69 | if _u53d8_u91cfa then | ||
70 | if _u53d8_u91cfa then | ||
71 | return _u53d8_u91cfa | ||
72 | else | ||
73 | return _u53d8_u91cfb | ||
74 | end | ||
75 | elseif _u53d8_u91cfb then | ||
76 | if _u53d8_u91cfa then | ||
77 | return _u53d8_u91cfa | ||
78 | else | ||
79 | return _u53d8_u91cfb | ||
80 | end | ||
81 | else | ||
82 | if _u53d8_u91cfa then | ||
83 | return _u53d8_u91cfa | ||
84 | else | ||
85 | return _u53d8_u91cfb | ||
86 | end | ||
87 | end | ||
88 | end | ||
89 | do | ||
90 | return { | ||
91 | ["值"] = _u503c, | ||
92 | ["物品A"] = 123, | ||
93 | ["物品B"] = "abc" | ||
94 | } | ||
95 | end | ||
96 | do | ||
97 | local _tab_0 = { | ||
98 | 1, | ||
99 | 2 | ||
100 | } | ||
101 | local _idx_0 = 1 | ||
102 | for _key_0, _value_0 in pairs(_u4e09) do | ||
103 | if _idx_0 == _key_0 then | ||
104 | _tab_0[#_tab_0 + 1] = _value_0 | ||
105 | _idx_0 = _idx_0 + 1 | ||
106 | else | ||
107 | _tab_0[_key_0] = _value_0 | ||
108 | end | ||
109 | end | ||
110 | _tab_0[#_tab_0 + 1] = 4 | ||
111 | return _tab_0 | ||
112 | end | ||
113 | _ = function() | ||
114 | local _base_0 = _u53d8_u91cfa | ||
115 | local _fn_0 = _base_0["变量b"] | ||
116 | return _fn_0 and function(...) | ||
117 | return _fn_0(_base_0, ...) | ||
118 | end | ||
119 | end | ||
120 | do | ||
121 | local _base_0 = _u53d8_u91cfa | ||
122 | local _fn_0 = _base_0["变量b"] | ||
123 | return _fn_0 and function(...) | ||
124 | return _fn_0(_base_0, ...) | ||
125 | end | ||
126 | end | ||