rubyjs 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (144) hide show
  1. data/README +128 -0
  2. data/Rakefile +9 -0
  3. data/bin/rubyjs +140 -0
  4. data/examples/ex1/Rakefile +7 -0
  5. data/examples/ex1/ex1.js +771 -0
  6. data/examples/ex1/ex1.rb +42 -0
  7. data/examples/ex1/index.html +7 -0
  8. data/examples/hw/Rakefile +9 -0
  9. data/examples/hw/hw.js +635 -0
  10. data/examples/hw/hw.rb +7 -0
  11. data/examples/hw/index.html +7 -0
  12. data/patches/parse_tree.rb.diff +34 -0
  13. data/rubyjs.gemspec +24 -0
  14. data/src/rubyjs.rb +4 -0
  15. data/src/rubyjs/code_generator.rb +474 -0
  16. data/src/rubyjs/compiler.rb +2007 -0
  17. data/src/rubyjs/debug_name_generator.rb +75 -0
  18. data/src/rubyjs/encoder.rb +171 -0
  19. data/src/rubyjs/eval_into.rb +59 -0
  20. data/src/rubyjs/lib/core.rb +1008 -0
  21. data/src/rubyjs/lib/json.rb +101 -0
  22. data/src/rubyjs/model.rb +287 -0
  23. data/src/rubyjs/name_generator.rb +71 -0
  24. data/src/rwt/AbsolutePanel.rb +161 -0
  25. data/src/rwt/DOM.Konqueror.rb +89 -0
  26. data/src/rwt/DOM.Opera.rb +65 -0
  27. data/src/rwt/DOM.rb +1044 -0
  28. data/src/rwt/Event.Opera.rb +35 -0
  29. data/src/rwt/Event.rb +429 -0
  30. data/src/rwt/HTTPRequest.IE6.rb +5 -0
  31. data/src/rwt/HTTPRequest.rb +74 -0
  32. data/src/rwt/Label.rb +164 -0
  33. data/src/rwt/Panel.rb +90 -0
  34. data/src/rwt/RootPanel.rb +16 -0
  35. data/src/rwt/UIObject.rb +495 -0
  36. data/src/rwt/Widget.rb +193 -0
  37. data/src/rwt/ported-from/AbsolutePanel.java +158 -0
  38. data/src/rwt/ported-from/DOM.java +571 -0
  39. data/src/rwt/ported-from/DOMImpl.java +426 -0
  40. data/src/rwt/ported-from/DOMImplOpera.java +82 -0
  41. data/src/rwt/ported-from/DOMImplStandard.java +234 -0
  42. data/src/rwt/ported-from/HTTPRequest.java +81 -0
  43. data/src/rwt/ported-from/HTTPRequestImpl.java +103 -0
  44. data/src/rwt/ported-from/Label.java +163 -0
  45. data/src/rwt/ported-from/Panel.java +99 -0
  46. data/src/rwt/ported-from/UIObject.java +614 -0
  47. data/src/rwt/ported-from/Widget.java +221 -0
  48. data/test/benchmark/bm_call_conv1.js +16 -0
  49. data/test/benchmark/bm_call_conv2.js +14 -0
  50. data/test/benchmark/bm_var_acc1.js +13 -0
  51. data/test/benchmark/bm_var_acc2.js +11 -0
  52. data/test/benchmark/bm_vm1_block.js +15 -0
  53. data/test/benchmark/bm_vm1_block.rb +15 -0
  54. data/test/benchmark/bm_vm1_const.js +13 -0
  55. data/test/benchmark/bm_vm1_const.rb +13 -0
  56. data/test/benchmark/bm_vm1_ensure.js +17 -0
  57. data/test/benchmark/bm_vm1_ensure.rb +15 -0
  58. data/test/benchmark/common.js +4 -0
  59. data/test/benchmark/common.rb +5 -0
  60. data/test/benchmark/params.yaml +7 -0
  61. data/test/browser.test.html +4059 -0
  62. data/test/browser.test.js +3225 -0
  63. data/test/common.Browser.rb +13 -0
  64. data/test/common.rb +8 -0
  65. data/test/gen_browser_test_suite.rb +129 -0
  66. data/test/gen_test_suite.rb +41 -0
  67. data/test/run_benchs.rb +58 -0
  68. data/test/run_tests.rb +22 -0
  69. data/test/test_args.rb +24 -0
  70. data/test/test_array.rb +26 -0
  71. data/test/test_case.rb +35 -0
  72. data/test/test_class.rb +55 -0
  73. data/test/test_eql.rb +9 -0
  74. data/test/test_exception.rb +61 -0
  75. data/test/test_expr.rb +12 -0
  76. data/test/test_hash.rb +29 -0
  77. data/test/test_if.rb +28 -0
  78. data/test/test_inspect.rb +10 -0
  79. data/test/test_lebewesen.rb +39 -0
  80. data/test/test_massign.rb +66 -0
  81. data/test/test_new.rb +12 -0
  82. data/test/test_range.rb +53 -0
  83. data/test/test_regexp.rb +22 -0
  84. data/test/test_send.rb +65 -0
  85. data/test/test_simple_output.rb +5 -0
  86. data/test/test_splat.rb +21 -0
  87. data/test/test_string.rb +51 -0
  88. data/test/test_yield.rb +152 -0
  89. data/utils/js/Makefile +9 -0
  90. data/utils/js/RunScript.class +0 -0
  91. data/utils/js/RunScript.java +73 -0
  92. data/utils/js/js.jar +0 -0
  93. data/utils/js/run.sh +3 -0
  94. data/utils/jsc/Makefile +7 -0
  95. data/utils/jsc/README +3 -0
  96. data/utils/jsc/RunScript.c +93 -0
  97. data/utils/jsc/run.sh +15 -0
  98. data/utils/yuicompressor/README +1 -0
  99. data/utils/yuicompressor/yuicompressor-2.2.5.jar +0 -0
  100. data/vendor/ParseTree-1.7.1-patched/History.txt +217 -0
  101. data/vendor/ParseTree-1.7.1-patched/Manifest.txt +22 -0
  102. data/vendor/ParseTree-1.7.1-patched/README.txt +110 -0
  103. data/vendor/ParseTree-1.7.1-patched/Rakefile +41 -0
  104. data/vendor/ParseTree-1.7.1-patched/bin/parse_tree_abc +89 -0
  105. data/vendor/ParseTree-1.7.1-patched/bin/parse_tree_audit +28 -0
  106. data/vendor/ParseTree-1.7.1-patched/bin/parse_tree_deps +62 -0
  107. data/vendor/ParseTree-1.7.1-patched/bin/parse_tree_show +49 -0
  108. data/vendor/ParseTree-1.7.1-patched/demo/printer.rb +20 -0
  109. data/vendor/ParseTree-1.7.1-patched/lib/composite_sexp_processor.rb +49 -0
  110. data/vendor/ParseTree-1.7.1-patched/lib/parse_tree.rb +1013 -0
  111. data/vendor/ParseTree-1.7.1-patched/lib/sexp.rb +235 -0
  112. data/vendor/ParseTree-1.7.1-patched/lib/sexp_processor.rb +330 -0
  113. data/vendor/ParseTree-1.7.1-patched/lib/unique.rb +15 -0
  114. data/vendor/ParseTree-1.7.1-patched/test/pt_testcase.rb +1221 -0
  115. data/vendor/ParseTree-1.7.1-patched/test/something.rb +53 -0
  116. data/vendor/ParseTree-1.7.1-patched/test/test_all.rb +13 -0
  117. data/vendor/ParseTree-1.7.1-patched/test/test_composite_sexp_processor.rb +69 -0
  118. data/vendor/ParseTree-1.7.1-patched/test/test_parse_tree.rb +216 -0
  119. data/vendor/ParseTree-1.7.1-patched/test/test_sexp.rb +291 -0
  120. data/vendor/ParseTree-1.7.1-patched/test/test_sexp_processor.rb +244 -0
  121. data/vendor/ParseTree-1.7.1-patched/validate.sh +31 -0
  122. data/vendor/ParseTree-1.7.1/History.txt +217 -0
  123. data/vendor/ParseTree-1.7.1/Manifest.txt +22 -0
  124. data/vendor/ParseTree-1.7.1/README.txt +110 -0
  125. data/vendor/ParseTree-1.7.1/Rakefile +41 -0
  126. data/vendor/ParseTree-1.7.1/bin/parse_tree_abc +89 -0
  127. data/vendor/ParseTree-1.7.1/bin/parse_tree_audit +28 -0
  128. data/vendor/ParseTree-1.7.1/bin/parse_tree_deps +62 -0
  129. data/vendor/ParseTree-1.7.1/bin/parse_tree_show +49 -0
  130. data/vendor/ParseTree-1.7.1/demo/printer.rb +20 -0
  131. data/vendor/ParseTree-1.7.1/lib/composite_sexp_processor.rb +49 -0
  132. data/vendor/ParseTree-1.7.1/lib/parse_tree.rb +1004 -0
  133. data/vendor/ParseTree-1.7.1/lib/sexp.rb +235 -0
  134. data/vendor/ParseTree-1.7.1/lib/sexp_processor.rb +330 -0
  135. data/vendor/ParseTree-1.7.1/lib/unique.rb +15 -0
  136. data/vendor/ParseTree-1.7.1/test/pt_testcase.rb +1221 -0
  137. data/vendor/ParseTree-1.7.1/test/something.rb +53 -0
  138. data/vendor/ParseTree-1.7.1/test/test_all.rb +13 -0
  139. data/vendor/ParseTree-1.7.1/test/test_composite_sexp_processor.rb +69 -0
  140. data/vendor/ParseTree-1.7.1/test/test_parse_tree.rb +216 -0
  141. data/vendor/ParseTree-1.7.1/test/test_sexp.rb +291 -0
  142. data/vendor/ParseTree-1.7.1/test/test_sexp_processor.rb +244 -0
  143. data/vendor/ParseTree-1.7.1/validate.sh +31 -0
  144. metadata +230 -0
@@ -0,0 +1,3225 @@
1
+ // declare nil
2
+ function NilClass() {}
3
+
4
+ // FIXME: remove
5
+ NilClass.prototype.toString = function() { return "nil"; };
6
+ nil = new NilClass();
7
+
8
+ //
9
+ // define a null-function (used by HTTPRequest)
10
+ //
11
+ function a$q()
12
+ {
13
+ }
14
+
15
+ //
16
+ // r: return value
17
+ // s: scope (method scope)
18
+ //
19
+ function a$c(r,s)
20
+ {
21
+ this.a$a = r;
22
+ this.a$b = s;
23
+ return this;
24
+ }
25
+
26
+ //
27
+ // Throw in Javascript is a statement.
28
+ //
29
+ // This function can be used to overcome
30
+ // that limitation.
31
+ //
32
+ function a$m(x) { throw(x); }
33
+
34
+ function a$b(a)
35
+ {
36
+ // TODO
37
+ return a;
38
+ }
39
+
40
+ //
41
+ // helper function for multiple assignment in
42
+ // iterator parameters.
43
+ //
44
+ // undefined -> []
45
+ // 1 -> [1]
46
+ // [1] -> [[1]]
47
+ // [] -> [[]]
48
+ // [1,2] -> [1,2]
49
+ //
50
+ function a$j(a)
51
+ {
52
+ if (a===undefined) return [];
53
+ if (a.constructor!=Array || a.length<2) return [a];
54
+ return a;
55
+ }
56
+
57
+ //
58
+ // Call the method in the superclass.
59
+ //
60
+ // As super is used quite rarely, we dont optimize for it.
61
+ //
62
+ // object, method, iterator, arguments
63
+ //
64
+ function a$l(o, m, i, a)
65
+ {
66
+ var r = o[m]; // method in current class
67
+ var c = o.a$g.a$e;
68
+ while (r === c.a$d.prototype[m])
69
+ c = c.a$e;
70
+ return c.a$d.prototype[m].apply(o, [i].concat(a));
71
+ }
72
+
73
+ function a$k(o, m, a)
74
+ {
75
+ var r = o[m]; // method in current class
76
+ var c = o.a$g.a$e;
77
+ while (r === c.a$d.prototype[m])
78
+ c = c.a$e;
79
+ return c.a$d.prototype[m].apply(o, a);
80
+ }
81
+
82
+ //
83
+ // Whether o.kind_of?(c)
84
+ //
85
+ function a$i(o, c)
86
+ {
87
+ var k,i,m;
88
+
89
+ k = o.a$g;
90
+
91
+ while (k != nil)
92
+ {
93
+ if (k === c) return true;
94
+
95
+ // check included modules
96
+ m = k.a$j;
97
+ for (i=0; i<m.length; i++)
98
+ {
99
+ if (m[i] === c) return true;
100
+ }
101
+
102
+ k = k.a$e;
103
+ }
104
+
105
+ return false;
106
+ }
107
+
108
+ function a$o(c)
109
+ {
110
+ for (var i=0; i<c.length; i++)
111
+ a$e(c[i]);
112
+ }
113
+
114
+ function a$e(c)
115
+ {
116
+ var k,i;
117
+
118
+ //
119
+ // include modules
120
+ //
121
+ // do that before, because when assigning instance methods of
122
+ // the super class, a check for === undefined prevents this method
123
+ // from being overwritten.
124
+ //
125
+ for (i=0; i<c.a$j.length; i++)
126
+ {
127
+ for (k in c.a$j[i].a$d.prototype)
128
+ {
129
+ if (c.a$d.prototype[k]===undefined)
130
+ {
131
+ c.a$d.prototype[k] = c.a$j[i].a$d.prototype[k];
132
+ }
133
+ }
134
+ }
135
+
136
+ // instance methods
137
+ if (c.a$e != nil)
138
+ {
139
+ for (k in c.a$e.a$d.prototype)
140
+ {
141
+ if (c.a$d.prototype[k]===undefined)
142
+ {
143
+ c.a$d.prototype[k] = c.a$e.a$d.prototype[k];
144
+ }
145
+ }
146
+ }
147
+
148
+ // inherit class methods from superclass
149
+ if (c.a$e != nil)
150
+ {
151
+ for (k in c.a$e)
152
+ {
153
+ if (c[k]===undefined)
154
+ {
155
+ c[k] = c.a$e[k];
156
+ }
157
+ }
158
+ }
159
+
160
+ // set class for instanciated objects
161
+ c.a$d.prototype.a$g = c;
162
+ }
163
+
164
+ function a$d(h)
165
+ {
166
+ var c,k,i;
167
+ c = h.a$g || $b.$a(nil, h.a$e, h.a$c, h.a$d);
168
+
169
+ if (h.a$h)
170
+ {
171
+ for (k in h.a$h)
172
+ {
173
+ c.a$d.prototype[k] = h.a$h[k];
174
+ }
175
+ }
176
+
177
+ if (h.a$f)
178
+ {
179
+ for (k in h.a$f) c[k] = h.a$f[k];
180
+ }
181
+
182
+ if (h.a$j)
183
+ {
184
+ for (i=0; i<h.a$j.length; i++)
185
+ {
186
+ c.a$j.push(h.a$j[i]);
187
+ }
188
+ }
189
+
190
+ return c;
191
+ }
192
+
193
+ function a$a(_a, _b, _c, _d)
194
+ {
195
+ this.a$e = _b;
196
+ this.a$c = _c;
197
+ this.a$d = _d;
198
+ this.a$j = [];
199
+ this.a$g = _a;
200
+ return this;
201
+ }
202
+
203
+ a$a.$e = function() { return "MetaClass"; };
204
+ a$a.$z = function() { return this; };
205
+ //
206
+ // Generates a new method_missing function
207
+ // for the given symbol +sym+.
208
+ //
209
+ var a$r = {};
210
+ function a$s(sym)
211
+ {
212
+ if (!a$r[sym])
213
+ {
214
+ var fn = function() {
215
+ return a$t(this, arguments, sym);
216
+ };
217
+ fn.a$i = true;
218
+ a$r[sym] = fn;
219
+ }
220
+
221
+ return a$r[sym];
222
+ }
223
+
224
+ function a$t(obj, args, sym)
225
+ {
226
+ var i, a;
227
+ a = [];
228
+ if (args.length == 0)
229
+ a.push(nil);
230
+ else
231
+ a.push(args[0]);
232
+
233
+ a.push(a$h[sym] || nil);
234
+
235
+ for (i=1; i<args.length; i++)
236
+ a.push(args[i]);
237
+
238
+ var m = obj.$n;
239
+
240
+ if (m)
241
+ return m.apply(obj, a);
242
+ else
243
+ throw "FATAL: method_missing missing";
244
+ }
245
+
246
+ //
247
+ // assign method_missing stubs
248
+ //
249
+ function a$p(c)
250
+ {
251
+ var i;
252
+
253
+ for (i in a$h)
254
+ {
255
+ if (c.a$d.prototype[i]===undefined)
256
+ {
257
+ c.a$d.prototype[i] = a$s(i);
258
+ }
259
+ }
260
+
261
+ if (c.a$e != nil)
262
+ {
263
+ for (i in c.a$e)
264
+ {
265
+ if (c[i]===undefined)
266
+ {
267
+ c[i] = a$s(i);
268
+ }
269
+ }
270
+ }
271
+ }
272
+ // method map
273
+ var a$h = {"$K":"test","$aM":"end","$aO":"sub","$v":"each","$3":"m","$2":"new_from_jsobject","$x":"loop","$8":"to_f","$1":"%","$bd":"member?","$M":"collect","$aX":"test_three_times_indirect","$al":"&","$a6":"three_times_yield","$Z":"new_from_key_value_list","$aT":"test_loop2","$f":"===","$aS":"three_times_block","$D":"==","$aY":"three_times_indirect","$at":"reverse","$Q":"map","$ae":"downto","$9":"to_i","$ak":"times","$t":"p","$aK":"include?","$s":"proc","$b":"allocate","$U":"keys","$S":"reject","$a1":"three_times_yield2","$as":"size","$ar":"*","$L":"+","$aa":"delete","$Y":"values","$aB":"unshift","$aW":"return_in_block","$ac":"upto","$aD":"dup","$aF":"rjust","$ag":"-","$bf":"not_a_method","$q":"nil?","$a":"new","$aV":"test_while_loop","$ai":"/","$O":"call","$E":"message","$aA":"push","$y":"is_a?","$aQ":"split","$G":"main","$e":"name","$l":"empty?","$_":"to_splat","$J":"jage","$j":"raise","$0":"length","$o":"to_s","$af":">=","$au":"clear","$7":"c_method","$ab":"array","$aj":"|","$h":"kind_of?","$P":"find_all","$am":"~","$aU":"loop2","$V":"[]","$a0":"test_three_times_yield2","$aR":"strip","$a5":"test_return_in_block","$ap":"-@","$X":"[]=","$ah":"succ","$B":"hash","$z":"class","$i":"inspect","$aC":"reverse!","$a2":"test_three_times_block","$an":"^","$a4":"test_three_times_yield","$p":"__send","$g":"eql?","$ay":"pop","$C":"method","$5":"<","$I":"wau","$aw":"first","$aL":"begin","$N":"<<","$aG":"ljust","$d":"__invoke","$ao":">","$ad":"<=","$c":"initialize","$w":"send","$6":"a_method","$r":"respond_to?","$a3":"test_loop","$k":"shift","$be":"blah_blah","$aN":"exclude_end?","$aq":"+@","$T":"select","$H":"miau","$R":"to_a","$n":"method_missing","$aE":"index","$aP":"=~","$aZ":"test_proc","$W":"join","$ax":"each_with_index","$A":"tap","$av":"last","$m":"instance_of?","$aJ":"gsub","$u":"puts","$az":"to_ary"};
274
+ var a$f = {};
275
+ for (var i in a$h) a$f[a$h[i]] = i;
276
+ $b = a$d({a$e: nil,a$f: {$a:
277
+ /* Class.new */
278
+ function(_e,_a,_b,_c){var self,_d;
279
+ self=this;
280
+ try{if(arguments.length<3)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 2)'));
281
+ if(arguments.length>4)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 3)'));
282
+ if(_c==null)_c=nil;
283
+ ;
284
+ if((_d=_c,_d===false||_d===nil)){_c=(function() {})};
285
+ return new self.a$d($b, _a, _b, _c);}catch(_f){if(_f instanceof a$c && (!_f.a$b || _f.a$b==2))return _f.a$a;
286
+ throw(_f)}}
287
+
288
+ },a$c: "Class",a$g: new a$a(a$a, nil, "Class", a$a),a$h: {$e:
289
+ /* Class#name */
290
+ function(){var self;
291
+ self=this;
292
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
293
+ ;
294
+ return self.a$c}
295
+
296
+ ,$a:
297
+ /* Class#new */
298
+ function(_c){var self,_a,_b,_d,_e,_f;
299
+ _f=nil;
300
+ self=this;
301
+ _d=_c==null?nil:_c;
302
+ try{_a=[];
303
+ for(_b=1;_b<arguments.length;_b++)_a.push(arguments[_b]);
304
+ ;
305
+ _e=self.$b();
306
+ _e.$d(_d,'$c',a$b(_a));
307
+ _f=_e;
308
+ return _f}catch(_g){if(_g instanceof a$c && (!_g.a$b || _g.a$b==0))return _g.a$a;
309
+ throw(_g)}}
310
+
311
+ ,$f:
312
+ /* Class#=== */
313
+ function(_d,_a){var self,_b,_c;
314
+ _c=nil;
315
+ self=this;
316
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
317
+ ;
318
+ _c=(_b=self.$g(nil,_a), (_b!==false&&_b!==nil) ? _b : (_a.$h(nil,self)));
319
+ return _c}catch(_e){if(_e instanceof a$c && (!_e.a$b || _e.a$b==1))return _e.a$a;
320
+ throw(_e)}}
321
+
322
+ ,$b:
323
+ /* Class#allocate */
324
+ function(){var self;
325
+ self=this;
326
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
327
+ ;
328
+ return (new self.a$d())}
329
+
330
+ ,$i:
331
+ /* Class#inspect */
332
+ function(){var self;
333
+ self=this;
334
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
335
+ ;
336
+ return self.a$c}
337
+
338
+ }});a$e($b);$i = a$d({a$j: [],a$e: nil,a$c: "Kernel",a$h: {$p:
339
+ /* Kernel#__send */
340
+ function(_d,_a){var self,_b,_c,_e;
341
+ self=this;
342
+ _e=_d==null?nil:_d;
343
+ try{if(arguments.length<2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
344
+ _b=[];
345
+ for(_c=2;_c<arguments.length;_c++)_b.push(arguments[_c]);
346
+ ;
347
+
348
+ var m = self[a$f[_a]];
349
+ if (m)
350
+ return m.apply(self, [_e].concat(_b));
351
+ else
352
+ return self.$n.apply(self, [_e].concat([_a]).concat(_b));}catch(_f){if(_f instanceof a$c && (!_f.a$b || _f.a$b==4))return _f.a$a;
353
+ throw(_f)}}
354
+
355
+ ,$n:
356
+ /* Kernel#method_missing */
357
+ function(_d,_a){var self,_b,_c,_e,_f;
358
+ _f=nil;
359
+ self=this;
360
+ _e=_d==null?nil:_d;
361
+ try{if(arguments.length<2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
362
+ _b=[];
363
+ for(_c=2;_c<arguments.length;_c++)_b.push(arguments[_c]);
364
+ ;
365
+ _f=self.$j(nil,$g,("undefined method `" + (_a).$o() + ("' for ").$o() + (self.$i()).$o()));
366
+ return _f}catch(_g){if(_g instanceof a$c && (!_g.a$b || _g.a$b==3))return _g.a$a;
367
+ throw(_g)}}
368
+
369
+ ,$j:
370
+ /* Kernel#raise */
371
+ function(){var self,_a,_b,_c,_d;
372
+ self=this;
373
+ _a=[];
374
+ for(_b=1;_b<arguments.length;_b++)_a.push(arguments[_b]);
375
+ ;
376
+ _c=((_b=_a.$l(),_b!==false&&_b!==nil)?$c.$a(nil,""):(_d=_a.$k(),((_b=_d.$h(nil,$b),_b!==false&&_b!==nil)?_d.$d(nil,'$a',a$b(_a)):((_b=_d.$m(nil,$f),_b!==false&&_b!==nil)?((_b=_a.$l(),_b!==false&&_b!==nil)?_d:$a.$a(nil,"to many arguments given to raise")):((_b=_d.$m(nil,$e),_b!==false&&_b!==nil)?((_b=_a.$l(),_b!==false&&_b!==nil)?$c.$a(nil,_d):$a.$a(nil,"to many arguments given to raise")):$d.$a(nil,"exception class/object expected"))))));
377
+ throw(_c)}
378
+
379
+ ,$q:
380
+ /* Kernel#nil? */
381
+ function(){var self,_a;
382
+ _a=nil;
383
+ self=this;
384
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
385
+ ;
386
+ _a=false;
387
+ return _a}
388
+
389
+ ,$s:
390
+ /* Kernel#proc */
391
+ function(_a){var self,_b,_c;
392
+ _c=nil;
393
+ self=this;
394
+ _b=_a==null?nil:_a;
395
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
396
+ ;
397
+ _c=$h.$a(_b);
398
+ return _c}catch(_d){if(_d instanceof a$c && (!_d.a$b || _d.a$b==6))return _d.a$a;
399
+ throw(_d)}}
400
+
401
+ ,$r:
402
+ /* Kernel#respond_to? */
403
+ function(_b,_a){var self;
404
+ self=this;
405
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
406
+ ;
407
+
408
+ var m = a$f[_a];
409
+ return (m !== undefined && self[m] !== undefined && !self[m].a$i)}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==5))return _c.a$a;
410
+ throw(_c)}}
411
+
412
+ ,$t:
413
+ /* Kernel#p */
414
+ function(){var self,_a,_b,_f;
415
+ _f=nil;
416
+ self=this;
417
+ _a=[];
418
+ for(_b=1;_b<arguments.length;_b++)_a.push(arguments[_b]);
419
+ ;
420
+ _a.$v(function(_c){var _d;
421
+ var _e=nil;
422
+ _d=_c==null?nil:_c;
423
+ _e=self.$u(nil,_d.$i());
424
+ return _e});
425
+ _f=nil;
426
+ return _f}
427
+
428
+ ,$d:
429
+ /* Kernel#__invoke */
430
+ function(_c,_a,_b){var self,_d;
431
+ self=this;
432
+ _d=_c==null?nil:_c;
433
+ try{if(arguments.length!=3)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 2)'));
434
+ ;
435
+
436
+ var m = self[_a];
437
+ if (m)
438
+ return m.apply(self, [_d].concat(_b));
439
+ else
440
+ return self.$n.apply(self,
441
+ [_d].concat([a$h[_a]]).concat(_b));}catch(_e){if(_e instanceof a$c && (!_e.a$b || _e.a$b==7))return _e.a$a;
442
+ throw(_e)}}
443
+
444
+ ,$x:
445
+ /* Kernel#loop */
446
+ function(_a){var self,_b;
447
+ _b=nil;
448
+ self=this;
449
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
450
+ ;
451
+ while(true){_a()};
452
+ _b=nil;
453
+ ;
454
+ return _b}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==10))return _c.a$a;
455
+ throw(_c)}}
456
+
457
+ ,$u:
458
+ /* Kernel#puts */
459
+ function(_b,_a){var self;
460
+ self=this;
461
+ try{if(arguments.length>2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
462
+ if(_a==null)_a="";
463
+ ;
464
+ _a=_a.$o();
465
+ STDOUT_puts(_a)}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==9))return _c.a$a;
466
+ throw(_c)}}
467
+
468
+ ,$w:
469
+ /* Kernel#send */
470
+ function(_d,_a){var self,_b,_c,_e;
471
+ self=this;
472
+ _e=_d==null?nil:_d;
473
+ try{if(arguments.length<2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
474
+ _b=[];
475
+ for(_c=2;_c<arguments.length;_c++)_b.push(arguments[_c]);
476
+ ;
477
+
478
+ var m = self[a$f[_a]];
479
+ if (m)
480
+ return m.apply(self, [_e].concat(_b));
481
+ else
482
+ return self.$n.apply(self, [_e].concat([_a]).concat(_b));}catch(_f){if(_f instanceof a$c && (!_f.a$b || _f.a$b==8))return _f.a$a;
483
+ throw(_f)}}
484
+
485
+ }});$k = a$d({a$j: [$i],a$e: nil,a$c: "Object",a$h: {$h:
486
+ /* Object#kind_of? */
487
+ function(_b,_a){var self;
488
+ self=this;
489
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
490
+ ;
491
+ return a$i(self, _a)}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==11))return _c.a$a;
492
+ throw(_c)}}
493
+
494
+ ,$y:
495
+ /* Object#is_a? */
496
+ function(_b,_a){var self;
497
+ self=this;
498
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
499
+ ;
500
+ return a$i(self, _a)}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==12))return _c.a$a;
501
+ throw(_c)}}
502
+
503
+ ,$z:
504
+ /* Object#class */
505
+ function(){var self;
506
+ self=this;
507
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
508
+ ;
509
+ return self.a$g}
510
+
511
+ ,$g:
512
+ /* Object#eql? */
513
+ function(_b,_a){var self;
514
+ self=this;
515
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
516
+ ;
517
+ return (self.constructor == _a.constructor && self == _a)}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==13))return _c.a$a;
518
+ throw(_c)}}
519
+
520
+ ,$B:
521
+ /* Object#hash */
522
+ function(){var self;
523
+ self=this;
524
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
525
+ ;
526
+ return self.toString()}
527
+
528
+ ,$A:
529
+ /* Object#tap */
530
+ function(_a){var self,_b;
531
+ _b=nil;
532
+ self=this;
533
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
534
+ ;
535
+ _a(self);
536
+ _b=self;
537
+ return _b}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==14))return _c.a$a;
538
+ throw(_c)}}
539
+
540
+ ,$o:
541
+ /* Object#to_s */
542
+ function(){var self;
543
+ self=this;
544
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
545
+ ;
546
+ return self.toString()}
547
+
548
+ ,$c:
549
+ /* Object#initialize */
550
+ function(){var self,_a;
551
+ _a=nil;
552
+ self=this;
553
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
554
+ ;
555
+ _a=nil;
556
+ return _a}
557
+
558
+ ,$C:
559
+ /* Object#method */
560
+ function(_c,_a){var self,_b;
561
+ _b=nil;
562
+ self=this;
563
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
564
+ ;
565
+ _b=$j.$a(nil,self,_a);
566
+ return _b}catch(_d){if(_d instanceof a$c && (!_d.a$b || _d.a$b==15))return _d.a$a;
567
+ throw(_d)}}
568
+
569
+ ,$f:
570
+ /* Object#=== */
571
+ function(_d,_a){var self,_b,_c;
572
+ _c=nil;
573
+ self=this;
574
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
575
+ ;
576
+ _c=(_b=self.$g(nil,_a), (_b!==false&&_b!==nil) ? _b : (self.$h(nil,_a)));
577
+ return _c}catch(_e){if(_e instanceof a$c && (!_e.a$b || _e.a$b==16))return _e.a$a;
578
+ throw(_e)}}
579
+
580
+ ,$m:
581
+ /* Object#instance_of? */
582
+ function(_b,_a){var self;
583
+ self=this;
584
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
585
+ ;
586
+ return (self.a$g === _a)}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==17))return _c.a$a;
587
+ throw(_c)}}
588
+
589
+ ,$i:
590
+ /* Object#inspect */
591
+ function(){var self;
592
+ self=this;
593
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
594
+ ;
595
+ return self.toString()}
596
+
597
+ }});$l = a$d({a$j: [],a$e: $k,a$c: "Boolean",a$d: Boolean,a$h: {$D:
598
+ /* Boolean#== */
599
+ function(_b,_a){var self;
600
+ self=this;
601
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
602
+ ;
603
+ return (self == _a)}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==18))return _c.a$a;
604
+ throw(_c)}}
605
+
606
+ ,$o:
607
+ /* Boolean#to_s */
608
+ function(){var self;
609
+ self=this;
610
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
611
+ ;
612
+ return (self == true ? 'true' : 'false')}
613
+
614
+ ,$i:
615
+ /* Boolean#inspect */
616
+ function(){var self;
617
+ self=this;
618
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
619
+ ;
620
+ return (self == true ? 'true' : 'false')}
621
+
622
+ }});$m = a$d({a$j: [],a$e: $k,a$c: "T_TestSend::C",a$h: {$n:
623
+ /* T_TestSend::C#method_missing */
624
+ function(_d,_a){var self,_b,_c,_e,_f;
625
+ _f=nil;
626
+ self=this;
627
+ _e=_d==null?nil:_d;
628
+ try{if(arguments.length<2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
629
+ _b=[];
630
+ for(_c=2;_c<arguments.length;_c++)_b.push(arguments[_c]);
631
+ ;
632
+ _f=self.$t(nil,("mm: " + (_a).$o() + (", ").$o() + (_b).$o()));
633
+ return _f}catch(_g){if(_g instanceof a$c && (!_g.a$b || _g.a$b==19))return _g.a$a;
634
+ throw(_g)}}
635
+
636
+ }});$f = a$d({a$j: [],a$e: $k,a$c: "Exception",a$h: {$E:
637
+ /* Exception#message */
638
+ function(){var self,_a;
639
+ _a=nil;
640
+ self=this;
641
+ if(self.$F==null)self.$F=nil;
642
+ _a=self.$F;
643
+ return _a}
644
+
645
+ ,$o:
646
+ /* Exception#to_s */
647
+ function(){var self,_a;
648
+ _a=nil;
649
+ self=this;
650
+ if(self.$F==null)self.$F=nil;
651
+ _a=self.$F;
652
+ return _a}
653
+
654
+ ,$c:
655
+ /* Exception#initialize */
656
+ function(_d,_a){var self,_c,_b;
657
+ _b=nil;
658
+ self=this;
659
+ try{if(arguments.length>2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
660
+ if(_a==null)_a=nil;
661
+ ;
662
+ if((_c=_a.$q(),_c!==false&&_c!==nil)){_b=self.$F=self.$z().$e()}else{_b=self.$F=_a};
663
+ return _b}catch(_e){if(_e instanceof a$c && (!_e.a$b || _e.a$b==20))return _e.a$a;
664
+ throw(_e)}}
665
+
666
+ ,$i:
667
+ /* Exception#inspect */
668
+ function(){var self,_a;
669
+ _a=nil;
670
+ self=this;
671
+ if(self.$F==null)self.$F=nil;
672
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
673
+ ;
674
+ _a=("#<" + (self.$z().$e()).$o() + (": ").$o() + (self.$F).$o() + (">").$o());
675
+ return _a}
676
+
677
+ }});$n = a$d({a$j: [],a$e: $f,a$c: "StandardError"});$o = a$d({a$j: [],a$e: $n,a$c: "NameError"});$g = a$d({a$j: [],a$e: $o,a$c: "NoMethodError"});$r = a$d({a$j: [],a$e: $k,a$f: {$G:
678
+ /* T_TestLebewesen::TestLebewesen.main */
679
+ function(){var self,_a,_b,_c,_d;
680
+ _d=nil;
681
+ self=this;
682
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
683
+ ;
684
+ _a=$p.$a(nil,"AA-BB","Leni");
685
+ _b=$p.$a(nil,"AC-DC","Flocki");
686
+ _c=$q.$a(nil,"AA-ZZ");
687
+ _a.$H();
688
+ _c.$I();
689
+ _d=_c.$J(nil,_a);
690
+ return _d}
691
+
692
+ },a$c: "T_TestLebewesen::TestLebewesen"});$s = a$d({a$j: [],a$e: nil,a$c: "T_TestException"});$w = a$d({a$j: [],a$e: $k,a$f: {$G:
693
+ /* T_TestCase::TestCase.main */
694
+ function(){var self,_a;
695
+ _a=nil;
696
+ self=this;
697
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
698
+ ;
699
+ _a=self.$a().$K();
700
+ return _a}
701
+
702
+ },a$c: "T_TestCase::TestCase",a$h: {$K:
703
+ /* T_TestCase::TestCase#test */
704
+ function(){var self,_a,_b,_c,_d;
705
+ _d=nil;
706
+ self=this;
707
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
708
+ ;
709
+ _a=(1).$L(nil,1);
710
+ if((_b=(_c=(1).$f(nil,_a), (_c!==false&&_c!==nil) ? _c : ((3).$f(nil,_a))),_b!==false&&_b!==nil)){self.$u(nil,"NOT OKAY")}else{if((_b=(2).$f(nil,_a),_b!==false&&_b!==nil)){self.$u(nil,"OKAY")}else{self.$u(nil,"NOT OKAY")}};
711
+ self.$t(nil,$t.$f(nil,[]));
712
+ self.$t(nil,$c.$f(nil,$c.$a()));
713
+ _a=1;
714
+ if((_b=$u.$f(nil,_a),_b!==false&&_b!==nil)){self.$u(nil,"OK")}else{if((_b=(1).$f(nil,_a),_b!==false&&_b!==nil)){self.$u(nil,"OK")}};
715
+ _a=_d=4;
716
+ if((_b=$v.$a(nil,0,3,false).$f(nil,_a),_b!==false&&_b!==nil)){_d=self.$u(nil,"NOT OKAY")}else{if((_b=$v.$a(nil,1,4,true).$f(nil,_a),_b!==false&&_b!==nil)){_d=self.$u(nil,"NOT OKAY")}else{if((_b=$v.$a(nil,2,4,false).$f(nil,_a),_b!==false&&_b!==nil)){_d=self.$u(nil,"OKAY")}else{_d=nil}}};
717
+ return _d}
718
+
719
+ }});$x = a$d({a$j: [],a$e: nil,a$c: "Enumerable",a$h: {$M:
720
+ /* Enumerable#collect */
721
+ function(_a){var self,_b,_c,_f,_h;
722
+ _h=nil;
723
+ self=this;
724
+ _b=_a==null?nil:_a;
725
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
726
+ ;
727
+ _c=[];
728
+ self.$v(function(_d){var _e;
729
+ var _g=nil;
730
+ _e=_d==null?nil:_d;
731
+ _g=_c.$N(nil,((_f=_b,_f!==false&&_f!==nil)?_b.$O(nil,_e):_e));
732
+ return _g});
733
+ _h=_c;
734
+ return _h}catch(_i){if(_i instanceof a$c && (!_i.a$b || _i.a$b==21))return _i.a$a;
735
+ throw(_i)}}
736
+
737
+ ,$P:
738
+ /* Enumerable#find_all */
739
+ function(_f){var self,_a,_e,_g;
740
+ _g=nil;
741
+ self=this;
742
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
743
+ ;
744
+ _a=[];
745
+ self.$v(function(_b){var _c;
746
+ var _d=nil;
747
+ _c=_b==null?nil:_b;
748
+ if((_e=_f(_c),_e!==false&&_e!==nil)){_d=_a.$N(nil,_c)}else{_d=nil};
749
+ return _d});
750
+ _g=_a;
751
+ return _g}catch(_h){if(_h instanceof a$c && (!_h.a$b || _h.a$b==22))return _h.a$a;
752
+ throw(_h)}}
753
+
754
+ ,$Q:
755
+ /* Enumerable#map */
756
+ function(_a){var self,_b,_c,_f,_h;
757
+ _h=nil;
758
+ self=this;
759
+ _b=_a==null?nil:_a;
760
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
761
+ ;
762
+ _c=[];
763
+ self.$v(function(_d){var _e;
764
+ var _g=nil;
765
+ _e=_d==null?nil:_d;
766
+ _g=_c.$N(nil,((_f=_b,_f!==false&&_f!==nil)?_b.$O(nil,_e):_e));
767
+ return _g});
768
+ _h=_c;
769
+ return _h}catch(_i){if(_i instanceof a$c && (!_i.a$b || _i.a$b==23))return _i.a$a;
770
+ throw(_i)}}
771
+
772
+ ,$R:
773
+ /* Enumerable#to_a */
774
+ function(){var self,_a,_e;
775
+ _e=nil;
776
+ self=this;
777
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
778
+ ;
779
+ _a=[];
780
+ self.$v(function(_b){var _c;
781
+ var _d=nil;
782
+ _c=_b==null?nil:_b;
783
+ _d=_a.$N(nil,_c);
784
+ return _d});
785
+ _e=_a;
786
+ return _e}
787
+
788
+ ,$S:
789
+ /* Enumerable#reject */
790
+ function(_f){var self,_a,_e,_g;
791
+ _g=nil;
792
+ self=this;
793
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
794
+ ;
795
+ _a=[];
796
+ self.$v(function(_b){var _c;
797
+ var _d=nil;
798
+ _c=_b==null?nil:_b;
799
+ if((_e=_f(_c),_e===false||_e===nil)){_d=_a.$N(nil,_c)}else{_d=nil};
800
+ return _d});
801
+ _g=_a;
802
+ return _g}catch(_h){if(_h instanceof a$c && (!_h.a$b || _h.a$b==24))return _h.a$a;
803
+ throw(_h)}}
804
+
805
+ ,$T:
806
+ /* Enumerable#select */
807
+ function(_f){var self,_a,_e,_g;
808
+ _g=nil;
809
+ self=this;
810
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
811
+ ;
812
+ _a=[];
813
+ self.$v(function(_b){var _c;
814
+ var _d=nil;
815
+ _c=_b==null?nil:_b;
816
+ if((_e=_f(_c),_e!==false&&_e!==nil)){_d=_a.$N(nil,_c)}else{_d=nil};
817
+ return _d});
818
+ _g=_a;
819
+ return _g}catch(_h){if(_h instanceof a$c && (!_h.a$b || _h.a$b==25))return _h.a$a;
820
+ throw(_h)}}
821
+
822
+ }});$y = a$d({a$j: [$x],a$e: $k,a$f: {$Z:
823
+ /* Hash.new_from_key_value_list */
824
+ function(){var self,_a,_b,_c;
825
+ self=this;
826
+ _a=[];
827
+ for(_b=1;_b<arguments.length;_b++)_a.push(arguments[_b]);
828
+ ;
829
+ if((_b=_a.$0().$1(nil,2).$D(nil,0),_b===false||_b===nil)){self.$j(nil,$a)};
830
+ _c=self.$b();
831
+
832
+ //
833
+ // we use an associate array to store the items. But unlike
834
+ // Javascript, the entries are arrays which contain the collisions.
835
+ // NOTE that we have to prefix the hash code with a prefix so that
836
+ // there are no collisions with methods etc.
837
+ // I prefix it for now with ":".
838
+ //
839
+ var items = {};
840
+ var hashed_key, current_key, current_val;
841
+
842
+ for (var i = 0; i < _a.length; i += 2)
843
+ {
844
+ current_key = _a[i];
845
+ current_val = _a[i+1];
846
+ hashed_key = ":" + current_key.$B();
847
+
848
+ // make sure that a bucket exists
849
+ if (!items[hashed_key]) items[hashed_key] = [];
850
+
851
+ items[hashed_key].push(current_key, current_val);
852
+ }
853
+
854
+ _c.a$k = items;
855
+ _c.a$l = nil;
856
+ return _c;
857
+ }
858
+
859
+ ,$2:
860
+ /* Hash.new_from_jsobject */
861
+ function(_d,_a){var self,_b,_c;
862
+ _c=nil;
863
+ self=this;
864
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
865
+ ;
866
+ _c=_b=self.$a();
867
+ return _c}catch(_e){if(_e instanceof a$c && (!_e.a$b || _e.a$b==29))return _e.a$a;
868
+ throw(_e)}}
869
+
870
+ },a$c: "Hash",a$h: {$V:
871
+ /* Hash#[] */
872
+ function(_b,_a){var self;
873
+ self=this;
874
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
875
+ ;
876
+
877
+ if (!self.a$k)
878
+ {
879
+ // this is a Javascript Object, not a RubyJS Hash object.
880
+ // we directly look the key up. it's fast but not Ruby-like,
881
+ // so be careful!
882
+
883
+ var elem = self[_a];
884
+ return (elem == null ? nil : elem);
885
+ }
886
+
887
+ var hashed_key = ":" + _a.$B();
888
+ var bucket = self.a$k[hashed_key];
889
+
890
+ if (bucket)
891
+ {
892
+ //
893
+ // find the matching element inside the bucket
894
+ //
895
+
896
+ for (var i = 0; i < bucket.length; i += 2)
897
+ {
898
+ if (bucket[i].$g(nil,_a))
899
+ return bucket[i+1];
900
+ }
901
+ }
902
+
903
+ // no matching key found -> return default value
904
+ return self.a$l;
905
+ }catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==26))return _c.a$a;
906
+ throw(_c)}}
907
+
908
+ ,$U:
909
+ /* Hash#keys */
910
+ function(){var self,_b,_f;
911
+ _b=_f=nil;
912
+ self=this;
913
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
914
+ ;
915
+ _f=self.$Q(function(_a){var _c,_d;
916
+ var _e=nil;
917
+ (_b=a$j(_a),_c=_b[0]==null?nil:_b[0],_d=_b[1]==null?nil:_b[1],_b);
918
+ _e=_c;
919
+ return _e});
920
+ return _f}
921
+
922
+ ,$o:
923
+ /* Hash#to_s */
924
+ function(){var self,_a,_c,_g;
925
+ _c=_g=nil;
926
+ self=this;
927
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
928
+ ;
929
+ _a=[];
930
+ self.$v(function(_b){var _d,_e;
931
+ var _f=nil;
932
+ (_c=a$j(_b),_d=_c[0]==null?nil:_c[0],_e=_c[1]==null?nil:_c[1],_c);
933
+ _a.$N(nil,_d);
934
+ _f=_a.$N(nil,_e);
935
+ return _f});
936
+ _g=_a.$W(nil,"");
937
+ return _g}
938
+
939
+ ,$X:
940
+ /* Hash#[]= */
941
+ function(_c,_a,_b){var self;
942
+ self=this;
943
+ try{if(arguments.length!=3)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 2)'));
944
+ ;
945
+
946
+ if (!self.a$k)
947
+ {
948
+ // this is a Javascript Object, not a RubyJS Hash object.
949
+ // we directly look the key up. it's fast but not Ruby-like,
950
+ // so be careful!
951
+
952
+ self[_a] = _b;
953
+ return _b;
954
+ }
955
+
956
+ var hashed_key = ":" + _a.$B();
957
+ var bucket = self.a$k[hashed_key];
958
+
959
+ if (bucket)
960
+ {
961
+ //
962
+ // find the matching element inside the bucket
963
+ //
964
+
965
+ for (var i = 0; i < bucket.length; i += 2)
966
+ {
967
+ if (bucket[i].$g(nil,_a))
968
+ {
969
+ // overwrite value
970
+ bucket[i+1] = _b;
971
+ return _b;
972
+ }
973
+ }
974
+ // key not found in this bucket. append key, value pair to bucket
975
+ bucket.push(_a, _b);
976
+ }
977
+ else
978
+ {
979
+ //
980
+ // create new bucket
981
+ //
982
+ self.a$k[hashed_key] = [_a, _b];
983
+ }
984
+ return _b;
985
+ }catch(_d){if(_d instanceof a$c && (!_d.a$b || _d.a$b==28))return _d.a$a;
986
+ throw(_d)}}
987
+
988
+ ,$v:
989
+ /* Hash#each */
990
+ function(_a){var self;
991
+ self=this;
992
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
993
+ ;
994
+
995
+ if (!self.a$k)
996
+ {
997
+ // this is a Javascript Object, not a RubyJS Hash object.
998
+ // we directly look the key up. it's fast but not Ruby-like,
999
+ // so be careful!
1000
+ var key, value;
1001
+ for (key in self)
1002
+ {
1003
+ value = self[key];;
1004
+ _a([(key == null ? nil : key),(value == null ? nil : value)]);
1005
+
1006
+ }
1007
+
1008
+ return nil;
1009
+ }
1010
+
1011
+ var key, bucket, i;
1012
+ for (key in self.a$k)
1013
+ {
1014
+ if (key.charAt(0) == ":")
1015
+ {
1016
+ bucket = self.a$k[key];
1017
+ for (i=0; i<bucket.length; i+=2)
1018
+ {;
1019
+ _a([bucket[i],bucket[i+1]]);
1020
+
1021
+ }
1022
+ }
1023
+ }
1024
+ return nil;
1025
+ }catch(_b){if(_b instanceof a$c && (!_b.a$b || _b.a$b==27))return _b.a$a;
1026
+ throw(_b)}}
1027
+
1028
+ ,$c:
1029
+ /* Hash#initialize */
1030
+ function(){var self;
1031
+ self=this;
1032
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1033
+ ;
1034
+
1035
+ self.a$k = {};
1036
+ self.a$l = nil;
1037
+ return nil}
1038
+
1039
+ ,$Y:
1040
+ /* Hash#values */
1041
+ function(){var self,_b,_f;
1042
+ _b=_f=nil;
1043
+ self=this;
1044
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1045
+ ;
1046
+ _f=self.$Q(function(_a){var _c,_d;
1047
+ var _e=nil;
1048
+ (_b=a$j(_a),_c=_b[0]==null?nil:_b[0],_d=_b[1]==null?nil:_b[1],_b);
1049
+ _e=_d;
1050
+ return _e});
1051
+ return _f}
1052
+
1053
+ ,$i:
1054
+ /* Hash#inspect */
1055
+ function(){var self,_a,_c,_g;
1056
+ _c=_g=nil;
1057
+ self=this;
1058
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1059
+ ;
1060
+ _a="{";
1061
+ _a=_a.$L(nil,self.$Q(function(_b){var _d,_e;
1062
+ var _f=nil;
1063
+ (_c=a$j(_b),_d=_c[0]==null?nil:_c[0],_e=_c[1]==null?nil:_c[1],_c);
1064
+ _f=_d.$i().$L(nil,"=>").$L(nil,_e.$i());
1065
+ return _f}).$W(nil,", "));
1066
+ _a=_a.$L(nil,"}");
1067
+ _g=_a;
1068
+ return _g}
1069
+
1070
+ }});$z = a$d({a$j: [],a$e: nil,a$c: "T_TestExpr"});$A = a$d({a$j: [],a$e: $k,a$f: {$G:
1071
+ /* T_TestArgs::TestArgs.main */
1072
+ function(){var self,_a,_b;
1073
+ _b=nil;
1074
+ self=this;
1075
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1076
+ ;
1077
+ _a=self.$a();
1078
+ _a.$3(nil,0);
1079
+ self.$u(nil,"--");
1080
+ _a.$3(nil,1,2);
1081
+ self.$u(nil,"--");
1082
+ _a.$3(nil,1,2,9);
1083
+ self.$u(nil,"--");
1084
+ _a.$3(nil,1,2,9,5);
1085
+ self.$u(nil,"--");
1086
+ _a.$3(nil,1,2,9,5,6);
1087
+ self.$u(nil,"--");
1088
+ _b=_a.$3(nil,1,2,9,5,6,7,8,9,10,11,12);
1089
+ return _b}
1090
+
1091
+ },a$c: "T_TestArgs::TestArgs",a$h: {$3:
1092
+ /* T_TestArgs::TestArgs#m */
1093
+ function(_g,_a,_b,_c){var self,_d,_e,_f;
1094
+ _f=nil;
1095
+ self=this;
1096
+ try{if(arguments.length<2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1097
+ if(_b==null)_b=1;
1098
+ if(_c==null)_c="hallo";
1099
+ _d=[];
1100
+ for(_e=4;_e<arguments.length;_e++)_d.push(arguments[_e]);
1101
+ ;
1102
+ self.$t(nil,_a);
1103
+ self.$t(nil,_b);
1104
+ self.$t(nil,_c);
1105
+ _f=self.$t(nil,_d);
1106
+ return _f}catch(_h){if(_h instanceof a$c && (!_h.a$b || _h.a$b==30))return _h.a$a;
1107
+ throw(_h)}}
1108
+
1109
+ }});$B = a$d({a$j: [],a$e: nil,a$c: "T_TestYield"});$C = a$d({a$j: [],a$e: $k,a$c: "T_TestLebewesen::Lebewesen",a$h: {$c:
1110
+ /* T_TestLebewesen::Lebewesen#initialize */
1111
+ function(_c,_a){var self,_b;
1112
+ _b=nil;
1113
+ self=this;
1114
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1115
+ ;
1116
+ _b=self.$4=_a;
1117
+ return _b}catch(_d){if(_d instanceof a$c && (!_d.a$b || _d.a$b==31))return _d.a$a;
1118
+ throw(_d)}}
1119
+
1120
+ }});$q = a$d({a$j: [],a$e: $C,a$c: "T_TestLebewesen::Hund",a$h: {$I:
1121
+ /* T_TestLebewesen::Hund#wau */
1122
+ function(){var self,_a;
1123
+ _a=nil;
1124
+ self=this;
1125
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1126
+ ;
1127
+ _a=self.$u(nil,"wau wau");
1128
+ return _a}
1129
+
1130
+ ,$J:
1131
+ /* T_TestLebewesen::Hund#jage */
1132
+ function(_c,_a){var self,_b;
1133
+ _b=nil;
1134
+ self=this;
1135
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1136
+ ;
1137
+ _b=self.$u(nil,"ich jage ".$L(nil,_a.$e()));
1138
+ return _b}catch(_d){if(_d instanceof a$c && (!_d.a$b || _d.a$b==32))return _d.a$a;
1139
+ throw(_d)}}
1140
+
1141
+ }});$D = a$d({a$j: [],a$e: nil,a$c: "T_TestSplat"});$E = a$d({a$j: [],a$e: $k,a$f: {$G:
1142
+ /* T_TestException::TestException.main */
1143
+ function(){var self,_b,_c,_d;
1144
+ _d=nil;
1145
+ self=this;
1146
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1147
+ ;
1148
+ self.$t(nil,"before block");
1149
+ self.$t(nil,"in block");
1150
+ self.$t(nil,"after block");
1151
+ try{self.$t(nil,"block");
1152
+ self.$t(nil,"else")}catch(_a){if(_a instanceof a$c)throw(_a);
1153
+ if((_c=$n.$f(nil,_a),_c!==false&&_c!==nil)){self.$t(nil,"rescue")}else{if((_c=$f.$f(nil,_a),_c!==false&&_c!==nil)){_b=_a;
1154
+ self.$t(nil,"another rescue");
1155
+ self.$t(nil,_b)}else{throw(_a)}}};
1156
+ self.$t(nil,$c.$a(nil,"test"));
1157
+ self.$u(nil,"before begin");
1158
+ try{try{self.$u(nil,"before raise");
1159
+ self.$j(nil,$f,"blah");
1160
+ self.$u(nil,"after raise")}catch(_a){if(_a instanceof a$c)throw(_a);
1161
+ if((_c=$n.$f(nil,_a),_c!==false&&_c!==nil)){self.$u(nil,"noooo")}else{if((_c=$f.$f(nil,_a),_c!==false&&_c!==nil)){_b=_a;
1162
+ self.$t(nil,_b);
1163
+ self.$u(nil,"yes")}else{throw(_a)}}}}finally{self.$u(nil,"ensure")};
1164
+ self.$u(nil,"after begin");
1165
+ self.$u(nil,"--");
1166
+ try{try{self.$u(nil,"abc");
1167
+ self.$j(nil,"r")}catch(_a){if(_a instanceof a$c)throw(_a);
1168
+ if((_c=$n.$f(nil,_a),_c!==false&&_c!==nil)){self.$t(nil,_a);
1169
+ self.$u(nil,"b")}else{throw(_a)}}}finally{self.$u(nil,"e")};
1170
+ try{_d=self.$t(nil,"hallo".$o(nil,2))}catch(_a){if(_a instanceof a$c)throw(_a);
1171
+ if((_c=$a.$f(nil,_a),_c!==false&&_c!==nil)){_b=_a;
1172
+ _d=self.$t(nil,_b)}else{throw(_a)}};
1173
+ return _d}
1174
+
1175
+ },a$c: "T_TestException::TestException"});$F = a$d({a$j: [],a$e: $k,a$f: {$G:
1176
+ /* T_TestIf::TestIf.main */
1177
+ function(){var self,_a;
1178
+ _a=nil;
1179
+ self=this;
1180
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1181
+ ;
1182
+ _a=self.$a().$K();
1183
+ return _a}
1184
+
1185
+ },a$c: "T_TestIf::TestIf",a$h: {$K:
1186
+ /* T_TestIf::TestIf#test */
1187
+ function(){var self,_a,_b,_c,_d,_e,_f;
1188
+ _f=nil;
1189
+ self=this;
1190
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1191
+ ;
1192
+ if(true){self.$u(nil,"OK")};
1193
+ if(false){self.$u(nil,"NOT OK")};
1194
+ if(true){self.$u(nil,"OK")};
1195
+ if(false){self.$u(nil,"NOT OK")};
1196
+ if((_a=(_b=true, (_b!==false&&_b!==nil) ? ((_c=true, (_c!==false&&_c!==nil) ? ((_d=(_e=true, (_e!==false&&_e!==nil) ? _e : (false)), (_d!==false&&_d!==nil) ? (true) : _d)) : _c)) : _b),_a!==false&&_a!==nil)){self.$u(nil,"OK")};
1197
+ if((_a=(_b=(5).$5(nil,6), (_b!==false&&_b!==nil) ? ((6).$5(nil,7)) : _b),_a!==false&&_a!==nil)){self.$u(nil,"OK")};
1198
+ self.$t(nil,(_a=false, (_a!==false&&_a!==nil) ? _a : ("a")));
1199
+ self.$t(nil,(_a=nil, (_a!==false&&_a!==nil) ? _a : ("a")));
1200
+ self.$t(nil,(_a=true, (_a!==false&&_a!==nil) ? _a : ("a")));
1201
+ self.$t(nil,(_a="b", (_a!==false&&_a!==nil) ? _a : ("a")));
1202
+ self.$t(nil,(_a=false, (_a!==false&&_a!==nil) ? ("a") : _a));
1203
+ self.$t(nil,(_a=nil, (_a!==false&&_a!==nil) ? ("a") : _a));
1204
+ self.$t(nil,(_a=true, (_a!==false&&_a!==nil) ? ("a") : _a));
1205
+ _f=self.$t(nil,(_a="b", (_a!==false&&_a!==nil) ? ("a") : _a));
1206
+ return _f}
1207
+
1208
+ }});$G = a$d({a$j: [],a$e: nil,a$c: "T_TestClass"});$H = a$d({a$j: [],a$e: nil,a$c: "T_TestClass::X"});$I = a$d({a$j: [$H],a$e: $k,a$c: "T_TestClass::A"});$J = a$d({a$j: [],a$e: $I,a$c: "T_TestClass::B"});$K = a$d({a$j: [],a$e: nil,a$c: "T_TestArray"});$0 = a$d({a$j: [],a$e: $k,a$f: {$G:
1209
+ /* TestSuite.main */
1210
+ function(){var self,_c,_d,_b;
1211
+ _b=nil;
1212
+ self=this;
1213
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1214
+ ;
1215
+ try{self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1216
+ self.$u(nil,"Test hash");
1217
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1218
+ $L.$G();
1219
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1220
+ self.$u(nil,"Test yield");
1221
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1222
+ $M.$G();
1223
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1224
+ self.$u(nil,"Test lebewesen");
1225
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1226
+ $r.$G();
1227
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1228
+ self.$u(nil,"Test expr");
1229
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1230
+ $N.$G();
1231
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1232
+ self.$u(nil,"Test simple output");
1233
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1234
+ $O.$G();
1235
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1236
+ self.$u(nil,"Test if");
1237
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1238
+ $F.$G();
1239
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1240
+ self.$u(nil,"Test class");
1241
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1242
+ $P.$G();
1243
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1244
+ self.$u(nil,"Test case");
1245
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1246
+ $w.$G();
1247
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1248
+ self.$u(nil,"Test splat");
1249
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1250
+ $Q.$G();
1251
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1252
+ self.$u(nil,"Test string");
1253
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1254
+ $R.$G();
1255
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1256
+ self.$u(nil,"Test inspect");
1257
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1258
+ $S.$G();
1259
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1260
+ self.$u(nil,"Test regexp");
1261
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1262
+ $T.$G();
1263
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1264
+ self.$u(nil,"Test args");
1265
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1266
+ $A.$G();
1267
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1268
+ self.$u(nil,"Test array");
1269
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1270
+ $U.$G();
1271
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1272
+ self.$u(nil,"Test eql");
1273
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1274
+ $V.$G();
1275
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1276
+ self.$u(nil,"Test send");
1277
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1278
+ $W.$G();
1279
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1280
+ self.$u(nil,"Test range");
1281
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1282
+ $X.$G();
1283
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1284
+ self.$u(nil,"Test massign");
1285
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1286
+ $Y.$G();
1287
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1288
+ self.$u(nil,"Test new");
1289
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1290
+ $Z.$G();
1291
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1292
+ self.$u(nil,"Test exception");
1293
+ self.$u(nil,"~~~~~~~~~~~~~~~~~~~~");
1294
+ _b=$E.$G()}catch(_a){if(_a instanceof a$c)throw(_a);
1295
+ if((_d=$f.$f(nil,_a),_d!==false&&_d!==nil)){_c=_a;
1296
+ self.$t(nil,"unhandled exception");
1297
+ _b=self.$t(nil,_c)}else{throw(_a)}};
1298
+ return _b}
1299
+
1300
+ },a$c: "TestSuite"});$1 = a$d({a$j: [],a$e: $k,a$c: "T_TestSend::A",a$h: {$6:
1301
+ /* T_TestSend::A#a_method */
1302
+ function(_d,_a,_b){var self,_c;
1303
+ _c=nil;
1304
+ self=this;
1305
+ try{if(arguments.length!=3)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 2)'));
1306
+ ;
1307
+ _c=self.$t(nil,_a,_b);
1308
+ return _c}catch(_e){if(_e instanceof a$c && (!_e.a$b || _e.a$b==33))return _e.a$a;
1309
+ throw(_e)}}
1310
+
1311
+ }});$2 = a$d({a$j: [],a$e: $1,a$c: "T_TestSend::B",a$h: {$6:
1312
+ /* T_TestSend::B#a_method */
1313
+ function(_d,_a,_b){var self;
1314
+ self=this;
1315
+ var _c=arguments;
1316
+ try{if(arguments.length!=3)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 2)'));
1317
+ ;
1318
+ self.$t(nil,"in B");
1319
+ a$k(self,'$6',_c)}catch(_e){if(_e instanceof a$c && (!_e.a$b || _e.a$b==34))return _e.a$a;
1320
+ throw(_e)}}
1321
+
1322
+ ,$7:
1323
+ /* T_TestSend::B#c_method */
1324
+ function(_c,_a){var self,_b;
1325
+ _b=nil;
1326
+ self=this;
1327
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1328
+ ;
1329
+ _b=nil;
1330
+ return _b}catch(_d){if(_d instanceof a$c && (!_d.a$b || _d.a$b==35))return _d.a$a;
1331
+ throw(_d)}}
1332
+
1333
+ }});$3 = a$d({a$j: [],a$e: $k,a$c: "NilClass",a$d: NilClass,a$h: {$8:
1334
+ /* NilClass#to_f */
1335
+ function(){var self,_a;
1336
+ _a=nil;
1337
+ self=this;
1338
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1339
+ ;
1340
+ _a=0.0;
1341
+ return _a}
1342
+
1343
+ ,$q:
1344
+ /* NilClass#nil? */
1345
+ function(){var self,_a;
1346
+ _a=nil;
1347
+ self=this;
1348
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1349
+ ;
1350
+ _a=true;
1351
+ return _a}
1352
+
1353
+ ,$o:
1354
+ /* NilClass#to_s */
1355
+ function(){var self,_a;
1356
+ _a=nil;
1357
+ self=this;
1358
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1359
+ ;
1360
+ _a="";
1361
+ return _a}
1362
+
1363
+ ,$9:
1364
+ /* NilClass#to_i */
1365
+ function(){var self,_a;
1366
+ _a=nil;
1367
+ self=this;
1368
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1369
+ ;
1370
+ _a=0;
1371
+ return _a}
1372
+
1373
+ ,$R:
1374
+ /* NilClass#to_a */
1375
+ function(){var self,_a;
1376
+ _a=nil;
1377
+ self=this;
1378
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1379
+ ;
1380
+ _a=[];
1381
+ return _a}
1382
+
1383
+ ,$_:
1384
+ /* NilClass#to_splat */
1385
+ function(){var self,_a;
1386
+ _a=nil;
1387
+ self=this;
1388
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1389
+ ;
1390
+ _a=[];
1391
+ return _a}
1392
+
1393
+ ,$i:
1394
+ /* NilClass#inspect */
1395
+ function(){var self,_a;
1396
+ _a=nil;
1397
+ self=this;
1398
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1399
+ ;
1400
+ _a="nil";
1401
+ return _a}
1402
+
1403
+ }});$Q = a$d({a$j: [],a$e: $k,a$f: {$G:
1404
+ /* T_TestSplat::TestSplat.main */
1405
+ function(){var self,_a,_b;
1406
+ _b=nil;
1407
+ self=this;
1408
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1409
+ ;
1410
+ _a=self.$a();
1411
+ _a.$3();
1412
+ _a.$d(nil,'$3',a$b([]));
1413
+ _a.$3(nil,1);
1414
+ _a.$d(nil,'$3',a$b([1]));
1415
+ _a.$d(nil,'$3',[1].concat(a$b([])));
1416
+ _a.$3(nil,1,2);
1417
+ _a.$d(nil,'$3',a$b([1,2]));
1418
+ _a.$d(nil,'$3',[1].concat(a$b([2])));
1419
+ _b=_a.$d(nil,'$3',[1].concat(a$b([1,2])));
1420
+ return _b}
1421
+
1422
+ },a$c: "T_TestSplat::TestSplat",a$h: {$3:
1423
+ /* T_TestSplat::TestSplat#m */
1424
+ function(){var self,_a,_b,_c;
1425
+ _c=nil;
1426
+ self=this;
1427
+ _a=[];
1428
+ for(_b=1;_b<arguments.length;_b++)_a.push(arguments[_b]);
1429
+ ;
1430
+ _c=self.$t(nil,_a);
1431
+ return _c}
1432
+
1433
+ }});$4 = a$d({a$j: [],a$e: $k,a$c: "Regexp",a$d: RegExp});$p = a$d({a$j: [],a$e: $C,a$c: "T_TestLebewesen::Katze",a$h: {$e:
1434
+ /* T_TestLebewesen::Katze#name */
1435
+ function(){var self,_a;
1436
+ _a=nil;
1437
+ self=this;
1438
+ if(self.$$==null)self.$$=nil;
1439
+ _a=self.$$;
1440
+ return _a}
1441
+
1442
+ ,$c:
1443
+ /* T_TestLebewesen::Katze#initialize */
1444
+ function(_d,_a,_b){var self,_c;
1445
+ _c=nil;
1446
+ self=this;
1447
+ try{if(arguments.length!=3)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 2)'));
1448
+ ;
1449
+ a$l(self,'$c',nil,[_a]);
1450
+ _c=self.$$=_b;
1451
+ return _c}catch(_e){if(_e instanceof a$c && (!_e.a$b || _e.a$b==36))return _e.a$a;
1452
+ throw(_e)}}
1453
+
1454
+ ,$H:
1455
+ /* T_TestLebewesen::Katze#miau */
1456
+ function(){var self,_a;
1457
+ _a=nil;
1458
+ self=this;
1459
+ if(self.$$==null)self.$$=nil;
1460
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1461
+ ;
1462
+ _a=self.$u(nil,"miau, ich bin ".$L(nil,self.$$));
1463
+ return _a}
1464
+
1465
+ }});$P = a$d({a$j: [],a$e: $k,a$f: {$G:
1466
+ /* T_TestClass::TestClass.main */
1467
+ function(){var self,_a;
1468
+ _a=nil;
1469
+ self=this;
1470
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1471
+ ;
1472
+ self.$t(nil,$I.$a().$m(nil,$I));
1473
+ self.$t(nil,$I.$a().$m(nil,$J));
1474
+ self.$t(nil,$J.$a().$m(nil,$I));
1475
+ self.$t(nil,$I.$a().$m(nil,$H));
1476
+ self.$t(nil,$J.$a().$m(nil,$H));
1477
+ self.$t(nil,$I.$a().$h(nil,$I));
1478
+ self.$t(nil,$I.$a().$h(nil,$J));
1479
+ self.$t(nil,$J.$a().$h(nil,$I));
1480
+ self.$t(nil,$I.$a().$h(nil,$H));
1481
+ self.$t(nil,$J.$a().$h(nil,$H));
1482
+ self.$t(nil,$5.$a().$h(nil,$H));
1483
+ self.$t(nil,$5.$a().$h(nil,$I));
1484
+ self.$t(nil,$5.$a().$h(nil,$J));
1485
+ self.$t(nil,$5.$a().$h(nil,$5));
1486
+ self.$t(nil,$5.$a().$h(nil,$6));
1487
+ self.$t(nil,$5.$a().$h(nil,$k));
1488
+ self.$t(nil,$5.$a().$h(nil,$i));
1489
+ self.$t(nil,$5.$a().$h(nil,$b));
1490
+ self.$t(nil,"hallo".$z().$e());
1491
+ self.$t(nil,nil.$z().$e());
1492
+ self.$t(nil,nil.$m(nil,$3));
1493
+ self.$t(nil,"hallo".$m(nil,$e));
1494
+ self.$t(nil,"hallo".$z());
1495
+ self.$t(nil,$I);
1496
+ self.$t(nil,$J);
1497
+ self.$t(nil,$5);
1498
+ self.$t(nil,$6);
1499
+ self.$t(nil,$H);
1500
+ self.$t(nil,$H.$e());
1501
+ self.$t(nil,$I.$e());
1502
+ _a=self.$t(nil,$J.$e());
1503
+ return _a}
1504
+
1505
+ },a$c: "T_TestClass::TestClass"});$U = a$d({a$j: [],a$e: $k,a$f: {$G:
1506
+ /* T_TestArray::TestArray.main */
1507
+ function(){var self,_a;
1508
+ _a=nil;
1509
+ self=this;
1510
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1511
+ ;
1512
+ _a=self.$a().$K();
1513
+ return _a}
1514
+
1515
+ },a$c: "T_TestArray::TestArray",a$h: {$ab:
1516
+ /* T_TestArray::TestArray#array */
1517
+ function(){var self,_a;
1518
+ _a=nil;
1519
+ self=this;
1520
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1521
+ ;
1522
+ _a=[1,2,null,[null,null,4]];
1523
+ return _a}
1524
+
1525
+ ,$K:
1526
+ /* T_TestArray::TestArray#test */
1527
+ function(){var self,_a,_b;
1528
+ _b=nil;
1529
+ self=this;
1530
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1531
+ ;
1532
+ _a=["a","b","b","b","c"];
1533
+ self.$t(nil,_a.$aa(nil,"b"));
1534
+ self.$t(nil,_a);
1535
+ self.$t(nil,_a.$aa(nil,"z"));
1536
+ self.$u(nil,"test native JS array mapping");
1537
+ _b=self.$t(nil,self.$ab());
1538
+ return _b}
1539
+
1540
+ }});$7 = a$d({a$j: [],a$e: nil,a$c: "T_TestString"});$8 = a$d({a$j: [],a$e: nil,a$c: "T_TestCase"});$9 = a$d({a$j: [],a$e: $k,a$c: "Number",a$d: Number,a$h: {$L:
1541
+ /* Number#+ */
1542
+ function(_b,_a){var self;
1543
+ self=this;
1544
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1545
+ ;
1546
+ return self + _a}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==40))return _c.a$a;
1547
+ throw(_c)}}
1548
+
1549
+ ,$D:
1550
+ /* Number#== */
1551
+ function(_b,_a){var self;
1552
+ self=this;
1553
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1554
+ ;
1555
+ return self == _a}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==39))return _c.a$a;
1556
+ throw(_c)}}
1557
+
1558
+ ,$ae:
1559
+ /* Number#downto */
1560
+ function(_d,_a){var self,_b,_c;
1561
+ self=this;
1562
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1563
+ ;
1564
+ _b=self;
1565
+ while((_c=_b.$af(nil,_a),_c!==false&&_c!==nil)){_d(_b);
1566
+ _b=_b.$ag(nil,1)};
1567
+ return self}catch(_e){if(_e instanceof a$c && (!_e.a$b || _e.a$b==38))return _e.a$a;
1568
+ throw(_e)}}
1569
+
1570
+ ,$ac:
1571
+ /* Number#upto */
1572
+ function(_d,_a){var self,_b,_c;
1573
+ self=this;
1574
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1575
+ ;
1576
+ _b=self;
1577
+ while((_c=_b.$ad(nil,_a),_c!==false&&_c!==nil)){_d(_b);
1578
+ _b=_b.$L(nil,1)};
1579
+ return self}catch(_e){if(_e instanceof a$c && (!_e.a$b || _e.a$b==37))return _e.a$a;
1580
+ throw(_e)}}
1581
+
1582
+ ,$ad:
1583
+ /* Number#<= */
1584
+ function(_b,_a){var self;
1585
+ self=this;
1586
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1587
+ ;
1588
+ return self <= _a}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==41))return _c.a$a;
1589
+ throw(_c)}}
1590
+
1591
+ ,$ag:
1592
+ /* Number#- */
1593
+ function(_b,_a){var self;
1594
+ self=this;
1595
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1596
+ ;
1597
+ return self - _a}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==42))return _c.a$a;
1598
+ throw(_c)}}
1599
+
1600
+ ,$ah:
1601
+ /* Number#succ */
1602
+ function(){var self;
1603
+ self=this;
1604
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1605
+ ;
1606
+ return self+1}
1607
+
1608
+ ,$ai:
1609
+ /* Number#/ */
1610
+ function(_b,_a){var self;
1611
+ self=this;
1612
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1613
+ ;
1614
+ return self / _a}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==44))return _c.a$a;
1615
+ throw(_c)}}
1616
+
1617
+ ,$o:
1618
+ /* Number#to_s */
1619
+ function(_b,_a){var self;
1620
+ self=this;
1621
+ try{if(arguments.length>2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1622
+ if(_a==null)_a=10;
1623
+ ;
1624
+ return self.toString(_a)}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==43))return _c.a$a;
1625
+ throw(_c)}}
1626
+
1627
+ ,$1:
1628
+ /* Number#% */
1629
+ function(_b,_a){var self;
1630
+ self=this;
1631
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1632
+ ;
1633
+ return self % _a}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==45))return _c.a$a;
1634
+ throw(_c)}}
1635
+
1636
+ ,$al:
1637
+ /* Number#& */
1638
+ function(_b,_a){var self;
1639
+ self=this;
1640
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1641
+ ;
1642
+ return self & _a}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==49))return _c.a$a;
1643
+ throw(_c)}}
1644
+
1645
+ ,$5:
1646
+ /* Number#< */
1647
+ function(_b,_a){var self;
1648
+ self=this;
1649
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1650
+ ;
1651
+ return self < _a}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==48))return _c.a$a;
1652
+ throw(_c)}}
1653
+
1654
+ ,$ak:
1655
+ /* Number#times */
1656
+ function(_c){var self,_a,_b;
1657
+ self=this;
1658
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1659
+ ;
1660
+ _a=0;
1661
+ while((_b=_a.$5(nil,self),_b!==false&&_b!==nil)){_c(_a);
1662
+ _a=_a.$L(nil,1)};
1663
+ return self}catch(_d){if(_d instanceof a$c && (!_d.a$b || _d.a$b==47))return _d.a$a;
1664
+ throw(_d)}}
1665
+
1666
+ ,$aj:
1667
+ /* Number#| */
1668
+ function(_b,_a){var self;
1669
+ self=this;
1670
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1671
+ ;
1672
+ return self | _a}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==46))return _c.a$a;
1673
+ throw(_c)}}
1674
+
1675
+ ,$ap:
1676
+ /* Number#-@ */
1677
+ function(){var self;
1678
+ self=this;
1679
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1680
+ ;
1681
+ return -self}
1682
+
1683
+ ,$ao:
1684
+ /* Number#> */
1685
+ function(_b,_a){var self;
1686
+ self=this;
1687
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1688
+ ;
1689
+ return self > _a}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==51))return _c.a$a;
1690
+ throw(_c)}}
1691
+
1692
+ ,$an:
1693
+ /* Number#^ */
1694
+ function(_b,_a){var self;
1695
+ self=this;
1696
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1697
+ ;
1698
+ return self ^ _a}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==50))return _c.a$a;
1699
+ throw(_c)}}
1700
+
1701
+ ,$am:
1702
+ /* Number#~ */
1703
+ function(){var self;
1704
+ self=this;
1705
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1706
+ ;
1707
+ return ~self}
1708
+
1709
+ ,$af:
1710
+ /* Number#>= */
1711
+ function(_b,_a){var self;
1712
+ self=this;
1713
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1714
+ ;
1715
+ return self >= _a}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==52))return _c.a$a;
1716
+ throw(_c)}}
1717
+
1718
+ ,$i:
1719
+ /* Number#inspect */
1720
+ function(){var self;
1721
+ self=this;
1722
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1723
+ ;
1724
+ return self.toString()}
1725
+
1726
+ ,$ar:
1727
+ /* Number#* */
1728
+ function(_b,_a){var self;
1729
+ self=this;
1730
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1731
+ ;
1732
+ return self * _a}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==53))return _c.a$a;
1733
+ throw(_c)}}
1734
+
1735
+ ,$aq:
1736
+ /* Number#+@ */
1737
+ function(){var self;
1738
+ self=this;
1739
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1740
+ ;
1741
+ return self}
1742
+
1743
+ }});$_ = a$d({a$j: [],a$e: nil,a$c: "T_TestEql"});$t = a$d({a$j: [$x],a$e: $k,a$f: {$a:
1744
+ /* Array.new */
1745
+ function(){var self;
1746
+ self=this;
1747
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1748
+ ;
1749
+ return []}
1750
+
1751
+ },a$c: "Array",a$d: Array,a$h: {$L:
1752
+ /* Array#+ */
1753
+ function(_b,_a){var self;
1754
+ self=this;
1755
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1756
+ ;
1757
+ return self.concat(_a)}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==56))return _c.a$a;
1758
+ throw(_c)}}
1759
+
1760
+ ,$N:
1761
+ /* Array#<< */
1762
+ function(_b,_a){var self;
1763
+ self=this;
1764
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1765
+ ;
1766
+ self.push(_a); return self}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==55))return _c.a$a;
1767
+ throw(_c)}}
1768
+
1769
+ ,$aa:
1770
+ /* Array#delete */
1771
+ function(_b,_a){var self;
1772
+ self=this;
1773
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1774
+ ;
1775
+
1776
+ var del = false;
1777
+ for (var i=0; i < self.length; i++)
1778
+ {
1779
+ if (_a.$g(nil, self[i]))
1780
+ {
1781
+ self.splice(i,1);
1782
+ del = true;
1783
+ // stay at the current index unless we are at the last element!
1784
+ if (i < self.length-1) --i;
1785
+ }
1786
+ }
1787
+ return del ? _a : nil}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==54))return _c.a$a;
1788
+ throw(_c)}}
1789
+
1790
+ ,$as:
1791
+ /* Array#size */
1792
+ function(){var self;
1793
+ self=this;
1794
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1795
+ ;
1796
+ return self.length}
1797
+
1798
+ ,$V:
1799
+ /* Array#[] */
1800
+ function(_b,_a){var self;
1801
+ self=this;
1802
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1803
+ ;
1804
+ var v = self[_a]; return (v == null ? nil : v)}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==58))return _c.a$a;
1805
+ throw(_c)}}
1806
+
1807
+ ,$au:
1808
+ /* Array#clear */
1809
+ function(){var self;
1810
+ self=this;
1811
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1812
+ ;
1813
+ self.length=0; return self}
1814
+
1815
+ ,$g:
1816
+ /* Array#eql? */
1817
+ function(_b,_a){var self;
1818
+ self=this;
1819
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
1820
+ ;
1821
+
1822
+ if (!(_a instanceof Array)) return false;
1823
+ if (self.length != _a.length) return false;
1824
+
1825
+ //
1826
+ // compare element-wise
1827
+ //
1828
+ for (var i = 0; i < self.length; i++)
1829
+ {
1830
+ if (! self[i].$g(nil, _a[i]))
1831
+ {
1832
+ //
1833
+ // at least for one element #eql? holds not true
1834
+ //
1835
+ return false;
1836
+ }
1837
+ }
1838
+
1839
+ return true;
1840
+ }catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==57))return _c.a$a;
1841
+ throw(_c)}}
1842
+
1843
+ ,$at:
1844
+ /* Array#reverse */
1845
+ function(){var self;
1846
+ self=this;
1847
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1848
+ ;
1849
+ return self.concat().reverse()}
1850
+
1851
+ ,$av:
1852
+ /* Array#last */
1853
+ function(){var self;
1854
+ self=this;
1855
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1856
+ ;
1857
+ var v = self[self.length - 1]; return (v == null ? nil : v)}
1858
+
1859
+ ,$o:
1860
+ /* Array#to_s */
1861
+ function(){var self,_d;
1862
+ _d=nil;
1863
+ self=this;
1864
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1865
+ ;
1866
+ _d=self.$Q(function(_a){var _b;
1867
+ var _c=nil;
1868
+ _b=_a==null?nil:_a;
1869
+ _c=_b.$o();
1870
+ return _c}).$W();
1871
+ return _d}
1872
+
1873
+ ,$X:
1874
+ /* Array#[]= */
1875
+ function(_c,_a,_b){var self;
1876
+ self=this;
1877
+ try{if(arguments.length!=3)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 2)'));
1878
+ ;
1879
+ return (self[_a] = _b)}catch(_d){if(_d instanceof a$c && (!_d.a$b || _d.a$b==61))return _d.a$a;
1880
+ throw(_d)}}
1881
+
1882
+ ,$v:
1883
+ /* Array#each */
1884
+ function(_a){var self;
1885
+ self=this;
1886
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1887
+ ;
1888
+
1889
+ var elem;
1890
+ for (var i=0; i < self.length; i++) {
1891
+ elem = self[i];;
1892
+ _a((elem == null ? nil : elem));
1893
+ }
1894
+ return self}catch(_b){if(_b instanceof a$c && (!_b.a$b || _b.a$b==60))return _b.a$a;
1895
+ throw(_b)}}
1896
+
1897
+ ,$ax:
1898
+ /* Array#each_with_index */
1899
+ function(_a){var self;
1900
+ self=this;
1901
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1902
+ ;
1903
+
1904
+ var elem;
1905
+ for (var i=0; i < self.length; i++) {
1906
+ elem = self[i];;
1907
+ _a([(elem == null ? nil : elem),i]);
1908
+ }
1909
+ return self}catch(_b){if(_b instanceof a$c && (!_b.a$b || _b.a$b==59))return _b.a$a;
1910
+ throw(_b)}}
1911
+
1912
+ ,$aw:
1913
+ /* Array#first */
1914
+ function(){var self;
1915
+ self=this;
1916
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1917
+ ;
1918
+ var v = self[0]; return (v == null ? nil : v)}
1919
+
1920
+ ,$0:
1921
+ /* Array#length */
1922
+ function(){var self;
1923
+ self=this;
1924
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1925
+ ;
1926
+ return self.length}
1927
+
1928
+ ,$ay:
1929
+ /* Array#pop */
1930
+ function(){var self;
1931
+ self=this;
1932
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1933
+ ;
1934
+
1935
+ var elem = self.pop();
1936
+ return (elem == null ? nil : elem)}
1937
+
1938
+ ,$k:
1939
+ /* Array#shift */
1940
+ function(){var self;
1941
+ self=this;
1942
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1943
+ ;
1944
+
1945
+ var elem = self.shift();
1946
+ return (elem == null ? nil : elem)}
1947
+
1948
+ ,$l:
1949
+ /* Array#empty? */
1950
+ function(){var self;
1951
+ self=this;
1952
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1953
+ ;
1954
+ return (self.length == 0)}
1955
+
1956
+ ,$R:
1957
+ /* Array#to_a */
1958
+ function(){var self,_a;
1959
+ _a=nil;
1960
+ self=this;
1961
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1962
+ ;
1963
+ _a=self;
1964
+ return _a}
1965
+
1966
+ ,$aA:
1967
+ /* Array#push */
1968
+ function(){var self,_a,_b;
1969
+ self=this;
1970
+ _a=[];
1971
+ for(_b=1;_b<arguments.length;_b++)_a.push(arguments[_b]);
1972
+ ;
1973
+ self.push.apply(self, _a); return self}
1974
+
1975
+ ,$az:
1976
+ /* Array#to_ary */
1977
+ function(){var self,_a;
1978
+ _a=nil;
1979
+ self=this;
1980
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1981
+ ;
1982
+ _a=self;
1983
+ return _a}
1984
+
1985
+ ,$aD:
1986
+ /* Array#dup */
1987
+ function(){var self;
1988
+ self=this;
1989
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1990
+ ;
1991
+ return self.concat()}
1992
+
1993
+ ,$i:
1994
+ /* Array#inspect */
1995
+ function(){var self,_a,_e;
1996
+ _e=nil;
1997
+ self=this;
1998
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
1999
+ ;
2000
+ _a="[";
2001
+ _a=_a.$L(nil,self.$Q(function(_b){var _c;
2002
+ var _d=nil;
2003
+ _c=_b==null?nil:_b;
2004
+ _d=_c.$i();
2005
+ return _d}).$W(nil,", "));
2006
+ _a=_a.$L(nil,"]");
2007
+ _e=_a;
2008
+ return _e}
2009
+
2010
+ ,$aC:
2011
+ /* Array#reverse! */
2012
+ function(){var self;
2013
+ self=this;
2014
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2015
+ ;
2016
+ self.reverse(); return self}
2017
+
2018
+ ,$aB:
2019
+ /* Array#unshift */
2020
+ function(){var self,_a,_b;
2021
+ self=this;
2022
+ _a=[];
2023
+ for(_b=1;_b<arguments.length;_b++)_a.push(arguments[_b]);
2024
+ ;
2025
+ self.unshift.apply(self, _a); return self}
2026
+
2027
+ ,$W:
2028
+ /* Array#join */
2029
+ function(_i,_a){var self,_b,_d,_h;
2030
+ _h=nil;
2031
+ self=this;
2032
+ try{if(arguments.length>2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
2033
+ if(_a==null)_a="";
2034
+ ;
2035
+ _b="";
2036
+ self.$ax(function(_c){var _e,_f;
2037
+ var _g=nil;
2038
+ (_d=a$j(_c),_e=_d[0]==null?nil:_d[0],_f=_d[1]==null?nil:_d[1],_d);
2039
+ _b=_b.$L(nil,_e.$o());
2040
+ if((_d=_f.$D(nil,self.$0().$ag(nil,1)),_d===false||_d===nil)){_g=_b=_b.$L(nil,_a)}else{_g=nil};
2041
+ return _g});
2042
+ _h=_b;
2043
+ return _h}catch(_j){if(_j instanceof a$c && (!_j.a$b || _j.a$b==62))return _j.a$a;
2044
+ throw(_j)}}
2045
+
2046
+ }});$6 = a$d({a$j: [],a$e: $k,a$c: "T_TestClass::D"});$V = a$d({a$j: [],a$e: $k,a$f: {$G:
2047
+ /* T_TestEql::TestEql.main */
2048
+ function(){var self,_a;
2049
+ _a=nil;
2050
+ self=this;
2051
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2052
+ ;
2053
+ self.$t(nil,"a".$g(nil,"a"));
2054
+ self.$t(nil,"a".$g(nil,1));
2055
+ self.$t(nil,"1".$g(nil,1));
2056
+ self.$t(nil,[1,2].$g(nil,[1,2]));
2057
+ _a=self.$t(nil,(1).$g(nil,"1"));
2058
+ return _a}
2059
+
2060
+ },a$c: "T_TestEql::TestEql"});$R = a$d({a$j: [],a$e: $k,a$f: {$G:
2061
+ /* T_TestString::TestString.main */
2062
+ function(){var self,_a;
2063
+ _a=nil;
2064
+ self=this;
2065
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2066
+ ;
2067
+ _a=self.$a().$K();
2068
+ return _a}
2069
+
2070
+ },a$c: "T_TestString::TestString",a$h: {$K:
2071
+ /* T_TestString::TestString#test */
2072
+ function(){var self,_a,_i;
2073
+ _i=nil;
2074
+ self=this;
2075
+ if(self.$aH==null)self.$aH=nil;
2076
+ if(self.$aI==null)self.$aI=nil;
2077
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2078
+ ;
2079
+ self.$t(nil,"hello");
2080
+ self.$t(nil,"hallo\b\t\n");
2081
+ self.$t(nil,"hallo\\leute");
2082
+ self.$t(nil,"\"super\"");
2083
+ self.$t(nil,"hello".$aE(nil,"e"));
2084
+ self.$t(nil,"hello".$aE(nil,"lo"));
2085
+ self.$t(nil,"hello".$aE(nil,"a"));
2086
+ self.$t(nil,"hello hello".$aE(nil,"ll"));
2087
+ self.$t(nil,"hello hello".$aE(nil,"ll",3));
2088
+ self.$t(nil,"hallo".$V(nil,0,1));
2089
+ self.$t(nil,"hallo".$V(nil,0,2));
2090
+ self.$t(nil,"hallo".$V(nil,0,5));
2091
+ self.$t(nil,"10".$aF(nil,10,"0"));
2092
+ self.$t(nil,"10".$aF(nil,1,"blah"));
2093
+ self.$t(nil,"x".$aF(nil,4,"()"));
2094
+ self.$t(nil,"10".$aG(nil,10,"0"));
2095
+ self.$t(nil,"10".$aG(nil,1,"blah"));
2096
+ self.$t(nil,"x".$aG(nil,4,"()"));
2097
+ self.$t(nil,("abc " + ((1).$L(nil,2)).$o() + (" def").$o()));
2098
+ self.$aH="hallo".$i();
2099
+ self.$aI=4.5;
2100
+ self.$t(nil,("" + (self.$aH).$o() + (",").$o() + (self.$aI).$o()));
2101
+ _a="hallo".$aJ(nil,"l","r");
2102
+ self.$t(nil,_a);
2103
+ _a="hallo".$aJ(nil,/ll/,"rr");
2104
+ self.$t(nil,_a);
2105
+ _a="hallo".$aJ(function(){var _c=nil;
2106
+ ;
2107
+ _c="r";
2108
+ return _c},/l/);
2109
+ self.$t(nil,_a);
2110
+ _a="hallo".$aJ(function(){var _e=nil;
2111
+ ;
2112
+ _e="blah blah";
2113
+ return _e},/ll/);
2114
+ self.$t(nil,_a);
2115
+ _i="hallllllo".$aJ(function(_f){var _g;
2116
+ var _h=nil;
2117
+ _g=_f==null?nil:_f;
2118
+ _h=self.$t(nil,_g);
2119
+ return _h},/(l)l/);
2120
+ return _i}
2121
+
2122
+ }});$X = a$d({a$j: [],a$e: $k,a$f: {$G:
2123
+ /* T_TestRange::TestRange.main */
2124
+ function(){var self,_a;
2125
+ _a=nil;
2126
+ self=this;
2127
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2128
+ ;
2129
+ _a=self.$a().$K();
2130
+ return _a}
2131
+
2132
+ },a$c: "T_TestRange::TestRange",a$h: {$K:
2133
+ /* T_TestRange::TestRange#test */
2134
+ function(){var self,_a,_i,_j;
2135
+ _j=nil;
2136
+ self=this;
2137
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2138
+ ;
2139
+ _a=$v.$a(nil,0,2);
2140
+ self.$t(nil,_a.$aw());
2141
+ self.$t(nil,_a.$av());
2142
+ self.$t(nil,_a);
2143
+ self.$t(nil,$v.$a(nil,0,2,false).$o());
2144
+ self.$t(nil,$v.$a(nil,0,2,true).$o());
2145
+ $v.$a(nil,0,4,false).$v(function(_b){var _c;
2146
+ var _d=nil;
2147
+ _c=_b==null?nil:_b;
2148
+ _d=self.$t(nil,_c);
2149
+ return _d});
2150
+ $v.$a(nil,0,4,true).$v(function(_e){var _c;
2151
+ var _f=nil;
2152
+ _c=_e==null?nil:_e;
2153
+ _f=self.$t(nil,_c);
2154
+ return _f});
2155
+ $v.$a(nil,-1,-4,false).$v(function(_g){var _c;
2156
+ var _h=nil;
2157
+ _c=_g==null?nil:_g;
2158
+ _h=self.$t(nil,_c);
2159
+ return _h});
2160
+ self.$t(nil,$v.$a(nil,0,4,false).$aK(nil,4));
2161
+ self.$t(nil,$v.$a(nil,0,4,false).$aK(nil,5));
2162
+ self.$t(nil,$v.$a(nil,0,4,true).$aK(nil,5));
2163
+ self.$t(nil,$v.$a(nil,0,4,true).$aK(nil,4));
2164
+ self.$t(nil,$v.$a(nil,0,4,true).$aK(nil,3));
2165
+ self.$t(nil,$v.$a(nil,0,4,true).$aK(nil,0));
2166
+ self.$t(nil,$v.$a(nil,0,4,true).$aK(nil,-1));
2167
+ self.$t(nil,$v.$a(nil,-1,-5,false).$R());
2168
+ self.$t(nil,$v.$a(nil,-5,-1,false).$R());
2169
+ _i=$v.$a(nil,0,4);
2170
+ self.$t(nil,_i.$aw());
2171
+ self.$t(nil,_i.$aL());
2172
+ self.$t(nil,_i.$av());
2173
+ self.$t(nil,_i.$aM());
2174
+ self.$t(nil,_i.$aN());
2175
+ _i=$v.$a(nil,1,5,true);
2176
+ self.$t(nil,_i.$aw());
2177
+ self.$t(nil,_i.$aL());
2178
+ self.$t(nil,_i.$av());
2179
+ self.$t(nil,_i.$aM());
2180
+ self.$t(nil,_i.$aN());
2181
+ self.$t(nil,false.$D(nil,false));
2182
+ self.$t(nil,false.$D(nil,true));
2183
+ self.$t(nil,true.$D(nil,false));
2184
+ self.$t(nil,true.$D(nil,true));
2185
+ self.$t(nil,$v.$a(nil,0,2,false).$D(nil,$v.$a(nil,0,2,false)));
2186
+ self.$t(nil,$v.$a(nil,0,2,false).$D(nil,$v.$a(nil,0,2)));
2187
+ _j=self.$t(nil,$v.$a(nil,0,2,false).$D(nil,$v.$a(nil,0,2,true)));
2188
+ return _j}
2189
+
2190
+ }});$e = a$d({a$j: [],a$e: $k,a$c: "String",a$d: String,a$h: {$L:
2191
+ /* String#+ */
2192
+ function(_b,_a){var self;
2193
+ self=this;
2194
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
2195
+ ;
2196
+ return(self + _a)}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==64))return _c.a$a;
2197
+ throw(_c)}}
2198
+
2199
+ ,$aO:
2200
+ /* String#sub */
2201
+ function(_c,_a,_b){var self;
2202
+ self=this;
2203
+ try{if(arguments.length!=3)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 2)'));
2204
+ ;
2205
+ self.replace(pattern, replacement)}catch(_d){if(_d instanceof a$c && (!_d.a$b || _d.a$b==63))return _d.a$a;
2206
+ throw(_d)}}
2207
+
2208
+ ,$aP:
2209
+ /* String#=~ */
2210
+ function(_b,_a){var self;
2211
+ self=this;
2212
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
2213
+ ;
2214
+
2215
+ var i = self.search(_a);
2216
+ return (i == -1 ? nil : i)}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==66))return _c.a$a;
2217
+ throw(_c)}}
2218
+
2219
+ ,$aF:
2220
+ /* String#rjust */
2221
+ function(_f,_a,_b){var self,_c,_d,_e;
2222
+ self=this;
2223
+ try{if(arguments.length<2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
2224
+ if(arguments.length>3)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 2)'));
2225
+ if(_b==null)_b=" ";
2226
+ ;
2227
+ if((_c=_b.$l(),_c!==false&&_c!==nil)){self.$j(nil,$a,"zero width padding")};
2228
+ _d=_a.$ag(nil,self.$0());
2229
+ if((_c=_d.$ad(nil,0),_c!==false&&_c!==nil)){return self};
2230
+ _e="";
2231
+ while(_e.length < _d) _e += _b;;
2232
+ return _e.$V(nil,0,_d).$L(nil,self)}catch(_g){if(_g instanceof a$c && (!_g.a$b || _g.a$b==65))return _g.a$a;
2233
+ throw(_g)}}
2234
+
2235
+ ,$as:
2236
+ /* String#size */
2237
+ function(){var self;
2238
+ self=this;
2239
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2240
+ ;
2241
+ return self.length}
2242
+
2243
+ ,$V:
2244
+ /* String#[] */
2245
+ function(_d,_a,_b){var self,_c;
2246
+ self=this;
2247
+ try{if(arguments.length<2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
2248
+ if(arguments.length>3)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 2)'));
2249
+ if(_b==null)_b=nil;
2250
+ ;
2251
+ if((_c=_b.$q(),_c!==false&&_c!==nil)){return self.charAt(_a) || nil}else{if((_c=_b.$5(nil,0),_c!==false&&_c!==nil)){return nil};
2252
+ return self.substring(_a, _a+_b)}}catch(_e){if(_e instanceof a$c && (!_e.a$b || _e.a$b==68))return _e.a$a;
2253
+ throw(_e)}}
2254
+
2255
+ ,$aG:
2256
+ /* String#ljust */
2257
+ function(_f,_a,_b){var self,_c,_d,_e;
2258
+ self=this;
2259
+ try{if(arguments.length<2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
2260
+ if(arguments.length>3)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 2)'));
2261
+ if(_b==null)_b=" ";
2262
+ ;
2263
+ if((_c=_b.$l(),_c!==false&&_c!==nil)){self.$j(nil,$a,"zero width padding")};
2264
+ _d=_a.$ag(nil,self.$0());
2265
+ if((_c=_d.$ad(nil,0),_c!==false&&_c!==nil)){return self};
2266
+ _e="";
2267
+ while(_e.length < _d) _e += _b;;
2268
+ return self.$L(nil,_e.$V(nil,0,_d))}catch(_g){if(_g instanceof a$c && (!_g.a$b || _g.a$b==67))return _g.a$a;
2269
+ throw(_g)}}
2270
+
2271
+ ,$aQ:
2272
+ /* String#split */
2273
+ function(_b,_a){var self;
2274
+ self=this;
2275
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
2276
+ ;
2277
+ return self.split(_a)}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==69))return _c.a$a;
2278
+ throw(_c)}}
2279
+
2280
+ ,$o:
2281
+ /* String#to_s */
2282
+ function(){var self,_a;
2283
+ _a=nil;
2284
+ self=this;
2285
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2286
+ ;
2287
+ _a=self;
2288
+ return _a}
2289
+
2290
+ ,$0:
2291
+ /* String#length */
2292
+ function(){var self;
2293
+ self=this;
2294
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2295
+ ;
2296
+ return self.length}
2297
+
2298
+ ,$aR:
2299
+ /* String#strip */
2300
+ function(){var self;
2301
+ self=this;
2302
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2303
+ ;
2304
+ return self.replace(/^\s+/, '').replace(/\s+$/, '')}
2305
+
2306
+ ,$l:
2307
+ /* String#empty? */
2308
+ function(){var self;
2309
+ self=this;
2310
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2311
+ ;
2312
+ return(self === "")}
2313
+
2314
+ ,$aJ:
2315
+ /* String#gsub */
2316
+ function(_g,_a,_b){var self,_c,_d,_e,_f;
2317
+ self=this;
2318
+ try{if(arguments.length<2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
2319
+ if(arguments.length>3)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 2)'));
2320
+ if(_b==null)_b=nil;
2321
+ ;
2322
+ (_c=["",self,nil],_d=_c[0]==null?nil:_c[0],_e=_c[1]==null?nil:_c[1],_f=_c[2]==null?nil:_c[2],_c);
2323
+ while(_e.length > 0) {
2324
+ if (_f = _e.match(_a)) {
2325
+ _d += _e.slice(0, _f.index);;
2326
+ if((_c=_b,_c!==false&&_c!==nil)){_d=_d.$L(nil,_b)}else{_d=_d.$L(nil,_g(_f.$aw()).$o())};
2327
+ _e = _e.slice(_f.index + _f[0].length);
2328
+ } else {
2329
+ _d += _e; _e = '';
2330
+ }
2331
+ } return _d}catch(_h){if(_h instanceof a$c && (!_h.a$b || _h.a$b==71))return _h.a$a;
2332
+ throw(_h)}}
2333
+
2334
+ ,$aE:
2335
+ /* String#index */
2336
+ function(_c,_a,_b){var self;
2337
+ self=this;
2338
+ try{if(arguments.length<2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
2339
+ if(arguments.length>3)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 2)'));
2340
+ if(_b==null)_b=0;
2341
+ ;
2342
+
2343
+ var i = self.indexOf(_a, _b);
2344
+ return (i == -1) ? nil : i}catch(_d){if(_d instanceof a$c && (!_d.a$b || _d.a$b==70))return _d.a$a;
2345
+ throw(_d)}}
2346
+
2347
+ ,$i:
2348
+ /* String#inspect */
2349
+ function(){var self,_a,_b;
2350
+ self=this;
2351
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2352
+ ;
2353
+ _a={
2354
+ '\b': '\\b',
2355
+ '\t': '\\t',
2356
+ '\n': '\\n',
2357
+ '\f': '\\f',
2358
+ '\r': '\\r',
2359
+ '\\': '\\\\'
2360
+ };;
2361
+ _b=self.$aJ(function(_c){var _d,_e;
2362
+ _d=_c==null?nil:_c;
2363
+ _e=_a[_d];
2364
+ return _e ? _e :
2365
+ '\\u00' + ("0" + _d.charCodeAt().toString(16)).substring(0,2);},/[\x00-\x1f\\]/);
2366
+ return ('"' + _b.replace(/"/g, '\\"') + '"');}
2367
+
2368
+ }});$L = a$d({a$j: [],a$e: $k,a$f: {$G:
2369
+ /* T_TestHash::TestHash.main */
2370
+ function(){var self,_a;
2371
+ _a=nil;
2372
+ self=this;
2373
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2374
+ ;
2375
+ _a=self.$a().$K();
2376
+ return _a}
2377
+
2378
+ },a$c: "T_TestHash::TestHash",a$h: {$B:
2379
+ /* T_TestHash::TestHash#hash */
2380
+ function(){var self;
2381
+ self=this;
2382
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2383
+ ;
2384
+ var el = {}; el["1"] = null; return el}
2385
+
2386
+ ,$K:
2387
+ /* T_TestHash::TestHash#test */
2388
+ function(){var self,_a,_b,_c;
2389
+ _c=nil;
2390
+ self=this;
2391
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2392
+ ;
2393
+ _a=$y.$Z(nil,"a",6,"b",7,"1",1,1,2,"1,2","hello",[1,2],"good");
2394
+ self.$t(nil,_a.$V(nil,"a"));
2395
+ self.$t(nil,_a.$V(nil,"b"));
2396
+ self.$t(nil,_a.$V(nil,"1"));
2397
+ self.$t(nil,_a.$V(nil,1));
2398
+ self.$t(nil,_a.$V(nil,"1,2"));
2399
+ self.$t(nil,_a.$V(nil,[1,2]));
2400
+ self.$u(nil,"test native JS hash");
2401
+ _c=_b=self.$B();
2402
+ return _c}
2403
+
2404
+ }});$$ = a$d({a$j: [],a$e: $9,a$c: "Float",a$d: Number});$aa = a$d({a$j: [],a$e: nil,a$c: "T_TestSend"});$ab = a$d({a$j: [],a$e: nil,a$c: "T_TestInspect"});$ac = a$d({a$j: [],a$e: nil,a$c: "T_TestMassign"});$5 = a$d({a$j: [],a$e: $J,a$c: "T_TestClass::C"});$h = a$d({a$j: [],a$e: $k,a$f: {$a:
2405
+ /* Proc.new */
2406
+ function(_a){var self,_b,_c;
2407
+ self=this;
2408
+ _b=_a==null?nil:_a;
2409
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2410
+ ;
2411
+ if((_c=_b,_c===false||_c===nil)){self.$j(nil,$a,"tried to create Proc object without a block")};
2412
+ return (function() {
2413
+ try {
2414
+ return _b.$O.apply(_b, arguments);
2415
+ } catch(e)
2416
+ {
2417
+ if (e instanceof a$c)
2418
+ {
2419
+ if (e.a$b == null)
2420
+ {;
2421
+ self.$j(nil,$ad,"break from proc-closure");
2422
+ }
2423
+ return e.a$a;
2424
+ }
2425
+ else throw(e);
2426
+ }
2427
+ })}catch(_d){if(_d instanceof a$c && (!_d.a$b || _d.a$b==72))return _d.a$a;
2428
+ throw(_d)}}
2429
+
2430
+ },a$c: "Proc",a$d: Function,a$h: {$O:
2431
+ /* Proc#call */
2432
+ function(){var self,_a,_b;
2433
+ self=this;
2434
+ _a=[];
2435
+ for(_b=1;_b<arguments.length;_b++)_a.push(arguments[_b]);
2436
+ ;
2437
+
2438
+ // TODO: use switch/case
2439
+ if (_a.length == 0) return self();
2440
+ else if (_a.length == 1) return self(_a[0]);
2441
+ else return self(_a);}
2442
+
2443
+ }});$ae = a$d({a$j: [],a$e: $9,a$c: "Bignum",a$d: Number});$ad = a$d({a$j: [],a$e: $n,a$c: "LocalJumpError"});$M = a$d({a$j: [],a$e: $k,a$f: {$G:
2444
+ /* T_TestYield::TestYield.main */
2445
+ function(){var self,_a;
2446
+ _a=nil;
2447
+ self=this;
2448
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2449
+ ;
2450
+ _a=self.$a().$K();
2451
+ return _a}
2452
+
2453
+ },a$c: "T_TestYield::TestYield",a$h: {$aT:
2454
+ /* T_TestYield::TestYield#test_loop2 */
2455
+ function(){var self,_a,_b,_d,_f;
2456
+ _f=nil;
2457
+ self=this;
2458
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2459
+ ;
2460
+ self.$u(nil,"loop2");
2461
+ _a=0;
2462
+ _b=self.$aU(function(){var _e=nil;
2463
+ ;
2464
+ _a=_a.$L(nil,1);
2465
+ if((_d=_a.$1(nil,2).$D(nil,1),_d!==false&&_d!==nil)){return nil};
2466
+ self.$t(nil,_a);
2467
+ if((_d=_a.$ao(nil,8),_d!==false&&_d!==nil)){throw(new a$c(["out",_a],null))}else{_e=nil};
2468
+ return _e});
2469
+ self.$t(nil,_b);
2470
+ _f=self.$u(nil,"--");
2471
+ return _f}catch(_g){if(_g instanceof a$c && (!_g.a$b || _g.a$b==74))return _g.a$a;
2472
+ throw(_g)}}
2473
+
2474
+ ,$aS:
2475
+ /* T_TestYield::TestYield#three_times_block */
2476
+ function(_a){var self,_b,_c;
2477
+ _c=nil;
2478
+ self=this;
2479
+ _b=_a==null?nil:_a;
2480
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2481
+ ;
2482
+ _b.$O(nil,1);
2483
+ _b.$O(nil,2);
2484
+ _c=_b.$O(nil,3);
2485
+ return _c}catch(_d){if(_d instanceof a$c && (!_d.a$b || _d.a$b==73))return _d.a$a;
2486
+ throw(_d)}}
2487
+
2488
+ ,$aW:
2489
+ /* T_TestYield::TestYield#return_in_block */
2490
+ function(_a){var self,_b,_c;
2491
+ _c=nil;
2492
+ self=this;
2493
+ _b=_a==null?nil:_a;
2494
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2495
+ ;
2496
+ self.$t(nil,"return_in_block before");
2497
+ _b.$O();
2498
+ _c=self.$t(nil,"return_in_block after");
2499
+ return _c}catch(_d){if(_d instanceof a$c && (!_d.a$b || _d.a$b==75))return _d.a$a;
2500
+ throw(_d)}}
2501
+
2502
+ ,$aV:
2503
+ /* T_TestYield::TestYield#test_while_loop */
2504
+ function(){var self,_a,_b,_c;
2505
+ _c=nil;
2506
+ self=this;
2507
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2508
+ ;
2509
+ self.$u(nil,"while-loop");
2510
+ _a=0;
2511
+ while(true){_a=_a.$L(nil,1);
2512
+ if((_b=_a.$1(nil,2).$D(nil,1),_b!==false&&_b!==nil)){continue};
2513
+ self.$t(nil,_a);
2514
+ if((_b=_a.$ao(nil,8),_b!==false&&_b!==nil)){break}};
2515
+ self.$u(nil,"----");
2516
+ while((_b=_a.$ao(nil,0),_b!==false&&_b!==nil)){self.$t(nil,_a);
2517
+ _a=_a.$ag(nil,1)};
2518
+ _c=self.$u(nil,"--");
2519
+ return _c}
2520
+
2521
+ ,$aU:
2522
+ /* T_TestYield::TestYield#loop2 */
2523
+ function(_a){var self,_b,_c;
2524
+ _c=nil;
2525
+ self=this;
2526
+ _b=_a==null?nil:_a;
2527
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2528
+ ;
2529
+ while(true){_b.$O()};
2530
+ _c=self.$t(nil,"not reached");
2531
+ return _c}catch(_d){if(_d instanceof a$c && (!_d.a$b || _d.a$b==77))return _d.a$a;
2532
+ throw(_d)}}
2533
+
2534
+ ,$aZ:
2535
+ /* T_TestYield::TestYield#test_proc */
2536
+ function(){var self,_a,_d;
2537
+ _d=nil;
2538
+ self=this;
2539
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2540
+ ;
2541
+ self.$t(nil,"test_proc");
2542
+ _a=self.$s(function(){;
2543
+ throw(new a$c(0,76))});
2544
+ self.$t(nil,_a.$O());
2545
+ _a=$h.$a(function(){;
2546
+ throw(new a$c(3,null))});
2547
+ _d=self.$t(nil,_a.$O());
2548
+ return _d}catch(_e){if(_e instanceof a$c && (!_e.a$b || _e.a$b==76))return _e.a$a;
2549
+ throw(_e)}}
2550
+
2551
+ ,$aX:
2552
+ /* T_TestYield::TestYield#test_three_times_indirect */
2553
+ function(){var self,_d;
2554
+ _d=nil;
2555
+ self=this;
2556
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2557
+ ;
2558
+ self.$u(nil,"three_times_indirect");
2559
+ self.$aY(function(_a){var _b;
2560
+ var _c=nil;
2561
+ _b=_a==null?nil:_a;
2562
+ _c=self.$t(nil,_b);
2563
+ return _c});
2564
+ _d=self.$u(nil,"--");
2565
+ return _d}
2566
+
2567
+ ,$a0:
2568
+ /* T_TestYield::TestYield#test_three_times_yield2 */
2569
+ function(){var self,_d,_e;
2570
+ _e=nil;
2571
+ self=this;
2572
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2573
+ ;
2574
+ self.$u(nil,"three_times_yield2");
2575
+ _e=self.$a1(function(_a){var _b;
2576
+ var _c=nil;
2577
+ _b=_a==null?nil:_a;
2578
+ if((_d=_b.$D(nil,1),_d!==false&&_d!==nil)){_c=_b}else{return _b.$L(nil,1)};
2579
+ return _c});
2580
+ return _e}
2581
+
2582
+ ,$a3:
2583
+ /* T_TestYield::TestYield#test_loop */
2584
+ function(){var self,_a,_b,_d,_f;
2585
+ _f=nil;
2586
+ self=this;
2587
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2588
+ ;
2589
+ self.$u(nil,"loop");
2590
+ _a=0;
2591
+ _b=self.$x(function(){var _e=nil;
2592
+ ;
2593
+ _a=_a.$L(nil,1);
2594
+ if((_d=_a.$1(nil,2).$D(nil,1),_d!==false&&_d!==nil)){return nil};
2595
+ self.$t(nil,_a);
2596
+ if((_d=_a.$ao(nil,8),_d!==false&&_d!==nil)){throw(new a$c(["out",_a],null))}else{_e=nil};
2597
+ return _e});
2598
+ self.$t(nil,_b);
2599
+ _f=self.$u(nil,"--");
2600
+ return _f}catch(_g){if(_g instanceof a$c && (!_g.a$b || _g.a$b==78))return _g.a$a;
2601
+ throw(_g)}}
2602
+
2603
+ ,$a2:
2604
+ /* T_TestYield::TestYield#test_three_times_block */
2605
+ function(){var self,_d;
2606
+ _d=nil;
2607
+ self=this;
2608
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2609
+ ;
2610
+ self.$u(nil,"three_times_block");
2611
+ self.$aS(function(_a){var _b;
2612
+ var _c=nil;
2613
+ _b=_a==null?nil:_a;
2614
+ _c=self.$t(nil,_b);
2615
+ return _c});
2616
+ _d=self.$u(nil,"--");
2617
+ return _d}
2618
+
2619
+ ,$K:
2620
+ /* T_TestYield::TestYield#test */
2621
+ function(){var self,_b,_c,_d;
2622
+ _d=nil;
2623
+ self=this;
2624
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2625
+ ;
2626
+ self.$a4();
2627
+ self.$a2();
2628
+ self.$aX();
2629
+ self.$a0();
2630
+ self.$a3();
2631
+ self.$aT();
2632
+ self.$aV();
2633
+ try{self.$aZ()}catch(_a){if(_a instanceof a$c)throw(_a);
2634
+ if((_c=$ad.$f(nil,_a),_c!==false&&_c!==nil)){_b=_a;
2635
+ self.$t(nil,_b)}else{throw(_a)}};
2636
+ _d=self.$t(nil,self.$a5());
2637
+ return _d}
2638
+
2639
+ ,$x:
2640
+ /* T_TestYield::TestYield#loop */
2641
+ function(_a){var self,_b;
2642
+ _b=nil;
2643
+ self=this;
2644
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2645
+ ;
2646
+ while(true){_a()};
2647
+ _b=self.$t(nil,"not reached");
2648
+ return _b}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==81))return _c.a$a;
2649
+ throw(_c)}}
2650
+
2651
+ ,$aY:
2652
+ /* T_TestYield::TestYield#three_times_indirect */
2653
+ function(_a){var self,_b,_c;
2654
+ _c=nil;
2655
+ self=this;
2656
+ _b=_a==null?nil:_a;
2657
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2658
+ ;
2659
+ self.$a6(_b);
2660
+ _c=self.$aS(_b);
2661
+ return _c}catch(_d){if(_d instanceof a$c && (!_d.a$b || _d.a$b==80))return _d.a$a;
2662
+ throw(_d)}}
2663
+
2664
+ ,$a6:
2665
+ /* T_TestYield::TestYield#three_times_yield */
2666
+ function(_a){var self,_b;
2667
+ _b=nil;
2668
+ self=this;
2669
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2670
+ ;
2671
+ _a(1);
2672
+ _a(2);
2673
+ _b=_a(3);
2674
+ return _b}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==79))return _c.a$a;
2675
+ throw(_c)}}
2676
+
2677
+ ,$a1:
2678
+ /* T_TestYield::TestYield#three_times_yield2 */
2679
+ function(_a){var self,_b;
2680
+ _b=nil;
2681
+ self=this;
2682
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2683
+ ;
2684
+ self.$t(nil,_a(1));
2685
+ self.$t(nil,_a(2));
2686
+ _b=self.$t(nil,_a(3));
2687
+ return _b}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==82))return _c.a$a;
2688
+ throw(_c)}}
2689
+
2690
+ ,$a5:
2691
+ /* T_TestYield::TestYield#test_return_in_block */
2692
+ function(){var self,_b;
2693
+ _b=nil;
2694
+ self=this;
2695
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2696
+ ;
2697
+ self.$t(nil,"before");
2698
+ self.$aW(function(){;
2699
+ throw(new a$c(4,83))});
2700
+ _b=self.$t(nil,"after (NOT)");
2701
+ return _b}catch(_c){if(_c instanceof a$c && (!_c.a$b || _c.a$b==83))return _c.a$a;
2702
+ throw(_c)}}
2703
+
2704
+ ,$a4:
2705
+ /* T_TestYield::TestYield#test_three_times_yield */
2706
+ function(){var self,_d;
2707
+ _d=nil;
2708
+ self=this;
2709
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2710
+ ;
2711
+ self.$u(nil,"three_times_yield");
2712
+ self.$a6(function(_a){var _b;
2713
+ var _c=nil;
2714
+ _b=_a==null?nil:_a;
2715
+ _c=self.$t(nil,_b);
2716
+ return _c});
2717
+ _d=self.$u(nil,"--");
2718
+ return _d}
2719
+
2720
+ }});$N = a$d({a$j: [],a$e: $k,a$f: {$G:
2721
+ /* T_TestExpr::TestExpr.main */
2722
+ function(){var self,_a;
2723
+ _a=nil;
2724
+ self=this;
2725
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2726
+ ;
2727
+ _a=self.$a().$K();
2728
+ return _a}
2729
+
2730
+ },a$c: "T_TestExpr::TestExpr",a$h: {$K:
2731
+ /* T_TestExpr::TestExpr#test */
2732
+ function(){var self,_a,_b,_c;
2733
+ _c=nil;
2734
+ self=this;
2735
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2736
+ ;
2737
+ _a=(true?1:2);
2738
+ self.$t(nil,_a);
2739
+ (_b=_a=true, (_b!==false&&_b!==nil) ? _b : (a$m(new a$c(nil,null))));
2740
+ _c=self.$t(nil,_a);
2741
+ return _c}catch(_d){if(_d instanceof a$c && (!_d.a$b || _d.a$b==84))return _d.a$a;
2742
+ throw(_d)}}
2743
+
2744
+ }});$af = a$d({a$j: [],a$e: nil,a$c: "T_TestHash"});$S = a$d({a$j: [],a$e: $k,a$f: {$G:
2745
+ /* T_TestInspect::TestInspect.main */
2746
+ function(){var self,_a;
2747
+ _a=nil;
2748
+ self=this;
2749
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2750
+ ;
2751
+ _a=self.$a().$K();
2752
+ return _a}
2753
+
2754
+ },a$c: "T_TestInspect::TestInspect",a$h: {$K:
2755
+ /* T_TestInspect::TestInspect#test */
2756
+ function(){var self,_a,_b;
2757
+ _b=nil;
2758
+ self=this;
2759
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2760
+ ;
2761
+ _a=[$y.$Z(nil,"Hello","Rubyconf")];
2762
+ _b=self.$u(nil,_a.$i());
2763
+ return _b}
2764
+
2765
+ }});$d = a$d({a$j: [],a$e: $n,a$c: "TypeError"});$Y = a$d({a$j: [],a$e: $k,a$f: {$G:
2766
+ /* T_TestMassign::TestMassign.main */
2767
+ function(){var self,_a,_b,_c,_d,_e,_f;
2768
+ _a=_f=nil;
2769
+ self=this;
2770
+ if(self.$aH==null)self.$aH=nil;
2771
+ if(self.$a7==null)self.$a7=nil;
2772
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2773
+ ;
2774
+ (_a=[1,2],_b=_a[0]==null?nil:_a[0],_c=_a[1]==null?nil:_a[1],_a);
2775
+ self.$t(nil,_b);
2776
+ self.$t(nil,_c);
2777
+ self.$u(nil,"--");
2778
+ (_a=[1,2,3],_b=_a[0]==null?nil:_a[0],_c=_a[1]==null?nil:_a[1],_a);
2779
+ self.$t(nil,_b);
2780
+ self.$t(nil,_c);
2781
+ self.$u(nil,"--");
2782
+ _d=5;
2783
+ (_a=[1,2],_b=_a[0]==null?nil:_a[0],_c=_a[1]==null?nil:_a[1],_d=_a[2]==null?nil:_a[2],_a);
2784
+ self.$t(nil,_b);
2785
+ self.$t(nil,_c);
2786
+ self.$t(nil,_d);
2787
+ self.$u(nil,"--");
2788
+ (_a=[1,2,3],self.$aH=_a[0]==null?nil:_a[0],_c=_a[1]==null?nil:_a[1],self.$a7=_a[2]==null?nil:_a[2],_a);
2789
+ self.$t(nil,self.$aH);
2790
+ self.$t(nil,_c);
2791
+ self.$t(nil,self.$a7);
2792
+ self.$u(nil,"--");
2793
+ self.$u(nil,"swap");
2794
+ (_a=[1,2],_b=_a[0]==null?nil:_a[0],_c=_a[1]==null?nil:_a[1],_a);
2795
+ self.$t(nil,_b);
2796
+ self.$t(nil,_c);
2797
+ (_a=[_c,_b],_b=_a[0]==null?nil:_a[0],_c=_a[1]==null?nil:_a[1],_a);
2798
+ self.$t(nil,_b);
2799
+ self.$t(nil,_c);
2800
+ self.$u(nil,"--");
2801
+ self.$u(nil,"splat1");
2802
+ (_a=[1,2],_b=_a[0]==null?nil:_a[0],_c=_a[1]==null?nil:_a[1],_d=_a[2]==null?nil:_a[2],_e=_a.slice(3),_a);
2803
+ self.$t(nil,_b);
2804
+ self.$t(nil,_c);
2805
+ self.$t(nil,_d);
2806
+ self.$t(nil,_e);
2807
+ self.$u(nil,"--");
2808
+ self.$u(nil,"splat2");
2809
+ (_a=[1,2],_b=_a[0]==null?nil:_a[0],_c=_a.slice(1),_a);
2810
+ self.$t(nil,_b);
2811
+ self.$t(nil,_c);
2812
+ self.$u(nil,"--");
2813
+ self.$u(nil,"splat3");
2814
+ (_a=[1,2,3,4,5],_b=_a[0]==null?nil:_a[0],_c=_a.slice(1),_a);
2815
+ self.$t(nil,_b);
2816
+ self.$t(nil,_c);
2817
+ self.$u(nil,"--");
2818
+ self.$u(nil,"splat with globals");
2819
+ self.$t(nil,(typeof($ag)=='undefined'?nil:$ag));
2820
+ self.$t(nil,(typeof($ah)=='undefined'?nil:$ah));
2821
+ (_a=[1,2],$ag=_a[0]==null?nil:_a[0],$ah=_a[1]==null?nil:_a[1],_a);
2822
+ self.$t(nil,(typeof($ag)=='undefined'?nil:$ag));
2823
+ self.$t(nil,(typeof($ah)=='undefined'?nil:$ah));
2824
+ _f=self.$u(nil,"--");
2825
+ return _f}
2826
+
2827
+ },a$c: "T_TestMassign::TestMassign"});$ai = a$d({a$j: [],a$e: nil,a$c: "T_TestLebewesen"});$aj = a$d({a$j: [],a$e: $k,a$c: "MatchData",a$h: {$c:
2828
+ /* MatchData#initialize */
2829
+ function(_c,_a){var self,_b;
2830
+ _b=nil;
2831
+ self=this;
2832
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
2833
+ ;
2834
+ _b=self.$a8=_a;
2835
+ return _b}catch(_d){if(_d instanceof a$c && (!_d.a$b || _d.a$b==85))return _d.a$a;
2836
+ throw(_d)}}
2837
+
2838
+ }});$ak = a$d({a$j: [],a$e: nil,a$c: "T_TestSimpleOutput"});$j = a$d({a$j: [],a$e: $k,a$c: "Method",a$h: {$c:
2839
+ /* Method#initialize */
2840
+ function(_f,_a,_b){var self,_c,_d,_e;
2841
+ _e=nil;
2842
+ self=this;
2843
+ try{if(arguments.length!=3)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 2)'));
2844
+ ;
2845
+ (_c=[_a,_b],self.$a9=_c[0]==null?nil:_c[0],self.$a_=_c[1]==null?nil:_c[1],_c);
2846
+ _d=nil;
2847
+ _d = _a[a$f[_b]];
2848
+ if (_d==null) _d = nil;;
2849
+ if((_c=_d,_c!==false&&_c!==nil)){_e=self.$a$=_d}else{_e=self.$j(nil,$o,("undefined method `" + (_b).$o() + ("' for class `").$o() + (_a.$z().$e()).$o() + ("'").$o()))};
2850
+ return _e}catch(_g){if(_g instanceof a$c && (!_g.a$b || _g.a$b==86))return _g.a$a;
2851
+ throw(_g)}}
2852
+
2853
+ ,$O:
2854
+ /* Method#call */
2855
+ function(_c){var self,_a,_b,_d;
2856
+ self=this;
2857
+ _d=_c==null?nil:_c;
2858
+ try{_a=[];
2859
+ for(_b=1;_b<arguments.length;_b++)_a.push(arguments[_b]);
2860
+ ;
2861
+ return self.$a$.apply(self.$a9, [_d].concat(_a))}catch(_e){if(_e instanceof a$c && (!_e.a$b || _e.a$b==87))return _e.a$a;
2862
+ throw(_e)}}
2863
+
2864
+ ,$i:
2865
+ /* Method#inspect */
2866
+ function(){var self,_a;
2867
+ _a=nil;
2868
+ self=this;
2869
+ if(self.$a_==null)self.$a_=nil;
2870
+ if(self.$a9==null)self.$a9=nil;
2871
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2872
+ ;
2873
+ _a=("#<Method: " + (self.$a9.$z().$e()).$o() + ("#").$o() + (self.$a_).$o() + (">").$o());
2874
+ return _a}
2875
+
2876
+ }});$v = a$d({a$j: [],a$e: $k,a$c: "Range",a$h: {$D:
2877
+ /* Range#== */
2878
+ function(_e,_a){var self,_b,_c,_d;
2879
+ _d=nil;
2880
+ self=this;
2881
+ if(self.$ba==null)self.$ba=nil;
2882
+ if(self.$bb==null)self.$bb=nil;
2883
+ if(self.$bc==null)self.$bc=nil;
2884
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
2885
+ ;
2886
+ if (self.constructor != _a.constructor) return false;;
2887
+ _d=(_b=self.$ba.$D(nil,_a.$aw()), (_b!==false&&_b!==nil) ? ((_c=self.$bb.$D(nil,_a.$av()), (_c!==false&&_c!==nil) ? (self.$bc.$D(nil,_a.$aN())) : _c)) : _b);
2888
+ return _d}catch(_f){if(_f instanceof a$c && (!_f.a$b || _f.a$b==88))return _f.a$a;
2889
+ throw(_f)}}
2890
+
2891
+ ,$aL:
2892
+ /* Range#begin */
2893
+ function(){var self,_a;
2894
+ _a=nil;
2895
+ self=this;
2896
+ if(self.$ba==null)self.$ba=nil;
2897
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2898
+ ;
2899
+ _a=self.$ba;
2900
+ return _a}
2901
+
2902
+ ,$g:
2903
+ /* Range#eql? */
2904
+ function(_e,_a){var self,_b,_c,_d;
2905
+ _d=nil;
2906
+ self=this;
2907
+ if(self.$ba==null)self.$ba=nil;
2908
+ if(self.$bb==null)self.$bb=nil;
2909
+ if(self.$bc==null)self.$bc=nil;
2910
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
2911
+ ;
2912
+ if (self.constructor != _a.constructor) return false;;
2913
+ _d=(_b=self.$ba.$g(nil,_a.$aw()), (_b!==false&&_b!==nil) ? ((_c=self.$bb.$g(nil,_a.$av()), (_c!==false&&_c!==nil) ? (self.$bc.$D(nil,_a.$aN())) : _c)) : _b);
2914
+ return _d}catch(_f){if(_f instanceof a$c && (!_f.a$b || _f.a$b==89))return _f.a$a;
2915
+ throw(_f)}}
2916
+
2917
+ ,$aN:
2918
+ /* Range#exclude_end? */
2919
+ function(){var self,_a;
2920
+ _a=nil;
2921
+ self=this;
2922
+ if(self.$bc==null)self.$bc=nil;
2923
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2924
+ ;
2925
+ _a=self.$bc;
2926
+ return _a}
2927
+
2928
+ ,$av:
2929
+ /* Range#last */
2930
+ function(){var self,_a;
2931
+ _a=nil;
2932
+ self=this;
2933
+ if(self.$bb==null)self.$bb=nil;
2934
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2935
+ ;
2936
+ _a=self.$bb;
2937
+ return _a}
2938
+
2939
+ ,$o:
2940
+ /* Range#to_s */
2941
+ function(){var self,_b,_a;
2942
+ _a=nil;
2943
+ self=this;
2944
+ if(self.$ba==null)self.$ba=nil;
2945
+ if(self.$bb==null)self.$bb=nil;
2946
+ if(self.$bc==null)self.$bc=nil;
2947
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2948
+ ;
2949
+ if((_b=self.$bc,_b!==false&&_b!==nil)){_a=("" + (self.$ba).$o() + ("...").$o() + (self.$bb).$o())}else{_a=("" + (self.$ba).$o() + ("..").$o() + (self.$bb).$o())};
2950
+ return _a}
2951
+
2952
+ ,$v:
2953
+ /* Range#each */
2954
+ function(_c){var self,_a,_b,_d;
2955
+ _d=nil;
2956
+ self=this;
2957
+ if(self.$ba==null)self.$ba=nil;
2958
+ if(self.$bb==null)self.$bb=nil;
2959
+ if(self.$bc==null)self.$bc=nil;
2960
+ try{if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2961
+ ;
2962
+ _a=self.$ba;
2963
+ if((_b=self.$ba.$ao(nil,self.$bb),_b!==false&&_b!==nil)){return nil};
2964
+ if((_b=self.$bc,_b!==false&&_b!==nil)){while((_b=_a.$5(nil,self.$bb),_b!==false&&_b!==nil)){_c(_a);
2965
+ _a=_a.$ah()};
2966
+ _d=nil;
2967
+ }else{while((_b=_a.$ad(nil,self.$bb),_b!==false&&_b!==nil)){_c(_a);
2968
+ _a=_a.$ah()};
2969
+ _d=nil;
2970
+ };
2971
+ return _d}catch(_e){if(_e instanceof a$c && (!_e.a$b || _e.a$b==92))return _e.a$a;
2972
+ throw(_e)}}
2973
+
2974
+ ,$aM:
2975
+ /* Range#end */
2976
+ function(){var self,_a;
2977
+ _a=nil;
2978
+ self=this;
2979
+ if(self.$bb==null)self.$bb=nil;
2980
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2981
+ ;
2982
+ _a=self.$bb;
2983
+ return _a}
2984
+
2985
+ ,$aw:
2986
+ /* Range#first */
2987
+ function(){var self,_a;
2988
+ _a=nil;
2989
+ self=this;
2990
+ if(self.$ba==null)self.$ba=nil;
2991
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
2992
+ ;
2993
+ _a=self.$ba;
2994
+ return _a}
2995
+
2996
+ ,$aK:
2997
+ /* Range#include? */
2998
+ function(_d,_a){var self,_b,_c;
2999
+ _c=nil;
3000
+ self=this;
3001
+ if(self.$ba==null)self.$ba=nil;
3002
+ if(self.$bb==null)self.$bb=nil;
3003
+ if(self.$bc==null)self.$bc=nil;
3004
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
3005
+ ;
3006
+ if((_b=_a.$5(nil,self.$ba),_b!==false&&_b!==nil)){return false};
3007
+ if((_b=self.$bc,_b!==false&&_b!==nil)){_c=_a.$5(nil,self.$bb)}else{_c=_a.$ad(nil,self.$bb)};
3008
+ return _c}catch(_e){if(_e instanceof a$c && (!_e.a$b || _e.a$b==91))return _e.a$a;
3009
+ throw(_e)}}
3010
+
3011
+ ,$c:
3012
+ /* Range#initialize */
3013
+ function(_f,_a,_b,_c){var self,_d,_e;
3014
+ _e=nil;
3015
+ self=this;
3016
+ try{if(arguments.length<3)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 2)'));
3017
+ if(arguments.length>4)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 3)'));
3018
+ if(_c==null)_c=false;
3019
+ ;
3020
+ (_d=[_a,_b],self.$ba=_d[0]==null?nil:_d[0],self.$bb=_d[1]==null?nil:_d[1],_d);
3021
+ _e=self.$bc=((_d=_c,_d!==false&&_d!==nil)?true:false);
3022
+ return _e}catch(_g){if(_g instanceof a$c && (!_g.a$b || _g.a$b==90))return _g.a$a;
3023
+ throw(_g)}}
3024
+
3025
+ ,$f:
3026
+ /* Range#=== */
3027
+ function(_d,_a){var self,_b,_c;
3028
+ _c=nil;
3029
+ self=this;
3030
+ if(self.$ba==null)self.$ba=nil;
3031
+ if(self.$bb==null)self.$bb=nil;
3032
+ if(self.$bc==null)self.$bc=nil;
3033
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
3034
+ ;
3035
+ if((_b=_a.$5(nil,self.$ba),_b!==false&&_b!==nil)){return false};
3036
+ if((_b=self.$bc,_b!==false&&_b!==nil)){_c=_a.$5(nil,self.$bb)}else{_c=_a.$ad(nil,self.$bb)};
3037
+ return _c}catch(_e){if(_e instanceof a$c && (!_e.a$b || _e.a$b==93))return _e.a$a;
3038
+ throw(_e)}}
3039
+
3040
+ ,$R:
3041
+ /* Range#to_a */
3042
+ function(){var self,_a,_b,_c;
3043
+ self=this;
3044
+ if(self.$ba==null)self.$ba=nil;
3045
+ if(self.$bb==null)self.$bb=nil;
3046
+ if(self.$bc==null)self.$bc=nil;
3047
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
3048
+ ;
3049
+ _a=[];
3050
+ if((_b=self.$ba.$ao(nil,self.$bb),_b!==false&&_b!==nil)){return _a};
3051
+ _c=self.$ba;
3052
+ if((_b=self.$bc,_b!==false&&_b!==nil)){while((_b=_c.$5(nil,self.$bb),_b!==false&&_b!==nil)){_a.$N(nil,_c);
3053
+ _c=_c.$ah()}}else{while((_b=_c.$ad(nil,self.$bb),_b!==false&&_b!==nil)){_a.$N(nil,_c);
3054
+ _c=_c.$ah()}};
3055
+ return _a}
3056
+
3057
+ ,$i:
3058
+ /* Range#inspect */
3059
+ function(){var self,_b,_a;
3060
+ _a=nil;
3061
+ self=this;
3062
+ if(self.$ba==null)self.$ba=nil;
3063
+ if(self.$bb==null)self.$bb=nil;
3064
+ if(self.$bc==null)self.$bc=nil;
3065
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
3066
+ ;
3067
+ if((_b=self.$bc,_b!==false&&_b!==nil)){_a=("" + (self.$ba.$i()).$o() + ("...").$o() + (self.$bb.$i()).$o())}else{_a=("" + (self.$ba.$i()).$o() + ("..").$o() + (self.$bb.$i()).$o())};
3068
+ return _a}
3069
+
3070
+ ,$bd:
3071
+ /* Range#member? */
3072
+ function(_d,_a){var self,_b,_c;
3073
+ _c=nil;
3074
+ self=this;
3075
+ if(self.$ba==null)self.$ba=nil;
3076
+ if(self.$bb==null)self.$bb=nil;
3077
+ if(self.$bc==null)self.$bc=nil;
3078
+ try{if(arguments.length!=2)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 1)'));
3079
+ ;
3080
+ if((_b=_a.$5(nil,self.$ba),_b!==false&&_b!==nil)){return false};
3081
+ if((_b=self.$bc,_b!==false&&_b!==nil)){_c=_a.$5(nil,self.$bb)}else{_c=_a.$ad(nil,self.$bb)};
3082
+ return _c}catch(_e){if(_e instanceof a$c && (!_e.a$b || _e.a$b==94))return _e.a$a;
3083
+ throw(_e)}}
3084
+
3085
+ }});$al = a$d({a$j: [],a$e: nil,a$c: "T_TestRegexp"});$am = a$d({a$j: [],a$e: nil,a$c: "T_TestNew"});$an = a$d({a$j: [],a$e: nil,a$c: "T_TestRange"});$W = a$d({a$j: [],a$e: $k,a$f: {$G:
3086
+ /* T_TestSend::TestSend.main */
3087
+ function(){var self,_b,_c,_d,_e;
3088
+ _e=nil;
3089
+ self=this;
3090
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
3091
+ ;
3092
+ self.$u(nil,"send");
3093
+ self.$t(nil,$1.$a().$w(nil,"a_method",1,2));
3094
+ self.$t(nil,$2.$a().$w(nil,"a_method",1,2));
3095
+ self.$u(nil,"respond_to?");
3096
+ self.$t(nil,$1.$a().$r(nil,"a_method"));
3097
+ self.$t(nil,$1.$a().$r(nil,"to_s"));
3098
+ self.$t(nil,$1.$a().$r(nil,"inspect"));
3099
+ self.$t(nil,$1.$a().$r(nil,"b_method"));
3100
+ self.$t(nil,$1.$a().$r(nil,"c_method"));
3101
+ self.$u(nil,"method_missing");
3102
+ self.$t(nil,$m.$a().$r(nil,"blah_blah"));
3103
+ $m.$a().$be(nil,1,2,3);
3104
+ try{$1.$a().$be();
3105
+ self.$u(nil,"FAILURE?")}catch(_a){if(_a instanceof a$c)throw(_a);
3106
+ if((_b=$g.$f(nil,_a),_b!==false&&_b!==nil)){self.$u(nil,"catched!!!")}else{throw(_a)}};
3107
+ try{$1.$bf()}catch(_a){if(_a instanceof a$c)throw(_a);
3108
+ if((_b=$g.$f(nil,_a),_b!==false&&_b!==nil)){self.$t(nil,"goood")}else{throw(_a)}};
3109
+ self.$u(nil,"class Method");
3110
+ _c="hallo".$C(nil,"to_s");
3111
+ self.$t(nil,_c);
3112
+ self.$t(nil,_c.$O());
3113
+ _d=[1,2,3];
3114
+ _c=_d.$C(nil,"+");
3115
+ self.$t(nil,_c);
3116
+ self.$t(nil,_c.$O(nil,[2,3]));
3117
+ self.$t(nil,_c);
3118
+ _e=self.$t(nil,_d);
3119
+ return _e}
3120
+
3121
+ },a$c: "T_TestSend::TestSend"});$a = a$d({a$j: [],a$e: $n,a$c: "ArgumentError"});$O = a$d({a$j: [],a$e: $k,a$f: {$G:
3122
+ /* T_TestSimpleOutput::TestSimpleOutput.main */
3123
+ function(){var self,_a;
3124
+ _a=nil;
3125
+ self=this;
3126
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
3127
+ ;
3128
+ _a=self.$u(nil,"Hello World from RubyJS");
3129
+ return _a}
3130
+
3131
+ },a$c: "T_TestSimpleOutput::TestSimpleOutput"});a$d({a$j: [],a$g: $b});$c = a$d({a$j: [],a$e: $n,a$c: "RuntimeError"});$T = a$d({a$j: [],a$e: $k,a$f: {$G:
3132
+ /* T_TestRegexp::TestRegexp.main */
3133
+ function(){var self,_a;
3134
+ _a=nil;
3135
+ self=this;
3136
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
3137
+ ;
3138
+ _a=self.$a().$K();
3139
+ return _a}
3140
+
3141
+ },a$c: "T_TestRegexp::TestRegexp",a$h: {$K:
3142
+ /* T_TestRegexp::TestRegexp#test */
3143
+ function(){var self,_a,_b,_c;
3144
+ _c=nil;
3145
+ self=this;
3146
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
3147
+ ;
3148
+ if((_a="hallo".$aP(nil,/ll/),_a!==false&&_a!==nil)){self.$t(nil,"okay")};
3149
+ _b="hallo".$aP(nil,/ll/);
3150
+ self.$t(nil,_b);
3151
+ "hallo".$aP(nil,/(ll)/);
3152
+ self.$t(nil,(RegExp.$1 || nil));
3153
+ self.$t(nil,(RegExp.$2 || nil));
3154
+ self.$t(nil,(RegExp.$3 || nil));
3155
+ "hallo".$aP(nil,/a(ll)(o)/);
3156
+ self.$t(nil,(RegExp.$1 || nil));
3157
+ self.$t(nil,(RegExp.$2 || nil));
3158
+ self.$t(nil,(RegExp.$3 || nil));
3159
+ _c=self.$t(nil,(RegExp.$4 || nil));
3160
+ return _c}
3161
+
3162
+ }});$ao = a$d({a$j: [],a$e: nil,a$c: "T_TestIf"});$u = a$d({a$j: [],a$e: $9,a$c: "Fixnum",a$d: Number});$ap = a$d({a$j: [],a$e: nil,a$c: "T_TestArgs"});$Z = a$d({a$j: [],a$e: $k,a$f: {$G:
3163
+ /* T_TestNew::TestNew.main */
3164
+ function(){var self,_a;
3165
+ _a=nil;
3166
+ self=this;
3167
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
3168
+ ;
3169
+ _a=self.$a().$K();
3170
+ return _a}
3171
+
3172
+ },a$c: "T_TestNew::TestNew",a$h: {$c:
3173
+ /* T_TestNew::TestNew#initialize */
3174
+ function(){var self,_a;
3175
+ _a=nil;
3176
+ self=this;
3177
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
3178
+ ;
3179
+ _a=nil;
3180
+ return _a}
3181
+
3182
+ ,$K:
3183
+ /* T_TestNew::TestNew#test */
3184
+ function(){var self,_a;
3185
+ _a=nil;
3186
+ self=this;
3187
+ if(arguments.length>1)throw($a.$a(nil,'wrong number of arguments ('+Math.max(0,arguments.length-1).toString()+' for 0)'));
3188
+ ;
3189
+ _a=self.$u(nil,"test");
3190
+ return _a}
3191
+
3192
+ }}); $b.a$e = $k;
3193
+ var a$n = [$i,$k,$l,$m,$f,$n,$o,$g,$r,$s,$w,$x,$y,$z,$A,$B,$C,$q,$D,$E,$F,$G,$H,$I,$J,$K,$0,$1,$2,$3,$Q,$4,$p,$P,$U,$7,$8,$9,$_,$t,$6,$V,$R,$X,$e,$L,$$,$aa,$ab,$ac,$5,$h,$ae,$ad,$M,$N,$af,$S,$d,$Y,$ai,$aj,$ak,$j,$v,$al,$am,$an,$W,$a,$O,$b,$c,$T,$ao,$u,$ap,$Z];
3194
+ a$o(a$n);
3195
+ for (var i=0; i<a$n.length; i++) a$p(a$n[i]);
3196
+ function main() { return $0.$G.apply($0, arguments); }var STDOUT_LINE_NO = 0;
3197
+ var FAILURES = 0;
3198
+ var TOTAL = 393;
3199
+
3200
+ function STDOUT_puts(str)
3201
+ {
3202
+ var out = document.getElementById('out_' + STDOUT_LINE_NO);
3203
+ var expected = document.getElementById('exp_' + STDOUT_LINE_NO);
3204
+
3205
+ out.innerHTML = str.replace(/[&]/g, "&amp;").replace(/[<]/g, "&lt;").replace(/[>]/g, "&gt;");
3206
+
3207
+ if (out.innerHTML === expected.innerHTML)
3208
+ {
3209
+ document.getElementById('line_' + STDOUT_LINE_NO).style.background = '#aaffaa';
3210
+ }
3211
+ else
3212
+ {
3213
+ FAILURES += 1;
3214
+ }
3215
+
3216
+ STDOUT_LINE_NO += 1;
3217
+
3218
+ document.getElementById('status').innerHTML =
3219
+ "<b>" + STDOUT_LINE_NO + "</b> / " + TOTAL + " (" + FAILURES + " failures)";
3220
+ }
3221
+
3222
+ function start()
3223
+ {
3224
+ main();
3225
+ }