diff options
Diffstat (limited to 'spec/outputs/unicode/class.lua')
-rw-r--r-- | spec/outputs/unicode/class.lua | 1242 |
1 files changed, 1242 insertions, 0 deletions
diff --git a/spec/outputs/unicode/class.lua b/spec/outputs/unicode/class.lua new file mode 100644 index 0000000..4d309e3 --- /dev/null +++ b/spec/outputs/unicode/class.lua | |||
@@ -0,0 +1,1242 @@ | |||
1 | local _u4f60_u597d | ||
2 | do | ||
3 | local _class_0 | ||
4 | local _base_0 = { | ||
5 | ["你好"] = function(self) | ||
6 | return _u6253_u5370(self["测试"], self["世界"]) | ||
7 | end, | ||
8 | __tostring = function(self) | ||
9 | return "你好 世界" | ||
10 | end | ||
11 | } | ||
12 | if _base_0.__index == nil then | ||
13 | _base_0.__index = _base_0 | ||
14 | end | ||
15 | _class_0 = setmetatable({ | ||
16 | __init = function(self, _u6d4b_u8bd5, _u4e16_u754c) | ||
17 | self["测试"] = _u6d4b_u8bd5 | ||
18 | self["世界"] = _u4e16_u754c | ||
19 | return _u6253_u5370("创建对象..") | ||
20 | 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 | _u4f60_u597d = _class_0 | ||
33 | end | ||
34 | local _u5bf9_u8c61x = _u4f60_u597d(1, 2) | ||
35 | _u5bf9_u8c61x["你好"](_u5bf9_u8c61x) | ||
36 | _u6253_u5370(_u5bf9_u8c61x) | ||
37 | local _u7b80_u5355 | ||
38 | do | ||
39 | local _class_0 | ||
40 | local _base_0 = { | ||
41 | ["酷"] = function(self) | ||
42 | return _u6253_u5370("酷") | ||
43 | end | ||
44 | } | ||
45 | if _base_0.__index == nil then | ||
46 | _base_0.__index = _base_0 | ||
47 | end | ||
48 | _class_0 = setmetatable({ | ||
49 | __init = function() end, | ||
50 | __base = _base_0, | ||
51 | __name = "简单" | ||
52 | }, { | ||
53 | __index = _base_0, | ||
54 | __call = function(cls, ...) | ||
55 | local _self_0 = setmetatable({ }, _base_0) | ||
56 | cls.__init(_self_0, ...) | ||
57 | return _self_0 | ||
58 | end | ||
59 | }) | ||
60 | _base_0.__class = _class_0 | ||
61 | _u7b80_u5355 = _class_0 | ||
62 | end | ||
63 | local _u4f0a_u514b_u65af | ||
64 | do | ||
65 | local _class_0 | ||
66 | local _parent_0 = _u7b80_u5355 | ||
67 | local _base_0 = { } | ||
68 | for _key_0, _val_0 in pairs(_parent_0.__base) do | ||
69 | if _base_0[_key_0] == nil and _key_0:match("^__") and not (_key_0 == "__index" and _val_0 == _parent_0.__base) then | ||
70 | _base_0[_key_0] = _val_0 | ||
71 | end | ||
72 | end | ||
73 | if _base_0.__index == nil then | ||
74 | _base_0.__index = _base_0 | ||
75 | end | ||
76 | setmetatable(_base_0, _parent_0.__base) | ||
77 | _class_0 = setmetatable({ | ||
78 | __init = function(self) | ||
79 | return _u6253_u5370("你好已创建") | ||
80 | end, | ||
81 | __base = _base_0, | ||
82 | __name = "伊克斯", | ||
83 | __parent = _parent_0 | ||
84 | }, { | ||
85 | __index = function(cls, name) | ||
86 | local val = rawget(_base_0, name) | ||
87 | if val == nil then | ||
88 | local parent = rawget(cls, "__parent") | ||
89 | if parent then | ||
90 | return parent[name] | ||
91 | end | ||
92 | else | ||
93 | return val | ||
94 | end | ||
95 | end, | ||
96 | __call = function(cls, ...) | ||
97 | local _self_0 = setmetatable({ }, _base_0) | ||
98 | cls.__init(_self_0, ...) | ||
99 | return _self_0 | ||
100 | end | ||
101 | }) | ||
102 | _base_0.__class = _class_0 | ||
103 | if _parent_0.__inherited then | ||
104 | _parent_0.__inherited(_parent_0, _class_0) | ||
105 | end | ||
106 | _u4f0a_u514b_u65af = _class_0 | ||
107 | end | ||
108 | local x_u5bf9_u8c61 = _u4f0a_u514b_u65af() | ||
109 | x_u5bf9_u8c61["酷"](x_u5bf9_u8c61) | ||
110 | local _u55e8 | ||
111 | do | ||
112 | local _class_0 | ||
113 | local _base_0 = { | ||
114 | ["酷"] = function(self, _u6570_u503c) | ||
115 | return _u6253_u5370("数值", _u6570_u503c) | ||
116 | end | ||
117 | } | ||
118 | if _base_0.__index == nil then | ||
119 | _base_0.__index = _base_0 | ||
120 | end | ||
121 | _class_0 = setmetatable({ | ||
122 | __init = function(self, _u53c2_u6570) | ||
123 | return _u6253_u5370("初始化参数", _u53c2_u6570) | ||
124 | end, | ||
125 | __base = _base_0, | ||
126 | __name = "嗨" | ||
127 | }, { | ||
128 | __index = _base_0, | ||
129 | __call = function(cls, ...) | ||
130 | local _self_0 = setmetatable({ }, _base_0) | ||
131 | cls.__init(_self_0, ...) | ||
132 | return _self_0 | ||
133 | end | ||
134 | }) | ||
135 | _base_0.__class = _class_0 | ||
136 | _u55e8 = _class_0 | ||
137 | end | ||
138 | do | ||
139 | local _class_0 | ||
140 | local _parent_0 = _u55e8 | ||
141 | local _base_0 = { | ||
142 | ["酷"] = function(self) | ||
143 | return _class_0.__parent.__base["酷"](self, 120302) | ||
144 | end | ||
145 | } | ||
146 | for _key_0, _val_0 in pairs(_parent_0.__base) do | ||
147 | if _base_0[_key_0] == nil and _key_0:match("^__") and not (_key_0 == "__index" and _val_0 == _parent_0.__base) then | ||
148 | _base_0[_key_0] = _val_0 | ||
149 | end | ||
150 | end | ||
151 | if _base_0.__index == nil then | ||
152 | _base_0.__index = _base_0 | ||
153 | end | ||
154 | setmetatable(_base_0, _parent_0.__base) | ||
155 | _class_0 = setmetatable({ | ||
156 | __init = function(self) | ||
157 | return _class_0.__parent.__init(self, "伙计") | ||
158 | end, | ||
159 | __base = _base_0, | ||
160 | __name = "简单", | ||
161 | __parent = _parent_0 | ||
162 | }, { | ||
163 | __index = function(cls, name) | ||
164 | local val = rawget(_base_0, name) | ||
165 | if val == nil then | ||
166 | local parent = rawget(cls, "__parent") | ||
167 | if parent then | ||
168 | return parent[name] | ||
169 | end | ||
170 | else | ||
171 | return val | ||
172 | end | ||
173 | end, | ||
174 | __call = function(cls, ...) | ||
175 | local _self_0 = setmetatable({ }, _base_0) | ||
176 | cls.__init(_self_0, ...) | ||
177 | return _self_0 | ||
178 | end | ||
179 | }) | ||
180 | _base_0.__class = _class_0 | ||
181 | if _parent_0.__inherited then | ||
182 | _parent_0.__inherited(_parent_0, _class_0) | ||
183 | end | ||
184 | _u7b80_u5355 = _class_0 | ||
185 | end | ||
186 | x_u5bf9_u8c61 = _u7b80_u5355() | ||
187 | x_u5bf9_u8c61["酷"](x_u5bf9_u8c61) | ||
188 | _u6253_u5370(x_u5bf9_u8c61.__class == _u7b80_u5355) | ||
189 | local _u597d_u5427 | ||
190 | do | ||
191 | local _class_0 | ||
192 | local _base_0 = { | ||
193 | ["一些东西"] = 20323 | ||
194 | } | ||
195 | if _base_0.__index == nil then | ||
196 | _base_0.__index = _base_0 | ||
197 | end | ||
198 | _class_0 = setmetatable({ | ||
199 | __init = function() end, | ||
200 | __base = _base_0, | ||
201 | __name = "好吧" | ||
202 | }, { | ||
203 | __index = _base_0, | ||
204 | __call = function(cls, ...) | ||
205 | local _self_0 = setmetatable({ }, _base_0) | ||
206 | cls.__init(_self_0, ...) | ||
207 | return _self_0 | ||
208 | end | ||
209 | }) | ||
210 | _base_0.__class = _class_0 | ||
211 | _u597d_u5427 = _class_0 | ||
212 | end | ||
213 | local _u597d_u54d2 | ||
214 | do | ||
215 | local _class_0 | ||
216 | local _parent_0 = _u597d_u5427 | ||
217 | local _base_0 = { | ||
218 | ["一些东西"] = function(self) | ||
219 | _class_0.__parent.__base["一些东西"](self, 1, 2, 3, 4) | ||
220 | _class_0.__parent["一些东西"](_u53e6_u4e00_u4e2a_u81ea_u5df1, 1, 2, 3, 4) | ||
221 | return _u65ad_u8a00(_class_0.__parent == _u597d_u5427) | ||
222 | end | ||
223 | } | ||
224 | for _key_0, _val_0 in pairs(_parent_0.__base) do | ||
225 | if _base_0[_key_0] == nil and _key_0:match("^__") and not (_key_0 == "__index" and _val_0 == _parent_0.__base) then | ||
226 | _base_0[_key_0] = _val_0 | ||
227 | end | ||
228 | end | ||
229 | if _base_0.__index == nil then | ||
230 | _base_0.__index = _base_0 | ||
231 | end | ||
232 | setmetatable(_base_0, _parent_0.__base) | ||
233 | _class_0 = setmetatable({ | ||
234 | __init = function(self, ...) | ||
235 | return _class_0.__parent.__init(self, ...) | ||
236 | end, | ||
237 | __base = _base_0, | ||
238 | __name = "好哒", | ||
239 | __parent = _parent_0 | ||
240 | }, { | ||
241 | __index = function(cls, name) | ||
242 | local val = rawget(_base_0, name) | ||
243 | if val == nil then | ||
244 | local parent = rawget(cls, "__parent") | ||
245 | if parent then | ||
246 | return parent[name] | ||
247 | end | ||
248 | else | ||
249 | return val | ||
250 | end | ||
251 | end, | ||
252 | __call = function(cls, ...) | ||
253 | local _self_0 = setmetatable({ }, _base_0) | ||
254 | cls.__init(_self_0, ...) | ||
255 | return _self_0 | ||
256 | end | ||
257 | }) | ||
258 | _base_0.__class = _class_0 | ||
259 | if _parent_0.__inherited then | ||
260 | _parent_0.__inherited(_parent_0, _class_0) | ||
261 | end | ||
262 | _u597d_u54d2 = _class_0 | ||
263 | end | ||
264 | local _u597d | ||
265 | do | ||
266 | local _class_0 | ||
267 | local _base_0 = { | ||
268 | ["不错"] = function(self) | ||
269 | local _call_0 = _class_0.__parent | ||
270 | return _call_0["一些东西"](_call_0, self, 1, 2, 3, 4) | ||
271 | end | ||
272 | } | ||
273 | if _base_0.__index == nil then | ||
274 | _base_0.__index = _base_0 | ||
275 | end | ||
276 | _class_0 = setmetatable({ | ||
277 | __init = function() end, | ||
278 | __base = _base_0, | ||
279 | __name = "好" | ||
280 | }, { | ||
281 | __index = _base_0, | ||
282 | __call = function(cls, ...) | ||
283 | local _self_0 = setmetatable({ }, _base_0) | ||
284 | cls.__init(_self_0, ...) | ||
285 | return _self_0 | ||
286 | end | ||
287 | }) | ||
288 | _base_0.__class = _class_0 | ||
289 | _u597d = _class_0 | ||
290 | end | ||
291 | local _u4ec0_u4e48 | ||
292 | do | ||
293 | local _class_0 | ||
294 | local _base_0 = { | ||
295 | ["一些东西"] = function(self) | ||
296 | return _u6253_u5370("值:", self["值"]) | ||
297 | end | ||
298 | } | ||
299 | if _base_0.__index == nil then | ||
300 | _base_0.__index = _base_0 | ||
301 | end | ||
302 | _class_0 = setmetatable({ | ||
303 | __init = function() end, | ||
304 | __base = _base_0, | ||
305 | __name = "什么" | ||
306 | }, { | ||
307 | __index = _base_0, | ||
308 | __call = function(cls, ...) | ||
309 | local _self_0 = setmetatable({ }, _base_0) | ||
310 | cls.__init(_self_0, ...) | ||
311 | return _self_0 | ||
312 | end | ||
313 | }) | ||
314 | _base_0.__class = _class_0 | ||
315 | _u4ec0_u4e48 = _class_0 | ||
316 | end | ||
317 | do | ||
318 | local _class_0 | ||
319 | local _parent_0 = _u4ec0_u4e48 | ||
320 | local _base_0 = { | ||
321 | ["值"] = 2323, | ||
322 | ["一些东西"] = function(self) | ||
323 | local _base_1 = _class_0.__parent | ||
324 | local _fn_0 = _base_1["一些东西"] | ||
325 | return _fn_0 and function(...) | ||
326 | return _fn_0(_base_1, ...) | ||
327 | end | ||
328 | end | ||
329 | } | ||
330 | for _key_0, _val_0 in pairs(_parent_0.__base) do | ||
331 | if _base_0[_key_0] == nil and _key_0:match("^__") and not (_key_0 == "__index" and _val_0 == _parent_0.__base) then | ||
332 | _base_0[_key_0] = _val_0 | ||
333 | end | ||
334 | end | ||
335 | if _base_0.__index == nil then | ||
336 | _base_0.__index = _base_0 | ||
337 | end | ||
338 | setmetatable(_base_0, _parent_0.__base) | ||
339 | _class_0 = setmetatable({ | ||
340 | __init = function(self, ...) | ||
341 | return _class_0.__parent.__init(self, ...) | ||
342 | end, | ||
343 | __base = _base_0, | ||
344 | __name = "你好", | ||
345 | __parent = _parent_0 | ||
346 | }, { | ||
347 | __index = function(cls, name) | ||
348 | local val = rawget(_base_0, name) | ||
349 | if val == nil then | ||
350 | local parent = rawget(cls, "__parent") | ||
351 | if parent then | ||
352 | return parent[name] | ||
353 | end | ||
354 | else | ||
355 | return val | ||
356 | end | ||
357 | end, | ||
358 | __call = function(cls, ...) | ||
359 | local _self_0 = setmetatable({ }, _base_0) | ||
360 | cls.__init(_self_0, ...) | ||
361 | return _self_0 | ||
362 | end | ||
363 | }) | ||
364 | _base_0.__class = _class_0 | ||
365 | if _parent_0.__inherited then | ||
366 | _parent_0.__inherited(_parent_0, _class_0) | ||
367 | end | ||
368 | _u4f60_u597d = _class_0 | ||
369 | end | ||
370 | do | ||
371 | local _with_0 = _u4f60_u597d() | ||
372 | _u5bf9_u8c61x = _with_0["一些对象"](_with_0) | ||
373 | _u6253_u5370(_u5bf9_u8c61x) | ||
374 | _u5bf9_u8c61x() | ||
375 | end | ||
376 | local _u8d85_u7ea7_u9177 | ||
377 | do | ||
378 | local _class_0 | ||
379 | local _base_0 = { | ||
380 | ["👋"] = function(self) | ||
381 | _class_0.__parent.__base["👋"](self, 1, 2, 3, 4)(1, 2, 3, 4) | ||
382 | _class_0.__parent["一些东西"](1, 2, 3, 4) | ||
383 | local _ = _class_0.__parent["一些东西"](1, 2, 3, 4)["世界"] | ||
384 | local _call_0 = _class_0.__parent | ||
385 | _call_0["好吧"](_call_0, self, "世界")["不错"](_u54c8, _u54c8, _u54c8) | ||
386 | _ = _u4e00_u4e9b_u4e1c_u897f["上级"] | ||
387 | _ = _class_0.__parent["上级"]["上级"]["上级"] | ||
388 | do | ||
389 | local _base_1 = _class_0.__parent | ||
390 | local _fn_0 = _base_1["你好"] | ||
391 | _ = _fn_0 and function(...) | ||
392 | return _fn_0(_base_1, ...) | ||
393 | end | ||
394 | end | ||
395 | return nil | ||
396 | end | ||
397 | } | ||
398 | if _base_0.__index == nil then | ||
399 | _base_0.__index = _base_0 | ||
400 | end | ||
401 | _class_0 = setmetatable({ | ||
402 | __init = function() end, | ||
403 | __base = _base_0, | ||
404 | __name = "超级酷" | ||
405 | }, { | ||
406 | __index = _base_0, | ||
407 | __call = function(cls, ...) | ||
408 | local _self_0 = setmetatable({ }, _base_0) | ||
409 | cls.__init(_self_0, ...) | ||
410 | return _self_0 | ||
411 | end | ||
412 | }) | ||
413 | _base_0.__class = _class_0 | ||
414 | _u8d85_u7ea7_u9177 = _class_0 | ||
415 | end | ||
416 | local _u53d8_u91cfx = self["你好"] | ||
417 | _u53d8_u91cfx = self.__class["你好"] | ||
418 | self["你好"](self, "世界") | ||
419 | self.__class["你好"](self.__class, "世界") | ||
420 | self.__class["一"](self.__class, self.__class["二"](self.__class, 4, 5)(self["三"], self["四"])) | ||
421 | local _u53d8_u91cfxx | ||
422 | _u53d8_u91cfxx = function(_u4f60_u597d, _u4e16_u754c, _u9177) | ||
423 | self["你好"] = _u4f60_u597d | ||
424 | self.__class["世界"] = _u4e16_u754c | ||
425 | end | ||
426 | local _u4e00_u4e2a_u7c7b | ||
427 | do | ||
428 | local _class_0 | ||
429 | local _base_0 = { | ||
430 | ["蓝色"] = function(self) end, | ||
431 | ["绿色"] = function(self) end | ||
432 | } | ||
433 | if _base_0.__index == nil then | ||
434 | _base_0.__index = _base_0 | ||
435 | end | ||
436 | _class_0 = setmetatable({ | ||
437 | __init = function() end, | ||
438 | __base = _base_0, | ||
439 | __name = "一个类" | ||
440 | }, { | ||
441 | __index = _base_0, | ||
442 | __call = function(cls, ...) | ||
443 | local _self_0 = setmetatable({ }, _base_0) | ||
444 | cls.__init(_self_0, ...) | ||
445 | return _self_0 | ||
446 | end | ||
447 | }) | ||
448 | _base_0.__class = _class_0 | ||
449 | local self = _class_0; | ||
450 | self["好"] = 343 | ||
451 | self["你好"] = 3434 | ||
452 | self["世界"] = 23423 | ||
453 | self["红色"] = function(self) end | ||
454 | _u4e00_u4e2a_u7c7b = _class_0 | ||
455 | end | ||
456 | _u53d8_u91cfx = self | ||
457 | local _u53d8_u91cfy = self.__class | ||
458 | self(_u4e00_u4e9b_u4e1c_u897f) | ||
459 | self.__class(_u4e00_u4e9b_u4e1c_u897f) | ||
460 | local self = self + self / self | ||
461 | self = 343 | ||
462 | self["你好"](2, 3, 4) | ||
463 | local _ = _u4f60_u597d[self]["世界"] | ||
464 | local _u602a_u602a_u7684 | ||
465 | do | ||
466 | local _class_0 | ||
467 | local _base_0 = { } | ||
468 | if _base_0.__index == nil then | ||
469 | _base_0.__index = _base_0 | ||
470 | end | ||
471 | _class_0 = setmetatable({ | ||
472 | __init = function() end, | ||
473 | __base = _base_0, | ||
474 | __name = "怪怪的" | ||
475 | }, { | ||
476 | __index = _base_0, | ||
477 | __call = function(cls, ...) | ||
478 | local _self_0 = setmetatable({ }, _base_0) | ||
479 | cls.__init(_self_0, ...) | ||
480 | return _self_0 | ||
481 | end | ||
482 | }) | ||
483 | _base_0.__class = _class_0 | ||
484 | local self = _class_0; | ||
485 | _ = self["你好"] | ||
486 | if _u4e00_u4e9b_u4e1c_u897f then | ||
487 | _u6253_u5370("你好世界") | ||
488 | end | ||
489 | _u4f60_u597d = "世界" | ||
490 | self["另一"] = "天" | ||
491 | if _u4e00_u4e9b_u4e1c_u897f then | ||
492 | _u6253_u5370("好") | ||
493 | end | ||
494 | _u602a_u602a_u7684 = _class_0 | ||
495 | end | ||
496 | _u6253_u5370("你好") | ||
497 | local _u53d8_u91cfyyy | ||
498 | _u53d8_u91cfyyy = function() | ||
499 | local _u9177 | ||
500 | do | ||
501 | local _class_0 | ||
502 | local _base_0 = { } | ||
503 | if _base_0.__index == nil then | ||
504 | _base_0.__index = _base_0 | ||
505 | end | ||
506 | _class_0 = setmetatable({ | ||
507 | __init = function() end, | ||
508 | __base = _base_0, | ||
509 | __name = "酷" | ||
510 | }, { | ||
511 | __index = _base_0, | ||
512 | __call = function(cls, ...) | ||
513 | local _self_0 = setmetatable({ }, _base_0) | ||
514 | cls.__init(_self_0, ...) | ||
515 | return _self_0 | ||
516 | end | ||
517 | }) | ||
518 | _base_0.__class = _class_0 | ||
519 | local self = _class_0; | ||
520 | _ = nil | ||
521 | _u9177 = _class_0 | ||
522 | return _class_0 | ||
523 | end | ||
524 | end | ||
525 | do | ||
526 | local _class_0 | ||
527 | local _base_0 = { } | ||
528 | if _base_0.__index == nil then | ||
529 | _base_0.__index = _base_0 | ||
530 | end | ||
531 | _class_0 = setmetatable({ | ||
532 | __init = function() end, | ||
533 | __base = _base_0, | ||
534 | __name = "子类D" | ||
535 | }, { | ||
536 | __index = _base_0, | ||
537 | __call = function(cls, ...) | ||
538 | local _self_0 = setmetatable({ }, _base_0) | ||
539 | cls.__init(_self_0, ...) | ||
540 | return _self_0 | ||
541 | end | ||
542 | }) | ||
543 | _base_0.__class = _class_0 | ||
544 | local self = _class_0; | ||
545 | _ = nil | ||
546 | _u5bf9_u8c61a["字段b"]["字段c"]["子类D"] = _class_0 | ||
547 | end | ||
548 | do | ||
549 | local _class_0 | ||
550 | local _base_0 = { } | ||
551 | if _base_0.__index == nil then | ||
552 | _base_0.__index = _base_0 | ||
553 | end | ||
554 | _class_0 = setmetatable({ | ||
555 | __init = function() end, | ||
556 | __base = _base_0, | ||
557 | __name = "你好" | ||
558 | }, { | ||
559 | __index = _base_0, | ||
560 | __call = function(cls, ...) | ||
561 | local _self_0 = setmetatable({ }, _base_0) | ||
562 | cls.__init(_self_0, ...) | ||
563 | return _self_0 | ||
564 | end | ||
565 | }) | ||
566 | _base_0.__class = _class_0 | ||
567 | local self = _class_0; | ||
568 | _ = nil | ||
569 | _u5bf9_u8c61a["字段b"]["你好"] = _class_0 | ||
570 | end | ||
571 | do | ||
572 | local _class_0 | ||
573 | local _parent_0 = _u4f60_u597d["世界"] | ||
574 | local _base_0 = { } | ||
575 | for _key_0, _val_0 in pairs(_parent_0.__base) do | ||
576 | if _base_0[_key_0] == nil and _key_0:match("^__") and not (_key_0 == "__index" and _val_0 == _parent_0.__base) then | ||
577 | _base_0[_key_0] = _val_0 | ||
578 | end | ||
579 | end | ||
580 | if _base_0.__index == nil then | ||
581 | _base_0.__index = _base_0 | ||
582 | end | ||
583 | setmetatable(_base_0, _parent_0.__base) | ||
584 | _class_0 = setmetatable({ | ||
585 | __init = function(self, ...) | ||
586 | return _class_0.__parent.__init(self, ...) | ||
587 | end, | ||
588 | __base = _base_0, | ||
589 | __name = "某个成员", | ||
590 | __parent = _parent_0 | ||
591 | }, { | ||
592 | __index = function(cls, name) | ||
593 | local val = rawget(_base_0, name) | ||
594 | if val == nil then | ||
595 | local parent = rawget(cls, "__parent") | ||
596 | if parent then | ||
597 | return parent[name] | ||
598 | end | ||
599 | else | ||
600 | return val | ||
601 | end | ||
602 | end, | ||
603 | __call = function(cls, ...) | ||
604 | local _self_0 = setmetatable({ }, _base_0) | ||
605 | cls.__init(_self_0, ...) | ||
606 | return _self_0 | ||
607 | end | ||
608 | }) | ||
609 | _base_0.__class = _class_0 | ||
610 | local self = _class_0; | ||
611 | _ = nil | ||
612 | if _parent_0.__inherited then | ||
613 | _parent_0.__inherited(_parent_0, _class_0) | ||
614 | end | ||
615 | (function() | ||
616 | return require("moon") | ||
617 | end)()["某个成员"] = _class_0 | ||
618 | end | ||
619 | local _u7c7ba | ||
620 | do | ||
621 | local _class_0 | ||
622 | local _base_0 = { } | ||
623 | if _base_0.__index == nil then | ||
624 | _base_0.__index = _base_0 | ||
625 | end | ||
626 | _class_0 = setmetatable({ | ||
627 | __init = function() end, | ||
628 | __base = _base_0, | ||
629 | __name = "类a" | ||
630 | }, { | ||
631 | __index = _base_0, | ||
632 | __call = function(cls, ...) | ||
633 | local _self_0 = setmetatable({ }, _base_0) | ||
634 | cls.__init(_self_0, ...) | ||
635 | return _self_0 | ||
636 | end | ||
637 | }) | ||
638 | _base_0.__class = _class_0 | ||
639 | _u7c7ba = _class_0 | ||
640 | end | ||
641 | local _u7c7bb | ||
642 | do | ||
643 | local _class_0 | ||
644 | local _base_0 = { } | ||
645 | if _base_0.__index == nil then | ||
646 | _base_0.__index = _base_0 | ||
647 | end | ||
648 | _class_0 = setmetatable({ | ||
649 | __init = function() end, | ||
650 | __base = _base_0, | ||
651 | __name = "一个类" | ||
652 | }, { | ||
653 | __index = _base_0, | ||
654 | __call = function(cls, ...) | ||
655 | local _self_0 = setmetatable({ }, _base_0) | ||
656 | cls.__init(_self_0, ...) | ||
657 | return _self_0 | ||
658 | end | ||
659 | }) | ||
660 | _base_0.__class = _class_0 | ||
661 | _u4e00_u4e2a_u7c7b = _class_0 | ||
662 | _u7c7bb = _class_0 | ||
663 | end | ||
664 | local _u7c7bc | ||
665 | do | ||
666 | local _class_0 | ||
667 | local _parent_0 = _u4f60_u597d | ||
668 | local _base_0 = { } | ||
669 | for _key_0, _val_0 in pairs(_parent_0.__base) do | ||
670 | if _base_0[_key_0] == nil and _key_0:match("^__") and not (_key_0 == "__index" and _val_0 == _parent_0.__base) then | ||
671 | _base_0[_key_0] = _val_0 | ||
672 | end | ||
673 | end | ||
674 | if _base_0.__index == nil then | ||
675 | _base_0.__index = _base_0 | ||
676 | end | ||
677 | setmetatable(_base_0, _parent_0.__base) | ||
678 | _class_0 = setmetatable({ | ||
679 | __init = function(self, ...) | ||
680 | return _class_0.__parent.__init(self, ...) | ||
681 | end, | ||
682 | __base = _base_0, | ||
683 | __name = "一个类", | ||
684 | __parent = _parent_0 | ||
685 | }, { | ||
686 | __index = function(cls, name) | ||
687 | local val = rawget(_base_0, name) | ||
688 | if val == nil then | ||
689 | local parent = rawget(cls, "__parent") | ||
690 | if parent then | ||
691 | return parent[name] | ||
692 | end | ||
693 | else | ||
694 | return val | ||
695 | end | ||
696 | end, | ||
697 | __call = function(cls, ...) | ||
698 | local _self_0 = setmetatable({ }, _base_0) | ||
699 | cls.__init(_self_0, ...) | ||
700 | return _self_0 | ||
701 | end | ||
702 | }) | ||
703 | _base_0.__class = _class_0 | ||
704 | if _parent_0.__inherited then | ||
705 | _parent_0.__inherited(_parent_0, _class_0) | ||
706 | end | ||
707 | _u4e00_u4e2a_u7c7b = _class_0 | ||
708 | _u7c7bc = _class_0 | ||
709 | end | ||
710 | local _u7c7bd | ||
711 | do | ||
712 | local _class_0 | ||
713 | local _parent_0 = _u4e16_u754c | ||
714 | local _base_0 = { } | ||
715 | for _key_0, _val_0 in pairs(_parent_0.__base) do | ||
716 | if _base_0[_key_0] == nil and _key_0:match("^__") and not (_key_0 == "__index" and _val_0 == _parent_0.__base) then | ||
717 | _base_0[_key_0] = _val_0 | ||
718 | end | ||
719 | end | ||
720 | if _base_0.__index == nil then | ||
721 | _base_0.__index = _base_0 | ||
722 | end | ||
723 | setmetatable(_base_0, _parent_0.__base) | ||
724 | _class_0 = setmetatable({ | ||
725 | __init = function(self, ...) | ||
726 | return _class_0.__parent.__init(self, ...) | ||
727 | end, | ||
728 | __base = _base_0, | ||
729 | __name = "类d", | ||
730 | __parent = _parent_0 | ||
731 | }, { | ||
732 | __index = function(cls, name) | ||
733 | local val = rawget(_base_0, name) | ||
734 | if val == nil then | ||
735 | local parent = rawget(cls, "__parent") | ||
736 | if parent then | ||
737 | return parent[name] | ||
738 | end | ||
739 | else | ||
740 | return val | ||
741 | end | ||
742 | end, | ||
743 | __call = function(cls, ...) | ||
744 | local _self_0 = setmetatable({ }, _base_0) | ||
745 | cls.__init(_self_0, ...) | ||
746 | return _self_0 | ||
747 | end | ||
748 | }) | ||
749 | _base_0.__class = _class_0 | ||
750 | if _parent_0.__inherited then | ||
751 | _parent_0.__inherited(_parent_0, _class_0) | ||
752 | end | ||
753 | _u7c7bd = _class_0 | ||
754 | end | ||
755 | _u6253_u5370(((function() | ||
756 | local _u5565_u4e8b | ||
757 | do | ||
758 | local _class_0 | ||
759 | local _base_0 = { } | ||
760 | if _base_0.__index == nil then | ||
761 | _base_0.__index = _base_0 | ||
762 | end | ||
763 | _class_0 = setmetatable({ | ||
764 | __init = function() end, | ||
765 | __base = _base_0, | ||
766 | __name = "啥事" | ||
767 | }, { | ||
768 | __index = _base_0, | ||
769 | __call = function(cls, ...) | ||
770 | local _self_0 = setmetatable({ }, _base_0) | ||
771 | cls.__init(_self_0, ...) | ||
772 | return _self_0 | ||
773 | end | ||
774 | }) | ||
775 | _base_0.__class = _class_0 | ||
776 | _u5565_u4e8b = _class_0 | ||
777 | return _class_0 | ||
778 | end | ||
779 | end)()).__name) | ||
780 | do | ||
781 | local _class_0 | ||
782 | local _base_0 = { } | ||
783 | if _base_0.__index == nil then | ||
784 | _base_0.__index = _base_0 | ||
785 | end | ||
786 | _class_0 = setmetatable({ | ||
787 | __init = function() end, | ||
788 | __base = _base_0, | ||
789 | __name = "一个类" | ||
790 | }, { | ||
791 | __index = _base_0, | ||
792 | __call = function(cls, ...) | ||
793 | local _self_0 = setmetatable({ }, _base_0) | ||
794 | cls.__init(_self_0, ...) | ||
795 | return _self_0 | ||
796 | end | ||
797 | }) | ||
798 | _base_0.__class = _class_0 | ||
799 | local self = _class_0; | ||
800 | _ = nil | ||
801 | _u4e00_u4e2a_u7c7b = _class_0 | ||
802 | end | ||
803 | do | ||
804 | local _class_0 | ||
805 | local _u503c, _u63d2_u5165 | ||
806 | local _base_0 = { } | ||
807 | if _base_0.__index == nil then | ||
808 | _base_0.__index = _base_0 | ||
809 | end | ||
810 | _class_0 = setmetatable({ | ||
811 | __init = function(self) | ||
812 | return _u6253_u5370(_u63d2_u5165, _u503c) | ||
813 | end, | ||
814 | __base = _base_0, | ||
815 | __name = "一个类" | ||
816 | }, { | ||
817 | __index = _base_0, | ||
818 | __call = function(cls, ...) | ||
819 | local _self_0 = setmetatable({ }, _base_0) | ||
820 | cls.__init(_self_0, ...) | ||
821 | return _self_0 | ||
822 | end | ||
823 | }) | ||
824 | _base_0.__class = _class_0 | ||
825 | local self = _class_0; | ||
826 | _u503c = 23 | ||
827 | _u63d2_u5165 = _u8868["插入"] | ||
828 | _u4e00_u4e2a_u7c7b = _class_0 | ||
829 | end | ||
830 | do | ||
831 | local _class_0 | ||
832 | local _base_0 = { } | ||
833 | if _base_0.__index == nil then | ||
834 | _base_0.__index = _base_0 | ||
835 | end | ||
836 | _class_0 = setmetatable({ | ||
837 | __init = _u55e8, | ||
838 | __base = _base_0, | ||
839 | __name = "X类" | ||
840 | }, { | ||
841 | __index = _base_0, | ||
842 | __call = function(cls, ...) | ||
843 | local _self_0 = setmetatable({ }, _base_0) | ||
844 | cls.__init(_self_0, ...) | ||
845 | return _self_0 | ||
846 | end | ||
847 | }) | ||
848 | _base_0.__class = _class_0 | ||
849 | X_u7c7b = _class_0 | ||
850 | end | ||
851 | local _u9177 | ||
852 | do | ||
853 | local _class_0 | ||
854 | local _parent_0 = _u4e1c_u897f | ||
855 | local _base_0 = { | ||
856 | ["当"] = function(self) | ||
857 | return { | ||
858 | ["你好"] = function() | ||
859 | return _class_0.__parent.__base["当"](self) | ||
860 | end, | ||
861 | ["世界"] = function() | ||
862 | return _class_0.__parent.one | ||
863 | end | ||
864 | } | ||
865 | end | ||
866 | } | ||
867 | for _key_0, _val_0 in pairs(_parent_0.__base) do | ||
868 | if _base_0[_key_0] == nil and _key_0:match("^__") and not (_key_0 == "__index" and _val_0 == _parent_0.__base) then | ||
869 | _base_0[_key_0] = _val_0 | ||
870 | end | ||
871 | end | ||
872 | if _base_0.__index == nil then | ||
873 | _base_0.__index = _base_0 | ||
874 | end | ||
875 | setmetatable(_base_0, _parent_0.__base) | ||
876 | _class_0 = setmetatable({ | ||
877 | __init = function(self, ...) | ||
878 | return _class_0.__parent.__init(self, ...) | ||
879 | end, | ||
880 | __base = _base_0, | ||
881 | __name = "酷", | ||
882 | __parent = _parent_0 | ||
883 | }, { | ||
884 | __index = function(cls, name) | ||
885 | local val = rawget(_base_0, name) | ||
886 | if val == nil then | ||
887 | local parent = rawget(cls, "__parent") | ||
888 | if parent then | ||
889 | return parent[name] | ||
890 | end | ||
891 | else | ||
892 | return val | ||
893 | end | ||
894 | end, | ||
895 | __call = function(cls, ...) | ||
896 | local _self_0 = setmetatable({ }, _base_0) | ||
897 | cls.__init(_self_0, ...) | ||
898 | return _self_0 | ||
899 | end | ||
900 | }) | ||
901 | _base_0.__class = _class_0 | ||
902 | if _parent_0.__inherited then | ||
903 | _parent_0.__inherited(_parent_0, _class_0) | ||
904 | end | ||
905 | _u9177 = _class_0 | ||
906 | end | ||
907 | local _u5947_u602a | ||
908 | do | ||
909 | local _class_0 | ||
910 | local _parent_0 = _u4e1c_u897f | ||
911 | local _base_0 = { | ||
912 | ["当"] = _u505a_u70b9_u4e8b(function(self) | ||
913 | return _class_0.__parent.__base["当"](self) | ||
914 | end) | ||
915 | } | ||
916 | for _key_0, _val_0 in pairs(_parent_0.__base) do | ||
917 | if _base_0[_key_0] == nil and _key_0:match("^__") and not (_key_0 == "__index" and _val_0 == _parent_0.__base) then | ||
918 | _base_0[_key_0] = _val_0 | ||
919 | end | ||
920 | end | ||
921 | if _base_0.__index == nil then | ||
922 | _base_0.__index = _base_0 | ||
923 | end | ||
924 | setmetatable(_base_0, _parent_0.__base) | ||
925 | _class_0 = setmetatable({ | ||
926 | __init = function(self, ...) | ||
927 | return _class_0.__parent.__init(self, ...) | ||
928 | end, | ||
929 | __base = _base_0, | ||
930 | __name = "奇怪", | ||
931 | __parent = _parent_0 | ||
932 | }, { | ||
933 | __index = function(cls, name) | ||
934 | local val = rawget(_base_0, name) | ||
935 | if val == nil then | ||
936 | local parent = rawget(cls, "__parent") | ||
937 | if parent then | ||
938 | return parent[name] | ||
939 | end | ||
940 | else | ||
941 | return val | ||
942 | end | ||
943 | end, | ||
944 | __call = function(cls, ...) | ||
945 | local _self_0 = setmetatable({ }, _base_0) | ||
946 | cls.__init(_self_0, ...) | ||
947 | return _self_0 | ||
948 | end | ||
949 | }) | ||
950 | _base_0.__class = _class_0 | ||
951 | if _parent_0.__inherited then | ||
952 | _parent_0.__inherited(_parent_0, _class_0) | ||
953 | end | ||
954 | _u5947_u602a = _class_0 | ||
955 | end | ||
956 | local _u5594_u54c8 | ||
957 | do | ||
958 | local _class_0 | ||
959 | local _parent_0 = _u4e1c_u897f | ||
960 | local _base_0 = { } | ||
961 | for _key_0, _val_0 in pairs(_parent_0.__base) do | ||
962 | if _base_0[_key_0] == nil and _key_0:match("^__") and not (_key_0 == "__index" and _val_0 == _parent_0.__base) then | ||
963 | _base_0[_key_0] = _val_0 | ||
964 | end | ||
965 | end | ||
966 | if _base_0.__index == nil then | ||
967 | _base_0.__index = _base_0 | ||
968 | end | ||
969 | setmetatable(_base_0, _parent_0.__base) | ||
970 | _class_0 = setmetatable({ | ||
971 | __init = function(self, ...) | ||
972 | return _class_0.__parent.__init(self, ...) | ||
973 | end, | ||
974 | __base = _base_0, | ||
975 | __name = "喔哈", | ||
976 | __parent = _parent_0 | ||
977 | }, { | ||
978 | __index = function(cls, name) | ||
979 | local val = rawget(_base_0, name) | ||
980 | if val == nil then | ||
981 | local parent = rawget(cls, "__parent") | ||
982 | if parent then | ||
983 | return parent[name] | ||
984 | end | ||
985 | else | ||
986 | return val | ||
987 | end | ||
988 | end, | ||
989 | __call = function(cls, ...) | ||
990 | local _self_0 = setmetatable({ }, _base_0) | ||
991 | cls.__init(_self_0, ...) | ||
992 | return _self_0 | ||
993 | end | ||
994 | }) | ||
995 | _base_0.__class = _class_0 | ||
996 | local self = _class_0; | ||
997 | self["底部"] = function() | ||
998 | _class_0.__parent["底部"](self) | ||
999 | _ = _class_0.__parent["你好"] | ||
1000 | local _call_0 = _class_0.__parent | ||
1001 | _call_0["你好"](_call_0, self) | ||
1002 | local _base_1 = _class_0.__parent | ||
1003 | local _fn_0 = _base_1["你好"] | ||
1004 | return _fn_0 and function(...) | ||
1005 | return _fn_0(_base_1, ...) | ||
1006 | end | ||
1007 | end | ||
1008 | self["空间"] = _u9177({ | ||
1009 | function() | ||
1010 | _class_0.__parent["空间"](self) | ||
1011 | _ = _class_0.__parent["你好"] | ||
1012 | local _call_0 = _class_0.__parent | ||
1013 | _call_0["你好"](_call_0, self) | ||
1014 | local _base_1 = _class_0.__parent | ||
1015 | local _fn_0 = _base_1["你好"] | ||
1016 | return _fn_0 and function(...) | ||
1017 | return _fn_0(_base_1, ...) | ||
1018 | end | ||
1019 | end | ||
1020 | }) | ||
1021 | if _parent_0.__inherited then | ||
1022 | _parent_0.__inherited(_parent_0, _class_0) | ||
1023 | end | ||
1024 | _u5594_u54c8 = _class_0 | ||
1025 | end | ||
1026 | do | ||
1027 | local _u6d4b_u8bd5 | ||
1028 | do | ||
1029 | local _class_0 | ||
1030 | local _base_0 = { | ||
1031 | ["测试"] = function(self) | ||
1032 | return self.__class["如果"] and self.__class["做"](self.__class) | ||
1033 | end | ||
1034 | } | ||
1035 | if _base_0.__index == nil then | ||
1036 | _base_0.__index = _base_0 | ||
1037 | end | ||
1038 | _class_0 = setmetatable({ | ||
1039 | __init = function(self) | ||
1040 | self.__class["如果"] = true | ||
1041 | end, | ||
1042 | __base = _base_0, | ||
1043 | __name = "测试" | ||
1044 | }, { | ||
1045 | __index = _base_0, | ||
1046 | __call = function(cls, ...) | ||
1047 | local _self_0 = setmetatable({ }, _base_0) | ||
1048 | cls.__init(_self_0, ...) | ||
1049 | return _self_0 | ||
1050 | end | ||
1051 | }) | ||
1052 | _base_0.__class = _class_0 | ||
1053 | local self = _class_0; | ||
1054 | self["做"] = function(self) | ||
1055 | return 1 | ||
1056 | end | ||
1057 | _u6d4b_u8bd5 = _class_0 | ||
1058 | end | ||
1059 | local _u6d4b_u8bd5_u5b9e_u4f8b = _u6d4b_u8bd5() | ||
1060 | _u6d4b_u8bd5_u5b9e_u4f8b["测试"](_u6d4b_u8bd5_u5b9e_u4f8b) | ||
1061 | end | ||
1062 | do | ||
1063 | local _u6d4b_u8bd5 | ||
1064 | do | ||
1065 | local _class_0 | ||
1066 | local _base_0 = { | ||
1067 | ["做"] = function(self) | ||
1068 | return 1 | ||
1069 | end, | ||
1070 | ["测试"] = function(self) | ||
1071 | return self["如果"] and self["做"](self) | ||
1072 | end | ||
1073 | } | ||
1074 | if _base_0.__index == nil then | ||
1075 | _base_0.__index = _base_0 | ||
1076 | end | ||
1077 | _class_0 = setmetatable({ | ||
1078 | __init = function(self) | ||
1079 | self["如果"] = true | ||
1080 | end, | ||
1081 | __base = _base_0, | ||
1082 | __name = "测试" | ||
1083 | }, { | ||
1084 | __index = _base_0, | ||
1085 | __call = function(cls, ...) | ||
1086 | local _self_0 = setmetatable({ }, _base_0) | ||
1087 | cls.__init(_self_0, ...) | ||
1088 | return _self_0 | ||
1089 | end | ||
1090 | }) | ||
1091 | _base_0.__class = _class_0 | ||
1092 | _u6d4b_u8bd5 = _class_0 | ||
1093 | end | ||
1094 | local _u6d4b_u8bd5_u5b9e_u4f8b = _u6d4b_u8bd5() | ||
1095 | _u6d4b_u8bd5_u5b9e_u4f8b["测试"](_u6d4b_u8bd5_u5b9e_u4f8b) | ||
1096 | end | ||
1097 | do | ||
1098 | local _class_0 | ||
1099 | local _parent_0 = _u9752["应用"] | ||
1100 | local _base_0 = { | ||
1101 | ["/"] = function(self) | ||
1102 | return { | ||
1103 | json = { | ||
1104 | ["状态"] = true | ||
1105 | } | ||
1106 | } | ||
1107 | end | ||
1108 | } | ||
1109 | for _key_0, _val_0 in pairs(_parent_0.__base) do | ||
1110 | if _base_0[_key_0] == nil and _key_0:match("^__") and not (_key_0 == "__index" and _val_0 == _parent_0.__base) then | ||
1111 | _base_0[_key_0] = _val_0 | ||
1112 | end | ||
1113 | end | ||
1114 | if _base_0.__index == nil then | ||
1115 | _base_0.__index = _base_0 | ||
1116 | end | ||
1117 | setmetatable(_base_0, _parent_0.__base) | ||
1118 | _class_0 = setmetatable({ | ||
1119 | __init = function(self, ...) | ||
1120 | return _class_0.__parent.__init(self, ...) | ||
1121 | end, | ||
1122 | __base = _base_0, | ||
1123 | __parent = _parent_0 | ||
1124 | }, { | ||
1125 | __index = function(cls, name) | ||
1126 | local val = rawget(_base_0, name) | ||
1127 | if val == nil then | ||
1128 | local parent = rawget(cls, "__parent") | ||
1129 | if parent then | ||
1130 | return parent[name] | ||
1131 | end | ||
1132 | else | ||
1133 | return val | ||
1134 | end | ||
1135 | end, | ||
1136 | __call = function(cls, ...) | ||
1137 | local _self_0 = setmetatable({ }, _base_0) | ||
1138 | cls.__init(_self_0, ...) | ||
1139 | return _self_0 | ||
1140 | end | ||
1141 | }) | ||
1142 | _base_0.__class = _class_0 | ||
1143 | if _parent_0.__inherited then | ||
1144 | _parent_0.__inherited(_parent_0, _class_0) | ||
1145 | end | ||
1146 | end | ||
1147 | local _u7c7bA | ||
1148 | do | ||
1149 | local _class_0 | ||
1150 | local _base_0 = { } | ||
1151 | local _list_0 = { | ||
1152 | _u7c7bB, | ||
1153 | _u7c7bC, | ||
1154 | _u7c7bD, | ||
1155 | { | ||
1156 | ["值"] = 123 | ||
1157 | } | ||
1158 | } | ||
1159 | for _index_0 = 1, #_list_0 do | ||
1160 | local _item_0 = _list_0[_index_0] | ||
1161 | local _cls_0, _mixin_0 = (_item_0.__base ~= nil), _item_0.__base or _item_0 | ||
1162 | for _key_0, _val_0 in pairs(_mixin_0) do | ||
1163 | if _base_0[_key_0] == nil and (not _cls_0 or not _key_0:match("^__")) then | ||
1164 | _base_0[_key_0] = _val_0 | ||
1165 | end | ||
1166 | end | ||
1167 | end | ||
1168 | if _base_0.__index == nil then | ||
1169 | _base_0.__index = _base_0 | ||
1170 | end | ||
1171 | _class_0 = setmetatable({ | ||
1172 | __init = function() end, | ||
1173 | __base = _base_0, | ||
1174 | __name = "类A" | ||
1175 | }, { | ||
1176 | __index = _base_0, | ||
1177 | __call = function(cls, ...) | ||
1178 | local _self_0 = setmetatable({ }, _base_0) | ||
1179 | cls.__init(_self_0, ...) | ||
1180 | return _self_0 | ||
1181 | end | ||
1182 | }) | ||
1183 | _base_0.__class = _class_0 | ||
1184 | _u7c7bA = _class_0 | ||
1185 | end | ||
1186 | local _u793a_u4f8b | ||
1187 | do | ||
1188 | local _class_0 | ||
1189 | local _base_0 = { } | ||
1190 | if _base_0.__index == nil then | ||
1191 | _base_0.__index = _base_0 | ||
1192 | end | ||
1193 | _class_0 = setmetatable({ | ||
1194 | __init = function() end, | ||
1195 | __base = _base_0, | ||
1196 | __name = "示例" | ||
1197 | }, { | ||
1198 | __index = _base_0, | ||
1199 | __call = function(cls, ...) | ||
1200 | local _self_0 = setmetatable({ }, _base_0) | ||
1201 | cls.__init(_self_0, ...) | ||
1202 | return _self_0 | ||
1203 | end | ||
1204 | }) | ||
1205 | _base_0.__class = _class_0 | ||
1206 | local self = _class_0; | ||
1207 | self["字段1"] = 1 | ||
1208 | self["字段2"] = self["字段1"] + 1 | ||
1209 | _u793a_u4f8b = _class_0 | ||
1210 | end | ||
1211 | local _u968f_u4fbf | ||
1212 | do | ||
1213 | local _class_0 | ||
1214 | local _base_0 = { | ||
1215 | __mul = function(self, _u53c2_u6570y) | ||
1216 | return self["x字段"] * _u53c2_u6570y | ||
1217 | end, | ||
1218 | ["任意名称"] = 123, | ||
1219 | ["相加"] = _u76f8_u52a0, | ||
1220 | __add = add | ||
1221 | } | ||
1222 | if _base_0.__index == nil then | ||
1223 | _base_0.__index = _base_0 | ||
1224 | end | ||
1225 | _class_0 = setmetatable({ | ||
1226 | __init = function(self, _u53c2_u6570) | ||
1227 | self["x字段"] = _u53c2_u6570 | ||
1228 | end, | ||
1229 | __base = _base_0, | ||
1230 | __name = "随便" | ||
1231 | }, { | ||
1232 | __index = _base_0, | ||
1233 | __call = function(cls, ...) | ||
1234 | local _self_0 = setmetatable({ }, _base_0) | ||
1235 | cls.__init(_self_0, ...) | ||
1236 | return _self_0 | ||
1237 | end | ||
1238 | }) | ||
1239 | _base_0.__class = _class_0 | ||
1240 | _u968f_u4fbf = _class_0 | ||
1241 | end | ||
1242 | return nil | ||