rbs 2.4.0 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/Gemfile.lock +10 -10
- data/core/time.rbs +5 -5
- data/ext/rbs_extension/lexer.c +581 -574
- data/ext/rbs_extension/lexer.h +2 -1
- data/ext/rbs_extension/lexer.re +2 -1
- data/ext/rbs_extension/lexstate.c +1 -0
- data/ext/rbs_extension/parser.c +8 -0
- data/lib/rbs/ast/members.rb +1 -0
- data/lib/rbs/cli.rb +95 -18
- data/lib/rbs/prototype/rb.rb +12 -7
- data/lib/rbs/version.rb +1 -1
- data/schema/members.json +4 -1
- data/steep/Gemfile.lock +4 -4
- metadata +2 -2
data/ext/rbs_extension/lexer.c
CHANGED
@@ -115,13 +115,13 @@ start:
|
|
115
115
|
}
|
116
116
|
yy2:
|
117
117
|
skip(state);
|
118
|
-
#line
|
118
|
+
#line 138 "ext/rbs_extension/lexer.re"
|
119
119
|
{ return next_token(state, pEOF); }
|
120
120
|
#line 121 "ext/rbs_extension/lexer.c"
|
121
121
|
yy4:
|
122
122
|
skip(state);
|
123
123
|
yy5:
|
124
|
-
#line
|
124
|
+
#line 139 "ext/rbs_extension/lexer.re"
|
125
125
|
{ return next_token(state, ErrorToken); }
|
126
126
|
#line 127 "ext/rbs_extension/lexer.c"
|
127
127
|
yy6:
|
@@ -131,7 +131,7 @@ yy6:
|
|
131
131
|
if (yych <= '\n') goto yy6;
|
132
132
|
if (yych == ' ') goto yy6;
|
133
133
|
yy8:
|
134
|
-
#line
|
134
|
+
#line 137 "ext/rbs_extension/lexer.re"
|
135
135
|
{ state->start = state->current; goto start; }
|
136
136
|
#line 137 "ext/rbs_extension/lexer.c"
|
137
137
|
yy9:
|
@@ -140,7 +140,7 @@ yy9:
|
|
140
140
|
if (yych == '=') goto yy32;
|
141
141
|
if (yych == '~') goto yy32;
|
142
142
|
yy10:
|
143
|
-
#line
|
143
|
+
#line 49 "ext/rbs_extension/lexer.re"
|
144
144
|
{ return next_token(state, tOPERATOR); }
|
145
145
|
#line 146 "ext/rbs_extension/lexer.c"
|
146
146
|
yy11:
|
@@ -156,7 +156,7 @@ yy12:
|
|
156
156
|
if (yych <= 0x00000000) goto yy14;
|
157
157
|
if (yych != '\n') goto yy12;
|
158
158
|
yy14:
|
159
|
-
#line
|
159
|
+
#line 60 "ext/rbs_extension/lexer.re"
|
160
160
|
{
|
161
161
|
return next_token(
|
162
162
|
state,
|
@@ -290,7 +290,7 @@ yy33:
|
|
290
290
|
if (yych <= '9') goto yy33;
|
291
291
|
if (yych == '_') goto yy33;
|
292
292
|
yy35:
|
293
|
-
#line
|
293
|
+
#line 52 "ext/rbs_extension/lexer.re"
|
294
294
|
{ return next_token(state, tINTEGER); }
|
295
295
|
#line 296 "ext/rbs_extension/lexer.c"
|
296
296
|
yy36:
|
@@ -448,13 +448,13 @@ yy46:
|
|
448
448
|
}
|
449
449
|
}
|
450
450
|
yy48:
|
451
|
-
#line
|
451
|
+
#line 123 "ext/rbs_extension/lexer.re"
|
452
452
|
{ return next_token(state, tUIDENT); }
|
453
453
|
#line 454 "ext/rbs_extension/lexer.c"
|
454
454
|
yy49:
|
455
455
|
skip(state);
|
456
456
|
yych = peek(state);
|
457
|
-
if (yych == ']') goto
|
457
|
+
if (yych == ']') goto yy138;
|
458
458
|
#line 27 "ext/rbs_extension/lexer.re"
|
459
459
|
{ return next_token(state, pLBRACKET); }
|
460
460
|
#line 461 "ext/rbs_extension/lexer.c"
|
@@ -475,20 +475,20 @@ yy55:
|
|
475
475
|
if (yych <= '/') {
|
476
476
|
if (yych == '!') goto yy134;
|
477
477
|
} else {
|
478
|
-
if (yych <= '9') goto
|
478
|
+
if (yych <= '9') goto yy140;
|
479
479
|
if (yych >= '=') goto yy136;
|
480
480
|
}
|
481
481
|
} else {
|
482
482
|
if (yych <= '^') {
|
483
483
|
if (yych <= '@') goto yy56;
|
484
|
-
if (yych <= 'Z') goto
|
484
|
+
if (yych <= 'Z') goto yy143;
|
485
485
|
} else {
|
486
486
|
if (yych == '`') goto yy56;
|
487
|
-
if (yych <= 'z') goto
|
487
|
+
if (yych <= 'z') goto yy140;
|
488
488
|
}
|
489
489
|
}
|
490
490
|
yy56:
|
491
|
-
#line
|
491
|
+
#line 126 "ext/rbs_extension/lexer.re"
|
492
492
|
{ return next_token(state, tULLIDENT); }
|
493
493
|
#line 494 "ext/rbs_extension/lexer.c"
|
494
494
|
yy57:
|
@@ -498,9 +498,9 @@ yy57:
|
|
498
498
|
yych = peek(state);
|
499
499
|
if (yych <= ' ') {
|
500
500
|
if (yych <= 0x00000000) goto yy58;
|
501
|
-
if (yych <= 0x0000001F) goto
|
501
|
+
if (yych <= 0x0000001F) goto yy146;
|
502
502
|
} else {
|
503
|
-
if (yych != ':') goto
|
503
|
+
if (yych != ':') goto yy146;
|
504
504
|
}
|
505
505
|
yy58:
|
506
506
|
#line 40 "ext/rbs_extension/lexer.re"
|
@@ -509,38 +509,38 @@ yy58:
|
|
509
509
|
yy59:
|
510
510
|
skip(state);
|
511
511
|
yych = peek(state);
|
512
|
-
if (yych == 'l') goto
|
513
|
-
if (yych == 't') goto
|
512
|
+
if (yych == 'l') goto yy148;
|
513
|
+
if (yych == 't') goto yy149;
|
514
514
|
goto yy67;
|
515
515
|
yy60:
|
516
|
-
#line
|
516
|
+
#line 122 "ext/rbs_extension/lexer.re"
|
517
517
|
{ return next_token(state, tLIDENT); }
|
518
518
|
#line 519 "ext/rbs_extension/lexer.c"
|
519
519
|
yy61:
|
520
520
|
skip(state);
|
521
521
|
yych = peek(state);
|
522
|
-
if (yych == 'o') goto
|
522
|
+
if (yych == 'o') goto yy150;
|
523
523
|
goto yy67;
|
524
524
|
yy62:
|
525
525
|
skip(state);
|
526
526
|
yych = peek(state);
|
527
|
-
if (yych == 'l') goto
|
527
|
+
if (yych == 'l') goto yy151;
|
528
528
|
goto yy67;
|
529
529
|
yy63:
|
530
530
|
skip(state);
|
531
531
|
yych = peek(state);
|
532
|
-
if (yych == 'e') goto
|
532
|
+
if (yych == 'e') goto yy152;
|
533
533
|
goto yy67;
|
534
534
|
yy64:
|
535
535
|
skip(state);
|
536
536
|
yych = peek(state);
|
537
|
-
if (yych == 'n') goto
|
538
|
-
if (yych == 'x') goto
|
537
|
+
if (yych == 'n') goto yy153;
|
538
|
+
if (yych == 'x') goto yy154;
|
539
539
|
goto yy67;
|
540
540
|
yy65:
|
541
541
|
skip(state);
|
542
542
|
yych = peek(state);
|
543
|
-
if (yych == 'a') goto
|
543
|
+
if (yych == 'a') goto yy155;
|
544
544
|
goto yy67;
|
545
545
|
yy66:
|
546
546
|
skip(state);
|
@@ -569,55 +569,55 @@ yy67:
|
|
569
569
|
yy68:
|
570
570
|
skip(state);
|
571
571
|
yych = peek(state);
|
572
|
-
if (yych == 'n') goto
|
572
|
+
if (yych == 'n') goto yy156;
|
573
573
|
goto yy67;
|
574
574
|
yy69:
|
575
575
|
skip(state);
|
576
576
|
yych = peek(state);
|
577
|
-
if (yych == 'o') goto
|
577
|
+
if (yych == 'o') goto yy158;
|
578
578
|
goto yy67;
|
579
579
|
yy70:
|
580
580
|
skip(state);
|
581
581
|
yych = peek(state);
|
582
|
-
if (yych == 'i') goto
|
582
|
+
if (yych == 'i') goto yy159;
|
583
583
|
goto yy67;
|
584
584
|
yy71:
|
585
585
|
skip(state);
|
586
586
|
yych = peek(state);
|
587
|
-
if (yych == 'u') goto
|
587
|
+
if (yych == 'u') goto yy160;
|
588
588
|
goto yy67;
|
589
589
|
yy72:
|
590
590
|
skip(state);
|
591
591
|
yych = peek(state);
|
592
|
-
if (yych == 'r') goto
|
593
|
-
if (yych == 'u') goto
|
592
|
+
if (yych == 'r') goto yy161;
|
593
|
+
if (yych == 'u') goto yy162;
|
594
594
|
goto yy67;
|
595
595
|
yy73:
|
596
596
|
skip(state);
|
597
597
|
yych = peek(state);
|
598
|
-
if (yych == 'e') goto
|
599
|
-
if (yych == 'i') goto
|
598
|
+
if (yych == 'e') goto yy163;
|
599
|
+
if (yych == 'i') goto yy164;
|
600
600
|
goto yy67;
|
601
601
|
yy74:
|
602
602
|
skip(state);
|
603
603
|
yych = peek(state);
|
604
604
|
if (yych <= 'q') {
|
605
|
-
if (yych == 'o') goto
|
605
|
+
if (yych == 'o') goto yy165;
|
606
606
|
goto yy67;
|
607
607
|
} else {
|
608
|
-
if (yych <= 'r') goto
|
609
|
-
if (yych == 'y') goto
|
608
|
+
if (yych <= 'r') goto yy166;
|
609
|
+
if (yych == 'y') goto yy167;
|
610
610
|
goto yy67;
|
611
611
|
}
|
612
612
|
yy75:
|
613
613
|
skip(state);
|
614
614
|
yych = peek(state);
|
615
|
-
if (yych == 'n') goto
|
615
|
+
if (yych == 'n') goto yy168;
|
616
616
|
goto yy67;
|
617
617
|
yy76:
|
618
618
|
skip(state);
|
619
619
|
yych = peek(state);
|
620
|
-
if (yych == 'o') goto
|
620
|
+
if (yych == 'o') goto yy169;
|
621
621
|
goto yy67;
|
622
622
|
yy77:
|
623
623
|
skip(state);
|
@@ -675,16 +675,16 @@ yy85:
|
|
675
675
|
}
|
676
676
|
} else {
|
677
677
|
if (yyaccept == 7) {
|
678
|
-
goto
|
678
|
+
goto yy185;
|
679
679
|
} else {
|
680
|
-
goto
|
680
|
+
goto yy193;
|
681
681
|
}
|
682
682
|
}
|
683
683
|
}
|
684
684
|
yy86:
|
685
685
|
skip(state);
|
686
686
|
yy87:
|
687
|
-
#line
|
687
|
+
#line 100 "ext/rbs_extension/lexer.re"
|
688
688
|
{ return next_token(state, tDQSTRING); }
|
689
689
|
#line 690 "ext/rbs_extension/lexer.c"
|
690
690
|
yy88:
|
@@ -693,7 +693,7 @@ yy88:
|
|
693
693
|
if (yych <= '"') {
|
694
694
|
if (yych <= 0x00000000) goto yy85;
|
695
695
|
if (yych <= '!') goto yy83;
|
696
|
-
goto
|
696
|
+
goto yy170;
|
697
697
|
} else {
|
698
698
|
if (yych == '\\') goto yy88;
|
699
699
|
goto yy83;
|
@@ -728,7 +728,7 @@ yy90:
|
|
728
728
|
}
|
729
729
|
}
|
730
730
|
yy92:
|
731
|
-
#line
|
731
|
+
#line 133 "ext/rbs_extension/lexer.re"
|
732
732
|
{ return next_token(state, tGIDENT); }
|
733
733
|
#line 734 "ext/rbs_extension/lexer.c"
|
734
734
|
yy93:
|
@@ -740,18 +740,18 @@ yy94:
|
|
740
740
|
if (yych <= 'Z') {
|
741
741
|
if (yych <= '(') {
|
742
742
|
if (yych <= '\'') goto yy85;
|
743
|
-
goto
|
743
|
+
goto yy171;
|
744
744
|
} else {
|
745
|
-
if (yych == '<') goto
|
745
|
+
if (yych == '<') goto yy173;
|
746
746
|
goto yy85;
|
747
747
|
}
|
748
748
|
} else {
|
749
749
|
if (yych <= 'z') {
|
750
|
-
if (yych <= '[') goto
|
750
|
+
if (yych <= '[') goto yy175;
|
751
751
|
goto yy85;
|
752
752
|
} else {
|
753
|
-
if (yych <= '{') goto
|
754
|
-
if (yych <= '|') goto
|
753
|
+
if (yych <= '{') goto yy177;
|
754
|
+
if (yych <= '|') goto yy179;
|
755
755
|
goto yy85;
|
756
756
|
}
|
757
757
|
}
|
@@ -769,7 +769,7 @@ yy96:
|
|
769
769
|
yy97:
|
770
770
|
skip(state);
|
771
771
|
yy98:
|
772
|
-
#line
|
772
|
+
#line 101 "ext/rbs_extension/lexer.re"
|
773
773
|
{ return next_token(state, tSQSTRING); }
|
774
774
|
#line 775 "ext/rbs_extension/lexer.c"
|
775
775
|
yy99:
|
@@ -778,7 +778,7 @@ yy99:
|
|
778
778
|
if (yych <= '\'') {
|
779
779
|
if (yych <= 0x00000000) goto yy85;
|
780
780
|
if (yych <= '&') goto yy95;
|
781
|
-
goto
|
781
|
+
goto yy181;
|
782
782
|
} else {
|
783
783
|
if (yych == '\\') goto yy99;
|
784
784
|
goto yy95;
|
@@ -796,7 +796,7 @@ yy103:
|
|
796
796
|
yy105:
|
797
797
|
skip(state);
|
798
798
|
yych = peek(state);
|
799
|
-
if (yych == '.') goto
|
799
|
+
if (yych == '.') goto yy182;
|
800
800
|
goto yy85;
|
801
801
|
yy106:
|
802
802
|
skip(state);
|
@@ -804,7 +804,7 @@ yy106:
|
|
804
804
|
if (yych == '=') goto yy111;
|
805
805
|
if (yych == '~') goto yy111;
|
806
806
|
yy107:
|
807
|
-
#line
|
807
|
+
#line 120 "ext/rbs_extension/lexer.re"
|
808
808
|
{ return next_token(state, tSYMBOL); }
|
809
809
|
#line 810 "ext/rbs_extension/lexer.c"
|
810
810
|
yy108:
|
@@ -813,9 +813,9 @@ yy108:
|
|
813
813
|
if (yych <= '"') {
|
814
814
|
if (yych <= 0x00000000) goto yy85;
|
815
815
|
if (yych <= '!') goto yy108;
|
816
|
-
goto
|
816
|
+
goto yy184;
|
817
817
|
} else {
|
818
|
-
if (yych == '\\') goto
|
818
|
+
if (yych == '\\') goto yy186;
|
819
819
|
goto yy108;
|
820
820
|
}
|
821
821
|
yy110:
|
@@ -825,42 +825,42 @@ yy110:
|
|
825
825
|
if (yych <= 0x0000001F) {
|
826
826
|
if (yych <= '\n') {
|
827
827
|
if (yych <= 0x00000000) goto yy85;
|
828
|
-
if (yych <= 0x00000008) goto
|
828
|
+
if (yych <= 0x00000008) goto yy188;
|
829
829
|
goto yy85;
|
830
830
|
} else {
|
831
831
|
if (yych == '\r') goto yy85;
|
832
|
-
goto
|
832
|
+
goto yy188;
|
833
833
|
}
|
834
834
|
} else {
|
835
835
|
if (yych <= '#') {
|
836
836
|
if (yych <= ' ') goto yy85;
|
837
|
-
if (yych <= '"') goto
|
838
|
-
goto
|
837
|
+
if (yych <= '"') goto yy191;
|
838
|
+
goto yy188;
|
839
839
|
} else {
|
840
840
|
if (yych == '%') goto yy85;
|
841
|
-
if (yych <= '\'') goto
|
841
|
+
if (yych <= '\'') goto yy191;
|
842
842
|
goto yy85;
|
843
843
|
}
|
844
844
|
}
|
845
845
|
} else {
|
846
846
|
if (yych <= 'Z') {
|
847
847
|
if (yych <= '/') {
|
848
|
-
if (yych == '-') goto
|
849
|
-
goto
|
848
|
+
if (yych == '-') goto yy188;
|
849
|
+
goto yy191;
|
850
850
|
} else {
|
851
|
-
if (yych <= '9') goto
|
852
|
-
if (yych <= '>') goto
|
853
|
-
goto
|
851
|
+
if (yych <= '9') goto yy188;
|
852
|
+
if (yych <= '>') goto yy191;
|
853
|
+
goto yy188;
|
854
854
|
}
|
855
855
|
} else {
|
856
856
|
if (yych <= '^') {
|
857
|
-
if (yych == '\\') goto
|
857
|
+
if (yych == '\\') goto yy191;
|
858
858
|
goto yy85;
|
859
859
|
} else {
|
860
|
-
if (yych <= 'z') goto
|
860
|
+
if (yych <= 'z') goto yy188;
|
861
861
|
if (yych <= '}') goto yy85;
|
862
|
-
if (yych <= '~') goto
|
863
|
-
goto
|
862
|
+
if (yych <= '~') goto yy191;
|
863
|
+
goto yy188;
|
864
864
|
}
|
865
865
|
}
|
866
866
|
}
|
@@ -873,9 +873,9 @@ yy112:
|
|
873
873
|
if (yych <= '\'') {
|
874
874
|
if (yych <= 0x00000000) goto yy85;
|
875
875
|
if (yych <= '&') goto yy112;
|
876
|
-
goto
|
876
|
+
goto yy192;
|
877
877
|
} else {
|
878
|
-
if (yych == '\\') goto
|
878
|
+
if (yych == '\\') goto yy194;
|
879
879
|
goto yy112;
|
880
880
|
}
|
881
881
|
yy114:
|
@@ -898,12 +898,12 @@ yy118:
|
|
898
898
|
yych = peek(state);
|
899
899
|
if (yych <= ';') goto yy107;
|
900
900
|
if (yych <= '<') goto yy111;
|
901
|
-
if (yych <= '=') goto
|
901
|
+
if (yych <= '=') goto yy196;
|
902
902
|
goto yy107;
|
903
903
|
yy119:
|
904
904
|
skip(state);
|
905
905
|
yych = peek(state);
|
906
|
-
if (yych == '=') goto
|
906
|
+
if (yych == '=') goto yy197;
|
907
907
|
if (yych == '~') goto yy111;
|
908
908
|
goto yy85;
|
909
909
|
yy120:
|
@@ -917,12 +917,12 @@ yy121:
|
|
917
917
|
yych = peek(state);
|
918
918
|
if (yych <= '^') {
|
919
919
|
if (yych <= '?') goto yy85;
|
920
|
-
if (yych <= '@') goto
|
921
|
-
if (yych <= 'Z') goto
|
920
|
+
if (yych <= '@') goto yy198;
|
921
|
+
if (yych <= 'Z') goto yy199;
|
922
922
|
goto yy85;
|
923
923
|
} else {
|
924
924
|
if (yych == '`') goto yy85;
|
925
|
-
if (yych <= 'z') goto
|
925
|
+
if (yych <= 'z') goto yy199;
|
926
926
|
goto yy85;
|
927
927
|
}
|
928
928
|
yy122:
|
@@ -930,14 +930,14 @@ yy122:
|
|
930
930
|
yych = peek(state);
|
931
931
|
if (yych <= '>') {
|
932
932
|
if (yych <= '/') {
|
933
|
-
if (yych == '!') goto
|
933
|
+
if (yych == '!') goto yy202;
|
934
934
|
} else {
|
935
935
|
if (yych <= '9') goto yy122;
|
936
|
-
if (yych == '=') goto
|
936
|
+
if (yych == '=') goto yy202;
|
937
937
|
}
|
938
938
|
} else {
|
939
939
|
if (yych <= '^') {
|
940
|
-
if (yych <= '?') goto
|
940
|
+
if (yych <= '?') goto yy202;
|
941
941
|
if (yych <= '@') goto yy124;
|
942
942
|
if (yych <= 'Z') goto yy122;
|
943
943
|
} else {
|
@@ -946,13 +946,13 @@ yy122:
|
|
946
946
|
}
|
947
947
|
}
|
948
948
|
yy124:
|
949
|
-
#line
|
949
|
+
#line 116 "ext/rbs_extension/lexer.re"
|
950
950
|
{ return next_token(state, tSYMBOL); }
|
951
951
|
#line 952 "ext/rbs_extension/lexer.c"
|
952
952
|
yy125:
|
953
953
|
skip(state);
|
954
954
|
yych = peek(state);
|
955
|
-
if (yych == ']') goto
|
955
|
+
if (yych == ']') goto yy197;
|
956
956
|
goto yy85;
|
957
957
|
yy126:
|
958
958
|
skip(state);
|
@@ -974,11 +974,11 @@ yy130:
|
|
974
974
|
yych = peek(state);
|
975
975
|
if (yych <= '^') {
|
976
976
|
if (yych <= '@') goto yy85;
|
977
|
-
if (yych <= 'Z') goto
|
977
|
+
if (yych <= 'Z') goto yy203;
|
978
978
|
goto yy85;
|
979
979
|
} else {
|
980
980
|
if (yych == '`') goto yy85;
|
981
|
-
if (yych <= 'z') goto
|
981
|
+
if (yych <= 'z') goto yy203;
|
982
982
|
goto yy85;
|
983
983
|
}
|
984
984
|
yy131:
|
@@ -997,113 +997,120 @@ yy131:
|
|
997
997
|
}
|
998
998
|
}
|
999
999
|
yy133:
|
1000
|
-
#line
|
1000
|
+
#line 130 "ext/rbs_extension/lexer.re"
|
1001
1001
|
{ return next_token(state, tAIDENT); }
|
1002
1002
|
#line 1003 "ext/rbs_extension/lexer.c"
|
1003
1003
|
yy134:
|
1004
1004
|
skip(state);
|
1005
|
-
#line
|
1005
|
+
#line 127 "ext/rbs_extension/lexer.re"
|
1006
1006
|
{ return next_token(state, tBANGIDENT); }
|
1007
1007
|
#line 1008 "ext/rbs_extension/lexer.c"
|
1008
1008
|
yy136:
|
1009
1009
|
skip(state);
|
1010
|
-
#line
|
1010
|
+
#line 128 "ext/rbs_extension/lexer.re"
|
1011
1011
|
{ return next_token(state, tEQIDENT); }
|
1012
1012
|
#line 1013 "ext/rbs_extension/lexer.c"
|
1013
1013
|
yy138:
|
1014
|
+
skip(state);
|
1015
|
+
yych = peek(state);
|
1016
|
+
if (yych == '=') goto yy32;
|
1017
|
+
#line 48 "ext/rbs_extension/lexer.re"
|
1018
|
+
{ return next_token(state, pAREF_OPR); }
|
1019
|
+
#line 1020 "ext/rbs_extension/lexer.c"
|
1020
|
+
yy140:
|
1014
1021
|
skip(state);
|
1015
1022
|
yych = peek(state);
|
1016
1023
|
if (yych <= '=') {
|
1017
1024
|
if (yych <= '/') {
|
1018
1025
|
if (yych == '!') goto yy134;
|
1019
1026
|
} else {
|
1020
|
-
if (yych <= '9') goto
|
1027
|
+
if (yych <= '9') goto yy140;
|
1021
1028
|
if (yych >= '=') goto yy136;
|
1022
1029
|
}
|
1023
1030
|
} else {
|
1024
1031
|
if (yych <= '^') {
|
1025
|
-
if (yych <= '@') goto
|
1026
|
-
if (yych <= 'Z') goto
|
1032
|
+
if (yych <= '@') goto yy142;
|
1033
|
+
if (yych <= 'Z') goto yy140;
|
1027
1034
|
} else {
|
1028
|
-
if (yych == '`') goto
|
1029
|
-
if (yych <= 'z') goto
|
1035
|
+
if (yych == '`') goto yy142;
|
1036
|
+
if (yych <= 'z') goto yy140;
|
1030
1037
|
}
|
1031
1038
|
}
|
1032
|
-
|
1033
|
-
#line
|
1039
|
+
yy142:
|
1040
|
+
#line 124 "ext/rbs_extension/lexer.re"
|
1034
1041
|
{ return next_token(state, tULLIDENT); }
|
1035
|
-
#line
|
1036
|
-
|
1042
|
+
#line 1043 "ext/rbs_extension/lexer.c"
|
1043
|
+
yy143:
|
1037
1044
|
skip(state);
|
1038
1045
|
yych = peek(state);
|
1039
1046
|
if (yych <= '=') {
|
1040
1047
|
if (yych <= '/') {
|
1041
1048
|
if (yych == '!') goto yy134;
|
1042
1049
|
} else {
|
1043
|
-
if (yych <= '9') goto
|
1050
|
+
if (yych <= '9') goto yy143;
|
1044
1051
|
if (yych >= '=') goto yy136;
|
1045
1052
|
}
|
1046
1053
|
} else {
|
1047
1054
|
if (yych <= '^') {
|
1048
|
-
if (yych <= '@') goto
|
1049
|
-
if (yych <= 'Z') goto
|
1055
|
+
if (yych <= '@') goto yy145;
|
1056
|
+
if (yych <= 'Z') goto yy143;
|
1050
1057
|
} else {
|
1051
|
-
if (yych == '`') goto
|
1052
|
-
if (yych <= 'z') goto
|
1058
|
+
if (yych == '`') goto yy145;
|
1059
|
+
if (yych <= 'z') goto yy143;
|
1053
1060
|
}
|
1054
1061
|
}
|
1055
|
-
|
1056
|
-
#line
|
1062
|
+
yy145:
|
1063
|
+
#line 125 "ext/rbs_extension/lexer.re"
|
1057
1064
|
{ return next_token(state, tULIDENT); }
|
1058
|
-
#line
|
1059
|
-
yy144:
|
1060
|
-
skip(state);
|
1061
|
-
yych = peek(state);
|
1062
|
-
if (yych <= 0x00000000) goto yy85;
|
1063
|
-
if (yych == '`') goto yy204;
|
1064
|
-
goto yy144;
|
1065
|
+
#line 1066 "ext/rbs_extension/lexer.c"
|
1065
1066
|
yy146:
|
1066
1067
|
skip(state);
|
1067
1068
|
yych = peek(state);
|
1068
|
-
if (yych
|
1069
|
-
goto
|
1070
|
-
|
1071
|
-
skip(state);
|
1072
|
-
yych = peek(state);
|
1073
|
-
if (yych == 't') goto yy207;
|
1074
|
-
goto yy67;
|
1069
|
+
if (yych <= 0x00000000) goto yy85;
|
1070
|
+
if (yych == '`') goto yy206;
|
1071
|
+
goto yy146;
|
1075
1072
|
yy148:
|
1076
1073
|
skip(state);
|
1077
1074
|
yych = peek(state);
|
1078
|
-
if (yych == '
|
1079
|
-
if (yych == 't') goto yy209;
|
1075
|
+
if (yych == 'i') goto yy208;
|
1080
1076
|
goto yy67;
|
1081
1077
|
yy149:
|
1082
1078
|
skip(state);
|
1083
1079
|
yych = peek(state);
|
1084
|
-
if (yych == '
|
1080
|
+
if (yych == 't') goto yy209;
|
1085
1081
|
goto yy67;
|
1086
1082
|
yy150:
|
1087
1083
|
skip(state);
|
1088
1084
|
yych = peek(state);
|
1089
|
-
if (yych == '
|
1085
|
+
if (yych == 'o') goto yy210;
|
1086
|
+
if (yych == 't') goto yy211;
|
1090
1087
|
goto yy67;
|
1091
1088
|
yy151:
|
1092
1089
|
skip(state);
|
1093
1090
|
yych = peek(state);
|
1094
|
-
if (yych == '
|
1091
|
+
if (yych == 'a') goto yy213;
|
1095
1092
|
goto yy67;
|
1096
1093
|
yy152:
|
1097
1094
|
skip(state);
|
1098
1095
|
yych = peek(state);
|
1099
|
-
if (yych == '
|
1096
|
+
if (yych == 'f') goto yy214;
|
1100
1097
|
goto yy67;
|
1101
1098
|
yy153:
|
1102
1099
|
skip(state);
|
1103
1100
|
yych = peek(state);
|
1104
|
-
if (yych == '
|
1101
|
+
if (yych == 'd') goto yy216;
|
1105
1102
|
goto yy67;
|
1106
1103
|
yy154:
|
1104
|
+
skip(state);
|
1105
|
+
yych = peek(state);
|
1106
|
+
if (yych == 't') goto yy218;
|
1107
|
+
goto yy67;
|
1108
|
+
yy155:
|
1109
|
+
skip(state);
|
1110
|
+
yych = peek(state);
|
1111
|
+
if (yych == 'l') goto yy219;
|
1112
|
+
goto yy67;
|
1113
|
+
yy156:
|
1107
1114
|
skip(state);
|
1108
1115
|
yych = peek(state);
|
1109
1116
|
if (yych <= '^') {
|
@@ -1114,92 +1121,92 @@ yy154:
|
|
1114
1121
|
if (yych <= '=') {
|
1115
1122
|
if (yych >= '=') goto yy136;
|
1116
1123
|
} else {
|
1117
|
-
if (yych <= '@') goto
|
1124
|
+
if (yych <= '@') goto yy157;
|
1118
1125
|
if (yych <= 'Z') goto yy66;
|
1119
1126
|
}
|
1120
1127
|
}
|
1121
1128
|
} else {
|
1122
1129
|
if (yych <= 'c') {
|
1123
|
-
if (yych == '`') goto
|
1130
|
+
if (yych == '`') goto yy157;
|
1124
1131
|
if (yych <= 'b') goto yy66;
|
1125
|
-
goto
|
1132
|
+
goto yy220;
|
1126
1133
|
} else {
|
1127
1134
|
if (yych <= 's') {
|
1128
1135
|
if (yych <= 'r') goto yy66;
|
1129
|
-
goto
|
1136
|
+
goto yy221;
|
1130
1137
|
} else {
|
1131
|
-
if (yych <= 't') goto
|
1138
|
+
if (yych <= 't') goto yy222;
|
1132
1139
|
if (yych <= 'z') goto yy66;
|
1133
1140
|
}
|
1134
1141
|
}
|
1135
1142
|
}
|
1136
|
-
yy155:
|
1137
|
-
#line 77 "ext/rbs_extension/lexer.re"
|
1138
|
-
{ return next_token(state, kIN); }
|
1139
|
-
#line 1140 "ext/rbs_extension/lexer.c"
|
1140
|
-
yy156:
|
1141
|
-
skip(state);
|
1142
|
-
yych = peek(state);
|
1143
|
-
if (yych == 'd') goto yy221;
|
1144
|
-
goto yy67;
|
1145
1143
|
yy157:
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
goto yy67;
|
1144
|
+
#line 78 "ext/rbs_extension/lexer.re"
|
1145
|
+
{ return next_token(state, kIN); }
|
1146
|
+
#line 1147 "ext/rbs_extension/lexer.c"
|
1150
1147
|
yy158:
|
1151
1148
|
skip(state);
|
1152
1149
|
yych = peek(state);
|
1153
|
-
if (yych == '
|
1150
|
+
if (yych == 'd') goto yy223;
|
1154
1151
|
goto yy67;
|
1155
1152
|
yy159:
|
1156
1153
|
skip(state);
|
1157
1154
|
yych = peek(state);
|
1158
|
-
if (yych == '
|
1159
|
-
if (yych == 'i') goto yy227;
|
1155
|
+
if (yych == 'l') goto yy224;
|
1160
1156
|
goto yy67;
|
1161
1157
|
yy160:
|
1162
1158
|
skip(state);
|
1163
1159
|
yych = peek(state);
|
1164
|
-
if (yych == '
|
1160
|
+
if (yych == 't') goto yy226;
|
1165
1161
|
goto yy67;
|
1166
1162
|
yy161:
|
1167
1163
|
skip(state);
|
1168
1164
|
yych = peek(state);
|
1169
|
-
if (yych == '
|
1165
|
+
if (yych == 'e') goto yy228;
|
1166
|
+
if (yych == 'i') goto yy229;
|
1170
1167
|
goto yy67;
|
1171
1168
|
yy162:
|
1172
1169
|
skip(state);
|
1173
1170
|
yych = peek(state);
|
1174
|
-
if (yych == '
|
1171
|
+
if (yych == 'b') goto yy230;
|
1175
1172
|
goto yy67;
|
1176
1173
|
yy163:
|
1177
1174
|
skip(state);
|
1178
1175
|
yych = peek(state);
|
1179
|
-
if (yych == '
|
1176
|
+
if (yych == 'l') goto yy231;
|
1180
1177
|
goto yy67;
|
1181
1178
|
yy164:
|
1182
1179
|
skip(state);
|
1183
1180
|
yych = peek(state);
|
1184
|
-
if (yych == '
|
1181
|
+
if (yych == 'n') goto yy232;
|
1185
1182
|
goto yy67;
|
1186
1183
|
yy165:
|
1187
1184
|
skip(state);
|
1188
1185
|
yych = peek(state);
|
1189
|
-
if (yych == 'p') goto
|
1186
|
+
if (yych == 'p') goto yy233;
|
1190
1187
|
goto yy67;
|
1191
1188
|
yy166:
|
1192
1189
|
skip(state);
|
1193
1190
|
yych = peek(state);
|
1194
|
-
if (yych == '
|
1195
|
-
if (yych == 't') goto yy236;
|
1191
|
+
if (yych == 'u') goto yy235;
|
1196
1192
|
goto yy67;
|
1197
1193
|
yy167:
|
1198
1194
|
skip(state);
|
1199
1195
|
yych = peek(state);
|
1200
|
-
if (yych == '
|
1196
|
+
if (yych == 'p') goto yy236;
|
1201
1197
|
goto yy67;
|
1202
1198
|
yy168:
|
1199
|
+
skip(state);
|
1200
|
+
yych = peek(state);
|
1201
|
+
if (yych == 'c') goto yy237;
|
1202
|
+
if (yych == 't') goto yy238;
|
1203
|
+
goto yy67;
|
1204
|
+
yy169:
|
1205
|
+
skip(state);
|
1206
|
+
yych = peek(state);
|
1207
|
+
if (yych == 'i') goto yy239;
|
1208
|
+
goto yy67;
|
1209
|
+
yy170:
|
1203
1210
|
yyaccept = 5;
|
1204
1211
|
skip(state);
|
1205
1212
|
backup = *state;
|
@@ -1212,37 +1219,37 @@ yy168:
|
|
1212
1219
|
if (yych == '\\') goto yy88;
|
1213
1220
|
goto yy83;
|
1214
1221
|
}
|
1215
|
-
yy169:
|
1216
|
-
skip(state);
|
1217
|
-
yych = peek(state);
|
1218
|
-
if (yych <= 0x00000000) goto yy85;
|
1219
|
-
if (yych == ')') goto yy238;
|
1220
|
-
goto yy169;
|
1221
1222
|
yy171:
|
1222
1223
|
skip(state);
|
1223
1224
|
yych = peek(state);
|
1224
1225
|
if (yych <= 0x00000000) goto yy85;
|
1225
|
-
if (yych == '
|
1226
|
+
if (yych == ')') goto yy240;
|
1226
1227
|
goto yy171;
|
1227
1228
|
yy173:
|
1228
1229
|
skip(state);
|
1229
1230
|
yych = peek(state);
|
1230
1231
|
if (yych <= 0x00000000) goto yy85;
|
1231
|
-
if (yych == '
|
1232
|
+
if (yych == '>') goto yy242;
|
1232
1233
|
goto yy173;
|
1233
1234
|
yy175:
|
1234
1235
|
skip(state);
|
1235
1236
|
yych = peek(state);
|
1236
1237
|
if (yych <= 0x00000000) goto yy85;
|
1237
|
-
if (yych == '
|
1238
|
+
if (yych == ']') goto yy244;
|
1238
1239
|
goto yy175;
|
1239
1240
|
yy177:
|
1240
1241
|
skip(state);
|
1241
1242
|
yych = peek(state);
|
1242
1243
|
if (yych <= 0x00000000) goto yy85;
|
1243
|
-
if (yych == '
|
1244
|
+
if (yych == '}') goto yy246;
|
1244
1245
|
goto yy177;
|
1245
1246
|
yy179:
|
1247
|
+
skip(state);
|
1248
|
+
yych = peek(state);
|
1249
|
+
if (yych <= 0x00000000) goto yy85;
|
1250
|
+
if (yych == '|') goto yy248;
|
1251
|
+
goto yy179;
|
1252
|
+
yy181:
|
1246
1253
|
yyaccept = 6;
|
1247
1254
|
skip(state);
|
1248
1255
|
backup = *state;
|
@@ -1255,170 +1262,170 @@ yy179:
|
|
1255
1262
|
if (yych == '\\') goto yy99;
|
1256
1263
|
goto yy95;
|
1257
1264
|
}
|
1258
|
-
|
1265
|
+
yy182:
|
1259
1266
|
skip(state);
|
1260
1267
|
#line 39 "ext/rbs_extension/lexer.re"
|
1261
1268
|
{ return next_token(state, pDOT3); }
|
1262
|
-
#line
|
1263
|
-
|
1269
|
+
#line 1270 "ext/rbs_extension/lexer.c"
|
1270
|
+
yy184:
|
1264
1271
|
skip(state);
|
1265
|
-
|
1266
|
-
#line
|
1272
|
+
yy185:
|
1273
|
+
#line 102 "ext/rbs_extension/lexer.re"
|
1267
1274
|
{ return next_token(state, tDQSYMBOL); }
|
1268
|
-
#line
|
1269
|
-
|
1275
|
+
#line 1276 "ext/rbs_extension/lexer.c"
|
1276
|
+
yy186:
|
1270
1277
|
skip(state);
|
1271
1278
|
yych = peek(state);
|
1272
1279
|
if (yych <= '"') {
|
1273
1280
|
if (yych <= 0x00000000) goto yy85;
|
1274
1281
|
if (yych <= '!') goto yy108;
|
1275
|
-
goto
|
1282
|
+
goto yy250;
|
1276
1283
|
} else {
|
1277
|
-
if (yych == '\\') goto
|
1284
|
+
if (yych == '\\') goto yy186;
|
1278
1285
|
goto yy108;
|
1279
1286
|
}
|
1280
|
-
|
1287
|
+
yy188:
|
1281
1288
|
skip(state);
|
1282
1289
|
yych = peek(state);
|
1283
1290
|
if (yych <= ',') {
|
1284
1291
|
if (yych <= '\f') {
|
1285
|
-
if (yych <= 0x00000000) goto
|
1286
|
-
if (yych <= 0x00000008) goto
|
1287
|
-
if (yych >= '\v') goto
|
1292
|
+
if (yych <= 0x00000000) goto yy190;
|
1293
|
+
if (yych <= 0x00000008) goto yy188;
|
1294
|
+
if (yych >= '\v') goto yy188;
|
1288
1295
|
} else {
|
1289
1296
|
if (yych <= 0x0000001F) {
|
1290
|
-
if (yych >= 0x0000000E) goto
|
1297
|
+
if (yych >= 0x0000000E) goto yy188;
|
1291
1298
|
} else {
|
1292
|
-
if (yych == '#') goto
|
1299
|
+
if (yych == '#') goto yy188;
|
1293
1300
|
}
|
1294
1301
|
}
|
1295
1302
|
} else {
|
1296
1303
|
if (yych <= '>') {
|
1297
|
-
if (yych <= '-') goto
|
1298
|
-
if (yych <= '/') goto
|
1299
|
-
if (yych <= '9') goto
|
1304
|
+
if (yych <= '-') goto yy188;
|
1305
|
+
if (yych <= '/') goto yy190;
|
1306
|
+
if (yych <= '9') goto yy188;
|
1300
1307
|
} else {
|
1301
1308
|
if (yych <= '^') {
|
1302
|
-
if (yych <= 'Z') goto
|
1309
|
+
if (yych <= 'Z') goto yy188;
|
1303
1310
|
} else {
|
1304
|
-
if (yych <= 'z') goto
|
1305
|
-
if (yych >= 0x0000007F) goto
|
1311
|
+
if (yych <= 'z') goto yy188;
|
1312
|
+
if (yych >= 0x0000007F) goto yy188;
|
1306
1313
|
}
|
1307
1314
|
}
|
1308
1315
|
}
|
1309
|
-
|
1310
|
-
#line
|
1316
|
+
yy190:
|
1317
|
+
#line 119 "ext/rbs_extension/lexer.re"
|
1311
1318
|
{ return next_token(state, tSYMBOL); }
|
1312
|
-
#line
|
1313
|
-
|
1319
|
+
#line 1320 "ext/rbs_extension/lexer.c"
|
1320
|
+
yy191:
|
1314
1321
|
skip(state);
|
1315
|
-
goto
|
1316
|
-
|
1322
|
+
goto yy190;
|
1323
|
+
yy192:
|
1317
1324
|
skip(state);
|
1318
|
-
|
1319
|
-
#line
|
1325
|
+
yy193:
|
1326
|
+
#line 103 "ext/rbs_extension/lexer.re"
|
1320
1327
|
{ return next_token(state, tSQSYMBOL); }
|
1321
|
-
#line
|
1322
|
-
|
1328
|
+
#line 1329 "ext/rbs_extension/lexer.c"
|
1329
|
+
yy194:
|
1323
1330
|
skip(state);
|
1324
1331
|
yych = peek(state);
|
1325
1332
|
if (yych <= '\'') {
|
1326
1333
|
if (yych <= 0x00000000) goto yy85;
|
1327
1334
|
if (yych <= '&') goto yy112;
|
1328
|
-
goto
|
1335
|
+
goto yy251;
|
1329
1336
|
} else {
|
1330
|
-
if (yych == '\\') goto
|
1337
|
+
if (yych == '\\') goto yy194;
|
1331
1338
|
goto yy112;
|
1332
1339
|
}
|
1333
|
-
|
1340
|
+
yy196:
|
1334
1341
|
skip(state);
|
1335
1342
|
yych = peek(state);
|
1336
1343
|
if (yych == '>') goto yy111;
|
1337
1344
|
goto yy107;
|
1338
|
-
|
1345
|
+
yy197:
|
1339
1346
|
skip(state);
|
1340
1347
|
yych = peek(state);
|
1341
1348
|
if (yych == '=') goto yy111;
|
1342
1349
|
goto yy107;
|
1343
|
-
|
1350
|
+
yy198:
|
1344
1351
|
skip(state);
|
1345
1352
|
yych = peek(state);
|
1346
1353
|
if (yych <= '^') {
|
1347
1354
|
if (yych <= '@') goto yy85;
|
1348
|
-
if (yych <= 'Z') goto
|
1355
|
+
if (yych <= 'Z') goto yy252;
|
1349
1356
|
goto yy85;
|
1350
1357
|
} else {
|
1351
1358
|
if (yych == '`') goto yy85;
|
1352
|
-
if (yych <= 'z') goto
|
1359
|
+
if (yych <= 'z') goto yy252;
|
1353
1360
|
goto yy85;
|
1354
1361
|
}
|
1355
|
-
|
1362
|
+
yy199:
|
1356
1363
|
skip(state);
|
1357
1364
|
yych = peek(state);
|
1358
1365
|
if (yych <= '>') {
|
1359
1366
|
if (yych <= '/') {
|
1360
|
-
if (yych == '!') goto
|
1367
|
+
if (yych == '!') goto yy255;
|
1361
1368
|
} else {
|
1362
|
-
if (yych <= '9') goto
|
1363
|
-
if (yych == '=') goto
|
1369
|
+
if (yych <= '9') goto yy199;
|
1370
|
+
if (yych == '=') goto yy255;
|
1364
1371
|
}
|
1365
1372
|
} else {
|
1366
1373
|
if (yych <= '^') {
|
1367
|
-
if (yych <= '?') goto
|
1368
|
-
if (yych <= '@') goto
|
1369
|
-
if (yych <= 'Z') goto
|
1374
|
+
if (yych <= '?') goto yy255;
|
1375
|
+
if (yych <= '@') goto yy201;
|
1376
|
+
if (yych <= 'Z') goto yy199;
|
1370
1377
|
} else {
|
1371
|
-
if (yych == '`') goto
|
1372
|
-
if (yych <= 'z') goto
|
1378
|
+
if (yych == '`') goto yy201;
|
1379
|
+
if (yych <= 'z') goto yy199;
|
1373
1380
|
}
|
1374
1381
|
}
|
1375
|
-
|
1376
|
-
#line
|
1382
|
+
yy201:
|
1383
|
+
#line 117 "ext/rbs_extension/lexer.re"
|
1377
1384
|
{ return next_token(state, tSYMBOL); }
|
1378
|
-
#line
|
1379
|
-
|
1385
|
+
#line 1386 "ext/rbs_extension/lexer.c"
|
1386
|
+
yy202:
|
1380
1387
|
skip(state);
|
1381
1388
|
goto yy124;
|
1382
|
-
|
1389
|
+
yy203:
|
1383
1390
|
skip(state);
|
1384
1391
|
yych = peek(state);
|
1385
1392
|
if (yych <= 'Z') {
|
1386
|
-
if (yych <= '/') goto
|
1387
|
-
if (yych <= '9') goto
|
1388
|
-
if (yych >= 'A') goto
|
1393
|
+
if (yych <= '/') goto yy205;
|
1394
|
+
if (yych <= '9') goto yy203;
|
1395
|
+
if (yych >= 'A') goto yy203;
|
1389
1396
|
} else {
|
1390
1397
|
if (yych <= '_') {
|
1391
|
-
if (yych >= '_') goto
|
1398
|
+
if (yych >= '_') goto yy203;
|
1392
1399
|
} else {
|
1393
|
-
if (yych <= '`') goto
|
1394
|
-
if (yych <= 'z') goto
|
1400
|
+
if (yych <= '`') goto yy205;
|
1401
|
+
if (yych <= 'z') goto yy203;
|
1395
1402
|
}
|
1396
1403
|
}
|
1397
|
-
|
1398
|
-
#line
|
1404
|
+
yy205:
|
1405
|
+
#line 131 "ext/rbs_extension/lexer.re"
|
1399
1406
|
{ return next_token(state, tA2IDENT); }
|
1400
|
-
#line
|
1401
|
-
|
1407
|
+
#line 1408 "ext/rbs_extension/lexer.c"
|
1408
|
+
yy206:
|
1402
1409
|
skip(state);
|
1403
1410
|
#line 41 "ext/rbs_extension/lexer.re"
|
1404
1411
|
{ return next_token(state, tQIDENT); }
|
1405
|
-
#line
|
1406
|
-
|
1412
|
+
#line 1413 "ext/rbs_extension/lexer.c"
|
1413
|
+
yy208:
|
1407
1414
|
skip(state);
|
1408
1415
|
yych = peek(state);
|
1409
|
-
if (yych == 'a') goto
|
1416
|
+
if (yych == 'a') goto yy256;
|
1410
1417
|
goto yy67;
|
1411
|
-
|
1418
|
+
yy209:
|
1412
1419
|
skip(state);
|
1413
1420
|
yych = peek(state);
|
1414
|
-
if (yych == 'r') goto
|
1421
|
+
if (yych == 'r') goto yy257;
|
1415
1422
|
goto yy67;
|
1416
|
-
|
1423
|
+
yy210:
|
1417
1424
|
skip(state);
|
1418
1425
|
yych = peek(state);
|
1419
|
-
if (yych == 'l') goto
|
1426
|
+
if (yych == 'l') goto yy258;
|
1420
1427
|
goto yy67;
|
1421
|
-
|
1428
|
+
yy211:
|
1422
1429
|
skip(state);
|
1423
1430
|
yych = peek(state);
|
1424
1431
|
if (yych <= '=') {
|
@@ -1430,23 +1437,23 @@ yy209:
|
|
1430
1437
|
}
|
1431
1438
|
} else {
|
1432
1439
|
if (yych <= '^') {
|
1433
|
-
if (yych <= '@') goto
|
1440
|
+
if (yych <= '@') goto yy212;
|
1434
1441
|
if (yych <= 'Z') goto yy66;
|
1435
1442
|
} else {
|
1436
|
-
if (yych == '`') goto
|
1443
|
+
if (yych == '`') goto yy212;
|
1437
1444
|
if (yych <= 'z') goto yy66;
|
1438
1445
|
}
|
1439
1446
|
}
|
1440
|
-
|
1441
|
-
#line
|
1447
|
+
yy212:
|
1448
|
+
#line 72 "ext/rbs_extension/lexer.re"
|
1442
1449
|
{ return next_token(state, kBOT); }
|
1443
|
-
#line
|
1444
|
-
|
1450
|
+
#line 1451 "ext/rbs_extension/lexer.c"
|
1451
|
+
yy213:
|
1445
1452
|
skip(state);
|
1446
1453
|
yych = peek(state);
|
1447
|
-
if (yych == 's') goto
|
1454
|
+
if (yych == 's') goto yy260;
|
1448
1455
|
goto yy67;
|
1449
|
-
|
1456
|
+
yy214:
|
1450
1457
|
skip(state);
|
1451
1458
|
yych = peek(state);
|
1452
1459
|
if (yych <= '=') {
|
@@ -1458,18 +1465,18 @@ yy212:
|
|
1458
1465
|
}
|
1459
1466
|
} else {
|
1460
1467
|
if (yych <= '^') {
|
1461
|
-
if (yych <= '@') goto
|
1468
|
+
if (yych <= '@') goto yy215;
|
1462
1469
|
if (yych <= 'Z') goto yy66;
|
1463
1470
|
} else {
|
1464
|
-
if (yych == '`') goto
|
1471
|
+
if (yych == '`') goto yy215;
|
1465
1472
|
if (yych <= 'z') goto yy66;
|
1466
1473
|
}
|
1467
1474
|
}
|
1468
|
-
|
1469
|
-
#line
|
1475
|
+
yy215:
|
1476
|
+
#line 74 "ext/rbs_extension/lexer.re"
|
1470
1477
|
{ return next_token(state, kDEF); }
|
1471
|
-
#line
|
1472
|
-
|
1478
|
+
#line 1479 "ext/rbs_extension/lexer.c"
|
1479
|
+
yy216:
|
1473
1480
|
skip(state);
|
1474
1481
|
yych = peek(state);
|
1475
1482
|
if (yych <= '=') {
|
@@ -1481,48 +1488,48 @@ yy214:
|
|
1481
1488
|
}
|
1482
1489
|
} else {
|
1483
1490
|
if (yych <= '^') {
|
1484
|
-
if (yych <= '@') goto
|
1491
|
+
if (yych <= '@') goto yy217;
|
1485
1492
|
if (yych <= 'Z') goto yy66;
|
1486
1493
|
} else {
|
1487
|
-
if (yych == '`') goto
|
1494
|
+
if (yych == '`') goto yy217;
|
1488
1495
|
if (yych <= 'z') goto yy66;
|
1489
1496
|
}
|
1490
1497
|
}
|
1491
|
-
|
1492
|
-
#line
|
1498
|
+
yy217:
|
1499
|
+
#line 75 "ext/rbs_extension/lexer.re"
|
1493
1500
|
{ return next_token(state, kEND); }
|
1494
|
-
#line
|
1495
|
-
|
1501
|
+
#line 1502 "ext/rbs_extension/lexer.c"
|
1502
|
+
yy218:
|
1496
1503
|
skip(state);
|
1497
1504
|
yych = peek(state);
|
1498
|
-
if (yych == 'e') goto
|
1505
|
+
if (yych == 'e') goto yy261;
|
1499
1506
|
goto yy67;
|
1500
|
-
|
1507
|
+
yy219:
|
1501
1508
|
skip(state);
|
1502
1509
|
yych = peek(state);
|
1503
|
-
if (yych == 's') goto
|
1510
|
+
if (yych == 's') goto yy262;
|
1504
1511
|
goto yy67;
|
1505
|
-
|
1512
|
+
yy220:
|
1506
1513
|
skip(state);
|
1507
1514
|
yych = peek(state);
|
1508
|
-
if (yych == 'l') goto
|
1515
|
+
if (yych == 'l') goto yy263;
|
1509
1516
|
goto yy67;
|
1510
|
-
|
1517
|
+
yy221:
|
1511
1518
|
skip(state);
|
1512
1519
|
yych = peek(state);
|
1513
|
-
if (yych == 't') goto
|
1520
|
+
if (yych == 't') goto yy264;
|
1514
1521
|
goto yy67;
|
1515
|
-
|
1522
|
+
yy222:
|
1516
1523
|
skip(state);
|
1517
1524
|
yych = peek(state);
|
1518
|
-
if (yych == 'e') goto
|
1525
|
+
if (yych == 'e') goto yy265;
|
1519
1526
|
goto yy67;
|
1520
|
-
|
1527
|
+
yy223:
|
1521
1528
|
skip(state);
|
1522
1529
|
yych = peek(state);
|
1523
|
-
if (yych == 'u') goto
|
1530
|
+
if (yych == 'u') goto yy266;
|
1524
1531
|
goto yy67;
|
1525
|
-
|
1532
|
+
yy224:
|
1526
1533
|
skip(state);
|
1527
1534
|
yych = peek(state);
|
1528
1535
|
if (yych <= '=') {
|
@@ -1534,18 +1541,18 @@ yy222:
|
|
1534
1541
|
}
|
1535
1542
|
} else {
|
1536
1543
|
if (yych <= '^') {
|
1537
|
-
if (yych <= '@') goto
|
1544
|
+
if (yych <= '@') goto yy225;
|
1538
1545
|
if (yych <= 'Z') goto yy66;
|
1539
1546
|
} else {
|
1540
|
-
if (yych == '`') goto
|
1547
|
+
if (yych == '`') goto yy225;
|
1541
1548
|
if (yych <= 'z') goto yy66;
|
1542
1549
|
}
|
1543
1550
|
}
|
1544
|
-
|
1545
|
-
#line
|
1551
|
+
yy225:
|
1552
|
+
#line 83 "ext/rbs_extension/lexer.re"
|
1546
1553
|
{ return next_token(state, kNIL); }
|
1547
|
-
#line
|
1548
|
-
|
1554
|
+
#line 1555 "ext/rbs_extension/lexer.c"
|
1555
|
+
yy226:
|
1549
1556
|
skip(state);
|
1550
1557
|
yych = peek(state);
|
1551
1558
|
if (yych <= '=') {
|
@@ -1557,43 +1564,43 @@ yy224:
|
|
1557
1564
|
}
|
1558
1565
|
} else {
|
1559
1566
|
if (yych <= '^') {
|
1560
|
-
if (yych <= '@') goto
|
1567
|
+
if (yych <= '@') goto yy227;
|
1561
1568
|
if (yych <= 'Z') goto yy66;
|
1562
1569
|
} else {
|
1563
|
-
if (yych == '`') goto
|
1570
|
+
if (yych == '`') goto yy227;
|
1564
1571
|
if (yych <= 'z') goto yy66;
|
1565
1572
|
}
|
1566
1573
|
}
|
1567
|
-
|
1568
|
-
#line
|
1574
|
+
yy227:
|
1575
|
+
#line 84 "ext/rbs_extension/lexer.re"
|
1569
1576
|
{ return next_token(state, kOUT); }
|
1570
|
-
#line
|
1571
|
-
|
1577
|
+
#line 1578 "ext/rbs_extension/lexer.c"
|
1578
|
+
yy228:
|
1572
1579
|
skip(state);
|
1573
1580
|
yych = peek(state);
|
1574
|
-
if (yych == 'p') goto
|
1581
|
+
if (yych == 'p') goto yy267;
|
1575
1582
|
goto yy67;
|
1576
|
-
|
1583
|
+
yy229:
|
1577
1584
|
skip(state);
|
1578
1585
|
yych = peek(state);
|
1579
|
-
if (yych == 'v') goto
|
1586
|
+
if (yych == 'v') goto yy268;
|
1580
1587
|
goto yy67;
|
1581
|
-
|
1588
|
+
yy230:
|
1582
1589
|
skip(state);
|
1583
1590
|
yych = peek(state);
|
1584
|
-
if (yych == 'l') goto
|
1591
|
+
if (yych == 'l') goto yy269;
|
1585
1592
|
goto yy67;
|
1586
|
-
|
1593
|
+
yy231:
|
1587
1594
|
skip(state);
|
1588
1595
|
yych = peek(state);
|
1589
|
-
if (yych == 'f') goto
|
1596
|
+
if (yych == 'f') goto yy270;
|
1590
1597
|
goto yy67;
|
1591
|
-
|
1598
|
+
yy232:
|
1592
1599
|
skip(state);
|
1593
1600
|
yych = peek(state);
|
1594
|
-
if (yych == 'g') goto
|
1601
|
+
if (yych == 'g') goto yy272;
|
1595
1602
|
goto yy67;
|
1596
|
-
|
1603
|
+
yy233:
|
1597
1604
|
skip(state);
|
1598
1605
|
yych = peek(state);
|
1599
1606
|
if (yych <= '=') {
|
@@ -1605,131 +1612,131 @@ yy231:
|
|
1605
1612
|
}
|
1606
1613
|
} else {
|
1607
1614
|
if (yych <= '^') {
|
1608
|
-
if (yych <= '@') goto
|
1615
|
+
if (yych <= '@') goto yy234;
|
1609
1616
|
if (yych <= 'Z') goto yy66;
|
1610
1617
|
} else {
|
1611
|
-
if (yych == '`') goto
|
1618
|
+
if (yych == '`') goto yy234;
|
1612
1619
|
if (yych <= 'z') goto yy66;
|
1613
1620
|
}
|
1614
1621
|
}
|
1615
|
-
|
1616
|
-
#line
|
1622
|
+
yy234:
|
1623
|
+
#line 90 "ext/rbs_extension/lexer.re"
|
1617
1624
|
{ return next_token(state, kTOP); }
|
1618
|
-
#line
|
1619
|
-
|
1625
|
+
#line 1626 "ext/rbs_extension/lexer.c"
|
1626
|
+
yy235:
|
1620
1627
|
skip(state);
|
1621
1628
|
yych = peek(state);
|
1622
|
-
if (yych == 'e') goto
|
1629
|
+
if (yych == 'e') goto yy273;
|
1623
1630
|
goto yy67;
|
1624
|
-
|
1631
|
+
yy236:
|
1625
1632
|
skip(state);
|
1626
1633
|
yych = peek(state);
|
1627
|
-
if (yych == 'e') goto
|
1634
|
+
if (yych == 'e') goto yy275;
|
1628
1635
|
goto yy67;
|
1629
|
-
|
1636
|
+
yy237:
|
1630
1637
|
skip(state);
|
1631
1638
|
yych = peek(state);
|
1632
|
-
if (yych == 'h') goto
|
1639
|
+
if (yych == 'h') goto yy277;
|
1633
1640
|
goto yy67;
|
1634
|
-
|
1641
|
+
yy238:
|
1635
1642
|
skip(state);
|
1636
1643
|
yych = peek(state);
|
1637
|
-
if (yych == 'y') goto
|
1644
|
+
if (yych == 'y') goto yy278;
|
1638
1645
|
goto yy67;
|
1639
|
-
|
1646
|
+
yy239:
|
1640
1647
|
skip(state);
|
1641
1648
|
yych = peek(state);
|
1642
|
-
if (yych == 'd') goto
|
1649
|
+
if (yych == 'd') goto yy279;
|
1643
1650
|
goto yy67;
|
1644
|
-
yy238:
|
1645
|
-
skip(state);
|
1646
|
-
#line 54 "ext/rbs_extension/lexer.re"
|
1647
|
-
{ return next_token(state, tANNOTATION); }
|
1648
|
-
#line 1649 "ext/rbs_extension/lexer.c"
|
1649
1651
|
yy240:
|
1650
1652
|
skip(state);
|
1651
|
-
#line
|
1653
|
+
#line 55 "ext/rbs_extension/lexer.re"
|
1652
1654
|
{ return next_token(state, tANNOTATION); }
|
1653
|
-
#line
|
1655
|
+
#line 1656 "ext/rbs_extension/lexer.c"
|
1654
1656
|
yy242:
|
1655
1657
|
skip(state);
|
1656
|
-
#line
|
1658
|
+
#line 58 "ext/rbs_extension/lexer.re"
|
1657
1659
|
{ return next_token(state, tANNOTATION); }
|
1658
|
-
#line
|
1660
|
+
#line 1661 "ext/rbs_extension/lexer.c"
|
1659
1661
|
yy244:
|
1660
1662
|
skip(state);
|
1661
|
-
#line
|
1663
|
+
#line 56 "ext/rbs_extension/lexer.re"
|
1662
1664
|
{ return next_token(state, tANNOTATION); }
|
1663
|
-
#line
|
1665
|
+
#line 1666 "ext/rbs_extension/lexer.c"
|
1664
1666
|
yy246:
|
1665
1667
|
skip(state);
|
1666
|
-
#line
|
1668
|
+
#line 54 "ext/rbs_extension/lexer.re"
|
1667
1669
|
{ return next_token(state, tANNOTATION); }
|
1668
|
-
#line
|
1670
|
+
#line 1671 "ext/rbs_extension/lexer.c"
|
1669
1671
|
yy248:
|
1672
|
+
skip(state);
|
1673
|
+
#line 57 "ext/rbs_extension/lexer.re"
|
1674
|
+
{ return next_token(state, tANNOTATION); }
|
1675
|
+
#line 1676 "ext/rbs_extension/lexer.c"
|
1676
|
+
yy250:
|
1670
1677
|
yyaccept = 7;
|
1671
1678
|
skip(state);
|
1672
1679
|
backup = *state;
|
1673
1680
|
yych = peek(state);
|
1674
1681
|
if (yych <= '"') {
|
1675
|
-
if (yych <= 0x00000000) goto
|
1682
|
+
if (yych <= 0x00000000) goto yy185;
|
1676
1683
|
if (yych <= '!') goto yy108;
|
1677
|
-
goto
|
1684
|
+
goto yy184;
|
1678
1685
|
} else {
|
1679
|
-
if (yych == '\\') goto
|
1686
|
+
if (yych == '\\') goto yy186;
|
1680
1687
|
goto yy108;
|
1681
1688
|
}
|
1682
|
-
|
1689
|
+
yy251:
|
1683
1690
|
yyaccept = 8;
|
1684
1691
|
skip(state);
|
1685
1692
|
backup = *state;
|
1686
1693
|
yych = peek(state);
|
1687
1694
|
if (yych <= '\'') {
|
1688
|
-
if (yych <= 0x00000000) goto
|
1695
|
+
if (yych <= 0x00000000) goto yy193;
|
1689
1696
|
if (yych <= '&') goto yy112;
|
1690
|
-
goto
|
1697
|
+
goto yy192;
|
1691
1698
|
} else {
|
1692
|
-
if (yych == '\\') goto
|
1699
|
+
if (yych == '\\') goto yy194;
|
1693
1700
|
goto yy112;
|
1694
1701
|
}
|
1695
|
-
|
1702
|
+
yy252:
|
1696
1703
|
skip(state);
|
1697
1704
|
yych = peek(state);
|
1698
1705
|
if (yych <= '>') {
|
1699
1706
|
if (yych <= '/') {
|
1700
|
-
if (yych == '!') goto
|
1707
|
+
if (yych == '!') goto yy281;
|
1701
1708
|
} else {
|
1702
|
-
if (yych <= '9') goto
|
1703
|
-
if (yych == '=') goto
|
1709
|
+
if (yych <= '9') goto yy252;
|
1710
|
+
if (yych == '=') goto yy281;
|
1704
1711
|
}
|
1705
1712
|
} else {
|
1706
1713
|
if (yych <= '^') {
|
1707
|
-
if (yych <= '?') goto
|
1708
|
-
if (yych <= '@') goto
|
1709
|
-
if (yych <= 'Z') goto
|
1714
|
+
if (yych <= '?') goto yy281;
|
1715
|
+
if (yych <= '@') goto yy254;
|
1716
|
+
if (yych <= 'Z') goto yy252;
|
1710
1717
|
} else {
|
1711
|
-
if (yych == '`') goto
|
1712
|
-
if (yych <= 'z') goto
|
1718
|
+
if (yych == '`') goto yy254;
|
1719
|
+
if (yych <= 'z') goto yy252;
|
1713
1720
|
}
|
1714
1721
|
}
|
1715
|
-
|
1716
|
-
#line
|
1722
|
+
yy254:
|
1723
|
+
#line 118 "ext/rbs_extension/lexer.re"
|
1717
1724
|
{ return next_token(state, tSYMBOL); }
|
1718
|
-
#line
|
1719
|
-
|
1725
|
+
#line 1726 "ext/rbs_extension/lexer.c"
|
1726
|
+
yy255:
|
1720
1727
|
skip(state);
|
1721
|
-
goto
|
1722
|
-
|
1728
|
+
goto yy201;
|
1729
|
+
yy256:
|
1723
1730
|
skip(state);
|
1724
1731
|
yych = peek(state);
|
1725
|
-
if (yych == 's') goto
|
1732
|
+
if (yych == 's') goto yy282;
|
1726
1733
|
goto yy67;
|
1727
|
-
|
1734
|
+
yy257:
|
1728
1735
|
skip(state);
|
1729
1736
|
yych = peek(state);
|
1730
|
-
if (yych == '_') goto
|
1737
|
+
if (yych == '_') goto yy284;
|
1731
1738
|
goto yy67;
|
1732
|
-
|
1739
|
+
yy258:
|
1733
1740
|
skip(state);
|
1734
1741
|
yych = peek(state);
|
1735
1742
|
if (yych <= '=') {
|
@@ -1741,68 +1748,68 @@ yy256:
|
|
1741
1748
|
}
|
1742
1749
|
} else {
|
1743
1750
|
if (yych <= '^') {
|
1744
|
-
if (yych <= '@') goto
|
1751
|
+
if (yych <= '@') goto yy259;
|
1745
1752
|
if (yych <= 'Z') goto yy66;
|
1746
1753
|
} else {
|
1747
|
-
if (yych == '`') goto
|
1754
|
+
if (yych == '`') goto yy259;
|
1748
1755
|
if (yych <= 'z') goto yy66;
|
1749
1756
|
}
|
1750
1757
|
}
|
1751
|
-
yy257:
|
1752
|
-
#line 70 "ext/rbs_extension/lexer.re"
|
1753
|
-
{ return next_token(state, kBOOL); }
|
1754
|
-
#line 1755 "ext/rbs_extension/lexer.c"
|
1755
|
-
yy258:
|
1756
|
-
skip(state);
|
1757
|
-
yych = peek(state);
|
1758
|
-
if (yych == 's') goto yy283;
|
1759
|
-
goto yy67;
|
1760
1758
|
yy259:
|
1761
|
-
|
1762
|
-
|
1763
|
-
|
1764
|
-
goto yy67;
|
1759
|
+
#line 71 "ext/rbs_extension/lexer.re"
|
1760
|
+
{ return next_token(state, kBOOL); }
|
1761
|
+
#line 1762 "ext/rbs_extension/lexer.c"
|
1765
1762
|
yy260:
|
1766
1763
|
skip(state);
|
1767
1764
|
yych = peek(state);
|
1768
|
-
if (yych == '
|
1765
|
+
if (yych == 's') goto yy285;
|
1769
1766
|
goto yy67;
|
1770
1767
|
yy261:
|
1771
1768
|
skip(state);
|
1772
1769
|
yych = peek(state);
|
1773
|
-
if (yych == '
|
1770
|
+
if (yych == 'n') goto yy287;
|
1774
1771
|
goto yy67;
|
1775
1772
|
yy262:
|
1776
1773
|
skip(state);
|
1777
1774
|
yych = peek(state);
|
1778
|
-
if (yych == '
|
1775
|
+
if (yych == 'e') goto yy288;
|
1779
1776
|
goto yy67;
|
1780
1777
|
yy263:
|
1781
1778
|
skip(state);
|
1782
1779
|
yych = peek(state);
|
1783
|
-
if (yych == '
|
1780
|
+
if (yych == 'u') goto yy290;
|
1784
1781
|
goto yy67;
|
1785
1782
|
yy264:
|
1786
1783
|
skip(state);
|
1787
1784
|
yych = peek(state);
|
1788
|
-
if (yych == '
|
1785
|
+
if (yych == 'a') goto yy291;
|
1789
1786
|
goto yy67;
|
1790
1787
|
yy265:
|
1791
1788
|
skip(state);
|
1792
1789
|
yych = peek(state);
|
1793
|
-
if (yych == '
|
1790
|
+
if (yych == 'r') goto yy292;
|
1794
1791
|
goto yy67;
|
1795
1792
|
yy266:
|
1796
1793
|
skip(state);
|
1797
1794
|
yych = peek(state);
|
1798
|
-
if (yych == '
|
1795
|
+
if (yych == 'l') goto yy293;
|
1799
1796
|
goto yy67;
|
1800
1797
|
yy267:
|
1801
1798
|
skip(state);
|
1802
1799
|
yych = peek(state);
|
1803
|
-
if (yych == '
|
1800
|
+
if (yych == 'e') goto yy294;
|
1804
1801
|
goto yy67;
|
1805
1802
|
yy268:
|
1803
|
+
skip(state);
|
1804
|
+
yych = peek(state);
|
1805
|
+
if (yych == 'a') goto yy295;
|
1806
|
+
goto yy67;
|
1807
|
+
yy269:
|
1808
|
+
skip(state);
|
1809
|
+
yych = peek(state);
|
1810
|
+
if (yych == 'i') goto yy296;
|
1811
|
+
goto yy67;
|
1812
|
+
yy270:
|
1806
1813
|
skip(state);
|
1807
1814
|
yych = peek(state);
|
1808
1815
|
if (yych <= '=') {
|
@@ -1814,23 +1821,23 @@ yy268:
|
|
1814
1821
|
}
|
1815
1822
|
} else {
|
1816
1823
|
if (yych <= '^') {
|
1817
|
-
if (yych <= '@') goto
|
1824
|
+
if (yych <= '@') goto yy271;
|
1818
1825
|
if (yych <= 'Z') goto yy66;
|
1819
1826
|
} else {
|
1820
|
-
if (yych == '`') goto
|
1827
|
+
if (yych == '`') goto yy271;
|
1821
1828
|
if (yych <= 'z') goto yy66;
|
1822
1829
|
}
|
1823
1830
|
}
|
1824
|
-
|
1825
|
-
#line
|
1831
|
+
yy271:
|
1832
|
+
#line 88 "ext/rbs_extension/lexer.re"
|
1826
1833
|
{ return next_token(state, kSELF); }
|
1827
|
-
#line
|
1828
|
-
|
1834
|
+
#line 1835 "ext/rbs_extension/lexer.c"
|
1835
|
+
yy272:
|
1829
1836
|
skip(state);
|
1830
1837
|
yych = peek(state);
|
1831
|
-
if (yych == 'l') goto
|
1838
|
+
if (yych == 'l') goto yy297;
|
1832
1839
|
goto yy67;
|
1833
|
-
|
1840
|
+
yy273:
|
1834
1841
|
skip(state);
|
1835
1842
|
yych = peek(state);
|
1836
1843
|
if (yych <= '=') {
|
@@ -1842,18 +1849,18 @@ yy271:
|
|
1842
1849
|
}
|
1843
1850
|
} else {
|
1844
1851
|
if (yych <= '^') {
|
1845
|
-
if (yych <= '@') goto
|
1852
|
+
if (yych <= '@') goto yy274;
|
1846
1853
|
if (yych <= 'Z') goto yy66;
|
1847
1854
|
} else {
|
1848
|
-
if (yych == '`') goto
|
1855
|
+
if (yych == '`') goto yy274;
|
1849
1856
|
if (yych <= 'z') goto yy66;
|
1850
1857
|
}
|
1851
1858
|
}
|
1852
|
-
|
1853
|
-
#line
|
1859
|
+
yy274:
|
1860
|
+
#line 91 "ext/rbs_extension/lexer.re"
|
1854
1861
|
{ return next_token(state, kTRUE); }
|
1855
|
-
#line
|
1856
|
-
|
1862
|
+
#line 1863 "ext/rbs_extension/lexer.c"
|
1863
|
+
yy275:
|
1857
1864
|
skip(state);
|
1858
1865
|
yych = peek(state);
|
1859
1866
|
if (yych <= '=') {
|
@@ -1865,28 +1872,28 @@ yy273:
|
|
1865
1872
|
}
|
1866
1873
|
} else {
|
1867
1874
|
if (yych <= '^') {
|
1868
|
-
if (yych <= '@') goto
|
1875
|
+
if (yych <= '@') goto yy276;
|
1869
1876
|
if (yych <= 'Z') goto yy66;
|
1870
1877
|
} else {
|
1871
|
-
if (yych == '`') goto
|
1878
|
+
if (yych == '`') goto yy276;
|
1872
1879
|
if (yych <= 'z') goto yy66;
|
1873
1880
|
}
|
1874
1881
|
}
|
1875
|
-
|
1876
|
-
#line
|
1882
|
+
yy276:
|
1883
|
+
#line 92 "ext/rbs_extension/lexer.re"
|
1877
1884
|
{ return next_token(state, kTYPE); }
|
1878
|
-
#line
|
1879
|
-
|
1885
|
+
#line 1886 "ext/rbs_extension/lexer.c"
|
1886
|
+
yy277:
|
1880
1887
|
skip(state);
|
1881
1888
|
yych = peek(state);
|
1882
|
-
if (yych == 'e') goto
|
1889
|
+
if (yych == 'e') goto yy298;
|
1883
1890
|
goto yy67;
|
1884
|
-
|
1891
|
+
yy278:
|
1885
1892
|
skip(state);
|
1886
1893
|
yych = peek(state);
|
1887
|
-
if (yych == 'p') goto
|
1894
|
+
if (yych == 'p') goto yy299;
|
1888
1895
|
goto yy67;
|
1889
|
-
|
1896
|
+
yy279:
|
1890
1897
|
skip(state);
|
1891
1898
|
yych = peek(state);
|
1892
1899
|
if (yych <= '=') {
|
@@ -1898,21 +1905,21 @@ yy277:
|
|
1898
1905
|
}
|
1899
1906
|
} else {
|
1900
1907
|
if (yych <= '^') {
|
1901
|
-
if (yych <= '@') goto
|
1908
|
+
if (yych <= '@') goto yy280;
|
1902
1909
|
if (yych <= 'Z') goto yy66;
|
1903
1910
|
} else {
|
1904
|
-
if (yych == '`') goto
|
1911
|
+
if (yych == '`') goto yy280;
|
1905
1912
|
if (yych <= 'z') goto yy66;
|
1906
1913
|
}
|
1907
1914
|
}
|
1908
|
-
|
1909
|
-
#line
|
1915
|
+
yy280:
|
1916
|
+
#line 95 "ext/rbs_extension/lexer.re"
|
1910
1917
|
{ return next_token(state, kVOID); }
|
1911
|
-
#line
|
1912
|
-
|
1918
|
+
#line 1919 "ext/rbs_extension/lexer.c"
|
1919
|
+
yy281:
|
1913
1920
|
skip(state);
|
1914
|
-
goto
|
1915
|
-
|
1921
|
+
goto yy254;
|
1922
|
+
yy282:
|
1916
1923
|
skip(state);
|
1917
1924
|
yych = peek(state);
|
1918
1925
|
if (yych <= '=') {
|
@@ -1924,29 +1931,29 @@ yy280:
|
|
1924
1931
|
}
|
1925
1932
|
} else {
|
1926
1933
|
if (yych <= '^') {
|
1927
|
-
if (yych <= '@') goto
|
1934
|
+
if (yych <= '@') goto yy283;
|
1928
1935
|
if (yych <= 'Z') goto yy66;
|
1929
1936
|
} else {
|
1930
|
-
if (yych == '`') goto
|
1937
|
+
if (yych == '`') goto yy283;
|
1931
1938
|
if (yych <= 'z') goto yy66;
|
1932
1939
|
}
|
1933
1940
|
}
|
1934
|
-
|
1935
|
-
#line
|
1941
|
+
yy283:
|
1942
|
+
#line 67 "ext/rbs_extension/lexer.re"
|
1936
1943
|
{ return next_token(state, kALIAS); }
|
1937
|
-
#line
|
1938
|
-
|
1944
|
+
#line 1945 "ext/rbs_extension/lexer.c"
|
1945
|
+
yy284:
|
1939
1946
|
skip(state);
|
1940
1947
|
yych = peek(state);
|
1941
1948
|
if (yych <= 'q') {
|
1942
|
-
if (yych == 'a') goto
|
1949
|
+
if (yych == 'a') goto yy300;
|
1943
1950
|
goto yy67;
|
1944
1951
|
} else {
|
1945
|
-
if (yych <= 'r') goto
|
1946
|
-
if (yych == 'w') goto
|
1952
|
+
if (yych <= 'r') goto yy301;
|
1953
|
+
if (yych == 'w') goto yy302;
|
1947
1954
|
goto yy67;
|
1948
1955
|
}
|
1949
|
-
|
1956
|
+
yy285:
|
1950
1957
|
skip(state);
|
1951
1958
|
yych = peek(state);
|
1952
1959
|
if (yych <= '=') {
|
@@ -1958,23 +1965,23 @@ yy283:
|
|
1958
1965
|
}
|
1959
1966
|
} else {
|
1960
1967
|
if (yych <= '^') {
|
1961
|
-
if (yych <= '@') goto
|
1968
|
+
if (yych <= '@') goto yy286;
|
1962
1969
|
if (yych <= 'Z') goto yy66;
|
1963
1970
|
} else {
|
1964
|
-
if (yych == '`') goto
|
1971
|
+
if (yych == '`') goto yy286;
|
1965
1972
|
if (yych <= 'z') goto yy66;
|
1966
1973
|
}
|
1967
1974
|
}
|
1968
|
-
|
1969
|
-
#line
|
1975
|
+
yy286:
|
1976
|
+
#line 73 "ext/rbs_extension/lexer.re"
|
1970
1977
|
{ return next_token(state, kCLASS); }
|
1971
|
-
#line
|
1972
|
-
|
1978
|
+
#line 1979 "ext/rbs_extension/lexer.c"
|
1979
|
+
yy287:
|
1973
1980
|
skip(state);
|
1974
1981
|
yych = peek(state);
|
1975
|
-
if (yych == 'd') goto
|
1982
|
+
if (yych == 'd') goto yy303;
|
1976
1983
|
goto yy67;
|
1977
|
-
|
1984
|
+
yy288:
|
1978
1985
|
skip(state);
|
1979
1986
|
yych = peek(state);
|
1980
1987
|
if (yych <= '=') {
|
@@ -1986,61 +1993,51 @@ yy286:
|
|
1986
1993
|
}
|
1987
1994
|
} else {
|
1988
1995
|
if (yych <= '^') {
|
1989
|
-
if (yych <= '@') goto
|
1996
|
+
if (yych <= '@') goto yy289;
|
1990
1997
|
if (yych <= 'Z') goto yy66;
|
1991
1998
|
} else {
|
1992
|
-
if (yych == '`') goto
|
1999
|
+
if (yych == '`') goto yy289;
|
1993
2000
|
if (yych <= 'z') goto yy66;
|
1994
2001
|
}
|
1995
2002
|
}
|
1996
|
-
yy287:
|
1997
|
-
#line 76 "ext/rbs_extension/lexer.re"
|
1998
|
-
{ return next_token(state, kFALSE); }
|
1999
|
-
#line 2000 "ext/rbs_extension/lexer.c"
|
2000
|
-
yy288:
|
2001
|
-
skip(state);
|
2002
|
-
yych = peek(state);
|
2003
|
-
if (yych == 'd') goto yy303;
|
2004
|
-
goto yy67;
|
2005
2003
|
yy289:
|
2006
|
-
|
2007
|
-
|
2008
|
-
|
2009
|
-
goto yy67;
|
2004
|
+
#line 77 "ext/rbs_extension/lexer.re"
|
2005
|
+
{ return next_token(state, kFALSE); }
|
2006
|
+
#line 2007 "ext/rbs_extension/lexer.c"
|
2010
2007
|
yy290:
|
2011
2008
|
skip(state);
|
2012
2009
|
yych = peek(state);
|
2013
|
-
if (yych == '
|
2010
|
+
if (yych == 'd') goto yy305;
|
2014
2011
|
goto yy67;
|
2015
2012
|
yy291:
|
2016
2013
|
skip(state);
|
2017
2014
|
yych = peek(state);
|
2018
|
-
if (yych == '
|
2015
|
+
if (yych == 'n') goto yy306;
|
2019
2016
|
goto yy67;
|
2020
2017
|
yy292:
|
2021
2018
|
skip(state);
|
2022
2019
|
yych = peek(state);
|
2023
|
-
if (yych == '
|
2020
|
+
if (yych == 'f') goto yy307;
|
2024
2021
|
goto yy67;
|
2025
2022
|
yy293:
|
2026
2023
|
skip(state);
|
2027
2024
|
yych = peek(state);
|
2028
|
-
if (yych == '
|
2025
|
+
if (yych == 'e') goto yy308;
|
2029
2026
|
goto yy67;
|
2030
2027
|
yy294:
|
2031
2028
|
skip(state);
|
2032
2029
|
yych = peek(state);
|
2033
|
-
if (yych == '
|
2030
|
+
if (yych == 'n') goto yy310;
|
2034
2031
|
goto yy67;
|
2035
2032
|
yy295:
|
2036
2033
|
skip(state);
|
2037
2034
|
yych = peek(state);
|
2038
|
-
if (yych == '
|
2035
|
+
if (yych == 't') goto yy311;
|
2039
2036
|
goto yy67;
|
2040
2037
|
yy296:
|
2041
2038
|
skip(state);
|
2042
2039
|
yych = peek(state);
|
2043
|
-
if (yych == 'c') goto
|
2040
|
+
if (yych == 'c') goto yy312;
|
2044
2041
|
goto yy67;
|
2045
2042
|
yy297:
|
2046
2043
|
skip(state);
|
@@ -2060,9 +2057,19 @@ yy299:
|
|
2060
2057
|
yy300:
|
2061
2058
|
skip(state);
|
2062
2059
|
yych = peek(state);
|
2063
|
-
if (yych == '
|
2060
|
+
if (yych == 'c') goto yy317;
|
2064
2061
|
goto yy67;
|
2065
2062
|
yy301:
|
2063
|
+
skip(state);
|
2064
|
+
yych = peek(state);
|
2065
|
+
if (yych == 'e') goto yy318;
|
2066
|
+
goto yy67;
|
2067
|
+
yy302:
|
2068
|
+
skip(state);
|
2069
|
+
yych = peek(state);
|
2070
|
+
if (yych == 'r') goto yy319;
|
2071
|
+
goto yy67;
|
2072
|
+
yy303:
|
2066
2073
|
skip(state);
|
2067
2074
|
yych = peek(state);
|
2068
2075
|
if (yych <= '=') {
|
@@ -2074,33 +2081,33 @@ yy301:
|
|
2074
2081
|
}
|
2075
2082
|
} else {
|
2076
2083
|
if (yych <= '^') {
|
2077
|
-
if (yych <= '@') goto
|
2084
|
+
if (yych <= '@') goto yy304;
|
2078
2085
|
if (yych <= 'Z') goto yy66;
|
2079
2086
|
} else {
|
2080
|
-
if (yych == '`') goto
|
2087
|
+
if (yych == '`') goto yy304;
|
2081
2088
|
if (yych <= 'z') goto yy66;
|
2082
2089
|
}
|
2083
2090
|
}
|
2084
|
-
|
2085
|
-
#line
|
2091
|
+
yy304:
|
2092
|
+
#line 76 "ext/rbs_extension/lexer.re"
|
2086
2093
|
{ return next_token(state, kEXTEND); }
|
2087
|
-
#line
|
2088
|
-
|
2094
|
+
#line 2095 "ext/rbs_extension/lexer.c"
|
2095
|
+
yy305:
|
2089
2096
|
skip(state);
|
2090
2097
|
yych = peek(state);
|
2091
|
-
if (yych == 'e') goto
|
2098
|
+
if (yych == 'e') goto yy320;
|
2092
2099
|
goto yy67;
|
2093
|
-
|
2100
|
+
yy306:
|
2094
2101
|
skip(state);
|
2095
2102
|
yych = peek(state);
|
2096
|
-
if (yych == 'c') goto
|
2103
|
+
if (yych == 'c') goto yy322;
|
2097
2104
|
goto yy67;
|
2098
|
-
|
2105
|
+
yy307:
|
2099
2106
|
skip(state);
|
2100
2107
|
yych = peek(state);
|
2101
|
-
if (yych == 'a') goto
|
2108
|
+
if (yych == 'a') goto yy323;
|
2102
2109
|
goto yy67;
|
2103
|
-
|
2110
|
+
yy308:
|
2104
2111
|
skip(state);
|
2105
2112
|
yych = peek(state);
|
2106
2113
|
if (yych <= '=') {
|
@@ -2112,28 +2119,28 @@ yy306:
|
|
2112
2119
|
}
|
2113
2120
|
} else {
|
2114
2121
|
if (yych <= '^') {
|
2115
|
-
if (yych <= '@') goto
|
2122
|
+
if (yych <= '@') goto yy309;
|
2116
2123
|
if (yych <= 'Z') goto yy66;
|
2117
2124
|
} else {
|
2118
|
-
if (yych == '`') goto
|
2125
|
+
if (yych == '`') goto yy309;
|
2119
2126
|
if (yych <= 'z') goto yy66;
|
2120
2127
|
}
|
2121
2128
|
}
|
2122
|
-
|
2123
|
-
#line
|
2129
|
+
yy309:
|
2130
|
+
#line 82 "ext/rbs_extension/lexer.re"
|
2124
2131
|
{ return next_token(state, kMODULE); }
|
2125
|
-
#line
|
2126
|
-
|
2132
|
+
#line 2133 "ext/rbs_extension/lexer.c"
|
2133
|
+
yy310:
|
2127
2134
|
skip(state);
|
2128
2135
|
yych = peek(state);
|
2129
|
-
if (yych == 'd') goto
|
2136
|
+
if (yych == 'd') goto yy324;
|
2130
2137
|
goto yy67;
|
2131
|
-
|
2138
|
+
yy311:
|
2132
2139
|
skip(state);
|
2133
2140
|
yych = peek(state);
|
2134
|
-
if (yych == 'e') goto
|
2141
|
+
if (yych == 'e') goto yy326;
|
2135
2142
|
goto yy67;
|
2136
|
-
|
2143
|
+
yy312:
|
2137
2144
|
skip(state);
|
2138
2145
|
yych = peek(state);
|
2139
2146
|
if (yych <= '=') {
|
@@ -2145,48 +2152,48 @@ yy310:
|
|
2145
2152
|
}
|
2146
2153
|
} else {
|
2147
2154
|
if (yych <= '^') {
|
2148
|
-
if (yych <= '@') goto
|
2155
|
+
if (yych <= '@') goto yy313;
|
2149
2156
|
if (yych <= 'Z') goto yy66;
|
2150
2157
|
} else {
|
2151
|
-
if (yych == '`') goto
|
2158
|
+
if (yych == '`') goto yy313;
|
2152
2159
|
if (yych <= 'z') goto yy66;
|
2153
2160
|
}
|
2154
2161
|
}
|
2155
|
-
|
2156
|
-
#line
|
2162
|
+
yy313:
|
2163
|
+
#line 87 "ext/rbs_extension/lexer.re"
|
2157
2164
|
{ return next_token(state, kPUBLIC); }
|
2158
|
-
#line
|
2159
|
-
|
2165
|
+
#line 2166 "ext/rbs_extension/lexer.c"
|
2166
|
+
yy314:
|
2160
2167
|
skip(state);
|
2161
2168
|
yych = peek(state);
|
2162
|
-
if (yych == 't') goto
|
2169
|
+
if (yych == 't') goto yy328;
|
2163
2170
|
goto yy67;
|
2164
|
-
|
2171
|
+
yy315:
|
2165
2172
|
skip(state);
|
2166
2173
|
yych = peek(state);
|
2167
|
-
if (yych == 'k') goto
|
2174
|
+
if (yych == 'k') goto yy329;
|
2168
2175
|
goto yy67;
|
2169
|
-
|
2176
|
+
yy316:
|
2170
2177
|
skip(state);
|
2171
2178
|
yych = peek(state);
|
2172
|
-
if (yych == 'd') goto
|
2179
|
+
if (yych == 'd') goto yy330;
|
2173
2180
|
goto yy67;
|
2174
|
-
|
2181
|
+
yy317:
|
2175
2182
|
skip(state);
|
2176
2183
|
yych = peek(state);
|
2177
|
-
if (yych == 'c') goto
|
2184
|
+
if (yych == 'c') goto yy332;
|
2178
2185
|
goto yy67;
|
2179
|
-
|
2186
|
+
yy318:
|
2180
2187
|
skip(state);
|
2181
2188
|
yych = peek(state);
|
2182
|
-
if (yych == 'a') goto
|
2189
|
+
if (yych == 'a') goto yy333;
|
2183
2190
|
goto yy67;
|
2184
|
-
|
2191
|
+
yy319:
|
2185
2192
|
skip(state);
|
2186
2193
|
yych = peek(state);
|
2187
|
-
if (yych == 'i') goto
|
2194
|
+
if (yych == 'i') goto yy334;
|
2188
2195
|
goto yy67;
|
2189
|
-
|
2196
|
+
yy320:
|
2190
2197
|
skip(state);
|
2191
2198
|
yych = peek(state);
|
2192
2199
|
if (yych <= '=') {
|
@@ -2198,28 +2205,28 @@ yy318:
|
|
2198
2205
|
}
|
2199
2206
|
} else {
|
2200
2207
|
if (yych <= '^') {
|
2201
|
-
if (yych <= '@') goto
|
2208
|
+
if (yych <= '@') goto yy321;
|
2202
2209
|
if (yych <= 'Z') goto yy66;
|
2203
2210
|
} else {
|
2204
|
-
if (yych == '`') goto
|
2211
|
+
if (yych == '`') goto yy321;
|
2205
2212
|
if (yych <= 'z') goto yy66;
|
2206
2213
|
}
|
2207
2214
|
}
|
2208
|
-
|
2209
|
-
#line
|
2215
|
+
yy321:
|
2216
|
+
#line 79 "ext/rbs_extension/lexer.re"
|
2210
2217
|
{ return next_token(state, kINCLUDE); }
|
2211
|
-
#line
|
2212
|
-
|
2218
|
+
#line 2219 "ext/rbs_extension/lexer.c"
|
2219
|
+
yy322:
|
2213
2220
|
skip(state);
|
2214
2221
|
yych = peek(state);
|
2215
|
-
if (yych == 'e') goto
|
2222
|
+
if (yych == 'e') goto yy335;
|
2216
2223
|
goto yy67;
|
2217
|
-
|
2224
|
+
yy323:
|
2218
2225
|
skip(state);
|
2219
2226
|
yych = peek(state);
|
2220
|
-
if (yych == 'c') goto
|
2227
|
+
if (yych == 'c') goto yy337;
|
2221
2228
|
goto yy67;
|
2222
|
-
|
2229
|
+
yy324:
|
2223
2230
|
skip(state);
|
2224
2231
|
yych = peek(state);
|
2225
2232
|
if (yych <= '=') {
|
@@ -2231,18 +2238,18 @@ yy322:
|
|
2231
2238
|
}
|
2232
2239
|
} else {
|
2233
2240
|
if (yych <= '^') {
|
2234
|
-
if (yych <= '@') goto
|
2241
|
+
if (yych <= '@') goto yy325;
|
2235
2242
|
if (yych <= 'Z') goto yy66;
|
2236
2243
|
} else {
|
2237
|
-
if (yych == '`') goto
|
2244
|
+
if (yych == '`') goto yy325;
|
2238
2245
|
if (yych <= 'z') goto yy66;
|
2239
2246
|
}
|
2240
2247
|
}
|
2241
|
-
|
2242
|
-
#line
|
2248
|
+
yy325:
|
2249
|
+
#line 85 "ext/rbs_extension/lexer.re"
|
2243
2250
|
{ return next_token(state, kPREPEND); }
|
2244
|
-
#line
|
2245
|
-
|
2251
|
+
#line 2252 "ext/rbs_extension/lexer.c"
|
2252
|
+
yy326:
|
2246
2253
|
skip(state);
|
2247
2254
|
yych = peek(state);
|
2248
2255
|
if (yych <= '=') {
|
@@ -2254,28 +2261,28 @@ yy324:
|
|
2254
2261
|
}
|
2255
2262
|
} else {
|
2256
2263
|
if (yych <= '^') {
|
2257
|
-
if (yych <= '@') goto
|
2264
|
+
if (yych <= '@') goto yy327;
|
2258
2265
|
if (yych <= 'Z') goto yy66;
|
2259
2266
|
} else {
|
2260
|
-
if (yych == '`') goto
|
2267
|
+
if (yych == '`') goto yy327;
|
2261
2268
|
if (yych <= 'z') goto yy66;
|
2262
2269
|
}
|
2263
2270
|
}
|
2264
|
-
|
2265
|
-
#line
|
2271
|
+
yy327:
|
2272
|
+
#line 86 "ext/rbs_extension/lexer.re"
|
2266
2273
|
{ return next_token(state, kPRIVATE); }
|
2267
|
-
#line
|
2268
|
-
|
2274
|
+
#line 2275 "ext/rbs_extension/lexer.c"
|
2275
|
+
yy328:
|
2269
2276
|
skip(state);
|
2270
2277
|
yych = peek(state);
|
2271
|
-
if (yych == 'o') goto
|
2278
|
+
if (yych == 'o') goto yy338;
|
2272
2279
|
goto yy67;
|
2273
|
-
|
2280
|
+
yy329:
|
2274
2281
|
skip(state);
|
2275
2282
|
yych = peek(state);
|
2276
|
-
if (yych == 'e') goto
|
2283
|
+
if (yych == 'e') goto yy339;
|
2277
2284
|
goto yy67;
|
2278
|
-
|
2285
|
+
yy330:
|
2279
2286
|
skip(state);
|
2280
2287
|
yych = peek(state);
|
2281
2288
|
if (yych <= '=') {
|
@@ -2287,33 +2294,33 @@ yy328:
|
|
2287
2294
|
}
|
2288
2295
|
} else {
|
2289
2296
|
if (yych <= '^') {
|
2290
|
-
if (yych <= '@') goto
|
2297
|
+
if (yych <= '@') goto yy331;
|
2291
2298
|
if (yych <= 'Z') goto yy66;
|
2292
2299
|
} else {
|
2293
|
-
if (yych == '`') goto
|
2300
|
+
if (yych == '`') goto yy331;
|
2294
2301
|
if (yych <= 'z') goto yy66;
|
2295
2302
|
}
|
2296
2303
|
}
|
2297
|
-
|
2298
|
-
#line
|
2304
|
+
yy331:
|
2305
|
+
#line 94 "ext/rbs_extension/lexer.re"
|
2299
2306
|
{ return next_token(state, kUNTYPED); }
|
2300
|
-
#line
|
2301
|
-
|
2307
|
+
#line 2308 "ext/rbs_extension/lexer.c"
|
2308
|
+
yy332:
|
2302
2309
|
skip(state);
|
2303
2310
|
yych = peek(state);
|
2304
|
-
if (yych == 'e') goto
|
2311
|
+
if (yych == 'e') goto yy340;
|
2305
2312
|
goto yy67;
|
2306
|
-
|
2313
|
+
yy333:
|
2307
2314
|
skip(state);
|
2308
2315
|
yych = peek(state);
|
2309
|
-
if (yych == 'd') goto
|
2316
|
+
if (yych == 'd') goto yy341;
|
2310
2317
|
goto yy67;
|
2311
|
-
|
2318
|
+
yy334:
|
2312
2319
|
skip(state);
|
2313
2320
|
yych = peek(state);
|
2314
|
-
if (yych == 't') goto
|
2321
|
+
if (yych == 't') goto yy342;
|
2315
2322
|
goto yy67;
|
2316
|
-
|
2323
|
+
yy335:
|
2317
2324
|
skip(state);
|
2318
2325
|
yych = peek(state);
|
2319
2326
|
if (yych <= '=') {
|
@@ -2325,48 +2332,48 @@ yy333:
|
|
2325
2332
|
}
|
2326
2333
|
} else {
|
2327
2334
|
if (yych <= '^') {
|
2328
|
-
if (yych <= '@') goto
|
2335
|
+
if (yych <= '@') goto yy336;
|
2329
2336
|
if (yych <= 'Z') goto yy66;
|
2330
2337
|
} else {
|
2331
|
-
if (yych == '`') goto
|
2338
|
+
if (yych == '`') goto yy336;
|
2332
2339
|
if (yych <= 'z') goto yy66;
|
2333
2340
|
}
|
2334
2341
|
}
|
2335
|
-
|
2336
|
-
#line
|
2342
|
+
yy336:
|
2343
|
+
#line 80 "ext/rbs_extension/lexer.re"
|
2337
2344
|
{ return next_token(state, kINSTANCE); }
|
2338
|
-
#line
|
2339
|
-
|
2345
|
+
#line 2346 "ext/rbs_extension/lexer.c"
|
2346
|
+
yy337:
|
2340
2347
|
skip(state);
|
2341
2348
|
yych = peek(state);
|
2342
|
-
if (yych == 'e') goto
|
2349
|
+
if (yych == 'e') goto yy343;
|
2343
2350
|
goto yy67;
|
2344
|
-
|
2351
|
+
yy338:
|
2345
2352
|
skip(state);
|
2346
2353
|
yych = peek(state);
|
2347
|
-
if (yych == 'n') goto
|
2354
|
+
if (yych == 'n') goto yy345;
|
2348
2355
|
goto yy67;
|
2349
|
-
|
2356
|
+
yy339:
|
2350
2357
|
skip(state);
|
2351
2358
|
yych = peek(state);
|
2352
|
-
if (yych == 'd') goto
|
2359
|
+
if (yych == 'd') goto yy347;
|
2353
2360
|
goto yy67;
|
2354
|
-
|
2361
|
+
yy340:
|
2355
2362
|
skip(state);
|
2356
2363
|
yych = peek(state);
|
2357
|
-
if (yych == 's') goto
|
2364
|
+
if (yych == 's') goto yy349;
|
2358
2365
|
goto yy67;
|
2359
|
-
|
2366
|
+
yy341:
|
2360
2367
|
skip(state);
|
2361
2368
|
yych = peek(state);
|
2362
|
-
if (yych == 'e') goto
|
2369
|
+
if (yych == 'e') goto yy350;
|
2363
2370
|
goto yy67;
|
2364
|
-
|
2371
|
+
yy342:
|
2365
2372
|
skip(state);
|
2366
2373
|
yych = peek(state);
|
2367
|
-
if (yych == 'e') goto
|
2374
|
+
if (yych == 'e') goto yy351;
|
2368
2375
|
goto yy67;
|
2369
|
-
|
2376
|
+
yy343:
|
2370
2377
|
skip(state);
|
2371
2378
|
yych = peek(state);
|
2372
2379
|
if (yych <= '=') {
|
@@ -2378,18 +2385,18 @@ yy341:
|
|
2378
2385
|
}
|
2379
2386
|
} else {
|
2380
2387
|
if (yych <= '^') {
|
2381
|
-
if (yych <= '@') goto
|
2388
|
+
if (yych <= '@') goto yy344;
|
2382
2389
|
if (yych <= 'Z') goto yy66;
|
2383
2390
|
} else {
|
2384
|
-
if (yych == '`') goto
|
2391
|
+
if (yych == '`') goto yy344;
|
2385
2392
|
if (yych <= 'z') goto yy66;
|
2386
2393
|
}
|
2387
2394
|
}
|
2388
|
-
|
2389
|
-
#line
|
2395
|
+
yy344:
|
2396
|
+
#line 81 "ext/rbs_extension/lexer.re"
|
2390
2397
|
{ return next_token(state, kINTERFACE); }
|
2391
|
-
#line
|
2392
|
-
|
2398
|
+
#line 2399 "ext/rbs_extension/lexer.c"
|
2399
|
+
yy345:
|
2393
2400
|
skip(state);
|
2394
2401
|
yych = peek(state);
|
2395
2402
|
if (yych <= '=') {
|
@@ -2401,18 +2408,18 @@ yy343:
|
|
2401
2408
|
}
|
2402
2409
|
} else {
|
2403
2410
|
if (yych <= '^') {
|
2404
|
-
if (yych <= '@') goto
|
2411
|
+
if (yych <= '@') goto yy346;
|
2405
2412
|
if (yych <= 'Z') goto yy66;
|
2406
2413
|
} else {
|
2407
|
-
if (yych == '`') goto
|
2414
|
+
if (yych == '`') goto yy346;
|
2408
2415
|
if (yych <= 'z') goto yy66;
|
2409
2416
|
}
|
2410
2417
|
}
|
2411
|
-
|
2412
|
-
#line
|
2418
|
+
yy346:
|
2419
|
+
#line 89 "ext/rbs_extension/lexer.re"
|
2413
2420
|
{ return next_token(state, kSINGLETON); }
|
2414
|
-
#line
|
2415
|
-
|
2421
|
+
#line 2422 "ext/rbs_extension/lexer.c"
|
2422
|
+
yy347:
|
2416
2423
|
skip(state);
|
2417
2424
|
yych = peek(state);
|
2418
2425
|
if (yych <= '=') {
|
@@ -2424,38 +2431,38 @@ yy345:
|
|
2424
2431
|
}
|
2425
2432
|
} else {
|
2426
2433
|
if (yych <= '^') {
|
2427
|
-
if (yych <= '@') goto
|
2434
|
+
if (yych <= '@') goto yy348;
|
2428
2435
|
if (yych <= 'Z') goto yy66;
|
2429
2436
|
} else {
|
2430
|
-
if (yych == '`') goto
|
2437
|
+
if (yych == '`') goto yy348;
|
2431
2438
|
if (yych <= 'z') goto yy66;
|
2432
2439
|
}
|
2433
2440
|
}
|
2434
|
-
|
2435
|
-
#line
|
2441
|
+
yy348:
|
2442
|
+
#line 93 "ext/rbs_extension/lexer.re"
|
2436
2443
|
{ return next_token(state, kUNCHECKED); }
|
2437
|
-
#line
|
2438
|
-
|
2444
|
+
#line 2445 "ext/rbs_extension/lexer.c"
|
2445
|
+
yy349:
|
2439
2446
|
skip(state);
|
2440
2447
|
yych = peek(state);
|
2441
|
-
if (yych == 's') goto
|
2448
|
+
if (yych == 's') goto yy352;
|
2442
2449
|
goto yy67;
|
2443
|
-
|
2450
|
+
yy350:
|
2444
2451
|
skip(state);
|
2445
2452
|
yych = peek(state);
|
2446
|
-
if (yych == 'r') goto
|
2453
|
+
if (yych == 'r') goto yy353;
|
2447
2454
|
goto yy67;
|
2448
|
-
|
2455
|
+
yy351:
|
2449
2456
|
skip(state);
|
2450
2457
|
yych = peek(state);
|
2451
|
-
if (yych == 'r') goto
|
2458
|
+
if (yych == 'r') goto yy355;
|
2452
2459
|
goto yy67;
|
2453
|
-
|
2460
|
+
yy352:
|
2454
2461
|
skip(state);
|
2455
2462
|
yych = peek(state);
|
2456
|
-
if (yych == 'o') goto
|
2463
|
+
if (yych == 'o') goto yy357;
|
2457
2464
|
goto yy67;
|
2458
|
-
|
2465
|
+
yy353:
|
2459
2466
|
skip(state);
|
2460
2467
|
yych = peek(state);
|
2461
2468
|
if (yych <= '=') {
|
@@ -2467,18 +2474,18 @@ yy351:
|
|
2467
2474
|
}
|
2468
2475
|
} else {
|
2469
2476
|
if (yych <= '^') {
|
2470
|
-
if (yych <= '@') goto
|
2477
|
+
if (yych <= '@') goto yy354;
|
2471
2478
|
if (yych <= 'Z') goto yy66;
|
2472
2479
|
} else {
|
2473
|
-
if (yych == '`') goto
|
2480
|
+
if (yych == '`') goto yy354;
|
2474
2481
|
if (yych <= 'z') goto yy66;
|
2475
2482
|
}
|
2476
2483
|
}
|
2477
|
-
|
2478
|
-
#line
|
2484
|
+
yy354:
|
2485
|
+
#line 69 "ext/rbs_extension/lexer.re"
|
2479
2486
|
{ return next_token(state, kATTRREADER); }
|
2480
|
-
#line
|
2481
|
-
|
2487
|
+
#line 2488 "ext/rbs_extension/lexer.c"
|
2488
|
+
yy355:
|
2482
2489
|
skip(state);
|
2483
2490
|
yych = peek(state);
|
2484
2491
|
if (yych <= '=') {
|
@@ -2490,18 +2497,18 @@ yy353:
|
|
2490
2497
|
}
|
2491
2498
|
} else {
|
2492
2499
|
if (yych <= '^') {
|
2493
|
-
if (yych <= '@') goto
|
2500
|
+
if (yych <= '@') goto yy356;
|
2494
2501
|
if (yych <= 'Z') goto yy66;
|
2495
2502
|
} else {
|
2496
|
-
if (yych == '`') goto
|
2503
|
+
if (yych == '`') goto yy356;
|
2497
2504
|
if (yych <= 'z') goto yy66;
|
2498
2505
|
}
|
2499
2506
|
}
|
2500
|
-
|
2501
|
-
#line
|
2507
|
+
yy356:
|
2508
|
+
#line 70 "ext/rbs_extension/lexer.re"
|
2502
2509
|
{ return next_token(state, kATTRWRITER); }
|
2503
|
-
#line
|
2504
|
-
|
2510
|
+
#line 2511 "ext/rbs_extension/lexer.c"
|
2511
|
+
yy357:
|
2505
2512
|
skip(state);
|
2506
2513
|
yych = peek(state);
|
2507
2514
|
if (yych != 'r') goto yy67;
|
@@ -2516,18 +2523,18 @@ yy355:
|
|
2516
2523
|
}
|
2517
2524
|
} else {
|
2518
2525
|
if (yych <= '^') {
|
2519
|
-
if (yych <= '@') goto
|
2526
|
+
if (yych <= '@') goto yy359;
|
2520
2527
|
if (yych <= 'Z') goto yy66;
|
2521
2528
|
} else {
|
2522
|
-
if (yych == '`') goto
|
2529
|
+
if (yych == '`') goto yy359;
|
2523
2530
|
if (yych <= 'z') goto yy66;
|
2524
2531
|
}
|
2525
2532
|
}
|
2526
|
-
|
2527
|
-
#line
|
2533
|
+
yy359:
|
2534
|
+
#line 68 "ext/rbs_extension/lexer.re"
|
2528
2535
|
{ return next_token(state, kATTRACCESSOR); }
|
2529
|
-
#line
|
2536
|
+
#line 2537 "ext/rbs_extension/lexer.c"
|
2530
2537
|
}
|
2531
|
-
#line
|
2538
|
+
#line 140 "ext/rbs_extension/lexer.re"
|
2532
2539
|
|
2533
2540
|
}
|