-
Notifications
You must be signed in to change notification settings - Fork 95
/
Copy pathy.output
7036 lines (5568 loc) · 115 KB
/
y.output
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
state 0
$accept: .inputs $end
SINGLE_INPUT shift 2
FILE_INPUT shift 3
EVAL_INPUT shift 4
. error
inputs goto 1
state 1
$accept: inputs.$end
$end accept
. error
state 2
inputs: SINGLE_INPUT.single_input
NAME shift 84
STRING shift 91
NUMBER shift 85
ELIPSIS shift 87
FALSE shift 90
NONE shift 88
TRUE shift 89
ASSERT shift 47
BREAK shift 50
CLASS shift 24
CONTINUE shift 51
DEF shift 23
DEL shift 36
FOR shift 20
FROM shift 56
GLOBAL shift 45
IF shift 18
IMPORT shift 55
LAMBDA shift 65
NONLOCAL shift 46
NOT shift 67
PASS shift 37
RAISE shift 53
RETURN shift 52
TRY shift 21
WHILE shift 19
WITH shift 22
YIELD shift 58
'(' shift 81
'[' shift 82
'+' shift 76
'-' shift 77
'*' shift 63
'{' shift 83
'~' shift 78
'@' shift 48
. error
strings goto 86
single_input goto 5
simple_stmt goto 6
small_stmts goto 8
compound_stmt goto 7
small_stmt goto 17
expr_stmt goto 26
del_stmt goto 27
pass_stmt goto 28
flow_stmt goto 29
import_stmt goto 30
global_stmt goto 31
nonlocal_stmt goto 32
assert_stmt goto 33
break_stmt goto 38
continue_stmt goto 39
return_stmt goto 40
raise_stmt goto 41
yield_stmt goto 42
import_name goto 43
import_from goto 44
while_stmt goto 10
if_stmt goto 9
for_stmt goto 11
try_stmt goto 12
with_stmt goto 13
funcdef goto 14
classdef goto 15
decorated goto 16
expr goto 69
star_expr goto 60
xor_expr goto 70
and_expr goto 71
shift_expr goto 72
arith_expr goto 73
term goto 74
factor goto 75
power goto 79
atom goto 80
test_or_star_expr goto 57
test goto 59
not_test goto 66
lambdef goto 62
or_test goto 61
and_test goto 64
comparison goto 68
testlist_star_expr goto 35
yield_expr goto 54
decorator goto 34
test_or_star_exprs goto 49
decorators goto 25
state 3
inputs: FILE_INPUT.file_input
nl_or_stmt: . (7)
. reduce 7 (src line 291)
file_input goto 92
nl_or_stmt goto 93
state 4
inputs: EVAL_INPUT.eval_input
NAME shift 84
STRING shift 91
NUMBER shift 85
ELIPSIS shift 87
FALSE shift 90
NONE shift 88
TRUE shift 89
LAMBDA shift 65
NOT shift 67
'(' shift 81
'[' shift 82
'+' shift 76
'-' shift 77
'{' shift 83
'~' shift 78
. error
strings goto 86
eval_input goto 94
expr goto 69
xor_expr goto 70
and_expr goto 71
shift_expr goto 72
arith_expr goto 73
term goto 74
factor goto 75
power goto 79
atom goto 80
test goto 97
not_test goto 66
lambdef goto 62
or_test goto 61
and_test goto 64
comparison goto 68
testlist goto 95
tests goto 96
state 5
inputs: SINGLE_INPUT single_input. (1)
. reduce 1 (src line 248)
state 6
single_input: simple_stmt. (4)
. reduce 4 (src line 265)
state 7
single_input: compound_stmt.NEWLINE
NEWLINE shift 98
. error
state 8
small_stmts: small_stmts.';' small_stmt
simple_stmt: small_stmts.optional_semicolon NEWLINE
optional_semicolon: . (64)
';' shift 99
. reduce 64 (src line 604)
optional_semicolon goto 100
state 9
compound_stmt: if_stmt. (152)
. reduce 152 (src line 1064)
state 10
compound_stmt: while_stmt. (153)
. reduce 153 (src line 1069)
state 11
compound_stmt: for_stmt. (154)
. reduce 154 (src line 1073)
state 12
compound_stmt: try_stmt. (155)
. reduce 155 (src line 1077)
state 13
compound_stmt: with_stmt. (156)
. reduce 156 (src line 1081)
state 14
compound_stmt: funcdef. (157)
. reduce 157 (src line 1085)
state 15
compound_stmt: classdef. (158)
. reduce 158 (src line 1089)
state 16
compound_stmt: decorated. (159)
. reduce 159 (src line 1093)
state 17
small_stmts: small_stmt. (66)
. reduce 66 (src line 606)
state 18
if_stmt: IF.test ':' suite elifs optional_else
NAME shift 84
STRING shift 91
NUMBER shift 85
ELIPSIS shift 87
FALSE shift 90
NONE shift 88
TRUE shift 89
LAMBDA shift 65
NOT shift 67
'(' shift 81
'[' shift 82
'+' shift 76
'-' shift 77
'{' shift 83
'~' shift 78
. error
strings goto 86
expr goto 69
xor_expr goto 70
and_expr goto 71
shift_expr goto 72
arith_expr goto 73
term goto 74
factor goto 75
power goto 79
atom goto 80
test goto 101
not_test goto 66
lambdef goto 62
or_test goto 61
and_test goto 64
comparison goto 68
state 19
while_stmt: WHILE.test ':' suite optional_else
NAME shift 84
STRING shift 91
NUMBER shift 85
ELIPSIS shift 87
FALSE shift 90
NONE shift 88
TRUE shift 89
LAMBDA shift 65
NOT shift 67
'(' shift 81
'[' shift 82
'+' shift 76
'-' shift 77
'{' shift 83
'~' shift 78
. error
strings goto 86
expr goto 69
xor_expr goto 70
and_expr goto 71
shift_expr goto 72
arith_expr goto 73
term goto 74
factor goto 75
power goto 79
atom goto 80
test goto 102
not_test goto 66
lambdef goto 62
or_test goto 61
and_test goto 64
comparison goto 68
state 20
for_stmt: FOR.exprlist IN testlist ':' suite optional_else
NAME shift 84
STRING shift 91
NUMBER shift 85
ELIPSIS shift 87
FALSE shift 90
NONE shift 88
TRUE shift 89
'(' shift 81
'[' shift 82
'+' shift 76
'-' shift 77
'*' shift 63
'{' shift 83
'~' shift 78
. error
strings goto 86
expr_or_star_expr goto 105
expr goto 106
star_expr goto 107
xor_expr goto 70
and_expr goto 71
shift_expr goto 72
arith_expr goto 73
term goto 74
factor goto 75
power goto 79
atom goto 80
exprlist goto 103
expr_or_star_exprs goto 104
state 21
try_stmt: TRY.':' suite except_clauses
try_stmt: TRY.':' suite except_clauses ELSE ':' suite
try_stmt: TRY.':' suite except_clauses FINALLY ':' suite
try_stmt: TRY.':' suite except_clauses ELSE ':' suite FINALLY ':' suite
':' shift 108
. error
state 22
with_stmt: WITH.with_items ':' suite
NAME shift 84
STRING shift 91
NUMBER shift 85
ELIPSIS shift 87
FALSE shift 90
NONE shift 88
TRUE shift 89
LAMBDA shift 65
NOT shift 67
'(' shift 81
'[' shift 82
'+' shift 76
'-' shift 77
'{' shift 83
'~' shift 78
. error
strings goto 86
expr goto 69
xor_expr goto 70
and_expr goto 71
shift_expr goto 72
arith_expr goto 73
term goto 74
factor goto 75
power goto 79
atom goto 80
test goto 111
not_test goto 66
lambdef goto 62
or_test goto 61
and_test goto 64
comparison goto 68
with_item goto 110
with_items goto 109
state 23
funcdef: DEF.NAME parameters optional_return_type ':' suite
NAME shift 112
. error
state 24
classdef: CLASS.NAME optional_arglist_call ':' suite
NAME shift 113
. error
state 25
decorators: decorators.decorator
decorated: decorators.classdef_or_funcdef
CLASS shift 24
DEF shift 23
'@' shift 48
. error
funcdef goto 117
classdef goto 116
classdef_or_funcdef goto 115
decorator goto 114
state 26
small_stmt: expr_stmt. (69)
. reduce 69 (src line 623)
state 27
small_stmt: del_stmt. (70)
. reduce 70 (src line 628)
state 28
small_stmt: pass_stmt. (71)
. reduce 71 (src line 632)
state 29
small_stmt: flow_stmt. (72)
. reduce 72 (src line 636)
state 30
small_stmt: import_stmt. (73)
. reduce 73 (src line 640)
state 31
small_stmt: global_stmt. (74)
. reduce 74 (src line 644)
state 32
small_stmt: nonlocal_stmt. (75)
. reduce 75 (src line 648)
state 33
small_stmt: assert_stmt. (76)
. reduce 76 (src line 652)
state 34
decorators: decorator. (18)
. reduce 18 (src line 345)
state 35
expr_stmt: testlist_star_expr.augassign yield_expr_or_testlist
expr_stmt: testlist_star_expr.equals_yield_expr_or_testlist_star_expr
expr_stmt: testlist_star_expr. (79)
PERCEQ shift 124
ANDEQ shift 125
STARSTAREQ shift 130
STAREQ shift 122
PLUSEQ shift 120
MINUSEQ shift 121
DIVDIVEQ shift 131
DIVEQ shift 123
LTLTEQ shift 128
GTGTEQ shift 129
HATEQ shift 127
PIPEEQ shift 126
'=' shift 132
. reduce 79 (src line 694)
augassign goto 118
equals_yield_expr_or_testlist_star_expr goto 119
state 36
del_stmt: DEL.exprlist
NAME shift 84
STRING shift 91
NUMBER shift 85
ELIPSIS shift 87
FALSE shift 90
NONE shift 88
TRUE shift 89
'(' shift 81
'[' shift 82
'+' shift 76
'-' shift 77
'*' shift 63
'{' shift 83
'~' shift 78
. error
strings goto 86
expr_or_star_expr goto 105
expr goto 106
star_expr goto 107
xor_expr goto 70
and_expr goto 71
shift_expr goto 72
arith_expr goto 73
term goto 74
factor goto 75
power goto 79
atom goto 80
exprlist goto 133
expr_or_star_exprs goto 104
state 37
pass_stmt: PASS. (106)
. reduce 106 (src line 824)
state 38
flow_stmt: break_stmt. (107)
. reduce 107 (src line 830)
state 39
flow_stmt: continue_stmt. (108)
. reduce 108 (src line 835)
state 40
flow_stmt: return_stmt. (109)
. reduce 109 (src line 839)
state 41
flow_stmt: raise_stmt. (110)
. reduce 110 (src line 843)
state 42
flow_stmt: yield_stmt. (111)
. reduce 111 (src line 847)
state 43
import_stmt: import_name. (120)
. reduce 120 (src line 894)
state 44
import_stmt: import_from. (121)
. reduce 121 (src line 899)
state 45
global_stmt: GLOBAL.names
NAME shift 135
. error
names goto 134
state 46
nonlocal_stmt: NONLOCAL.names
NAME shift 135
. error
names goto 136
state 47
assert_stmt: ASSERT.test
assert_stmt: ASSERT.test ',' test
NAME shift 84
STRING shift 91
NUMBER shift 85
ELIPSIS shift 87
FALSE shift 90
NONE shift 88
TRUE shift 89
LAMBDA shift 65
NOT shift 67
'(' shift 81
'[' shift 82
'+' shift 76
'-' shift 77
'{' shift 83
'~' shift 78
. error
strings goto 86
expr goto 69
xor_expr goto 70
and_expr goto 71
shift_expr goto 72
arith_expr goto 73
term goto 74
factor goto 75
power goto 79
atom goto 80
test goto 137
not_test goto 66
lambdef goto 62
or_test goto 61
and_test goto 64
comparison goto 68
state 48
decorator: '@'.dotted_name optional_arglist_call NEWLINE
NAME shift 139
. error
dotted_name goto 138
state 49
test_or_star_exprs: test_or_star_exprs.',' test_or_star_expr
testlist_star_expr: test_or_star_exprs.optional_comma
optional_comma: . (90)
',' shift 140
. reduce 90 (src line 751)
optional_comma goto 141
state 50
break_stmt: BREAK. (112)
. reduce 112 (src line 852)
state 51
continue_stmt: CONTINUE. (113)
. reduce 113 (src line 858)
state 52
return_stmt: RETURN. (114)
return_stmt: RETURN.testlist
NAME shift 84
STRING shift 91
NUMBER shift 85
ELIPSIS shift 87
FALSE shift 90
NONE shift 88
TRUE shift 89
LAMBDA shift 65
NOT shift 67
'(' shift 81
'[' shift 82
'+' shift 76
'-' shift 77
'{' shift 83
'~' shift 78
. reduce 114 (src line 864)
strings goto 86
expr goto 69
xor_expr goto 70
and_expr goto 71
shift_expr goto 72
arith_expr goto 73
term goto 74
factor goto 75
power goto 79
atom goto 80
test goto 97
not_test goto 66
lambdef goto 62
or_test goto 61
and_test goto 64
comparison goto 68
testlist goto 142
tests goto 96
state 53
raise_stmt: RAISE. (117)
raise_stmt: RAISE.test
raise_stmt: RAISE.test FROM test
NAME shift 84
STRING shift 91
NUMBER shift 85
ELIPSIS shift 87
FALSE shift 90
NONE shift 88
TRUE shift 89
LAMBDA shift 65
NOT shift 67
'(' shift 81
'[' shift 82
'+' shift 76
'-' shift 77
'{' shift 83
'~' shift 78
. reduce 117 (src line 880)
strings goto 86
expr goto 69
xor_expr goto 70
and_expr goto 71
shift_expr goto 72
arith_expr goto 73
term goto 74
factor goto 75
power goto 79
atom goto 80
test goto 143
not_test goto 66
lambdef goto 62
or_test goto 61
and_test goto 64
comparison goto 68
state 54
yield_stmt: yield_expr. (116)
. reduce 116 (src line 874)
state 55
import_name: IMPORT.dotted_as_names
NAME shift 139
. error
dotted_name goto 146
dotted_as_name goto 145
dotted_as_names goto 144
state 56
import_from: FROM.from_arg IMPORT import_from_arg
NAME shift 139
ELIPSIS shift 152
'.' shift 151
. error
dot goto 150
dots goto 149
dotted_name goto 148
from_arg goto 147
state 57
test_or_star_exprs: test_or_star_expr. (86)
. reduce 86 (src line 730)
state 58
yield_expr: YIELD. (308)
yield_expr: YIELD.FROM test
yield_expr: YIELD.testlist
NAME shift 84
STRING shift 91
NUMBER shift 85
ELIPSIS shift 87
FALSE shift 90
NONE shift 88
TRUE shift 89
FROM shift 153
LAMBDA shift 65
NOT shift 67
'(' shift 81
'[' shift 82
'+' shift 76
'-' shift 77
'{' shift 83
'~' shift 78
. reduce 308 (src line 1975)
strings goto 86
expr goto 69
xor_expr goto 70
and_expr goto 71
shift_expr goto 72
arith_expr goto 73
term goto 74
factor goto 75
power goto 79
atom goto 80
test goto 97
not_test goto 66
lambdef goto 62
or_test goto 61
and_test goto 64
comparison goto 68
testlist goto 154
tests goto 96
state 59
test_or_star_expr: test. (88)
. reduce 88 (src line 741)
state 60
test_or_star_expr: star_expr. (89)
. reduce 89 (src line 746)
state 61
test: or_test. (185)
test: or_test.IF or_test ELSE test
or_test: or_test.OR and_test
IF shift 155
OR shift 156
. reduce 185 (src line 1255)
state 62
test: lambdef. (187)
. reduce 187 (src line 1264)
state 63
star_expr: '*'.expr
NAME shift 84
STRING shift 91
NUMBER shift 85
ELIPSIS shift 87
FALSE shift 90
NONE shift 88
TRUE shift 89
'(' shift 81
'[' shift 82
'+' shift 76
'-' shift 77
'{' shift 83
'~' shift 78
. error
strings goto 86
expr goto 157
xor_expr goto 70
and_expr goto 71
shift_expr goto 72
arith_expr goto 73
term goto 74
factor goto 75
power goto 79
atom goto 80
state 64
or_test: and_test. (194)
and_test: and_test.AND not_test
AND shift 158
. reduce 194 (src line 1301)
state 65
lambdef: LAMBDA.':' test
lambdef: LAMBDA.varargslist ':' test
NAME shift 166
STARSTAR shift 163
':' shift 159
'*' shift 162
. error
vfpdeftest goto 164
vfpdef goto 165
vfpdeftests1 goto 161
varargslist goto 160
state 66
and_test: not_test. (196)
. reduce 196 (src line 1318)
state 67
not_test: NOT.not_test
NAME shift 84
STRING shift 91
NUMBER shift 85
ELIPSIS shift 87
FALSE shift 90
NONE shift 88
TRUE shift 89
NOT shift 67
'(' shift 81
'[' shift 82
'+' shift 76
'-' shift 77
'{' shift 83
'~' shift 78
. error
strings goto 86
expr goto 69
xor_expr goto 70
and_expr goto 71
shift_expr goto 72
arith_expr goto 73
term goto 74
factor goto 75
power goto 79
atom goto 80
not_test goto 167
comparison goto 68
state 68
not_test: comparison. (199)
comparison: comparison.comp_op expr
PLINGEQ shift 175
LTEQ shift 173
LTGT shift 174
EQEQ shift 171
GTEQ shift 172
IN shift 176
IS shift 178
NOT shift 177
'<' shift 169
'>' shift 170
. reduce 199 (src line 1340)
comp_op goto 168
state 69
comparison: expr. (200)
expr: expr.'|' xor_expr
'|' shift 179
. reduce 200 (src line 1345)
state 70
expr: xor_expr. (214)
xor_expr: xor_expr.'^' and_expr
'^' shift 180
. reduce 214 (src line 1417)
state 71
xor_expr: and_expr. (216)
and_expr: and_expr.'&' shift_expr
'&' shift 181
. reduce 216 (src line 1427)
state 72
and_expr: shift_expr. (218)
shift_expr: shift_expr.LTLT arith_expr
shift_expr: shift_expr.GTGT arith_expr
LTLT shift 182
GTGT shift 183
. reduce 218 (src line 1437)
state 73
shift_expr: arith_expr. (220)
arith_expr: arith_expr.'+' term