diff options
Diffstat (limited to 'spec/outputs/unicode/export.lua')
-rw-r--r-- | spec/outputs/unicode/export.lua | 338 |
1 files changed, 338 insertions, 0 deletions
diff --git a/spec/outputs/unicode/export.lua b/spec/outputs/unicode/export.lua new file mode 100644 index 0000000..ef35fe5 --- /dev/null +++ b/spec/outputs/unicode/export.lua | |||
@@ -0,0 +1,338 @@ | |||
1 | local _module_0 = setmetatable({ }, { }) | ||
2 | local _u53d8_u91cfa, _u53d8_u91cfb, _u53d8_u91cfc = 223, 343, 123 | ||
3 | _module_0["变量a"], _module_0["变量b"], _module_0["变量c"] = _u53d8_u91cfa, _u53d8_u91cfb, _u53d8_u91cfc | ||
4 | local _u9177 = "🧧" | ||
5 | _module_0["酷"] = _u9177 | ||
6 | local _u53d8_u91cfd, _u53d8_u91cfe, _u53d8_u91cff = 3, 2, 1 | ||
7 | _module_0[#_module_0 + 1] = _u53d8_u91cfd | ||
8 | _module_0[#_module_0 + 1] = _u53d8_u91cfe | ||
9 | _module_0[#_module_0 + 1] = _u53d8_u91cff | ||
10 | local _u67d0_u7c7b | ||
11 | do | ||
12 | local _class_0 | ||
13 | local _base_0 = { | ||
14 | ["嗯"] = "酷" | ||
15 | } | ||
16 | if _base_0.__index == nil then | ||
17 | _base_0.__index = _base_0 | ||
18 | end | ||
19 | _class_0 = setmetatable({ | ||
20 | __init = function() end, | ||
21 | __base = _base_0, | ||
22 | __name = "某类" | ||
23 | }, { | ||
24 | __index = _base_0, | ||
25 | __call = function(cls, ...) | ||
26 | local _self_0 = setmetatable({ }, _base_0) | ||
27 | cls.__init(_self_0, ...) | ||
28 | return _self_0 | ||
29 | end | ||
30 | }) | ||
31 | _base_0.__class = _class_0 | ||
32 | _u67d0_u7c7b = _class_0 | ||
33 | end | ||
34 | _module_0["_u67d0_u7c7b"] = _u67d0_u7c7b | ||
35 | if _u8fd9_u4e2a then | ||
36 | _module_0[#_module_0 + 1] = 232 | ||
37 | else | ||
38 | _module_0[#_module_0 + 1] = 4343 | ||
39 | end | ||
40 | local _u4ec0_u4e48 | ||
41 | if _u8fd9_u4e2a then | ||
42 | _u4ec0_u4e48 = 232 | ||
43 | else | ||
44 | _u4ec0_u4e48 = 4343 | ||
45 | end | ||
46 | _module_0["什么"] = _u4ec0_u4e48 | ||
47 | local _u53d8_u91cfy | ||
48 | _u53d8_u91cfy = function() | ||
49 | local _u4f60_u597d = 3434 | ||
50 | end | ||
51 | _module_0["变量y"] = _u53d8_u91cfy | ||
52 | do | ||
53 | local _with_0 = _u4e34_u65f6 | ||
54 | local _u53d8_u91cfj = 2000 | ||
55 | _module_0[#_module_0 + 1] = _with_0 | ||
56 | end | ||
57 | local cb_u7684_u503c | ||
58 | do | ||
59 | local _u53d8_u91cfh = 100 | ||
60 | cb_u7684_u503c = _u51fd_u6570(function(_u53c2_u6570) | ||
61 | return _u53c2_u6570(h_u53d8_u91cf) | ||
62 | end) | ||
63 | end | ||
64 | _module_0["cb的值"] = cb_u7684_u503c | ||
65 | local _u4e2b_u4e2b | ||
66 | _u4e2b_u4e2b = function() | ||
67 | local _u53d8_u91cfh = 100 | ||
68 | local _u53d8_u91cfk = 100 | ||
69 | end | ||
70 | _module_0["丫丫"] = _u4e2b_u4e2b | ||
71 | do | ||
72 | local _exp_0 = _u53d8_u91cfh | ||
73 | if 100 == _exp_0 or 150 == _exp_0 then | ||
74 | _module_0[#_module_0 + 1] = 200 | ||
75 | elseif 200 == _exp_0 then | ||
76 | _module_0[#_module_0 + 1] = 300 | ||
77 | else | ||
78 | _module_0[#_module_0 + 1] = 0 | ||
79 | end | ||
80 | end | ||
81 | local _u5e38_u91cf | ||
82 | do | ||
83 | local _exp_0 = _u503c | ||
84 | if "好" == _exp_0 then | ||
85 | _u5e38_u91cf = 1 | ||
86 | elseif "更好" == _exp_0 then | ||
87 | _u5e38_u91cf = 2 | ||
88 | elseif "最好" == _exp_0 then | ||
89 | _u5e38_u91cf = 3 | ||
90 | end | ||
91 | end | ||
92 | _module_0["常量"] = _u5e38_u91cf | ||
93 | local _u9879_u76ee = _u51fd_u6570(123) | ||
94 | _module_0["项目"] = _u9879_u76ee | ||
95 | _module_0[#_module_0 + 1] = _u53d8_u91cfx | ||
96 | _u51fd_u6570((function() | ||
97 | if _u6761_u4ef6a then | ||
98 | return _u503cb | ||
99 | end | ||
100 | end)()) | ||
101 | _u51fd_u6570((function() | ||
102 | return 123 | ||
103 | end)()) | ||
104 | _u51fd_u6570((function() | ||
105 | local _exp_0 = _u5bf9_u8c61a | ||
106 | if _u53d8_u91cfb == _exp_0 then | ||
107 | return _u503cc | ||
108 | end | ||
109 | end)()) | ||
110 | _u51fd_u6570((function() | ||
111 | local _accum_0 = { } | ||
112 | local _len_0 = 1 | ||
113 | for _u8ba1_u6570 = 1, 10 do | ||
114 | _accum_0[_len_0] = _u8ba1_u6570 | ||
115 | _len_0 = _len_0 + 1 | ||
116 | end | ||
117 | return _accum_0 | ||
118 | end)()) | ||
119 | _u51fd_u6570((function() | ||
120 | local _accum_0 = { } | ||
121 | local _len_0 = 1 | ||
122 | for _u8ba1_u6570 = 1, 10 do | ||
123 | _accum_0[_len_0] = _u8ba1_u6570 | ||
124 | _len_0 = _len_0 + 1 | ||
125 | end | ||
126 | return _accum_0 | ||
127 | end)()) | ||
128 | _u51fd_u6570((function() | ||
129 | local _tbl_0 = { } | ||
130 | for _u952e, _u503c in pairs(_u8868) do | ||
131 | _tbl_0[_u952e] = _u503c | ||
132 | end | ||
133 | return _tbl_0 | ||
134 | end)()) | ||
135 | _u51fd_u6570((function() | ||
136 | local _accum_0 = { } | ||
137 | local _len_0 = 1 | ||
138 | for _u952e, _u503c in pairs(_u8868) do | ||
139 | _accum_0[_len_0] = { | ||
140 | _u952e, | ||
141 | _u503c | ||
142 | } | ||
143 | _len_0 = _len_0 + 1 | ||
144 | end | ||
145 | return _accum_0 | ||
146 | end)()) | ||
147 | _u51fd_u6570((function() | ||
148 | local _accum_0 = { } | ||
149 | local _len_0 = 1 | ||
150 | while _u6761_u4ef6a do | ||
151 | _accum_0[_len_0] = true | ||
152 | _len_0 = _len_0 + 1 | ||
153 | end | ||
154 | return _accum_0 | ||
155 | end)()) | ||
156 | _u51fd_u6570((function() | ||
157 | local _with_0 = _u6761_u4ef6a | ||
158 | _with_0["字段b"] = 123 | ||
159 | return _with_0 | ||
160 | end)()) | ||
161 | _u51fd_u6570((function() | ||
162 | local _obj_0 = _u5bf9_u8c61a | ||
163 | if _obj_0 ~= nil then | ||
164 | return _obj_0["字段b"] | ||
165 | end | ||
166 | return nil | ||
167 | end)()) | ||
168 | _u51fd_u6570((function() | ||
169 | local _base_0 = _u5bf9_u8c61a | ||
170 | local _fn_0 = _base_0["字段b"] | ||
171 | return _fn_0 and function(...) | ||
172 | return _fn_0(_base_0, ...) | ||
173 | end | ||
174 | end)()) | ||
175 | _u51fd_u6570((function() | ||
176 | local A_u7c7b | ||
177 | do | ||
178 | local _class_0 | ||
179 | local _base_0 = { } | ||
180 | if _base_0.__index == nil then | ||
181 | _base_0.__index = _base_0 | ||
182 | end | ||
183 | _class_0 = setmetatable({ | ||
184 | __init = function() end, | ||
185 | __base = _base_0, | ||
186 | __name = "A类" | ||
187 | }, { | ||
188 | __index = _base_0, | ||
189 | __call = function(cls, ...) | ||
190 | local _self_0 = setmetatable({ }, _base_0) | ||
191 | cls.__init(_self_0, ...) | ||
192 | return _self_0 | ||
193 | end | ||
194 | }) | ||
195 | _base_0.__class = _class_0 | ||
196 | A_u7c7b = _class_0 | ||
197 | return _class_0 | ||
198 | end | ||
199 | end)()) | ||
200 | local _ = tostring((function() | ||
201 | if _u6761_u4ef6a then | ||
202 | return _u503cb | ||
203 | end | ||
204 | end)()) | ||
205 | _ = tostring((function() | ||
206 | return 123 | ||
207 | end)()) | ||
208 | _ = tostring((function() | ||
209 | local _exp_0 = _u5bf9_u8c61a | ||
210 | if _u53d8_u91cfb == _exp_0 then | ||
211 | return _u503cc | ||
212 | end | ||
213 | end)()) | ||
214 | _ = tostring((function() | ||
215 | local _accum_0 = { } | ||
216 | local _len_0 = 1 | ||
217 | for _u8ba1_u6570 = 1, 10 do | ||
218 | _accum_0[_len_0] = _u8ba1_u6570 | ||
219 | _len_0 = _len_0 + 1 | ||
220 | end | ||
221 | return _accum_0 | ||
222 | end)()) | ||
223 | _ = tostring((function() | ||
224 | local _accum_0 = { } | ||
225 | local _len_0 = 1 | ||
226 | for _u8ba1_u6570 = 1, 10 do | ||
227 | _accum_0[_len_0] = _u8ba1_u6570 | ||
228 | _len_0 = _len_0 + 1 | ||
229 | end | ||
230 | return _accum_0 | ||
231 | end)()) | ||
232 | _ = tostring((function() | ||
233 | local _tbl_0 = { } | ||
234 | for _u952e, _u503c in pairs(_u8868) do | ||
235 | _tbl_0[_u952e] = _u503c | ||
236 | end | ||
237 | return _tbl_0 | ||
238 | end)()) | ||
239 | _ = tostring((function() | ||
240 | local _accum_0 = { } | ||
241 | local _len_0 = 1 | ||
242 | for _u952e, _u503c in pairs(_u8868) do | ||
243 | _accum_0[_len_0] = { | ||
244 | _u952e, | ||
245 | _u503c | ||
246 | } | ||
247 | _len_0 = _len_0 + 1 | ||
248 | end | ||
249 | return _accum_0 | ||
250 | end)()) | ||
251 | _ = tostring((function() | ||
252 | local _accum_0 = { } | ||
253 | local _len_0 = 1 | ||
254 | while _u6761_u4ef6a do | ||
255 | _accum_0[_len_0] = true | ||
256 | _len_0 = _len_0 + 1 | ||
257 | end | ||
258 | return _accum_0 | ||
259 | end)()) | ||
260 | _ = tostring((function() | ||
261 | local _with_0 = _u5bf9_u8c61a | ||
262 | _with_0["字段b"] = 123 | ||
263 | return _with_0 | ||
264 | end)()) | ||
265 | _ = tostring((function() | ||
266 | local _obj_0 = _u5bf9_u8c61a | ||
267 | if _obj_0 ~= nil then | ||
268 | return _obj_0["字段b"] | ||
269 | end | ||
270 | return nil | ||
271 | end)()) | ||
272 | _ = tostring((function() | ||
273 | local _base_0 = _u5bf9_u8c61a | ||
274 | local _fn_0 = _base_0["字段b"] | ||
275 | return _fn_0 and function(...) | ||
276 | return _fn_0(_base_0, ...) | ||
277 | end | ||
278 | end)()) | ||
279 | _ = tostring((function() | ||
280 | local A_u7c7b | ||
281 | do | ||
282 | local _class_0 | ||
283 | local _base_0 = { } | ||
284 | if _base_0.__index == nil then | ||
285 | _base_0.__index = _base_0 | ||
286 | end | ||
287 | _class_0 = setmetatable({ | ||
288 | __init = function() end, | ||
289 | __base = _base_0, | ||
290 | __name = "A类" | ||
291 | }, { | ||
292 | __index = _base_0, | ||
293 | __call = function(cls, ...) | ||
294 | local _self_0 = setmetatable({ }, _base_0) | ||
295 | cls.__init(_self_0, ...) | ||
296 | return _self_0 | ||
297 | end | ||
298 | }) | ||
299 | _base_0.__class = _class_0 | ||
300 | A_u7c7b = _class_0 | ||
301 | return _class_0 | ||
302 | end | ||
303 | end)()) | ||
304 | local _u53d8_u91cf1, _u53d8_u91cf2, _u53d8_u91cf3, _u7c7b4, _u53d8_u91cf5 | ||
305 | _u53d8_u91cf1 = 1 | ||
306 | _u53d8_u91cf2 = 2 | ||
307 | _module_0["变量2"] = _u53d8_u91cf2 | ||
308 | do | ||
309 | local _class_0 | ||
310 | local _base_0 = { } | ||
311 | if _base_0.__index == nil then | ||
312 | _base_0.__index = _base_0 | ||
313 | end | ||
314 | _class_0 = setmetatable({ | ||
315 | __init = function() end, | ||
316 | __base = _base_0, | ||
317 | __name = "类4" | ||
318 | }, { | ||
319 | __index = _base_0, | ||
320 | __call = function(cls, ...) | ||
321 | local _self_0 = setmetatable({ }, _base_0) | ||
322 | cls.__init(_self_0, ...) | ||
323 | return _self_0 | ||
324 | end | ||
325 | }) | ||
326 | _base_0.__class = _class_0 | ||
327 | _u7c7b4 = _class_0 | ||
328 | _u53d8_u91cf3 = _class_0 | ||
329 | end | ||
330 | _module_0["变量3"] = _u53d8_u91cf3 | ||
331 | _u53d8_u91cf5 = 5 | ||
332 | getmetatable(_module_0)["🀄️"] = 1 | ||
333 | getmetatable(_module_0).__name = "导出" | ||
334 | getmetatable(_module_0).__call = function(self) | ||
335 | return { } | ||
336 | end | ||
337 | _module_0["导出-任意-名称"] = 123 | ||
338 | return _module_0 | ||