-
Notifications
You must be signed in to change notification settings - Fork 0
/
grammar.js
1156 lines (1114 loc) · 64.4 KB
/
grammar.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* parser generated by jison 0.4.17 */
/*
Returns a Parser object of the following structure:
Parser: {
yy: {}
}
Parser.prototype: {
yy: {},
trace: function(),
symbols_: {associative list: name ==> number},
terminals_: {associative list: number ==> name},
productions_: [...],
performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$),
table: [...],
defaultActions: {...},
parseError: function(str, hash),
parse: function(input),
lexer: {
EOF: 1,
parseError: function(str, hash),
setInput: function(input),
input: function(),
unput: function(str),
more: function(),
less: function(n),
pastInput: function(),
upcomingInput: function(),
showPosition: function(),
test_match: function(regex_match_array, rule_index),
next: function(),
lex: function(),
begin: function(condition),
popState: function(),
_currentRules: function(),
topState: function(),
pushState: function(condition),
options: {
ranges: boolean (optional: true ==> token location info will include a .range[] member)
flex: boolean (optional: true ==> flex-like lexing behaviour where the rules are tested exhaustively to find the longest match)
backtrack_lexer: boolean (optional: true ==> lexer regexes are tested in order and for each matching regex the action code is invoked; the lexer terminates the scan when a token is returned by the action code)
},
performAction: function(yy, yy_, $avoiding_name_collisions, YY_START),
rules: [...],
conditions: {associative list: name ==> set},
}
}
token location info (@$, _$, etc.): {
first_line: n,
last_line: n,
first_column: n,
last_column: n,
range: [start_number, end_number] (where the numbers are indexes into the input string, regular zero-based)
}
the parseError function receives a 'hash' object with these members for lexer and parser errors: {
text: (matched text)
token: (the produced terminal token, if any)
line: (yylineno)
}
while parser (grammar) errors will also provide these members, i.e. parser errors deliver a superset of attributes: {
loc: (yylloc)
expected: (string describing the set of expected tokens)
recoverable: (boolean: TRUE when the parser has a error recovery rule available for this particular error)
}
*/
var grammar = (function(){
var o=function(k,v,o,l){for(o=o||{},l=k.length;l--;o[k[l]]=v);return o},$V0=[2,3],$V1=[1,36],$V2=[1,37],$V3=[1,28],$V4=[1,26],$V5=[1,31],$V6=[1,32],$V7=[1,40],$V8=[1,39],$V9=[1,27],$Va=[1,29],$Vb=[1,30],$Vc=[1,35],$Vd=[1,33],$Ve=[1,34],$Vf=[1,24],$Vg=[1,25],$Vh=[1,20],$Vi=[1,21],$Vj=[1,77],$Vk=[1,55],$Vl=[1,56],$Vm=[1,53],$Vn=[1,54],$Vo=[1,57],$Vp=[1,61],$Vq=[1,76],$Vr=[1,81],$Vs=[1,74],$Vt=[1,75],$Vu=[1,78],$Vv=[1,85],$Vw=[1,88],$Vx=[1,73],$Vy=[1,87],$Vz=[1,86],$VA=[1,63],$VB=[1,64],$VC=[1,65],$VD=[1,66],$VE=[1,67],$VF=[1,68],$VG=[5,23,24,38,42,45,46,53,84,98,113,119,120,121,125,126,127,128,132,133,134,137,138,139,144,145,148],$VH=[1,94],$VI=[1,95],$VJ=[1,102],$VK=[1,101],$VL=[1,5,6,23,24,29,30,31,32,38,41,42,43,45,46,52,53,60,61,65,66,67,68,69,84,89,91,94,96,97,98,105,106,107,108,109,110,113,119,120,121,125,126,127,128,131,132,133,134,137,138,139,144,145,148],$VM=[2,86],$VN=[1,125],$VO=[1,126],$VP=[1,128],$VQ=[1,5,6,23,24,29,30,31,32,38,41,42,43,45,46,52,53,57,60,61,65,66,67,68,69,84,87,88,89,91,93,94,95,96,97,98,105,106,107,108,109,110,113,119,120,121,125,126,127,128,131,132,133,134,137,138,139,144,145,148],$VR=[2,88],$VS=[1,5,6,23,24,32,38,41,42,43,45,46,53,84,89,91,94,96,98,105,106,107,108,109,110,113,119,120,121,125,126,127,128,132,133,134,137,138,139,144,145,148],$VT=[2,69],$VU=[1,136],$VV=[1,137],$VW=[1,138],$VX=[1,143],$VY=[1,5,6,23,24,29,32,38,41,42,43,45,46,52,53,60,65,66,67,68,69,84,87,88,89,91,93,94,95,96,98,105,106,107,108,109,110,113,119,120,121,125,126,127,128,132,133,134,137,138,139,144,145,148],$VZ=[2,72],$V_=[1,144],$V$=[1,5,6,23,24,32,38,41,42,43,45,46,52,53,60,61,65,66,67,68,69,84,89,91,94,96,98,105,106,107,108,109,110,113,119,120,121,125,126,127,128,131,132,133,134,137,138,139,144,145,148],$V01=[2,79],$V11=[1,5,6,23,24,29,32,38,41,42,43,45,46,52,53,60,61,65,66,67,68,69,84,87,88,89,91,93,94,95,96,98,104,105,106,107,108,109,110,113,119,120,121,125,126,127,128,131,132,133,134,137,138,139,144,145,148],$V21=[1,5,6,23,24,29,32,38,41,42,43,45,46,52,53,60,61,65,66,67,68,69,84,89,91,94,96,98,105,106,107,108,109,110,113,119,120,121,125,126,127,128,131,132,133,134,137,138,139,144,145,148],$V31=[2,39],$V41=[29,53,69,77,81,82,83,84,88,94,95,97,101,105,106,107,108,109,110],$V51=[1,5,6,23,24,29,32,38,41,42,43,45,46,52,53,60,61,65,66,67,68,69,84,87,88,89,91,93,94,95,96,98,105,106,107,108,109,110,113,119,120,121,125,126,127,128,131,132,133,134,137,138,139,144,145,148],$V61=[1,159],$V71=[53,84,94,113],$V81=[2,179],$V91=[1,163],$Va1=[29,38,42,45,46,53,57,69,77,81,82,83,84,88,94,95,97,101,105,106,107,108,109,110],$Vb1=[30,31,32],$Vc1=[5,23,24,32,38,42,45,46,53,84,98,113,119,120,121,125,126,127,128,132,133,134,137,138,139,144,145,148],$Vd1=[5,23,24,32,38,42,45,46,52,53,84,98,113,119,120,121,125,126,127,128,132,133,134,137,138,139,144,145,148],$Ve1=[5,23,24,32,38,42,45,46,52,53,84,87,88,93,95,98,113,119,120,121,125,126,127,128,132,133,134,137,138,139,144,145,148],$Vf1=[23,24,38,42,45,46,53,84,113,119,120,121,127,128,132,133,134,139,144,145,148],$Vg1=[1,175],$Vh1=[1,178],$Vi1=[1,183],$Vj1=[23,24,38,42,45,46,53,84,113,121,127,128,132,133,134,139,144,145,148],$Vk1=[113,138],$Vl1=[1,191],$Vm1=[5,23,24,32,38,42,45,46,53,84,91,96,98,113,119,120,121,125,126,127,128,132,133,134,137,138,139,144,145,148],$Vn1=[2,38],$Vo1=[1,5,6,23,24,29,30,31,32,38,41,42,43,45,46,52,53,60,61,65,66,67,68,69,84,87,88,89,91,93,94,95,96,97,98,105,106,107,108,109,110,113,119,120,121,125,126,127,128,131,132,133,134,137,138,139,144,145,148],$Vp1=[23,24,38,42,45,46,53,84,98,121,127,128,132,133,134,139,144,145,148],$Vq1=[32,53,98,105,106,107,108,109,110],$Vr1=[1,226],$Vs1=[1,230],$Vt1=[1,227],$Vu1=[113,125,126],$Vv1=[1,240],$Vw1=[32,40,65,98],$Vx1=[119,120],$Vy1=[1,302],$Vz1=[1,303],$VA1=[32,96];
var parser = {trace: function trace() { },
yy: {},
symbols_: {"error":2,"Program":3,"Body":4,"EOF":5,";":6,"Expression":7,"Statement":8,"Class":9,"Assignment":10,"Import":11,"Export":12,"If":13,"Switch":14,"For":15,"While":16,"Print":17,"Write":18,"Throw":19,"Try":20,"Return":21,"Execute":22,"break":23,"continue":24,"CallExpression":25,"AssignOperator":26,"CallExpressionList":27,"ExpressionList":28,"incrementOperator":29,"assignOperator":30,"=":31,",":32,"AssignExpression":33,"ValueExpression":34,"PrintExpression":35,"StatementAsExpression":36,"KeyValuePair":37,"for":38,"Iterator":39,"of":40,"gen":41,"if":42,"->":43,"OptionalExpressionList":44,"print":45,"write":46,"Range":47,"InExpression":48,"CastExpression":49,"BinaryExpression":50,"LambdaExpression":51,"as":52,"identifier":53,"int":54,"str":55,"char":56,"lambdaOperator":57,"Initial":58,"ParenthesizedExpression":59,"rangeOperator":60,"by":61,"BinaryOperator":62,"PostfixExpression":63,"InOperator":64,"in":65,"not_in":66,"aliasOperator":67,"binaryOperator":68,"additiveOperator":69,"UnaryExpression":70,"UnaryOperator":71,"SingleExpression":72,"Accessors":73,"Literal":74,"ArrayLiteral":75,"RegexLiteral":76,"LambdaLiteral":77,"ObjectLiteral":78,"FunctionLiteral":79,"NewExpression":80,"notOperator":81,"unaryOperator":82,"unaryWordOperator":83,"this":84,"OptionalAccessors":85,"Accessor":86,"member":87,"[":88,"..":89,"OptionalExpression":90,"]":91,"FunctionArguments":92,"prototypeOperator":93,"new":94,"(":95,")":96,"{":97,"}":98,"IdentifierList":99,"OptionalIdentifierList":100,"regexp":101,"ObjectExpression":102,"ObjectAssignment":103,":":104,"bool":105,"null":106,"undefined":107,"string":108,"escape":109,"number":110,"SingleBody":111,"EndBlock":112,"end":113,"Else":114,"OuterElif":115,"InnerElif":116,"Elif":117,"EndElif":118,"elif":119,"else":120,"switch":121,"CaseList":122,"OptionalDefault":123,"Case":124,"case":125,"default":126,"do":127,"while":128,"index":129,"each":130,"times":131,"return":132,"throw":133,"try":134,"OptionalCatch":135,"OptionalFinally":136,"catch":137,"finally":138,"import":139,"ModuleList":140,"Module":141,"ModuleName":142,"OptionalAlias":143,"export":144,"class":145,"OptionalParent":146,"ClassBody":147,"type":148,"OptionalMembers":149,"ClassBodyStatement":150,"Constructor":151,"OptionalClassArguments":152,"ConstructorBody":153,"ClassArgumentList":154,"ClassArgument":155,"Super":156,"super":157,"$accept":0,"$end":1},
terminals_: {2:"error",5:"EOF",6:";",23:"break",24:"continue",29:"incrementOperator",30:"assignOperator",31:"=",32:",",38:"for",39:"Iterator",40:"of",41:"gen",42:"if",43:"->",45:"print",46:"write",52:"as",53:"identifier",54:"int",55:"str",56:"char",57:"lambdaOperator",60:"rangeOperator",61:"by",65:"in",66:"not_in",67:"aliasOperator",68:"binaryOperator",69:"additiveOperator",77:"LambdaLiteral",81:"notOperator",82:"unaryOperator",83:"unaryWordOperator",84:"this",87:"member",88:"[",89:"..",91:"]",93:"prototypeOperator",94:"new",95:"(",96:")",97:"{",98:"}",101:"regexp",104:":",105:"bool",106:"null",107:"undefined",108:"string",109:"escape",110:"number",113:"end",119:"elif",120:"else",121:"switch",125:"case",126:"default",127:"do",128:"while",129:"index",130:"each",131:"times",132:"return",133:"throw",134:"try",137:"catch",138:"finally",139:"import",144:"export",145:"class",148:"type",157:"super"},
productions_: [0,[3,2],[3,2],[4,0],[4,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[8,1],[22,1],[22,1],[22,1],[10,3],[10,3],[10,2],[26,1],[26,1],[27,3],[27,2],[27,3],[7,1],[7,1],[7,1],[7,1],[7,1],[36,6],[36,4],[28,3],[28,1],[44,0],[44,1],[35,2],[35,2],[33,3],[34,1],[34,1],[34,1],[34,1],[34,1],[49,3],[49,3],[49,3],[49,3],[51,2],[51,3],[51,3],[47,3],[47,5],[50,3],[50,1],[48,3],[64,1],[64,1],[62,1],[62,1],[62,1],[63,2],[63,1],[70,2],[70,1],[70,2],[70,1],[72,1],[72,1],[72,1],[72,1],[72,1],[72,1],[72,1],[72,1],[71,1],[71,1],[71,1],[71,1],[71,1],[25,2],[25,1],[58,1],[58,1],[85,0],[85,1],[73,2],[73,1],[86,1],[86,5],[86,3],[86,1],[86,2],[90,0],[90,1],[80,2],[92,3],[59,1],[79,4],[99,3],[99,1],[100,0],[100,1],[75,3],[76,1],[78,2],[78,3],[102,2],[102,3],[102,1],[37,3],[37,3],[103,1],[103,1],[103,1],[74,1],[74,1],[74,1],[74,1],[74,1],[74,1],[111,2],[112,2],[112,1],[13,3],[13,4],[13,4],[13,5],[116,2],[116,1],[115,2],[115,1],[118,3],[117,3],[114,2],[14,5],[122,2],[122,1],[124,3],[123,0],[123,2],[16,5],[16,3],[15,5],[15,7],[15,5],[15,7],[15,6],[15,6],[15,4],[17,2],[18,2],[21,2],[21,2],[19,2],[20,5],[135,0],[135,3],[136,0],[136,2],[11,2],[140,3],[140,1],[141,3],[142,1],[142,1],[12,2],[12,2],[143,0],[143,2],[9,5],[9,4],[149,0],[149,3],[146,0],[146,2],[147,0],[147,2],[150,1],[150,1],[151,8],[152,0],[152,1],[154,3],[154,1],[155,1],[155,2],[153,1],[153,1],[153,2],[156,1],[156,2]],
performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate /* action[1] */, $$ /* vstack */, _$ /* lstack */) {
/* this == yyval */
var $0 = $$.length - 1;
switch (yystate) {
case 1:
return $$[$0-1]
break;
case 2:
return { type: 'paren', value: [$$[$0]] }
break;
case 3:
this.$ = {type: 'body', value: []}
break;
case 4: case 194:
this.$.value.push($$[$0])
break;
case 18:
this.$ = { type: 'execute', value: $$[$0] }
break;
case 22:
this.$ = { type: 'assign', variable: $$[$0-2], value: $$[$0], operator: $$[$0-1] }
break;
case 23:
this.$ = { type: 'assign-mult', variables: $$[$0-2], value: $$[$0].length === 1 ? $$[$0][0] : $$[$0], operator: $$[$0-1] }
break;
case 24:
this.$ = { type: 'increase', variable: $$[$0-1], operator: $$[$0] }
break;
case 27: case 37: case 91: case 104: case 112: case 113: case 133: case 166: case 182: case 188:
this.$.push($$[$0])
break;
case 28:
this.$.push($$[$01])
break;
case 29:
this.$ = [$$[$0-2], $$[$0]]
break;
case 38: case 92: case 105: case 114: case 134: case 142: case 167: case 189:
this.$ = [$$[$0]]
break;
case 39: case 106: case 177: case 181:
this.$ = []
break;
case 41: case 155:
this.$ = { type: 'print', value: $$[$0] }
break;
case 42: case 156:
this.$ = { type: 'write', value: $$[$0] }
break;
case 43:
this.$ = { type: 'assign_expr', variable: $$[$0-2], value: $$[$0], operator: $$[$0-1] }
break;
case 49:
this.$ = { type: 'cast', expr: $$[$0-2], class: $$[$0] }
break;
case 50:
this.$ = { type: 'floor', expr: $$[$0-2] }
break;
case 51:
this.$ = { type: 'tostr', expr: $$[$0-2] }
break;
case 52:
this.$ = { type: 'tochar', expr: $$[$0-2] }
break;
case 53:
this.$ = { type: 'lambda', args: [], value: $$[$0] }
break;
case 54:
this.$ = { type: 'lambda', args: [$$[$0-2]], value: $$[$0] }
break;
case 55:
this.$ = { type: 'lambda', args: $$[$0-2].value, value: $$[$0] }
break;
case 56:
this.$ = { type: 'range', left: $$[$0-2], operator: $$[$0-1], right: $$[$0], step: { type: 'number', value: '1' } }
break;
case 57:
this.$ = { type: 'range', left: $$[$0-4], operator: $$[$0-3], right: $$[$0-2], step: $$[$0] }
break;
case 58: case 60:
this.$ = { type: $$[$0-1].type, left: $$[$0-2], right: $$[$0], operator: $$[$0-1].value}
break;
case 61:
this.$ = { type: 'in', value: 'in' }
break;
case 62:
this.$ = { type: 'in', value: 'not' }
break;
case 63:
this.$ = { type: 'alias', value: $$[$0] }
break;
case 64: case 65:
this.$ = { type: 'binary', value: $$[$0] }
break;
case 66:
this.$ = { type: 'postfix', value: $$[$0-1], operator: $$[$0] }
break;
case 68:
this.$ = { type: 'unary', value: $$[$0], operator: $$[$0-1]}
break;
case 70: case 85:
this.$ = {type: 'access', value: $$[$0-1], access: $$[$0]}
break;
case 80:
this.$ = '!'
break;
case 84:
this.$ = $$[$0]+' '
break;
case 93:
this.$ = { type: 'dot', value: $$[$0].replace(/\s+/, '') }
break;
case 94:
this.$ = { type: 'slice', value: [$$[$0-3], $$[$0-1]] }
break;
case 95:
this.$ = { type: 'array', value: $$[$0-1] }
break;
case 96:
this.$ = { type: 'call', value: $$[$0] }
break;
case 97:
this.$ = { type: 'proto', value: $$[$0] }
break;
case 100:
this.$ = {type: 'new', name: $$[$0]}
break;
case 101: case 178:
this.$ = $$[$0-1]
break;
case 102:
this.$ = { type: 'paren', value: $$[$0] }
break;
case 103:
this.$ = { type: 'function', args: $$[$0-3], body: $$[$0-1] }
break;
case 108:
this.$ = { type: 'list', value: $$[$0-1]}
break;
case 109:
this.$ = { type: 'regexp', value: $$[$0]}
break;
case 110:
this.$ = { type: 'object', value: [] }
break;
case 111:
this.$ = { type: 'object', value: $$[$0-1] }
break;
case 115:
this.$ = { type: 'pair', left: $$[$0-2], right: $$[$0]}
break;
case 116:
this.$ = { typeleft: $$[$0-2], right: $$[$0]}
break;
case 118: case 119:
this.$ = {left: $$[$0], right: $$[$0]}
break;
case 120:
this.$ = { type: 'bool', value: $$[$0]}
break;
case 121:
this.$ = { type: 'null', value: $$[$0]}
break;
case 122:
this.$ = { type: 'undefined', value: $$[$0]}
break;
case 123:
this.$ = { type: 'string', value: $$[$0]}
break;
case 124:
this.$ = "'" + $$[$0] + "'"
break;
case 125:
this.$ = { type: 'number', value: $$[$0]}
break;
case 126: case 192: case 193:
this.$ = { type: 'body', value: [$$[$0]] }
break;
case 129:
this.$ = { type: 'if', condition: $$[$0-1], body: $$[$0] }
break;
case 130:
this.$ = { type: 'if', condition: $$[$0-2], body: $$[$0-1], else: $$[$0] }
break;
case 131:
this.$ = { type: 'if', condition: $$[$0-2], body: $$[$0-1], elif: $$[$0] }
break;
case 132:
this.$ = { type: 'if', condition: $$[$0-3], body: $$[$0-2], elif: $$[$0-1], else: $$[$0] }
break;
case 135: case 141:
this.$ = $$[$0-1].concat($$[$0])
break;
case 137:
this.$ = [{ condition: $$[$0-1], body: $$[$0] }]
break;
case 138:
this.$ = { condition: $$[$0-1], body: $$[$0] }
break;
case 139:
this.$ = { body: $$[$0] }
break;
case 140:
this.$ = {type: 'switch', value: $$[$0-3], cases: $$[$0-2], default: $$[$0-1]}
break;
case 143:
this.$ = {condition: $$[$0-1], body: $$[$0]}
break;
case 145: case 164: case 174: case 180:
this.$ = $$[$0]
break;
case 146:
this.$ = { type: 'do', condition: $$[$0-1], body: $$[$0-3] }
break;
case 147:
this.$ = { type: 'while', condition: $$[$0-1], body: $$[$0] }
break;
case 148:
this.$ = { type: 'for of', iterator: $$[$0-3], collection: $$[$0-1], body: $$[$0]}
break;
case 149:
this.$ = { type: 'for of', iterator: [$$[$0-5], $$[$0-4]], collection: $$[$0-3], body: $$[$0-2]}
break;
case 150:
this.$ = { type: 'for in', iterator: $$[$0-3], collection: $$[$0-1], body: $$[$0]}
break;
case 151:
this.$ = { type: 'for in', iterator: [$$[$0-5],$$[$0-4]], collection: $$[$0-3], body: $$[$0-2]}
break;
case 152:
this.$ = { type: 'for index', iterators: $$[$0-3], collection: $$[$0-1], body: $$[$0]}
break;
case 153:
this.$ = { type: 'for each', iterators: $$[$0-3], collection: $$[$0-1], body: $$[$0]}
break;
case 154:
this.$ = { type: 'repeat', times: $$[$0-2], body: $$[$0] }
break;
case 157:
this.$ = { type: 'return', value: [] }
break;
case 158:
this.$ = { type: 'return', value: $$[$0] }
break;
case 159:
this.$ = { type: 'throw', value: $$[$0] }
break;
case 160:
this.$ = {type: 'try', catch: $$[$0-2], finally: $$[$0-1], body: $$[$0-3] }
break;
case 162:
this.$ = { error: $$[$0-1], body: $$[$0] }
break;
case 165:
this.$ = {type:'import', modules: $$[$0] }
break;
case 168:
this.$ = { name: $$[$0-2], submodule: $$[$0-1], alias: $$[$0] }
break;
case 171:
this.$ = { type:'export', module: $$[$0].variable, value: $$[$0] }
break;
case 172:
this.$ = { type:'export', module: $$[$0].name, value: $$[$0] }
break;
case 175:
this.$ = {type: 'class', name: $$[$0-3], parent: $$[$0-2], body: $$[$0-1] }
break;
case 176:
this.$ = {type: 'type' , name: $$[$0-2], parent: $$[$0-1], args: $$[$0] }
break;
case 185:
this.$ = {type: 'constructor', args: $$[$0-4], body: $$[$0-1] }
break;
case 191:
this.$ = { t: $$[$0].slice(1) }
break;
case 195:
this.$ = { type: 'super', args: [] }
break;
case 196:
this.$ = { type: 'super', args: $$[$0] }
break;
}
},
table: [o([5,23,24,38,42,45,46,53,84,121,127,128,132,133,134,139,144,145,148],$V0,{3:1,4:2,6:[1,3]}),{1:[3]},{5:[1,4],8:5,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:14,18:15,19:16,20:17,21:18,22:19,23:$V1,24:$V2,25:22,27:23,38:$V3,42:$V4,45:$V5,46:$V6,53:$V7,58:38,84:$V8,121:$V9,127:$Va,128:$Vb,132:$Vc,133:$Vd,134:$Ve,139:$Vf,144:$Vg,145:$Vh,148:$Vi},{7:41,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{1:[2,1]},o($VG,[2,4]),o($VG,[2,5]),o($VG,[2,6]),o($VG,[2,7]),o($VG,[2,8]),o($VG,[2,9]),o($VG,[2,10]),o($VG,[2,11]),o($VG,[2,12]),o($VG,[2,13]),o($VG,[2,14]),o($VG,[2,15]),o($VG,[2,16]),o($VG,[2,17]),o($VG,[2,18]),{53:[1,89]},{53:[1,90]},o($VG,[2,21],{26:91,29:[1,92],30:$VH,31:$VI,32:[1,93]}),{26:96,30:$VH,31:$VI,32:[1,97]},{53:$VJ,108:$VK,140:98,141:99,142:100},{7:103,9:104,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF,145:$Vh,148:$Vi},{7:105,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{7:106,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{25:111,29:$Vj,50:110,53:[1,107],58:38,59:113,63:60,69:$Vq,70:69,71:71,72:72,74:112,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF,129:[1,108],130:[1,109]},o([23,24,38,42,45,46,53,84,121,127,128,132,133,134,139,144,145,148],$V0,{4:114}),{7:115,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{7:116,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{7:117,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{7:118,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},o([23,24,38,42,45,46,53,84,113,121,127,128,132,133,134,137,138,139,144,145,148],$V0,{4:119}),{6:[1,120],7:122,25:47,28:121,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},o($VG,[2,19]),o($VG,[2,20]),o($VL,$VM,{73:123,86:124,92:127,87:$VN,88:$VO,93:$VP,95:$Vx}),o($VQ,[2,87]),o($VQ,$VR),{1:[2,2]},o($VS,[2,30]),o($VS,[2,31]),o($VS,[2,32]),o($VS,[2,33]),o($VS,[2,34]),o([1,5,6,23,24,29,32,38,41,42,43,45,46,52,53,60,65,66,67,68,69,84,89,91,94,96,98,105,106,107,108,109,110,113,119,120,121,125,126,127,128,132,133,134,137,138,139,144,145,148],$VT,{26:129,30:$VH,31:$VI}),o($VS,[2,44]),o($VS,[2,45]),o($VS,[2,46]),o($VS,[2,47],{64:131,62:133,52:[1,132],60:[1,130],65:[1,134],66:[1,135],67:$VU,68:$VV,69:$VW}),o($VS,[2,48]),{7:139,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{7:140,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{39:[1,141]},{25:111,29:$Vj,34:142,47:48,48:49,49:50,50:51,51:52,53:$V7,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:112,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},o([1,5,6,23,24,29,30,31,32,38,41,42,43,45,46,52,53,57,60,65,66,67,68,69,84,87,88,89,91,93,94,95,96,98,105,106,107,108,109,110,113,119,120,121,125,126,127,128,132,133,134,137,138,139,144,145,148],$VR,{104:$VX}),o($VY,$VZ,{104:$V_}),o([1,5,6,23,24,29,30,31,32,38,41,42,43,45,46,52,53,60,65,66,67,68,69,84,89,91,94,96,98,105,106,107,108,109,110,113,119,120,121,125,126,127,128,132,133,134,137,138,139,144,145,148],$VM,{73:123,86:124,92:127,57:[1,145],87:$VN,88:$VO,93:$VP,95:$Vx}),o($V$,[2,59]),{7:146,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},o($VY,$V01,{57:[1,147]}),o($V11,[2,120]),o($V11,[2,121]),o($V11,[2,122]),o($V11,[2,123]),o($V11,[2,124]),o($V11,[2,125]),o($V$,[2,67],{29:[1,148]}),o([1,5,6,23,24,29,32,38,41,42,43,45,46,52,53,57,60,61,65,66,67,68,69,84,87,88,89,91,93,94,95,96,98,105,106,107,108,109,110,113,119,120,121,125,126,127,128,131,132,133,134,137,138,139,144,145,148],[2,102],{97:[1,149]}),{25:111,29:$Vj,53:$V7,58:38,59:113,69:$Vq,70:150,71:71,72:72,74:112,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},o($V21,[2,71],{86:124,92:127,73:151,87:$VN,88:$VO,93:$VP,95:$Vx}),{7:122,25:47,28:153,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,44:152,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,96:$V31,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},o($V41,[2,80]),o($V41,[2,81]),o($V41,[2,82]),o($V41,[2,83]),o($V41,[2,84]),o($V51,[2,73]),o($V51,[2,74]),o($V51,[2,75]),o($V51,[2,76]),o($V51,[2,77]),o($V51,[2,78]),{7:122,25:47,28:153,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,44:154,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,91:$V31,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},o($V51,[2,109]),{37:158,53:$V61,74:160,98:[1,155],102:156,103:157,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{53:[1,161]},o($V71,$V81,{146:162,104:$V91}),o([5,23,24,38,42,45,46,53,84,97,98,113,119,120,121,125,126,127,128,132,133,134,137,138,139,144,145,148],$V81,{146:164,104:$V91}),{7:165,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},o($VG,[2,24]),{25:166,53:$V7,58:38,84:$V8},o($Va1,[2,25]),o($Va1,[2,26]),{7:122,25:47,28:167,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},o($Vb1,[2,28],{58:38,25:168,53:$V7,84:$V8}),o($VG,[2,165],{32:[1,169]}),o($Vc1,[2,167]),o($Vd1,[2,89],{86:124,92:127,85:170,73:171,87:$VN,88:$VO,93:$VP,95:$Vx}),o($Ve1,[2,169]),o($Ve1,[2,170]),o($VG,[2,171]),o($VG,[2,172]),o($Vf1,$V0,{112:172,4:173,111:174,43:$Vg1}),{122:176,124:177,125:$Vh1},o([29,67,68,69,87,88,93,95,131],$VR,{32:[1,180],40:[1,179],65:[1,181]}),{53:$Vi1,99:182},{53:$Vi1,99:184},{62:133,67:$VU,68:$VV,69:$VW,131:[1,185]},o($V21,$VT),o($V51,$VZ),o($V51,$V01),{8:5,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:14,18:15,19:16,20:17,21:18,22:19,23:$V1,24:$V2,25:22,27:23,38:$V3,42:$V4,45:$V5,46:$V6,53:$V7,58:38,84:$V8,121:$V9,127:$Va,128:[1,186],132:$Vc,133:$Vd,134:$Ve,139:$Vf,144:$Vg,145:$Vh,148:$Vi},o($Vj1,$V0,{111:174,112:187,4:188,43:$Vg1}),o($VG,[2,155]),o($VG,[2,156]),o($VG,[2,159]),o($Vk1,[2,161],{8:5,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:14,18:15,19:16,20:17,21:18,22:19,25:22,27:23,58:38,135:189,23:$V1,24:$V2,38:$V3,42:$V4,45:$V5,46:$V6,53:$V7,84:$V8,121:$V9,127:$Va,128:$Vb,132:$Vc,133:$Vd,134:$Ve,137:[1,190],139:$Vf,144:$Vg,145:$Vh,148:$Vi}),o($VG,[2,157]),o($VG,[2,158],{32:$Vl1}),o($Vm1,$Vn1),o($VL,[2,85],{92:127,86:192,87:$VN,88:$VO,93:$VP,95:$Vx}),o($Vo1,[2,92]),o($Vo1,[2,93]),{7:193,25:47,28:194,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},o($Vo1,[2,96]),{53:[1,195]},{7:196,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{25:111,29:$Vj,50:197,53:$V7,58:38,59:113,63:60,69:$Vq,70:69,71:71,72:72,74:112,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{25:111,29:$Vj,50:198,53:$V7,58:38,59:113,63:60,69:$Vq,70:69,71:71,72:72,74:112,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{53:[1,199],54:[1,200],55:[1,201],56:[1,202]},{25:111,29:$Vj,53:$V7,58:38,59:113,63:203,69:$Vq,70:69,71:71,72:72,74:112,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},o($V41,[2,61]),o($V41,[2,62]),o($V41,[2,63]),o($V41,[2,64]),o($V41,[2,65]),o($VS,[2,41]),o($VS,[2,42]),{40:[1,204]},{43:[1,205]},{7:206,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{7:207,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{7:208,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},o($VS,[2,53]),{7:209,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},o($V$,[2,66]),o($Vp1,$V0,{4:210}),o($V21,[2,68]),o($V21,[2,70],{92:127,86:192,87:$VN,88:$VO,93:$VP,95:$Vx}),{96:[1,211]},o([91,96],[2,40],{32:$Vl1}),{91:[1,212]},o($V51,[2,110]),{32:[1,215],37:158,53:$V61,74:160,98:[1,213],103:214,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},o($Vq1,[2,114]),o($Vq1,[2,117]),o($Vq1,[2,118],{104:$VX}),o($Vq1,[2,119],{104:$V_}),o($V51,[2,100]),o($V71,[2,181],{147:216}),{25:217,53:$V7,58:38,84:$V8},o($VG,[2,177],{149:218,97:[1,219]}),o($VG,[2,22]),o($Vb1,[2,29]),o($VG,[2,23],{32:$Vl1}),o($Vb1,[2,27]),{53:$VJ,108:$VK,141:220,142:100},o($Vc1,[2,173],{143:221,52:[1,222]}),o($Vd1,[2,90],{92:127,86:192,87:$VN,88:$VO,93:$VP,95:$Vx}),o($VG,[2,129]),{8:5,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:14,18:15,19:16,20:17,21:18,22:19,23:$V1,24:$V2,25:22,27:23,38:$V3,42:$V4,45:$V5,46:$V6,53:$V7,58:38,84:$V8,113:$Vr1,114:223,115:224,116:225,117:229,118:228,119:$Vs1,120:$Vt1,121:$V9,127:$Va,128:$Vb,132:$Vc,133:$Vd,134:$Ve,139:$Vf,144:$Vg,145:$Vh,148:$Vi},o($VG,[2,128]),{8:231,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:14,18:15,19:16,20:17,21:18,22:19,23:$V1,24:$V2,25:22,27:23,38:$V3,42:$V4,45:$V5,46:$V6,53:$V7,58:38,84:$V8,121:$V9,127:$Va,128:$Vb,132:$Vc,133:$Vd,134:$Ve,139:$Vf,144:$Vg,145:$Vh,148:$Vi},{113:[2,144],123:232,124:233,125:$Vh1,126:[1,234]},o($Vu1,[2,142]),{7:122,25:47,28:235,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{25:111,29:$Vj,34:236,47:48,48:49,49:50,50:51,51:52,53:$V7,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:112,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{53:[1,237]},{25:111,29:$Vj,34:238,47:48,48:49,49:50,50:51,51:52,53:$V7,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:112,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{32:$Vv1,40:[1,239]},o($Vw1,[2,105]),{32:$Vv1,65:[1,241]},o($Vj1,$V0,{111:174,4:188,112:242,43:$Vg1}),{7:243,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},o($VG,[2,147]),{8:5,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:14,18:15,19:16,20:17,21:18,22:19,23:$V1,24:$V2,25:22,27:23,38:$V3,42:$V4,45:$V5,46:$V6,53:$V7,58:38,84:$V8,113:$Vr1,121:$V9,127:$Va,128:$Vb,132:$Vc,133:$Vd,134:$Ve,139:$Vf,144:$Vg,145:$Vh,148:$Vi},{113:[2,163],136:244,138:[1,245]},{53:[1,246]},{7:247,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},o($Vo1,[2,91]),o([32,91],$Vn1,{89:[1,248]}),{32:$Vl1,91:[1,249]},o($Vo1,[2,97]),o($VS,[2,43]),o($VS,[2,56],{62:133,61:[1,250],67:$VU,68:$VV,69:$VW}),o($VS,[2,60],{62:133,67:$VU,68:$VV,69:$VW}),o($VS,[2,49]),o($VS,[2,50]),o($VS,[2,51]),o($VS,[2,52]),o($V$,[2,58]),{25:111,29:$Vj,34:251,47:48,48:49,49:50,50:51,51:52,53:$V7,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:112,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{7:252,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},o($VS,[2,115]),o($VS,[2,116]),o($VS,[2,54]),o($VS,[2,55]),{8:5,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:14,18:15,19:16,20:17,21:18,22:19,23:$V1,24:$V2,25:22,27:23,38:$V3,42:$V4,45:$V5,46:$V6,53:$V7,58:38,84:$V8,98:[1,253],121:$V9,127:$Va,128:$Vb,132:$Vc,133:$Vd,134:$Ve,139:$Vf,144:$Vg,145:$Vh,148:$Vi},o($VQ,[2,101]),o($V51,[2,108]),o($V51,[2,111]),o($Vq1,[2,112]),{37:158,53:$V61,74:160,103:254,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{25:259,33:257,53:$V7,58:38,84:$V8,94:[1,260],113:[1,255],150:256,151:258},o([5,23,24,38,42,45,46,53,84,94,97,98,113,119,120,121,125,126,127,128,132,133,134,137,138,139,144,145,148],[2,180]),o($VG,[2,176]),{53:$Vi1,99:261},o($Vc1,[2,166]),o($Vc1,[2,168]),{53:[1,262]},o($VG,[2,130]),o($VG,[2,131]),{114:263,117:265,118:264,119:$Vs1,120:$Vt1},o($VG,[2,127]),o($Vj1,$V0,{111:174,4:188,112:266,43:$Vg1}),o($VG,[2,136]),o($Vx1,[2,134]),{7:267,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},o($VG,[2,126]),{113:[1,268]},o($Vu1,[2,141]),o($Vj1,$V0,{4:269}),o([23,24,38,42,45,46,53,84,113,121,125,126,127,128,132,133,134,139,144,145,148],$V0,{4:270,32:$Vl1}),o($Vj1,$V0,{111:174,4:188,112:271,43:$Vg1}),{40:[1,272],65:[1,273]},o($Vj1,$V0,{111:174,4:188,112:274,43:$Vg1}),{25:111,29:$Vj,34:275,47:48,48:49,49:50,50:51,51:52,53:$V7,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:112,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{53:[1,276]},{25:111,29:$Vj,34:277,47:48,48:49,49:50,50:51,51:52,53:$V7,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:112,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},o($VG,[2,154]),o($Vj1,$V0,{111:174,112:187,4:188,6:[1,278],43:$Vg1}),{113:[1,279]},o($Vj1,$V0,{4:280}),o([23,24,38,42,45,46,53,84,113,121,127,128,132,133,134,138,139,144,145,148],$V0,{4:281}),o($Vm1,[2,37]),{7:283,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,90:282,91:[2,98],92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},o($Vo1,[2,95]),{25:111,29:$Vj,50:284,53:$V7,58:38,59:113,63:60,69:$Vq,70:69,71:71,72:72,74:112,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{41:[1,285]},o($VS,[2,36]),o($V51,[2,103]),o($Vq1,[2,113]),o($VG,[2,175]),o($V71,[2,182]),o($V71,[2,183]),o($V71,[2,184]),{26:129,30:$VH,31:$VI},{31:[1,286]},{32:$Vv1,98:[1,287]},o($Vc1,[2,174]),o($VG,[2,132]),o($VG,[2,135]),o($Vx1,[2,133]),o($VG,[2,139]),o($Vf1,$V0,{111:174,112:288,4:289,43:$Vg1}),o($VG,[2,140]),{8:5,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:14,18:15,19:16,20:17,21:18,22:19,23:$V1,24:$V2,25:22,27:23,38:$V3,42:$V4,45:$V5,46:$V6,53:$V7,58:38,84:$V8,113:[2,145],121:$V9,127:$Va,128:$Vb,132:$Vc,133:$Vd,134:$Ve,139:$Vf,144:$Vg,145:$Vh,148:$Vi},o($Vu1,[2,143],{8:5,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:14,18:15,19:16,20:17,21:18,22:19,25:22,27:23,58:38,23:$V1,24:$V2,38:$V3,42:$V4,45:$V5,46:$V6,53:$V7,84:$V8,121:$V9,127:$Va,128:$Vb,132:$Vc,133:$Vd,134:$Ve,139:$Vf,144:$Vg,145:$Vh,148:$Vi}),o($VG,[2,148]),{25:111,29:$Vj,34:290,47:48,48:49,49:50,50:51,51:52,53:$V7,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:112,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{25:111,29:$Vj,34:291,47:48,48:49,49:50,50:51,51:52,53:$V7,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:112,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},o($VG,[2,150]),o($Vj1,$V0,{111:174,4:188,112:292,43:$Vg1}),o($Vw1,[2,104]),o($Vj1,$V0,{111:174,4:188,112:293,43:$Vg1}),o($VG,[2,146]),o($VG,[2,160]),{8:5,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:14,18:15,19:16,20:17,21:18,22:19,23:$V1,24:$V2,25:22,27:23,38:$V3,42:$V4,45:$V5,46:$V6,53:$V7,58:38,84:$V8,113:[2,164],121:$V9,127:$Va,128:$Vb,132:$Vc,133:$Vd,134:$Ve,139:$Vf,144:$Vg,145:$Vh,148:$Vi},o($Vk1,[2,162],{8:5,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:14,18:15,19:16,20:17,21:18,22:19,25:22,27:23,58:38,23:$V1,24:$V2,38:$V3,42:$V4,45:$V5,46:$V6,53:$V7,84:$V8,121:$V9,127:$Va,128:$Vb,132:$Vc,133:$Vd,134:$Ve,139:$Vf,144:$Vg,145:$Vh,148:$Vi}),{91:[1,294]},{91:[2,99]},o($VS,[2,57],{62:133,67:$VU,68:$VV,69:$VW}),{7:295,25:47,29:$Vj,33:42,34:43,35:44,36:45,37:46,38:$Vk,42:$Vl,45:$Vm,46:$Vn,47:48,48:49,49:50,50:51,51:52,53:$Vo,57:$Vp,58:59,59:62,63:60,69:$Vq,70:69,71:71,72:72,74:58,75:79,76:80,77:$Vr,78:82,79:83,80:84,81:$Vs,82:$Vt,83:$Vu,84:$V8,88:$Vv,92:70,94:$Vw,95:$Vx,97:$Vy,101:$Vz,105:$VA,106:$VB,107:$VC,108:$VD,109:$VE,110:$VF},{95:[1,296]},o($VG,[2,178]),o($VG,[2,137]),o($Vx1,[2,138],{8:5,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:14,18:15,19:16,20:17,21:18,22:19,25:22,27:23,58:38,23:$V1,24:$V2,38:$V3,42:$V4,45:$V5,46:$V6,53:$V7,84:$V8,113:$Vr1,121:$V9,127:$Va,128:$Vb,132:$Vc,133:$Vd,134:$Ve,139:$Vf,144:$Vg,145:$Vh,148:$Vi}),o($Vj1,$V0,{111:174,4:188,112:297,43:$Vg1}),o($Vj1,$V0,{111:174,4:188,112:298,43:$Vg1}),o($VG,[2,152]),o($VG,[2,153]),o($Vo1,[2,94]),o($VS,[2,35]),{53:$Vy1,84:$Vz1,96:[2,186],152:299,154:300,155:301},o($VG,[2,149]),o($VG,[2,151]),{96:[1,304]},{32:[1,305],96:[2,187]},o($VA1,[2,189]),o($VA1,[2,190]),{87:[1,306]},{97:[1,307]},{53:$Vy1,84:$Vz1,155:308},o($VA1,[2,191]),{8:310,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:14,18:15,19:16,20:17,21:18,22:19,23:$V1,24:$V2,25:22,27:23,38:$V3,42:$V4,45:$V5,46:$V6,53:$V7,58:38,84:$V8,121:$V9,127:$Va,128:$Vb,132:$Vc,133:$Vd,134:$Ve,139:$Vf,144:$Vg,145:$Vh,148:$Vi,153:309,156:311,157:[1,312]},o($VA1,[2,188]),{8:314,9:6,10:7,11:8,12:9,13:10,14:11,15:12,16:13,17:14,18:15,19:16,20:17,21:18,22:19,23:$V1,24:$V2,25:22,27:23,38:$V3,42:$V4,45:$V5,46:$V6,53:$V7,58:38,84:$V8,98:[1,313],121:$V9,127:$Va,128:$Vb,132:$Vc,133:$Vd,134:$Ve,139:$Vf,144:$Vg,145:$Vh,148:$Vi},o($Vp1,[2,192]),o($Vp1,[2,193]),o($Vp1,[2,195],{92:315,95:$Vx}),o($V71,[2,185]),o($Vp1,[2,194]),o($Vp1,[2,196])],
defaultActions: {4:[2,1],41:[2,2],283:[2,99]},
parseError: function parseError(str, hash) {
if (hash.recoverable) {
this.trace(str);
} else {
function _parseError (msg, hash) {
this.message = msg;
this.hash = hash;
}
_parseError.prototype = Error;
throw new _parseError(str, hash);
}
},
parse: function parse(input) {
var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = '', yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;
var args = lstack.slice.call(arguments, 1);
var lexer = Object.create(this.lexer);
var sharedState = { yy: {} };
for (var k in this.yy) {
if (Object.prototype.hasOwnProperty.call(this.yy, k)) {
sharedState.yy[k] = this.yy[k];
}
}
lexer.setInput(input, sharedState.yy);
sharedState.yy.lexer = lexer;
sharedState.yy.parser = this;
if (typeof lexer.yylloc == 'undefined') {
lexer.yylloc = {};
}
var yyloc = lexer.yylloc;
lstack.push(yyloc);
var ranges = lexer.options && lexer.options.ranges;
if (typeof sharedState.yy.parseError === 'function') {
this.parseError = sharedState.yy.parseError;
} else {
this.parseError = Object.getPrototypeOf(this).parseError;
}
function popStack(n) {
stack.length = stack.length - 2 * n;
vstack.length = vstack.length - n;
lstack.length = lstack.length - n;
}
_token_stack:
var lex = function () {
var token;
token = lexer.lex() || EOF;
if (typeof token !== 'number') {
token = self.symbols_[token] || token;
}
return token;
};
var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;
while (true) {
state = stack[stack.length - 1];
if (this.defaultActions[state]) {
action = this.defaultActions[state];
} else {
if (symbol === null || typeof symbol == 'undefined') {
symbol = lex();
}
action = table[state] && table[state][symbol];
}
if (typeof action === 'undefined' || !action.length || !action[0]) {
var errStr = '';
expected = [];
for (p in table[state]) {
if (this.terminals_[p] && p > TERROR) {
expected.push('\'' + this.terminals_[p] + '\'');
}
}
if (lexer.showPosition) {
errStr = 'Parse error on line ' + (yylineno + 1) + ':\n' + lexer.showPosition() + '\nExpecting ' + expected.join(', ') + ', got \'' + (this.terminals_[symbol] || symbol) + '\'';
} else {
errStr = 'Parse error on line ' + (yylineno + 1) + ': Unexpected ' + (symbol == EOF ? 'end of input' : '\'' + (this.terminals_[symbol] || symbol) + '\'');
}
this.parseError(errStr, {
text: lexer.match,
token: this.terminals_[symbol] || symbol,
line: lexer.yylineno,
loc: yyloc,
expected: expected
});
}
if (action[0] instanceof Array && action.length > 1) {
throw new Error('Parse Error: multiple actions possible at state: ' + state + ', token: ' + symbol);
}
switch (action[0]) {
case 1:
stack.push(symbol);
vstack.push(lexer.yytext);
lstack.push(lexer.yylloc);
stack.push(action[1]);
symbol = null;
if (!preErrorSymbol) {
yyleng = lexer.yyleng;
yytext = lexer.yytext;
yylineno = lexer.yylineno;
yyloc = lexer.yylloc;
if (recovering > 0) {
recovering--;
}
} else {
symbol = preErrorSymbol;
preErrorSymbol = null;
}
break;
case 2:
len = this.productions_[action[1]][1];
yyval.$ = vstack[vstack.length - len];
yyval._$ = {
first_line: lstack[lstack.length - (len || 1)].first_line,
last_line: lstack[lstack.length - 1].last_line,
first_column: lstack[lstack.length - (len || 1)].first_column,
last_column: lstack[lstack.length - 1].last_column
};
if (ranges) {
yyval._$.range = [
lstack[lstack.length - (len || 1)].range[0],
lstack[lstack.length - 1].range[1]
];
}
r = this.performAction.apply(yyval, [
yytext,
yyleng,
yylineno,
sharedState.yy,
action[1],
vstack,
lstack
].concat(args));
if (typeof r !== 'undefined') {
return r;
}
if (len) {
stack = stack.slice(0, -1 * len * 2);
vstack = vstack.slice(0, -1 * len);
lstack = lstack.slice(0, -1 * len);
}
stack.push(this.productions_[action[1]][0]);
vstack.push(yyval.$);
lstack.push(yyval._$);
newState = table[stack[stack.length - 2]][stack[stack.length - 1]];
stack.push(newState);
break;
case 3:
return true;
}
}
return true;
}};
/* generated by jison-lex 0.3.4 */
var lexer = (function(){
var lexer = ({
EOF:1,
parseError:function parseError(str, hash) {
if (this.yy.parser) {
this.yy.parser.parseError(str, hash);
} else {
throw new Error(str);
}
},
// resets the lexer, sets new input
setInput:function (input, yy) {
this.yy = yy || this.yy || {};
this._input = input;
this._more = this._backtrack = this.done = false;
this.yylineno = this.yyleng = 0;
this.yytext = this.matched = this.match = '';
this.conditionStack = ['INITIAL'];
this.yylloc = {
first_line: 1,
first_column: 0,
last_line: 1,
last_column: 0
};
if (this.options.ranges) {
this.yylloc.range = [0,0];
}
this.offset = 0;
return this;
},
// consumes and returns one char from the input
input:function () {
var ch = this._input[0];
this.yytext += ch;
this.yyleng++;
this.offset++;
this.match += ch;
this.matched += ch;
var lines = ch.match(/(?:\r\n?|\n).*/g);
if (lines) {
this.yylineno++;
this.yylloc.last_line++;
} else {
this.yylloc.last_column++;
}
if (this.options.ranges) {
this.yylloc.range[1]++;
}
this._input = this._input.slice(1);
return ch;
},
// unshifts one char (or a string) into the input
unput:function (ch) {
var len = ch.length;
var lines = ch.split(/(?:\r\n?|\n)/g);
this._input = ch + this._input;
this.yytext = this.yytext.substr(0, this.yytext.length - len);
//this.yyleng -= len;
this.offset -= len;
var oldLines = this.match.split(/(?:\r\n?|\n)/g);
this.match = this.match.substr(0, this.match.length - 1);
this.matched = this.matched.substr(0, this.matched.length - 1);
if (lines.length - 1) {
this.yylineno -= lines.length - 1;
}
var r = this.yylloc.range;
this.yylloc = {
first_line: this.yylloc.first_line,
last_line: this.yylineno + 1,
first_column: this.yylloc.first_column,
last_column: lines ?
(lines.length === oldLines.length ? this.yylloc.first_column : 0)
+ oldLines[oldLines.length - lines.length].length - lines[0].length :
this.yylloc.first_column - len
};
if (this.options.ranges) {
this.yylloc.range = [r[0], r[0] + this.yyleng - len];
}
this.yyleng = this.yytext.length;
return this;
},
// When called from action, caches matched text and appends it on next action
more:function () {
this._more = true;
return this;
},
// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
reject:function () {
if (this.options.backtrack_lexer) {
this._backtrack = true;
} else {
return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n' + this.showPosition(), {
text: "",
token: null,
line: this.yylineno
});
}
return this;
},
// retain first n characters of the match
less:function (n) {
this.unput(this.match.slice(n));
},
// displays already matched input, i.e. for error messages
pastInput:function () {
var past = this.matched.substr(0, this.matched.length - this.match.length);
return (past.length > 20 ? '...':'') + past.substr(-20).replace(/\n/g, "");
},
// displays upcoming input, i.e. for error messages
upcomingInput:function () {
var next = this.match;
if (next.length < 20) {
next += this._input.substr(0, 20-next.length);
}
return (next.substr(0,20) + (next.length > 20 ? '...' : '')).replace(/\n/g, "");
},
// displays the character position where the lexing error occurred, i.e. for error messages
showPosition:function () {
var pre = this.pastInput();
var c = new Array(pre.length + 1).join("-");
return pre + this.upcomingInput() + "\n" + c + "^";
},
// test the lexed token: return FALSE when not a match, otherwise return token
test_match:function (match, indexed_rule) {
var token,
lines,
backup;
if (this.options.backtrack_lexer) {
// save context
backup = {
yylineno: this.yylineno,
yylloc: {
first_line: this.yylloc.first_line,
last_line: this.last_line,
first_column: this.yylloc.first_column,
last_column: this.yylloc.last_column
},
yytext: this.yytext,
match: this.match,
matches: this.matches,
matched: this.matched,
yyleng: this.yyleng,
offset: this.offset,
_more: this._more,
_input: this._input,
yy: this.yy,
conditionStack: this.conditionStack.slice(0),
done: this.done
};
if (this.options.ranges) {
backup.yylloc.range = this.yylloc.range.slice(0);
}
}
lines = match[0].match(/(?:\r\n?|\n).*/g);
if (lines) {
this.yylineno += lines.length;
}
this.yylloc = {
first_line: this.yylloc.last_line,
last_line: this.yylineno + 1,
first_column: this.yylloc.last_column,
last_column: lines ?
lines[lines.length - 1].length - lines[lines.length - 1].match(/\r?\n?/)[0].length :
this.yylloc.last_column + match[0].length
};
this.yytext += match[0];
this.match += match[0];
this.matches = match;
this.yyleng = this.yytext.length;
if (this.options.ranges) {
this.yylloc.range = [this.offset, this.offset += this.yyleng];
}
this._more = false;
this._backtrack = false;
this._input = this._input.slice(match[0].length);
this.matched += match[0];
token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);
if (this.done && this._input) {
this.done = false;
}
if (token) {
return token;
} else if (this._backtrack) {
// recover context
for (var k in backup) {
this[k] = backup[k];
}
return false; // rule action called reject() implying the next rule should be tested instead.
}
return false;
},
// return next match in input
next:function () {
if (this.done) {
return this.EOF;
}
if (!this._input) {
this.done = true;
}
var token,
match,
tempMatch,
index;
if (!this._more) {
this.yytext = '';
this.match = '';
}
var rules = this._currentRules();
for (var i = 0; i < rules.length; i++) {
tempMatch = this._input.match(this.rules[rules[i]]);
if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {
match = tempMatch;
index = i;
if (this.options.backtrack_lexer) {
token = this.test_match(tempMatch, rules[i]);
if (token !== false) {
return token;
} else if (this._backtrack) {
match = false;
continue; // rule action called reject() implying a rule MISmatch.
} else {
// else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)
return false;
}
} else if (!this.options.flex) {
break;
}
}
}
if (match) {
token = this.test_match(match, rules[index]);
if (token !== false) {
return token;
}
// else: this is a lexer rule which consumes input without producing a token (e.g. whitespace)
return false;
}
if (this._input === "") {
return this.EOF;
} else {
return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\n' + this.showPosition(), {
text: "",
token: null,
line: this.yylineno
});
}
},
// return next match that has a token
lex:function lex() {
var r = this.next();
if (r) {
return r;
} else {
return this.lex();
}
},
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
begin:function begin(condition) {
this.conditionStack.push(condition);
},
// pop the previously active lexer condition state off the condition stack
popState:function popState() {
var n = this.conditionStack.length - 1;
if (n > 0) {
return this.conditionStack.pop();
} else {
return this.conditionStack[0];
}
},
// produce the lexer rule set which is active for the currently active lexer condition state
_currentRules:function _currentRules() {
if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {
return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;
} else {
return this.conditions["INITIAL"].rules;
}
},
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
topState:function topState(n) {
n = this.conditionStack.length - 1 - Math.abs(n || 0);
if (n >= 0) {
return this.conditionStack[n];
} else {
return "INITIAL";
}
},
// alias for begin(condition)
pushState:function pushState(condition) {
this.begin(condition);
},
// return the number of states currently on the stack
stateStackSize:function stateStackSize() {
return this.conditionStack.length;
},
options: {},
performAction: function anonymous(yy,yy_,$avoiding_name_collisions,YY_START) {
var YYSTATE=YY_START;
switch($avoiding_name_collisions) {
case 0:/* ignore */
break;
case 1:/* ignore */
break;
case 2:/* ignore */
break;
case 3:return 101
break;
case 4:return 105
break;
case 5:return 105
break;
case 6:return 60
break;
case 7:return 60
break;
case 8:return 57
break;
case 9:return 29
break;
case 10:return 29
break;
case 11:return 93
break;
case 12:return 30
break;
case 13:return 30
break;
case 14:return 30
break;
case 15:return 30
break;
case 16:return 30
break;
case 17:return 30
break;
case 18:return 30
break;
case 19:return 30
break;
case 20:return 30
break;
case 21:return 30
break;
case 22:return 30
break;
case 23:return 30
break;
case 24:return 66
break;
case 25:return 81
break;
case 26:return 67
break;
case 27:return 67
break;
case 28:return 67
break;
case 29:return 67
break;
case 30:return 67
break;
case 31:return 68
break;
case 32:return 68
break;
case 33:return 68
break;
case 34:return 68
break;
case 35:return 68
break;
case 36:return 68
break;
case 37:return 68
break;
case 38:return 68
break;
case 39:return 68
break;
case 40:return 68
break;
case 41:return 68
break;
case 42:return 68
break;
case 43:return 68
break;
case 44:return 68
break;
case 45:return 68
break;
case 46:return 68
break;
case 47:return 68
break;
case 48:return 68
break;
case 49:return 68
break;
case 50:return 68
break;
case 51:return 69
break;
case 52:return 69
break;
case 53:return 82
break;
case 54:return 82
break;
case 55:return 83
break;
case 56:return yy_.yytext
break;
case 57:return yy_.yytext
break;
case 58:return yy_.yytext
break;
case 59:return yy_.yytext
break;
case 60:return yy_.yytext
break;
case 61:return yy_.yytext
break;
case 62:return yy_.yytext
break;
case 63:return yy_.yytext
break;
case 64:return yy_.yytext
break;
case 65:return yy_.yytext
break;
case 66:return yy_.yytext
break;
case 67:return yy_.yytext
break;
case 68:return yy_.yytext
break;
case 69:return yy_.yytext
break;
case 70:return yy_.yytext
break;
case 71:return yy_.yytext
break;
case 72:return yy_.yytext
break;
case 73:return yy_.yytext
break;
case 74:return yy_.yytext
break;
case 75:return yy_.yytext
break;
case 76:return yy_.yytext
break;