rbs 3.4.4 → 3.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +12 -4
- data/.github/workflows/dependabot.yml +26 -0
- data/.github/workflows/ruby.yml +14 -1
- data/CHANGELOG.md +87 -1
- data/README.md +5 -3
- data/Rakefile +20 -3
- data/Steepfile +1 -1
- data/core/enumerator.rbs +1 -1
- data/core/float.rbs +2 -1
- data/core/gc.rbs +272 -150
- data/core/integer.rbs +6 -4
- data/core/io/wait.rbs +4 -4
- data/core/io.rbs +10 -3
- data/core/kernel.rbs +8 -7
- data/core/module.rbs +17 -4
- data/core/proc.rbs +1 -1
- data/core/range.rbs +2 -2
- data/core/rational.rbs +2 -1
- data/core/regexp.rbs +101 -90
- data/core/ruby_vm.rbs +107 -103
- data/core/rubygems/rubygems.rbs +1 -1
- data/core/set.rbs +13 -7
- data/core/string.rbs +3 -3
- data/core/symbol.rbs +2 -1
- data/core/thread.rbs +1 -1
- data/core/time.rbs +24 -4
- data/docs/architecture.md +110 -0
- data/docs/gem.md +0 -1
- data/docs/syntax.md +5 -1
- data/ext/rbs_extension/constants.c +2 -0
- data/ext/rbs_extension/constants.h +1 -0
- data/ext/rbs_extension/lexer.c +1338 -1341
- data/ext/rbs_extension/lexer.h +2 -0
- data/ext/rbs_extension/lexer.re +2 -3
- data/ext/rbs_extension/lexstate.c +5 -1
- data/ext/rbs_extension/location.c +80 -70
- data/ext/rbs_extension/location.h +25 -5
- data/ext/rbs_extension/parser.c +149 -43
- data/ext/rbs_extension/parserstate.c +12 -1
- data/ext/rbs_extension/parserstate.h +9 -0
- data/ext/rbs_extension/ruby_objs.c +13 -3
- data/ext/rbs_extension/ruby_objs.h +1 -0
- data/lib/rbs/cli/validate.rb +2 -2
- data/lib/rbs/cli.rb +4 -6
- data/lib/rbs/collection/config.rb +1 -1
- data/lib/rbs/collection/sources/git.rb +1 -6
- data/lib/rbs/definition_builder/method_builder.rb +1 -1
- data/lib/rbs/definition_builder.rb +8 -8
- data/lib/rbs/diff.rb +1 -1
- data/lib/rbs/environment_loader.rb +2 -1
- data/lib/rbs/errors.rb +0 -14
- data/lib/rbs/location_aux.rb +6 -1
- data/lib/rbs/parser/lex_result.rb +15 -0
- data/lib/rbs/parser/token.rb +23 -0
- data/lib/rbs/parser_aux.rb +12 -5
- data/lib/rbs/prototype/helpers.rb +22 -12
- data/lib/rbs/prototype/rb.rb +38 -4
- data/lib/rbs/prototype/rbi.rb +30 -20
- data/lib/rbs/test/errors.rb +19 -14
- data/lib/rbs/test/tester.rb +1 -1
- data/lib/rbs/test/type_check.rb +95 -16
- data/lib/rbs/types.rb +112 -13
- data/lib/rbs/unit_test/spy.rb +1 -1
- data/lib/rbs/version.rb +1 -1
- data/rbs.gemspec +7 -2
- data/sig/environment_loader.rbs +1 -1
- data/sig/errors.rbs +1 -1
- data/sig/manifest.yaml +0 -1
- data/sig/method_types.rbs +3 -3
- data/sig/parser.rbs +28 -0
- data/sig/prototype/helpers.rbs +4 -0
- data/sig/prototype/rbi.rbs +2 -0
- data/sig/types.rbs +54 -4
- data/sig/variance_calculator.rbs +2 -2
- data/stdlib/csv/0/csv.rbs +4 -1
- data/stdlib/fileutils/0/fileutils.rbs +1 -1
- data/stdlib/net-http/0/net-http.rbs +29 -27
- data/stdlib/socket/0/socket.rbs +2 -2
- data/stdlib/timeout/0/timeout.rbs +6 -0
- data/stdlib/uri/0/generic.rbs +2 -2
- data/stdlib/uri/0/http.rbs +2 -2
- data/stdlib/uri/0/mailto.rbs +84 -0
- metadata +7 -9
- data/Gemfile +0 -30
- data/Gemfile.lock +0 -117
- data/lib/rbs/parser_compat/lexer_error.rb +0 -6
- data/lib/rbs/parser_compat/located_value.rb +0 -7
- data/lib/rbs/parser_compat/semantics_error.rb +0 -6
- data/lib/rbs/parser_compat/syntax_error.rb +0 -6
data/ext/rbs_extension/lexer.c
CHANGED
@@ -5,11 +5,10 @@
|
|
5
5
|
token rbsparser_next_token(lexstate *state) {
|
6
6
|
lexstate backup;
|
7
7
|
|
8
|
-
start:
|
9
8
|
backup = *state;
|
10
9
|
|
11
10
|
|
12
|
-
#line
|
11
|
+
#line 12 "ext/rbs_extension/lexer.c"
|
13
12
|
{
|
14
13
|
unsigned int yych;
|
15
14
|
unsigned int yyaccept = 0;
|
@@ -17,25 +16,25 @@ start:
|
|
17
16
|
switch (yych) {
|
18
17
|
case 0x00000000: goto yy1;
|
19
18
|
case '\t':
|
20
|
-
case '\n':
|
21
|
-
case '\r':
|
22
19
|
case ' ': goto yy4;
|
23
|
-
case '
|
24
|
-
case '
|
25
|
-
case '
|
26
|
-
case '
|
27
|
-
case '
|
28
|
-
case '
|
29
|
-
case '
|
30
|
-
case '
|
31
|
-
case '
|
32
|
-
case '
|
33
|
-
case '
|
34
|
-
case '
|
35
|
-
case '
|
36
|
-
case '
|
20
|
+
case '\n':
|
21
|
+
case '\r': goto yy6;
|
22
|
+
case '!': goto yy7;
|
23
|
+
case '"': goto yy9;
|
24
|
+
case '#': goto yy10;
|
25
|
+
case '$': goto yy12;
|
26
|
+
case '%': goto yy13;
|
27
|
+
case '&': goto yy14;
|
28
|
+
case '\'': goto yy15;
|
29
|
+
case '(': goto yy16;
|
30
|
+
case ')': goto yy17;
|
31
|
+
case '*': goto yy18;
|
32
|
+
case '+': goto yy19;
|
33
|
+
case ',': goto yy20;
|
34
|
+
case '-': goto yy21;
|
35
|
+
case '.': goto yy22;
|
37
36
|
case '/':
|
38
|
-
case '~': goto
|
37
|
+
case '~': goto yy24;
|
39
38
|
case '0':
|
40
39
|
case '1':
|
41
40
|
case '2':
|
@@ -45,13 +44,13 @@ start:
|
|
45
44
|
case '6':
|
46
45
|
case '7':
|
47
46
|
case '8':
|
48
|
-
case '9': goto
|
49
|
-
case ':': goto
|
50
|
-
case '<': goto
|
51
|
-
case '=': goto
|
52
|
-
case '>': goto
|
53
|
-
case '?': goto
|
54
|
-
case '@': goto
|
47
|
+
case '9': goto yy25;
|
48
|
+
case ':': goto yy27;
|
49
|
+
case '<': goto yy29;
|
50
|
+
case '=': goto yy31;
|
51
|
+
case '>': goto yy33;
|
52
|
+
case '?': goto yy34;
|
53
|
+
case '@': goto yy35;
|
55
54
|
case 'A':
|
56
55
|
case 'B':
|
57
56
|
case 'C':
|
@@ -77,18 +76,18 @@ start:
|
|
77
76
|
case 'W':
|
78
77
|
case 'X':
|
79
78
|
case 'Y':
|
80
|
-
case 'Z': goto
|
81
|
-
case '[': goto
|
82
|
-
case ']': goto
|
83
|
-
case '^': goto
|
84
|
-
case '_': goto
|
85
|
-
case '`': goto
|
86
|
-
case 'a': goto
|
87
|
-
case 'b': goto
|
88
|
-
case 'c': goto
|
89
|
-
case 'd': goto
|
90
|
-
case 'e': goto
|
91
|
-
case 'f': goto
|
79
|
+
case 'Z': goto yy36;
|
80
|
+
case '[': goto yy38;
|
81
|
+
case ']': goto yy39;
|
82
|
+
case '^': goto yy40;
|
83
|
+
case '_': goto yy41;
|
84
|
+
case '`': goto yy43;
|
85
|
+
case 'a': goto yy45;
|
86
|
+
case 'b': goto yy47;
|
87
|
+
case 'c': goto yy48;
|
88
|
+
case 'd': goto yy49;
|
89
|
+
case 'e': goto yy50;
|
90
|
+
case 'f': goto yy51;
|
92
91
|
case 'g':
|
93
92
|
case 'h':
|
94
93
|
case 'j':
|
@@ -99,230 +98,228 @@ start:
|
|
99
98
|
case 'w':
|
100
99
|
case 'x':
|
101
100
|
case 'y':
|
102
|
-
case 'z': goto
|
103
|
-
case 'i': goto
|
104
|
-
case 'm': goto
|
105
|
-
case 'n': goto
|
106
|
-
case 'o': goto
|
107
|
-
case 'p': goto
|
108
|
-
case 's': goto
|
109
|
-
case 't': goto
|
110
|
-
case 'u': goto
|
111
|
-
case 'v': goto
|
112
|
-
case '{': goto
|
113
|
-
case '|': goto
|
114
|
-
case '}': goto
|
101
|
+
case 'z': goto yy52;
|
102
|
+
case 'i': goto yy54;
|
103
|
+
case 'm': goto yy55;
|
104
|
+
case 'n': goto yy56;
|
105
|
+
case 'o': goto yy57;
|
106
|
+
case 'p': goto yy58;
|
107
|
+
case 's': goto yy59;
|
108
|
+
case 't': goto yy60;
|
109
|
+
case 'u': goto yy61;
|
110
|
+
case 'v': goto yy62;
|
111
|
+
case '{': goto yy63;
|
112
|
+
case '|': goto yy64;
|
113
|
+
case '}': goto yy65;
|
115
114
|
default: goto yy2;
|
116
115
|
}
|
117
116
|
yy1:
|
118
117
|
rbs_skip(state);
|
119
|
-
#line
|
118
|
+
#line 144 "ext/rbs_extension/lexer.re"
|
120
119
|
{ return next_token(state, pEOF); }
|
121
|
-
#line
|
120
|
+
#line 121 "ext/rbs_extension/lexer.c"
|
122
121
|
yy2:
|
123
122
|
rbs_skip(state);
|
124
123
|
yy3:
|
125
|
-
#line
|
124
|
+
#line 145 "ext/rbs_extension/lexer.re"
|
126
125
|
{ return next_token(state, ErrorToken); }
|
127
|
-
#line
|
126
|
+
#line 127 "ext/rbs_extension/lexer.c"
|
128
127
|
yy4:
|
129
128
|
rbs_skip(state);
|
130
129
|
yych = peek(state);
|
131
|
-
if (yych
|
132
|
-
|
133
|
-
if (yych <= '\n') goto yy4;
|
134
|
-
} else {
|
135
|
-
if (yych <= '\r') goto yy4;
|
136
|
-
if (yych == ' ') goto yy4;
|
137
|
-
}
|
130
|
+
if (yych == '\t') goto yy4;
|
131
|
+
if (yych == ' ') goto yy4;
|
138
132
|
yy5:
|
139
|
-
#line
|
140
|
-
{
|
141
|
-
#line
|
133
|
+
#line 143 "ext/rbs_extension/lexer.re"
|
134
|
+
{ return next_token(state, tTRIVIA); }
|
135
|
+
#line 136 "ext/rbs_extension/lexer.c"
|
142
136
|
yy6:
|
143
137
|
rbs_skip(state);
|
144
|
-
|
145
|
-
if (yych == '=') goto yy23;
|
146
|
-
if (yych == '~') goto yy23;
|
138
|
+
goto yy5;
|
147
139
|
yy7:
|
148
|
-
|
149
|
-
|
150
|
-
|
140
|
+
rbs_skip(state);
|
141
|
+
yych = peek(state);
|
142
|
+
if (yych == '=') goto yy24;
|
143
|
+
if (yych == '~') goto yy24;
|
151
144
|
yy8:
|
145
|
+
#line 48 "ext/rbs_extension/lexer.re"
|
146
|
+
{ return next_token(state, tOPERATOR); }
|
147
|
+
#line 148 "ext/rbs_extension/lexer.c"
|
148
|
+
yy9:
|
152
149
|
yyaccept = 0;
|
153
150
|
rbs_skip(state);
|
154
151
|
backup = *state;
|
155
152
|
yych = peek(state);
|
156
153
|
if (yych <= 0x00000000) goto yy3;
|
157
|
-
goto
|
158
|
-
|
154
|
+
goto yy67;
|
155
|
+
yy10:
|
159
156
|
rbs_skip(state);
|
160
157
|
yych = peek(state);
|
161
|
-
if (yych <= 0x00000000) goto
|
162
|
-
if (yych != '\n') goto
|
163
|
-
|
164
|
-
#line
|
158
|
+
if (yych <= 0x00000000) goto yy11;
|
159
|
+
if (yych != '\n') goto yy10;
|
160
|
+
yy11:
|
161
|
+
#line 59 "ext/rbs_extension/lexer.re"
|
165
162
|
{
|
166
163
|
return next_token(
|
167
164
|
state,
|
168
165
|
state->first_token_of_line ? tLINECOMMENT : tCOMMENT
|
169
166
|
);
|
170
167
|
}
|
171
|
-
#line
|
172
|
-
|
168
|
+
#line 169 "ext/rbs_extension/lexer.c"
|
169
|
+
yy12:
|
173
170
|
rbs_skip(state);
|
174
171
|
yych = peek(state);
|
175
172
|
if (yych <= ')') {
|
176
173
|
if (yych <= 0x0000001F) {
|
177
174
|
if (yych <= '\n') {
|
178
175
|
if (yych <= 0x00000000) goto yy3;
|
179
|
-
if (yych <= 0x00000008) goto
|
176
|
+
if (yych <= 0x00000008) goto yy71;
|
180
177
|
goto yy3;
|
181
178
|
} else {
|
182
179
|
if (yych == '\r') goto yy3;
|
183
|
-
goto
|
180
|
+
goto yy71;
|
184
181
|
}
|
185
182
|
} else {
|
186
183
|
if (yych <= '#') {
|
187
184
|
if (yych <= ' ') goto yy3;
|
188
|
-
if (yych <= '"') goto
|
189
|
-
goto
|
185
|
+
if (yych <= '"') goto yy73;
|
186
|
+
goto yy71;
|
190
187
|
} else {
|
191
188
|
if (yych == '%') goto yy3;
|
192
|
-
if (yych <= '\'') goto
|
189
|
+
if (yych <= '\'') goto yy73;
|
193
190
|
goto yy3;
|
194
191
|
}
|
195
192
|
}
|
196
193
|
} else {
|
197
194
|
if (yych <= 'Z') {
|
198
195
|
if (yych <= '/') {
|
199
|
-
if (yych == '-') goto
|
200
|
-
goto
|
196
|
+
if (yych == '-') goto yy71;
|
197
|
+
goto yy73;
|
201
198
|
} else {
|
202
|
-
if (yych <= '9') goto
|
203
|
-
if (yych <= '>') goto
|
204
|
-
goto
|
199
|
+
if (yych <= '9') goto yy71;
|
200
|
+
if (yych <= '>') goto yy73;
|
201
|
+
goto yy71;
|
205
202
|
}
|
206
203
|
} else {
|
207
204
|
if (yych <= '^') {
|
208
|
-
if (yych == '\\') goto
|
205
|
+
if (yych == '\\') goto yy73;
|
209
206
|
goto yy3;
|
210
207
|
} else {
|
211
|
-
if (yych <= 'z') goto
|
208
|
+
if (yych <= 'z') goto yy71;
|
212
209
|
if (yych <= '}') goto yy3;
|
213
|
-
if (yych <= '~') goto
|
214
|
-
goto
|
210
|
+
if (yych <= '~') goto yy73;
|
211
|
+
goto yy71;
|
215
212
|
}
|
216
213
|
}
|
217
214
|
}
|
218
|
-
|
215
|
+
yy13:
|
219
216
|
yyaccept = 1;
|
220
217
|
rbs_skip(state);
|
221
218
|
backup = *state;
|
222
219
|
yych = peek(state);
|
223
|
-
if (yych == 'a') goto
|
224
|
-
goto
|
225
|
-
|
220
|
+
if (yych == 'a') goto yy74;
|
221
|
+
goto yy8;
|
222
|
+
yy14:
|
226
223
|
rbs_skip(state);
|
227
|
-
#line
|
224
|
+
#line 33 "ext/rbs_extension/lexer.re"
|
228
225
|
{ return next_token(state, pAMP); }
|
229
|
-
#line
|
230
|
-
|
226
|
+
#line 227 "ext/rbs_extension/lexer.c"
|
227
|
+
yy15:
|
231
228
|
yyaccept = 0;
|
232
229
|
rbs_skip(state);
|
233
230
|
backup = *state;
|
234
231
|
yych = peek(state);
|
235
232
|
if (yych <= 0x00000000) goto yy3;
|
236
|
-
goto
|
237
|
-
|
233
|
+
goto yy76;
|
234
|
+
yy16:
|
238
235
|
rbs_skip(state);
|
239
|
-
#line
|
236
|
+
#line 24 "ext/rbs_extension/lexer.re"
|
240
237
|
{ return next_token(state, pLPAREN); }
|
241
|
-
#line
|
242
|
-
|
238
|
+
#line 239 "ext/rbs_extension/lexer.c"
|
239
|
+
yy17:
|
243
240
|
rbs_skip(state);
|
244
|
-
#line
|
241
|
+
#line 25 "ext/rbs_extension/lexer.re"
|
245
242
|
{ return next_token(state, pRPAREN); }
|
246
|
-
#line
|
247
|
-
|
243
|
+
#line 244 "ext/rbs_extension/lexer.c"
|
244
|
+
yy18:
|
248
245
|
rbs_skip(state);
|
249
246
|
yych = peek(state);
|
250
|
-
if (yych == '*') goto
|
251
|
-
#line
|
247
|
+
if (yych == '*') goto yy80;
|
248
|
+
#line 35 "ext/rbs_extension/lexer.re"
|
252
249
|
{ return next_token(state, pSTAR); }
|
253
|
-
#line
|
254
|
-
|
250
|
+
#line 251 "ext/rbs_extension/lexer.c"
|
251
|
+
yy19:
|
255
252
|
rbs_skip(state);
|
256
253
|
yych = peek(state);
|
257
|
-
if (yych <= '/') goto
|
258
|
-
if (yych <= '9') goto
|
259
|
-
if (yych == '@') goto
|
260
|
-
goto
|
261
|
-
|
254
|
+
if (yych <= '/') goto yy8;
|
255
|
+
if (yych <= '9') goto yy25;
|
256
|
+
if (yych == '@') goto yy24;
|
257
|
+
goto yy8;
|
258
|
+
yy20:
|
262
259
|
rbs_skip(state);
|
263
|
-
#line
|
260
|
+
#line 30 "ext/rbs_extension/lexer.re"
|
264
261
|
{ return next_token(state, pCOMMA); }
|
265
|
-
#line
|
266
|
-
|
262
|
+
#line 263 "ext/rbs_extension/lexer.c"
|
263
|
+
yy21:
|
267
264
|
rbs_skip(state);
|
268
265
|
yych = peek(state);
|
269
266
|
if (yych <= '=') {
|
270
|
-
if (yych <= '/') goto
|
271
|
-
if (yych <= '9') goto
|
272
|
-
goto
|
267
|
+
if (yych <= '/') goto yy8;
|
268
|
+
if (yych <= '9') goto yy25;
|
269
|
+
goto yy8;
|
273
270
|
} else {
|
274
|
-
if (yych <= '>') goto
|
275
|
-
if (yych == '@') goto
|
276
|
-
goto
|
271
|
+
if (yych <= '>') goto yy81;
|
272
|
+
if (yych == '@') goto yy24;
|
273
|
+
goto yy8;
|
277
274
|
}
|
278
|
-
|
275
|
+
yy22:
|
279
276
|
yyaccept = 2;
|
280
277
|
rbs_skip(state);
|
281
278
|
backup = *state;
|
282
279
|
yych = peek(state);
|
283
|
-
if (yych == '.') goto
|
284
|
-
yy22:
|
285
|
-
#line 38 "ext/rbs_extension/lexer.re"
|
286
|
-
{ return next_token(state, pDOT); }
|
287
|
-
#line 288 "ext/rbs_extension/lexer.c"
|
280
|
+
if (yych == '.') goto yy82;
|
288
281
|
yy23:
|
289
|
-
|
290
|
-
|
282
|
+
#line 37 "ext/rbs_extension/lexer.re"
|
283
|
+
{ return next_token(state, pDOT); }
|
284
|
+
#line 285 "ext/rbs_extension/lexer.c"
|
291
285
|
yy24:
|
292
286
|
rbs_skip(state);
|
293
|
-
|
294
|
-
if (yych <= '/') goto yy25;
|
295
|
-
if (yych <= '9') goto yy24;
|
296
|
-
if (yych == '_') goto yy24;
|
287
|
+
goto yy8;
|
297
288
|
yy25:
|
298
|
-
|
299
|
-
|
300
|
-
|
289
|
+
rbs_skip(state);
|
290
|
+
yych = peek(state);
|
291
|
+
if (yych <= '/') goto yy26;
|
292
|
+
if (yych <= '9') goto yy25;
|
293
|
+
if (yych == '_') goto yy25;
|
301
294
|
yy26:
|
295
|
+
#line 51 "ext/rbs_extension/lexer.re"
|
296
|
+
{ return next_token(state, tINTEGER); }
|
297
|
+
#line 298 "ext/rbs_extension/lexer.c"
|
298
|
+
yy27:
|
302
299
|
yyaccept = 3;
|
303
300
|
rbs_skip(state);
|
304
301
|
backup = *state;
|
305
302
|
yych = peek(state);
|
306
303
|
switch (yych) {
|
307
|
-
case '!': goto
|
308
|
-
case '"': goto
|
309
|
-
case '$': goto
|
304
|
+
case '!': goto yy83;
|
305
|
+
case '"': goto yy85;
|
306
|
+
case '$': goto yy86;
|
310
307
|
case '%':
|
311
308
|
case '&':
|
312
309
|
case '/':
|
313
310
|
case '^':
|
314
311
|
case '`':
|
315
312
|
case '|':
|
316
|
-
case '~': goto
|
317
|
-
case '\'': goto
|
318
|
-
case '*': goto
|
313
|
+
case '~': goto yy87;
|
314
|
+
case '\'': goto yy88;
|
315
|
+
case '*': goto yy89;
|
319
316
|
case '+':
|
320
|
-
case '-': goto
|
321
|
-
case ':': goto
|
322
|
-
case '<': goto
|
323
|
-
case '=': goto
|
324
|
-
case '>': goto
|
325
|
-
case '@': goto
|
317
|
+
case '-': goto yy90;
|
318
|
+
case ':': goto yy91;
|
319
|
+
case '<': goto yy92;
|
320
|
+
case '=': goto yy93;
|
321
|
+
case '>': goto yy94;
|
322
|
+
case '@': goto yy95;
|
326
323
|
case 'A':
|
327
324
|
case 'B':
|
328
325
|
case 'C':
|
@@ -375,2357 +372,2357 @@ yy26:
|
|
375
372
|
case 'w':
|
376
373
|
case 'x':
|
377
374
|
case 'y':
|
378
|
-
case 'z': goto
|
379
|
-
case '[': goto
|
380
|
-
default: goto
|
375
|
+
case 'z': goto yy96;
|
376
|
+
case '[': goto yy98;
|
377
|
+
default: goto yy28;
|
381
378
|
}
|
382
|
-
yy27:
|
383
|
-
#line 45 "ext/rbs_extension/lexer.re"
|
384
|
-
{ return next_token(state, pCOLON); }
|
385
|
-
#line 386 "ext/rbs_extension/lexer.c"
|
386
379
|
yy28:
|
380
|
+
#line 44 "ext/rbs_extension/lexer.re"
|
381
|
+
{ return next_token(state, pCOLON); }
|
382
|
+
#line 383 "ext/rbs_extension/lexer.c"
|
383
|
+
yy29:
|
387
384
|
rbs_skip(state);
|
388
385
|
yych = peek(state);
|
389
|
-
if (yych <= ';') goto
|
390
|
-
if (yych <= '<') goto
|
391
|
-
if (yych <= '=') goto
|
392
|
-
yy29:
|
393
|
-
#line 47 "ext/rbs_extension/lexer.re"
|
394
|
-
{ return next_token(state, pLT); }
|
395
|
-
#line 396 "ext/rbs_extension/lexer.c"
|
386
|
+
if (yych <= ';') goto yy30;
|
387
|
+
if (yych <= '<') goto yy24;
|
388
|
+
if (yych <= '=') goto yy99;
|
396
389
|
yy30:
|
390
|
+
#line 46 "ext/rbs_extension/lexer.re"
|
391
|
+
{ return next_token(state, pLT); }
|
392
|
+
#line 393 "ext/rbs_extension/lexer.c"
|
393
|
+
yy31:
|
397
394
|
rbs_skip(state);
|
398
395
|
yych = peek(state);
|
399
396
|
if (yych <= '>') {
|
400
|
-
if (yych <= '<') goto
|
401
|
-
if (yych <= '=') goto
|
402
|
-
goto
|
397
|
+
if (yych <= '<') goto yy32;
|
398
|
+
if (yych <= '=') goto yy100;
|
399
|
+
goto yy101;
|
403
400
|
} else {
|
404
|
-
if (yych == '~') goto
|
401
|
+
if (yych == '~') goto yy24;
|
405
402
|
}
|
406
|
-
yy31:
|
407
|
-
#line 44 "ext/rbs_extension/lexer.re"
|
408
|
-
{ return next_token(state, pEQ); }
|
409
|
-
#line 410 "ext/rbs_extension/lexer.c"
|
410
403
|
yy32:
|
404
|
+
#line 43 "ext/rbs_extension/lexer.re"
|
405
|
+
{ return next_token(state, pEQ); }
|
406
|
+
#line 407 "ext/rbs_extension/lexer.c"
|
407
|
+
yy33:
|
411
408
|
rbs_skip(state);
|
412
409
|
yych = peek(state);
|
413
|
-
if (yych <= '<') goto
|
414
|
-
if (yych <= '>') goto
|
415
|
-
goto
|
416
|
-
|
410
|
+
if (yych <= '<') goto yy8;
|
411
|
+
if (yych <= '>') goto yy24;
|
412
|
+
goto yy8;
|
413
|
+
yy34:
|
417
414
|
rbs_skip(state);
|
418
|
-
#line
|
415
|
+
#line 34 "ext/rbs_extension/lexer.re"
|
419
416
|
{ return next_token(state, pQUESTION); }
|
420
|
-
#line
|
421
|
-
|
417
|
+
#line 418 "ext/rbs_extension/lexer.c"
|
418
|
+
yy35:
|
422
419
|
yyaccept = 0;
|
423
420
|
rbs_skip(state);
|
424
421
|
backup = *state;
|
425
422
|
yych = peek(state);
|
426
423
|
if (yych <= '^') {
|
427
424
|
if (yych <= '?') goto yy3;
|
428
|
-
if (yych <= '@') goto
|
429
|
-
if (yych <= 'Z') goto
|
425
|
+
if (yych <= '@') goto yy102;
|
426
|
+
if (yych <= 'Z') goto yy103;
|
430
427
|
goto yy3;
|
431
428
|
} else {
|
432
429
|
if (yych == '`') goto yy3;
|
433
|
-
if (yych <= 'z') goto
|
430
|
+
if (yych <= 'z') goto yy103;
|
434
431
|
goto yy3;
|
435
432
|
}
|
436
|
-
|
433
|
+
yy36:
|
437
434
|
rbs_skip(state);
|
438
435
|
yych = peek(state);
|
439
436
|
if (yych <= '=') {
|
440
437
|
if (yych <= '/') {
|
441
|
-
if (yych == '!') goto
|
438
|
+
if (yych == '!') goto yy105;
|
442
439
|
} else {
|
443
|
-
if (yych <= '9') goto
|
444
|
-
if (yych >= '=') goto
|
440
|
+
if (yych <= '9') goto yy36;
|
441
|
+
if (yych >= '=') goto yy106;
|
445
442
|
}
|
446
443
|
} else {
|
447
444
|
if (yych <= '^') {
|
448
|
-
if (yych <= '@') goto
|
449
|
-
if (yych <= 'Z') goto
|
445
|
+
if (yych <= '@') goto yy37;
|
446
|
+
if (yych <= 'Z') goto yy36;
|
450
447
|
} else {
|
451
|
-
if (yych == '`') goto
|
452
|
-
if (yych <= 'z') goto
|
448
|
+
if (yych == '`') goto yy37;
|
449
|
+
if (yych <= 'z') goto yy36;
|
453
450
|
}
|
454
451
|
}
|
455
|
-
yy36:
|
456
|
-
#line 130 "ext/rbs_extension/lexer.re"
|
457
|
-
{ return next_token(state, tUIDENT); }
|
458
|
-
#line 459 "ext/rbs_extension/lexer.c"
|
459
452
|
yy37:
|
453
|
+
#line 129 "ext/rbs_extension/lexer.re"
|
454
|
+
{ return next_token(state, tUIDENT); }
|
455
|
+
#line 456 "ext/rbs_extension/lexer.c"
|
456
|
+
yy38:
|
460
457
|
rbs_skip(state);
|
461
458
|
yych = peek(state);
|
462
|
-
if (yych == ']') goto
|
463
|
-
#line
|
459
|
+
if (yych == ']') goto yy107;
|
460
|
+
#line 26 "ext/rbs_extension/lexer.re"
|
464
461
|
{ return next_token(state, pLBRACKET); }
|
465
|
-
#line
|
466
|
-
|
462
|
+
#line 463 "ext/rbs_extension/lexer.c"
|
463
|
+
yy39:
|
467
464
|
rbs_skip(state);
|
468
|
-
#line
|
465
|
+
#line 27 "ext/rbs_extension/lexer.re"
|
469
466
|
{ return next_token(state, pRBRACKET); }
|
470
|
-
#line
|
471
|
-
|
467
|
+
#line 468 "ext/rbs_extension/lexer.c"
|
468
|
+
yy40:
|
472
469
|
rbs_skip(state);
|
473
|
-
#line
|
470
|
+
#line 32 "ext/rbs_extension/lexer.re"
|
474
471
|
{ return next_token(state, pHAT); }
|
475
|
-
#line
|
476
|
-
|
472
|
+
#line 473 "ext/rbs_extension/lexer.c"
|
473
|
+
yy41:
|
477
474
|
rbs_skip(state);
|
478
475
|
yych = peek(state);
|
479
476
|
if (yych <= '=') {
|
480
477
|
if (yych <= '/') {
|
481
|
-
if (yych == '!') goto
|
478
|
+
if (yych == '!') goto yy105;
|
482
479
|
} else {
|
483
|
-
if (yych <= '9') goto
|
484
|
-
if (yych >= '=') goto
|
480
|
+
if (yych <= '9') goto yy108;
|
481
|
+
if (yych >= '=') goto yy106;
|
485
482
|
}
|
486
483
|
} else {
|
487
484
|
if (yych <= '^') {
|
488
|
-
if (yych <= '@') goto
|
489
|
-
if (yych <= 'Z') goto
|
485
|
+
if (yych <= '@') goto yy42;
|
486
|
+
if (yych <= 'Z') goto yy111;
|
490
487
|
} else {
|
491
|
-
if (yych <= '_') goto
|
492
|
-
if (yych <= '`') goto
|
493
|
-
if (yych <= 'z') goto
|
488
|
+
if (yych <= '_') goto yy113;
|
489
|
+
if (yych <= '`') goto yy42;
|
490
|
+
if (yych <= 'z') goto yy108;
|
494
491
|
}
|
495
492
|
}
|
496
|
-
yy41:
|
497
|
-
#line 133 "ext/rbs_extension/lexer.re"
|
498
|
-
{ return next_token(state, tULLIDENT); }
|
499
|
-
#line 500 "ext/rbs_extension/lexer.c"
|
500
493
|
yy42:
|
494
|
+
#line 132 "ext/rbs_extension/lexer.re"
|
495
|
+
{ return next_token(state, tULLIDENT); }
|
496
|
+
#line 497 "ext/rbs_extension/lexer.c"
|
497
|
+
yy43:
|
501
498
|
yyaccept = 4;
|
502
499
|
rbs_skip(state);
|
503
500
|
backup = *state;
|
504
501
|
yych = peek(state);
|
505
502
|
if (yych <= ' ') {
|
506
|
-
if (yych <= 0x00000000) goto
|
507
|
-
if (yych <= 0x0000001F) goto
|
503
|
+
if (yych <= 0x00000000) goto yy44;
|
504
|
+
if (yych <= 0x0000001F) goto yy114;
|
508
505
|
} else {
|
509
|
-
if (yych != ':') goto
|
506
|
+
if (yych != ':') goto yy114;
|
510
507
|
}
|
511
|
-
yy43:
|
512
|
-
#line 40 "ext/rbs_extension/lexer.re"
|
513
|
-
{ return next_token(state, tOPERATOR); }
|
514
|
-
#line 515 "ext/rbs_extension/lexer.c"
|
515
508
|
yy44:
|
509
|
+
#line 39 "ext/rbs_extension/lexer.re"
|
510
|
+
{ return next_token(state, tOPERATOR); }
|
511
|
+
#line 512 "ext/rbs_extension/lexer.c"
|
512
|
+
yy45:
|
516
513
|
rbs_skip(state);
|
517
514
|
yych = peek(state);
|
518
515
|
if (yych <= 'r') {
|
519
|
-
if (yych == 'l') goto
|
520
|
-
goto
|
516
|
+
if (yych == 'l') goto yy115;
|
517
|
+
goto yy53;
|
521
518
|
} else {
|
522
|
-
if (yych <= 's') goto
|
523
|
-
if (yych <= 't') goto
|
524
|
-
goto
|
519
|
+
if (yych <= 's') goto yy116;
|
520
|
+
if (yych <= 't') goto yy118;
|
521
|
+
goto yy53;
|
525
522
|
}
|
526
|
-
yy45:
|
527
|
-
#line 129 "ext/rbs_extension/lexer.re"
|
528
|
-
{ return next_token(state, tLIDENT); }
|
529
|
-
#line 530 "ext/rbs_extension/lexer.c"
|
530
523
|
yy46:
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
goto yy52;
|
524
|
+
#line 128 "ext/rbs_extension/lexer.re"
|
525
|
+
{ return next_token(state, tLIDENT); }
|
526
|
+
#line 527 "ext/rbs_extension/lexer.c"
|
535
527
|
yy47:
|
536
528
|
rbs_skip(state);
|
537
529
|
yych = peek(state);
|
538
|
-
if (yych == '
|
539
|
-
goto
|
530
|
+
if (yych == 'o') goto yy119;
|
531
|
+
goto yy53;
|
540
532
|
yy48:
|
541
533
|
rbs_skip(state);
|
542
534
|
yych = peek(state);
|
543
|
-
if (yych == '
|
544
|
-
goto
|
535
|
+
if (yych == 'l') goto yy120;
|
536
|
+
goto yy53;
|
545
537
|
yy49:
|
546
538
|
rbs_skip(state);
|
547
539
|
yych = peek(state);
|
548
|
-
if (yych == '
|
549
|
-
|
550
|
-
goto yy52;
|
540
|
+
if (yych == 'e') goto yy121;
|
541
|
+
goto yy53;
|
551
542
|
yy50:
|
552
543
|
rbs_skip(state);
|
553
544
|
yych = peek(state);
|
554
|
-
if (yych == '
|
555
|
-
goto
|
545
|
+
if (yych == 'n') goto yy122;
|
546
|
+
if (yych == 'x') goto yy123;
|
547
|
+
goto yy53;
|
556
548
|
yy51:
|
557
549
|
rbs_skip(state);
|
558
550
|
yych = peek(state);
|
551
|
+
if (yych == 'a') goto yy124;
|
552
|
+
goto yy53;
|
559
553
|
yy52:
|
554
|
+
rbs_skip(state);
|
555
|
+
yych = peek(state);
|
556
|
+
yy53:
|
560
557
|
if (yych <= '=') {
|
561
558
|
if (yych <= '/') {
|
562
|
-
if (yych == '!') goto
|
563
|
-
goto
|
559
|
+
if (yych == '!') goto yy105;
|
560
|
+
goto yy46;
|
564
561
|
} else {
|
565
|
-
if (yych <= '9') goto
|
566
|
-
if (yych <= '<') goto
|
567
|
-
goto
|
562
|
+
if (yych <= '9') goto yy52;
|
563
|
+
if (yych <= '<') goto yy46;
|
564
|
+
goto yy106;
|
568
565
|
}
|
569
566
|
} else {
|
570
567
|
if (yych <= '^') {
|
571
|
-
if (yych <= '@') goto
|
572
|
-
if (yych <= 'Z') goto
|
573
|
-
goto
|
568
|
+
if (yych <= '@') goto yy46;
|
569
|
+
if (yych <= 'Z') goto yy52;
|
570
|
+
goto yy46;
|
574
571
|
} else {
|
575
|
-
if (yych == '`') goto
|
576
|
-
if (yych <= 'z') goto
|
577
|
-
goto
|
572
|
+
if (yych == '`') goto yy46;
|
573
|
+
if (yych <= 'z') goto yy52;
|
574
|
+
goto yy46;
|
578
575
|
}
|
579
576
|
}
|
580
|
-
yy53:
|
581
|
-
rbs_skip(state);
|
582
|
-
yych = peek(state);
|
583
|
-
if (yych == 'n') goto yy124;
|
584
|
-
goto yy52;
|
585
577
|
yy54:
|
586
578
|
rbs_skip(state);
|
587
579
|
yych = peek(state);
|
588
|
-
if (yych == '
|
589
|
-
goto
|
580
|
+
if (yych == 'n') goto yy125;
|
581
|
+
goto yy53;
|
590
582
|
yy55:
|
591
583
|
rbs_skip(state);
|
592
584
|
yych = peek(state);
|
593
|
-
if (yych == '
|
594
|
-
goto
|
585
|
+
if (yych == 'o') goto yy127;
|
586
|
+
goto yy53;
|
595
587
|
yy56:
|
596
588
|
rbs_skip(state);
|
597
589
|
yych = peek(state);
|
598
|
-
if (yych == '
|
599
|
-
goto
|
590
|
+
if (yych == 'i') goto yy128;
|
591
|
+
goto yy53;
|
600
592
|
yy57:
|
601
593
|
rbs_skip(state);
|
602
594
|
yych = peek(state);
|
603
|
-
if (yych == '
|
604
|
-
|
605
|
-
goto yy52;
|
595
|
+
if (yych == 'u') goto yy129;
|
596
|
+
goto yy53;
|
606
597
|
yy58:
|
607
598
|
rbs_skip(state);
|
608
599
|
yych = peek(state);
|
609
|
-
if (yych == '
|
610
|
-
if (yych == '
|
611
|
-
goto
|
600
|
+
if (yych == 'r') goto yy130;
|
601
|
+
if (yych == 'u') goto yy131;
|
602
|
+
goto yy53;
|
612
603
|
yy59:
|
613
604
|
rbs_skip(state);
|
614
605
|
yych = peek(state);
|
615
|
-
if (yych
|
616
|
-
|
617
|
-
|
618
|
-
} else {
|
619
|
-
if (yych <= 'r') goto yy134;
|
620
|
-
if (yych == 'y') goto yy135;
|
621
|
-
goto yy52;
|
622
|
-
}
|
606
|
+
if (yych == 'e') goto yy132;
|
607
|
+
if (yych == 'i') goto yy133;
|
608
|
+
goto yy53;
|
623
609
|
yy60:
|
624
610
|
rbs_skip(state);
|
625
611
|
yych = peek(state);
|
626
|
-
if (yych
|
627
|
-
|
628
|
-
|
612
|
+
if (yych <= 'q') {
|
613
|
+
if (yych == 'o') goto yy134;
|
614
|
+
goto yy53;
|
615
|
+
} else {
|
616
|
+
if (yych <= 'r') goto yy135;
|
617
|
+
if (yych == 'y') goto yy136;
|
618
|
+
goto yy53;
|
619
|
+
}
|
629
620
|
yy61:
|
630
621
|
rbs_skip(state);
|
631
622
|
yych = peek(state);
|
632
|
-
if (yych == '
|
633
|
-
goto
|
623
|
+
if (yych == 'n') goto yy137;
|
624
|
+
if (yych == 's') goto yy138;
|
625
|
+
goto yy53;
|
634
626
|
yy62:
|
635
627
|
rbs_skip(state);
|
636
|
-
|
637
|
-
|
638
|
-
|
628
|
+
yych = peek(state);
|
629
|
+
if (yych == 'o') goto yy139;
|
630
|
+
goto yy53;
|
639
631
|
yy63:
|
640
632
|
rbs_skip(state);
|
641
|
-
#line
|
642
|
-
{ return next_token(state,
|
643
|
-
#line
|
633
|
+
#line 28 "ext/rbs_extension/lexer.re"
|
634
|
+
{ return next_token(state, pLBRACE); }
|
635
|
+
#line 636 "ext/rbs_extension/lexer.c"
|
644
636
|
yy64:
|
645
637
|
rbs_skip(state);
|
646
|
-
#line
|
647
|
-
{ return next_token(state,
|
648
|
-
#line
|
638
|
+
#line 31 "ext/rbs_extension/lexer.re"
|
639
|
+
{ return next_token(state, pBAR); }
|
640
|
+
#line 641 "ext/rbs_extension/lexer.c"
|
649
641
|
yy65:
|
650
642
|
rbs_skip(state);
|
651
|
-
|
643
|
+
#line 29 "ext/rbs_extension/lexer.re"
|
644
|
+
{ return next_token(state, pRBRACE); }
|
645
|
+
#line 646 "ext/rbs_extension/lexer.c"
|
652
646
|
yy66:
|
647
|
+
rbs_skip(state);
|
648
|
+
yych = peek(state);
|
649
|
+
yy67:
|
653
650
|
if (yych <= '"') {
|
654
|
-
if (yych <= 0x00000000) goto
|
655
|
-
if (yych <= '!') goto
|
656
|
-
goto
|
651
|
+
if (yych <= 0x00000000) goto yy68;
|
652
|
+
if (yych <= '!') goto yy66;
|
653
|
+
goto yy69;
|
657
654
|
} else {
|
658
|
-
if (yych == '\\') goto
|
659
|
-
goto
|
655
|
+
if (yych == '\\') goto yy70;
|
656
|
+
goto yy66;
|
660
657
|
}
|
661
|
-
|
658
|
+
yy68:
|
662
659
|
*state = backup;
|
663
660
|
if (yyaccept <= 3) {
|
664
661
|
if (yyaccept <= 1) {
|
665
662
|
if (yyaccept == 0) {
|
666
663
|
goto yy3;
|
667
664
|
} else {
|
668
|
-
goto
|
665
|
+
goto yy8;
|
669
666
|
}
|
670
667
|
} else {
|
671
668
|
if (yyaccept == 2) {
|
672
|
-
goto
|
669
|
+
goto yy23;
|
673
670
|
} else {
|
674
|
-
goto
|
671
|
+
goto yy28;
|
675
672
|
}
|
676
673
|
}
|
677
674
|
} else {
|
678
675
|
if (yyaccept <= 5) {
|
679
676
|
if (yyaccept == 4) {
|
680
|
-
goto
|
677
|
+
goto yy44;
|
681
678
|
} else {
|
682
|
-
goto
|
679
|
+
goto yy78;
|
683
680
|
}
|
684
681
|
} else {
|
685
|
-
goto
|
682
|
+
goto yy155;
|
686
683
|
}
|
687
684
|
}
|
688
|
-
|
685
|
+
yy69:
|
689
686
|
rbs_skip(state);
|
690
|
-
#line
|
687
|
+
#line 106 "ext/rbs_extension/lexer.re"
|
691
688
|
{ return next_token(state, tDQSTRING); }
|
692
|
-
#line
|
693
|
-
|
689
|
+
#line 690 "ext/rbs_extension/lexer.c"
|
690
|
+
yy70:
|
694
691
|
rbs_skip(state);
|
695
692
|
yych = peek(state);
|
696
|
-
if (yych == 'u') goto
|
697
|
-
if (yych == 'x') goto
|
698
|
-
goto
|
699
|
-
|
693
|
+
if (yych == 'u') goto yy140;
|
694
|
+
if (yych == 'x') goto yy141;
|
695
|
+
goto yy66;
|
696
|
+
yy71:
|
700
697
|
rbs_skip(state);
|
701
698
|
yych = peek(state);
|
702
699
|
if (yych <= ',') {
|
703
700
|
if (yych <= '\f') {
|
704
|
-
if (yych <= 0x00000000) goto
|
705
|
-
if (yych <= 0x00000008) goto
|
706
|
-
if (yych >= '\v') goto
|
701
|
+
if (yych <= 0x00000000) goto yy72;
|
702
|
+
if (yych <= 0x00000008) goto yy71;
|
703
|
+
if (yych >= '\v') goto yy71;
|
707
704
|
} else {
|
708
705
|
if (yych <= 0x0000001F) {
|
709
|
-
if (yych >= 0x0000000E) goto
|
706
|
+
if (yych >= 0x0000000E) goto yy71;
|
710
707
|
} else {
|
711
|
-
if (yych == '#') goto
|
708
|
+
if (yych == '#') goto yy71;
|
712
709
|
}
|
713
710
|
}
|
714
711
|
} else {
|
715
712
|
if (yych <= '>') {
|
716
|
-
if (yych <= '-') goto
|
717
|
-
if (yych <= '/') goto
|
718
|
-
if (yych <= '9') goto
|
713
|
+
if (yych <= '-') goto yy71;
|
714
|
+
if (yych <= '/') goto yy72;
|
715
|
+
if (yych <= '9') goto yy71;
|
719
716
|
} else {
|
720
717
|
if (yych <= '^') {
|
721
|
-
if (yych <= 'Z') goto
|
718
|
+
if (yych <= 'Z') goto yy71;
|
722
719
|
} else {
|
723
|
-
if (yych <= 'z') goto
|
724
|
-
if (yych >= 0x0000007F) goto
|
720
|
+
if (yych <= 'z') goto yy71;
|
721
|
+
if (yych >= 0x0000007F) goto yy71;
|
725
722
|
}
|
726
723
|
}
|
727
724
|
}
|
728
|
-
yy71:
|
729
|
-
#line 140 "ext/rbs_extension/lexer.re"
|
730
|
-
{ return next_token(state, tGIDENT); }
|
731
|
-
#line 732 "ext/rbs_extension/lexer.c"
|
732
725
|
yy72:
|
733
|
-
|
734
|
-
|
726
|
+
#line 139 "ext/rbs_extension/lexer.re"
|
727
|
+
{ return next_token(state, tGIDENT); }
|
728
|
+
#line 729 "ext/rbs_extension/lexer.c"
|
735
729
|
yy73:
|
730
|
+
rbs_skip(state);
|
731
|
+
goto yy72;
|
732
|
+
yy74:
|
736
733
|
rbs_skip(state);
|
737
734
|
yych = peek(state);
|
738
735
|
if (yych <= 'Z') {
|
739
736
|
if (yych <= '(') {
|
740
|
-
if (yych <= '\'') goto
|
741
|
-
goto
|
737
|
+
if (yych <= '\'') goto yy68;
|
738
|
+
goto yy142;
|
742
739
|
} else {
|
743
|
-
if (yych == '<') goto
|
744
|
-
goto
|
740
|
+
if (yych == '<') goto yy143;
|
741
|
+
goto yy68;
|
745
742
|
}
|
746
743
|
} else {
|
747
744
|
if (yych <= 'z') {
|
748
|
-
if (yych <= '[') goto
|
749
|
-
goto
|
745
|
+
if (yych <= '[') goto yy144;
|
746
|
+
goto yy68;
|
750
747
|
} else {
|
751
|
-
if (yych <= '{') goto
|
752
|
-
if (yych <= '|') goto
|
753
|
-
goto
|
748
|
+
if (yych <= '{') goto yy145;
|
749
|
+
if (yych <= '|') goto yy146;
|
750
|
+
goto yy68;
|
754
751
|
}
|
755
752
|
}
|
756
|
-
|
753
|
+
yy75:
|
757
754
|
rbs_skip(state);
|
758
755
|
yych = peek(state);
|
759
|
-
|
756
|
+
yy76:
|
760
757
|
if (yych <= '\'') {
|
761
|
-
if (yych <= 0x00000000) goto
|
762
|
-
if (yych <= '&') goto
|
758
|
+
if (yych <= 0x00000000) goto yy68;
|
759
|
+
if (yych <= '&') goto yy75;
|
763
760
|
} else {
|
764
|
-
if (yych == '\\') goto
|
765
|
-
goto
|
761
|
+
if (yych == '\\') goto yy79;
|
762
|
+
goto yy75;
|
766
763
|
}
|
767
|
-
yy76:
|
768
|
-
rbs_skip(state);
|
769
764
|
yy77:
|
770
|
-
|
771
|
-
{ return next_token(state, tSQSTRING); }
|
772
|
-
#line 773 "ext/rbs_extension/lexer.c"
|
765
|
+
rbs_skip(state);
|
773
766
|
yy78:
|
767
|
+
#line 107 "ext/rbs_extension/lexer.re"
|
768
|
+
{ return next_token(state, tSQSTRING); }
|
769
|
+
#line 770 "ext/rbs_extension/lexer.c"
|
770
|
+
yy79:
|
774
771
|
rbs_skip(state);
|
775
772
|
yych = peek(state);
|
776
773
|
if (yych <= '\'') {
|
777
|
-
if (yych <= 0x00000000) goto
|
778
|
-
if (yych <= '&') goto
|
779
|
-
goto
|
774
|
+
if (yych <= 0x00000000) goto yy68;
|
775
|
+
if (yych <= '&') goto yy75;
|
776
|
+
goto yy147;
|
780
777
|
} else {
|
781
|
-
if (yych == '\\') goto
|
782
|
-
goto
|
778
|
+
if (yych == '\\') goto yy79;
|
779
|
+
goto yy75;
|
783
780
|
}
|
784
|
-
yy79:
|
785
|
-
rbs_skip(state);
|
786
|
-
#line 37 "ext/rbs_extension/lexer.re"
|
787
|
-
{ return next_token(state, pSTAR2); }
|
788
|
-
#line 789 "ext/rbs_extension/lexer.c"
|
789
781
|
yy80:
|
790
782
|
rbs_skip(state);
|
791
|
-
#line
|
792
|
-
{ return next_token(state,
|
793
|
-
#line
|
783
|
+
#line 36 "ext/rbs_extension/lexer.re"
|
784
|
+
{ return next_token(state, pSTAR2); }
|
785
|
+
#line 786 "ext/rbs_extension/lexer.c"
|
794
786
|
yy81:
|
795
787
|
rbs_skip(state);
|
796
|
-
|
797
|
-
|
798
|
-
|
788
|
+
#line 41 "ext/rbs_extension/lexer.re"
|
789
|
+
{ return next_token(state, pARROW); }
|
790
|
+
#line 791 "ext/rbs_extension/lexer.c"
|
799
791
|
yy82:
|
800
792
|
rbs_skip(state);
|
801
793
|
yych = peek(state);
|
802
|
-
if (yych == '
|
803
|
-
|
794
|
+
if (yych == '.') goto yy148;
|
795
|
+
goto yy68;
|
804
796
|
yy83:
|
805
|
-
|
806
|
-
|
807
|
-
|
797
|
+
rbs_skip(state);
|
798
|
+
yych = peek(state);
|
799
|
+
if (yych == '=') goto yy87;
|
800
|
+
if (yych == '~') goto yy87;
|
808
801
|
yy84:
|
802
|
+
#line 126 "ext/rbs_extension/lexer.re"
|
803
|
+
{ return next_token(state, tSYMBOL); }
|
804
|
+
#line 805 "ext/rbs_extension/lexer.c"
|
805
|
+
yy85:
|
809
806
|
rbs_skip(state);
|
810
807
|
yych = peek(state);
|
811
808
|
if (yych <= '"') {
|
812
|
-
if (yych <= 0x00000000) goto
|
813
|
-
if (yych <= '!') goto
|
814
|
-
goto
|
809
|
+
if (yych <= 0x00000000) goto yy68;
|
810
|
+
if (yych <= '!') goto yy85;
|
811
|
+
goto yy149;
|
815
812
|
} else {
|
816
|
-
if (yych == '\\') goto
|
817
|
-
goto
|
813
|
+
if (yych == '\\') goto yy150;
|
814
|
+
goto yy85;
|
818
815
|
}
|
819
|
-
|
816
|
+
yy86:
|
820
817
|
rbs_skip(state);
|
821
818
|
yych = peek(state);
|
822
819
|
if (yych <= ')') {
|
823
820
|
if (yych <= 0x0000001F) {
|
824
821
|
if (yych <= '\n') {
|
825
|
-
if (yych <= 0x00000000) goto
|
826
|
-
if (yych <= 0x00000008) goto
|
827
|
-
goto
|
822
|
+
if (yych <= 0x00000000) goto yy68;
|
823
|
+
if (yych <= 0x00000008) goto yy151;
|
824
|
+
goto yy68;
|
828
825
|
} else {
|
829
|
-
if (yych == '\r') goto
|
830
|
-
goto
|
826
|
+
if (yych == '\r') goto yy68;
|
827
|
+
goto yy151;
|
831
828
|
}
|
832
829
|
} else {
|
833
830
|
if (yych <= '#') {
|
834
|
-
if (yych <= ' ') goto
|
835
|
-
if (yych <= '"') goto
|
836
|
-
goto
|
831
|
+
if (yych <= ' ') goto yy68;
|
832
|
+
if (yych <= '"') goto yy153;
|
833
|
+
goto yy151;
|
837
834
|
} else {
|
838
|
-
if (yych == '%') goto
|
839
|
-
if (yych <= '\'') goto
|
840
|
-
goto
|
835
|
+
if (yych == '%') goto yy68;
|
836
|
+
if (yych <= '\'') goto yy153;
|
837
|
+
goto yy68;
|
841
838
|
}
|
842
839
|
}
|
843
840
|
} else {
|
844
841
|
if (yych <= 'Z') {
|
845
842
|
if (yych <= '/') {
|
846
|
-
if (yych == '-') goto
|
847
|
-
goto
|
843
|
+
if (yych == '-') goto yy151;
|
844
|
+
goto yy153;
|
848
845
|
} else {
|
849
|
-
if (yych <= '9') goto
|
850
|
-
if (yych <= '>') goto
|
851
|
-
goto
|
846
|
+
if (yych <= '9') goto yy151;
|
847
|
+
if (yych <= '>') goto yy153;
|
848
|
+
goto yy151;
|
852
849
|
}
|
853
850
|
} else {
|
854
851
|
if (yych <= '^') {
|
855
|
-
if (yych == '\\') goto
|
856
|
-
goto
|
852
|
+
if (yych == '\\') goto yy153;
|
853
|
+
goto yy68;
|
857
854
|
} else {
|
858
|
-
if (yych <= 'z') goto
|
859
|
-
if (yych <= '}') goto
|
860
|
-
if (yych <= '~') goto
|
861
|
-
goto
|
855
|
+
if (yych <= 'z') goto yy151;
|
856
|
+
if (yych <= '}') goto yy68;
|
857
|
+
if (yych <= '~') goto yy153;
|
858
|
+
goto yy151;
|
862
859
|
}
|
863
860
|
}
|
864
861
|
}
|
865
|
-
yy86:
|
866
|
-
rbs_skip(state);
|
867
|
-
goto yy83;
|
868
862
|
yy87:
|
863
|
+
rbs_skip(state);
|
864
|
+
goto yy84;
|
865
|
+
yy88:
|
869
866
|
rbs_skip(state);
|
870
867
|
yych = peek(state);
|
871
868
|
if (yych <= '\'') {
|
872
|
-
if (yych <= 0x00000000) goto
|
873
|
-
if (yych <= '&') goto
|
874
|
-
goto
|
869
|
+
if (yych <= 0x00000000) goto yy68;
|
870
|
+
if (yych <= '&') goto yy88;
|
871
|
+
goto yy154;
|
875
872
|
} else {
|
876
|
-
if (yych == '\\') goto
|
877
|
-
goto
|
873
|
+
if (yych == '\\') goto yy156;
|
874
|
+
goto yy88;
|
878
875
|
}
|
879
|
-
yy88:
|
880
|
-
rbs_skip(state);
|
881
|
-
yych = peek(state);
|
882
|
-
if (yych == '*') goto yy86;
|
883
|
-
goto yy83;
|
884
876
|
yy89:
|
885
877
|
rbs_skip(state);
|
886
878
|
yych = peek(state);
|
887
|
-
if (yych == '
|
888
|
-
goto
|
879
|
+
if (yych == '*') goto yy87;
|
880
|
+
goto yy84;
|
889
881
|
yy90:
|
890
882
|
rbs_skip(state);
|
891
|
-
|
892
|
-
|
893
|
-
|
883
|
+
yych = peek(state);
|
884
|
+
if (yych == '@') goto yy87;
|
885
|
+
goto yy84;
|
894
886
|
yy91:
|
895
887
|
rbs_skip(state);
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
if (yych <= '=') goto yy156;
|
900
|
-
goto yy83;
|
888
|
+
#line 45 "ext/rbs_extension/lexer.re"
|
889
|
+
{ return next_token(state, pCOLON2); }
|
890
|
+
#line 891 "ext/rbs_extension/lexer.c"
|
901
891
|
yy92:
|
902
892
|
rbs_skip(state);
|
903
893
|
yych = peek(state);
|
904
|
-
if (yych
|
905
|
-
if (yych
|
906
|
-
goto
|
894
|
+
if (yych <= ';') goto yy84;
|
895
|
+
if (yych <= '<') goto yy87;
|
896
|
+
if (yych <= '=') goto yy157;
|
897
|
+
goto yy84;
|
907
898
|
yy93:
|
908
899
|
rbs_skip(state);
|
909
900
|
yych = peek(state);
|
910
|
-
if (yych
|
911
|
-
if (yych
|
912
|
-
goto
|
901
|
+
if (yych == '=') goto yy158;
|
902
|
+
if (yych == '~') goto yy87;
|
903
|
+
goto yy68;
|
913
904
|
yy94:
|
905
|
+
rbs_skip(state);
|
906
|
+
yych = peek(state);
|
907
|
+
if (yych <= '<') goto yy84;
|
908
|
+
if (yych <= '>') goto yy87;
|
909
|
+
goto yy84;
|
910
|
+
yy95:
|
914
911
|
rbs_skip(state);
|
915
912
|
yych = peek(state);
|
916
913
|
if (yych <= '^') {
|
917
|
-
if (yych <= '?') goto
|
918
|
-
if (yych <= '@') goto
|
919
|
-
if (yych <= 'Z') goto
|
920
|
-
goto
|
914
|
+
if (yych <= '?') goto yy68;
|
915
|
+
if (yych <= '@') goto yy159;
|
916
|
+
if (yych <= 'Z') goto yy160;
|
917
|
+
goto yy68;
|
921
918
|
} else {
|
922
|
-
if (yych == '`') goto
|
923
|
-
if (yych <= 'z') goto
|
924
|
-
goto
|
919
|
+
if (yych == '`') goto yy68;
|
920
|
+
if (yych <= 'z') goto yy160;
|
921
|
+
goto yy68;
|
925
922
|
}
|
926
|
-
|
923
|
+
yy96:
|
927
924
|
rbs_skip(state);
|
928
925
|
yych = peek(state);
|
929
926
|
if (yych <= '>') {
|
930
927
|
if (yych <= '/') {
|
931
|
-
if (yych == '!') goto
|
928
|
+
if (yych == '!') goto yy162;
|
932
929
|
} else {
|
933
|
-
if (yych <= '9') goto
|
934
|
-
if (yych == '=') goto
|
930
|
+
if (yych <= '9') goto yy96;
|
931
|
+
if (yych == '=') goto yy162;
|
935
932
|
}
|
936
933
|
} else {
|
937
934
|
if (yych <= '^') {
|
938
|
-
if (yych <= '?') goto
|
939
|
-
if (yych <= '@') goto
|
940
|
-
if (yych <= 'Z') goto
|
935
|
+
if (yych <= '?') goto yy162;
|
936
|
+
if (yych <= '@') goto yy97;
|
937
|
+
if (yych <= 'Z') goto yy96;
|
941
938
|
} else {
|
942
|
-
if (yych == '`') goto
|
943
|
-
if (yych <= 'z') goto
|
939
|
+
if (yych == '`') goto yy97;
|
940
|
+
if (yych <= 'z') goto yy96;
|
944
941
|
}
|
945
942
|
}
|
946
|
-
yy96:
|
947
|
-
#line 123 "ext/rbs_extension/lexer.re"
|
948
|
-
{ return next_token(state, tSYMBOL); }
|
949
|
-
#line 950 "ext/rbs_extension/lexer.c"
|
950
943
|
yy97:
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
goto yy67;
|
944
|
+
#line 122 "ext/rbs_extension/lexer.re"
|
945
|
+
{ return next_token(state, tSYMBOL); }
|
946
|
+
#line 947 "ext/rbs_extension/lexer.c"
|
955
947
|
yy98:
|
956
948
|
rbs_skip(state);
|
957
949
|
yych = peek(state);
|
958
|
-
if (yych == '
|
959
|
-
goto
|
950
|
+
if (yych == ']') goto yy158;
|
951
|
+
goto yy68;
|
960
952
|
yy99:
|
961
953
|
rbs_skip(state);
|
962
954
|
yych = peek(state);
|
963
|
-
if (yych == '
|
964
|
-
goto
|
955
|
+
if (yych == '>') goto yy24;
|
956
|
+
goto yy8;
|
965
957
|
yy100:
|
966
958
|
rbs_skip(state);
|
967
|
-
|
968
|
-
|
969
|
-
|
959
|
+
yych = peek(state);
|
960
|
+
if (yych == '=') goto yy24;
|
961
|
+
goto yy8;
|
970
962
|
yy101:
|
971
963
|
rbs_skip(state);
|
964
|
+
#line 42 "ext/rbs_extension/lexer.re"
|
965
|
+
{ return next_token(state, pFATARROW); }
|
966
|
+
#line 967 "ext/rbs_extension/lexer.c"
|
967
|
+
yy102:
|
968
|
+
rbs_skip(state);
|
972
969
|
yych = peek(state);
|
973
970
|
if (yych <= '^') {
|
974
|
-
if (yych <= '@') goto
|
975
|
-
if (yych <= 'Z') goto
|
976
|
-
goto
|
971
|
+
if (yych <= '@') goto yy68;
|
972
|
+
if (yych <= 'Z') goto yy163;
|
973
|
+
goto yy68;
|
977
974
|
} else {
|
978
|
-
if (yych == '`') goto
|
979
|
-
if (yych <= 'z') goto
|
980
|
-
goto
|
975
|
+
if (yych == '`') goto yy68;
|
976
|
+
if (yych <= 'z') goto yy163;
|
977
|
+
goto yy68;
|
981
978
|
}
|
982
|
-
|
979
|
+
yy103:
|
983
980
|
rbs_skip(state);
|
984
981
|
yych = peek(state);
|
985
982
|
if (yych <= 'Z') {
|
986
|
-
if (yych <= '/') goto
|
987
|
-
if (yych <= '9') goto
|
988
|
-
if (yych >= 'A') goto
|
983
|
+
if (yych <= '/') goto yy104;
|
984
|
+
if (yych <= '9') goto yy103;
|
985
|
+
if (yych >= 'A') goto yy103;
|
989
986
|
} else {
|
990
987
|
if (yych <= '_') {
|
991
|
-
if (yych >= '_') goto
|
988
|
+
if (yych >= '_') goto yy103;
|
992
989
|
} else {
|
993
|
-
if (yych <= '`') goto
|
994
|
-
if (yych <= 'z') goto
|
990
|
+
if (yych <= '`') goto yy104;
|
991
|
+
if (yych <= 'z') goto yy103;
|
995
992
|
}
|
996
993
|
}
|
997
|
-
yy103:
|
998
|
-
#line 137 "ext/rbs_extension/lexer.re"
|
999
|
-
{ return next_token(state, tAIDENT); }
|
1000
|
-
#line 1001 "ext/rbs_extension/lexer.c"
|
1001
994
|
yy104:
|
995
|
+
#line 136 "ext/rbs_extension/lexer.re"
|
996
|
+
{ return next_token(state, tAIDENT); }
|
997
|
+
#line 998 "ext/rbs_extension/lexer.c"
|
998
|
+
yy105:
|
1002
999
|
rbs_skip(state);
|
1003
|
-
#line
|
1000
|
+
#line 133 "ext/rbs_extension/lexer.re"
|
1004
1001
|
{ return next_token(state, tBANGIDENT); }
|
1005
|
-
#line
|
1006
|
-
|
1002
|
+
#line 1003 "ext/rbs_extension/lexer.c"
|
1003
|
+
yy106:
|
1007
1004
|
rbs_skip(state);
|
1008
|
-
#line
|
1005
|
+
#line 134 "ext/rbs_extension/lexer.re"
|
1009
1006
|
{ return next_token(state, tEQIDENT); }
|
1010
|
-
#line
|
1011
|
-
|
1007
|
+
#line 1008 "ext/rbs_extension/lexer.c"
|
1008
|
+
yy107:
|
1012
1009
|
rbs_skip(state);
|
1013
1010
|
yych = peek(state);
|
1014
|
-
if (yych == '=') goto
|
1015
|
-
#line
|
1011
|
+
if (yych == '=') goto yy24;
|
1012
|
+
#line 47 "ext/rbs_extension/lexer.re"
|
1016
1013
|
{ return next_token(state, pAREF_OPR); }
|
1017
|
-
#line
|
1018
|
-
|
1014
|
+
#line 1015 "ext/rbs_extension/lexer.c"
|
1015
|
+
yy108:
|
1019
1016
|
rbs_skip(state);
|
1020
1017
|
yych = peek(state);
|
1021
|
-
|
1018
|
+
yy109:
|
1022
1019
|
if (yych <= '=') {
|
1023
1020
|
if (yych <= '/') {
|
1024
|
-
if (yych == '!') goto
|
1021
|
+
if (yych == '!') goto yy105;
|
1025
1022
|
} else {
|
1026
|
-
if (yych <= '9') goto
|
1027
|
-
if (yych >= '=') goto
|
1023
|
+
if (yych <= '9') goto yy108;
|
1024
|
+
if (yych >= '=') goto yy106;
|
1028
1025
|
}
|
1029
1026
|
} else {
|
1030
1027
|
if (yych <= '^') {
|
1031
|
-
if (yych <= '@') goto
|
1032
|
-
if (yych <= 'Z') goto
|
1028
|
+
if (yych <= '@') goto yy110;
|
1029
|
+
if (yych <= 'Z') goto yy108;
|
1033
1030
|
} else {
|
1034
|
-
if (yych == '`') goto
|
1035
|
-
if (yych <= 'z') goto
|
1031
|
+
if (yych == '`') goto yy110;
|
1032
|
+
if (yych <= 'z') goto yy108;
|
1036
1033
|
}
|
1037
1034
|
}
|
1038
|
-
yy109:
|
1039
|
-
#line 131 "ext/rbs_extension/lexer.re"
|
1040
|
-
{ return next_token(state, tULLIDENT); }
|
1041
|
-
#line 1042 "ext/rbs_extension/lexer.c"
|
1042
1035
|
yy110:
|
1036
|
+
#line 130 "ext/rbs_extension/lexer.re"
|
1037
|
+
{ return next_token(state, tULLIDENT); }
|
1038
|
+
#line 1039 "ext/rbs_extension/lexer.c"
|
1039
|
+
yy111:
|
1043
1040
|
rbs_skip(state);
|
1044
1041
|
yych = peek(state);
|
1045
1042
|
if (yych <= '=') {
|
1046
1043
|
if (yych <= '/') {
|
1047
|
-
if (yych == '!') goto
|
1044
|
+
if (yych == '!') goto yy105;
|
1048
1045
|
} else {
|
1049
|
-
if (yych <= '9') goto
|
1050
|
-
if (yych >= '=') goto
|
1046
|
+
if (yych <= '9') goto yy111;
|
1047
|
+
if (yych >= '=') goto yy106;
|
1051
1048
|
}
|
1052
1049
|
} else {
|
1053
1050
|
if (yych <= '^') {
|
1054
|
-
if (yych <= '@') goto
|
1055
|
-
if (yych <= 'Z') goto
|
1051
|
+
if (yych <= '@') goto yy112;
|
1052
|
+
if (yych <= 'Z') goto yy111;
|
1056
1053
|
} else {
|
1057
|
-
if (yych == '`') goto
|
1058
|
-
if (yych <= 'z') goto
|
1054
|
+
if (yych == '`') goto yy112;
|
1055
|
+
if (yych <= 'z') goto yy111;
|
1059
1056
|
}
|
1060
1057
|
}
|
1061
|
-
yy111:
|
1062
|
-
#line 132 "ext/rbs_extension/lexer.re"
|
1063
|
-
{ return next_token(state, tULIDENT); }
|
1064
|
-
#line 1065 "ext/rbs_extension/lexer.c"
|
1065
1058
|
yy112:
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
goto yy108;
|
1059
|
+
#line 131 "ext/rbs_extension/lexer.re"
|
1060
|
+
{ return next_token(state, tULIDENT); }
|
1061
|
+
#line 1062 "ext/rbs_extension/lexer.c"
|
1070
1062
|
yy113:
|
1071
1063
|
rbs_skip(state);
|
1072
1064
|
yych = peek(state);
|
1073
|
-
if (yych
|
1074
|
-
|
1075
|
-
goto yy113;
|
1065
|
+
if (yych == 't') goto yy165;
|
1066
|
+
goto yy109;
|
1076
1067
|
yy114:
|
1077
1068
|
rbs_skip(state);
|
1078
1069
|
yych = peek(state);
|
1079
|
-
if (yych
|
1080
|
-
goto
|
1070
|
+
if (yych <= 0x00000000) goto yy68;
|
1071
|
+
if (yych == '`') goto yy166;
|
1072
|
+
goto yy114;
|
1081
1073
|
yy115:
|
1074
|
+
rbs_skip(state);
|
1075
|
+
yych = peek(state);
|
1076
|
+
if (yych == 'i') goto yy167;
|
1077
|
+
goto yy53;
|
1078
|
+
yy116:
|
1082
1079
|
rbs_skip(state);
|
1083
1080
|
yych = peek(state);
|
1084
1081
|
if (yych <= '=') {
|
1085
1082
|
if (yych <= '/') {
|
1086
|
-
if (yych == '!') goto
|
1083
|
+
if (yych == '!') goto yy105;
|
1087
1084
|
} else {
|
1088
|
-
if (yych <= '9') goto
|
1089
|
-
if (yych >= '=') goto
|
1085
|
+
if (yych <= '9') goto yy52;
|
1086
|
+
if (yych >= '=') goto yy106;
|
1090
1087
|
}
|
1091
1088
|
} else {
|
1092
1089
|
if (yych <= '^') {
|
1093
|
-
if (yych <= '@') goto
|
1094
|
-
if (yych <= 'Z') goto
|
1090
|
+
if (yych <= '@') goto yy117;
|
1091
|
+
if (yych <= 'Z') goto yy52;
|
1095
1092
|
} else {
|
1096
|
-
if (yych == '`') goto
|
1097
|
-
if (yych <= 'z') goto
|
1093
|
+
if (yych == '`') goto yy117;
|
1094
|
+
if (yych <= 'z') goto yy52;
|
1098
1095
|
}
|
1099
1096
|
}
|
1100
|
-
yy116:
|
1101
|
-
#line 97 "ext/rbs_extension/lexer.re"
|
1102
|
-
{ return next_token(state, kAS); }
|
1103
|
-
#line 1104 "ext/rbs_extension/lexer.c"
|
1104
1097
|
yy117:
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
goto yy52;
|
1098
|
+
#line 96 "ext/rbs_extension/lexer.re"
|
1099
|
+
{ return next_token(state, kAS); }
|
1100
|
+
#line 1101 "ext/rbs_extension/lexer.c"
|
1109
1101
|
yy118:
|
1110
1102
|
rbs_skip(state);
|
1111
1103
|
yych = peek(state);
|
1112
|
-
if (yych == '
|
1113
|
-
|
1114
|
-
goto yy52;
|
1104
|
+
if (yych == 't') goto yy168;
|
1105
|
+
goto yy53;
|
1115
1106
|
yy119:
|
1116
1107
|
rbs_skip(state);
|
1117
1108
|
yych = peek(state);
|
1118
|
-
if (yych == '
|
1119
|
-
goto
|
1109
|
+
if (yych == 'o') goto yy169;
|
1110
|
+
if (yych == 't') goto yy170;
|
1111
|
+
goto yy53;
|
1120
1112
|
yy120:
|
1121
1113
|
rbs_skip(state);
|
1122
1114
|
yych = peek(state);
|
1123
|
-
if (yych == '
|
1124
|
-
goto
|
1115
|
+
if (yych == 'a') goto yy172;
|
1116
|
+
goto yy53;
|
1125
1117
|
yy121:
|
1126
1118
|
rbs_skip(state);
|
1127
1119
|
yych = peek(state);
|
1128
|
-
if (yych == '
|
1129
|
-
goto
|
1120
|
+
if (yych == 'f') goto yy173;
|
1121
|
+
goto yy53;
|
1130
1122
|
yy122:
|
1131
1123
|
rbs_skip(state);
|
1132
1124
|
yych = peek(state);
|
1133
|
-
if (yych == '
|
1134
|
-
goto
|
1125
|
+
if (yych == 'd') goto yy175;
|
1126
|
+
goto yy53;
|
1135
1127
|
yy123:
|
1136
1128
|
rbs_skip(state);
|
1137
1129
|
yych = peek(state);
|
1138
|
-
if (yych == '
|
1139
|
-
goto
|
1130
|
+
if (yych == 't') goto yy177;
|
1131
|
+
goto yy53;
|
1140
1132
|
yy124:
|
1133
|
+
rbs_skip(state);
|
1134
|
+
yych = peek(state);
|
1135
|
+
if (yych == 'l') goto yy178;
|
1136
|
+
goto yy53;
|
1137
|
+
yy125:
|
1141
1138
|
rbs_skip(state);
|
1142
1139
|
yych = peek(state);
|
1143
1140
|
if (yych <= '^') {
|
1144
1141
|
if (yych <= '9') {
|
1145
|
-
if (yych == '!') goto
|
1146
|
-
if (yych >= '0') goto
|
1142
|
+
if (yych == '!') goto yy105;
|
1143
|
+
if (yych >= '0') goto yy52;
|
1147
1144
|
} else {
|
1148
1145
|
if (yych <= '=') {
|
1149
|
-
if (yych >= '=') goto
|
1146
|
+
if (yych >= '=') goto yy106;
|
1150
1147
|
} else {
|
1151
|
-
if (yych <= '@') goto
|
1152
|
-
if (yych <= 'Z') goto
|
1148
|
+
if (yych <= '@') goto yy126;
|
1149
|
+
if (yych <= 'Z') goto yy52;
|
1153
1150
|
}
|
1154
1151
|
}
|
1155
1152
|
} else {
|
1156
1153
|
if (yych <= 'c') {
|
1157
|
-
if (yych == '`') goto
|
1158
|
-
if (yych <= 'b') goto
|
1159
|
-
goto
|
1154
|
+
if (yych == '`') goto yy126;
|
1155
|
+
if (yych <= 'b') goto yy52;
|
1156
|
+
goto yy179;
|
1160
1157
|
} else {
|
1161
1158
|
if (yych <= 's') {
|
1162
|
-
if (yych <= 'r') goto
|
1163
|
-
goto
|
1159
|
+
if (yych <= 'r') goto yy52;
|
1160
|
+
goto yy180;
|
1164
1161
|
} else {
|
1165
|
-
if (yych <= 't') goto
|
1166
|
-
if (yych <= 'z') goto
|
1162
|
+
if (yych <= 't') goto yy181;
|
1163
|
+
if (yych <= 'z') goto yy52;
|
1167
1164
|
}
|
1168
1165
|
}
|
1169
1166
|
}
|
1170
|
-
yy125:
|
1171
|
-
#line 78 "ext/rbs_extension/lexer.re"
|
1172
|
-
{ return next_token(state, kIN); }
|
1173
|
-
#line 1174 "ext/rbs_extension/lexer.c"
|
1174
1167
|
yy126:
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1178
|
-
goto yy52;
|
1168
|
+
#line 77 "ext/rbs_extension/lexer.re"
|
1169
|
+
{ return next_token(state, kIN); }
|
1170
|
+
#line 1171 "ext/rbs_extension/lexer.c"
|
1179
1171
|
yy127:
|
1180
1172
|
rbs_skip(state);
|
1181
1173
|
yych = peek(state);
|
1182
|
-
if (yych == '
|
1183
|
-
goto
|
1174
|
+
if (yych == 'd') goto yy182;
|
1175
|
+
goto yy53;
|
1184
1176
|
yy128:
|
1185
1177
|
rbs_skip(state);
|
1186
1178
|
yych = peek(state);
|
1187
|
-
if (yych == '
|
1188
|
-
goto
|
1179
|
+
if (yych == 'l') goto yy183;
|
1180
|
+
goto yy53;
|
1189
1181
|
yy129:
|
1190
1182
|
rbs_skip(state);
|
1191
1183
|
yych = peek(state);
|
1192
|
-
if (yych == '
|
1193
|
-
|
1194
|
-
goto yy52;
|
1184
|
+
if (yych == 't') goto yy185;
|
1185
|
+
goto yy53;
|
1195
1186
|
yy130:
|
1196
1187
|
rbs_skip(state);
|
1197
1188
|
yych = peek(state);
|
1198
|
-
if (yych == '
|
1199
|
-
goto
|
1189
|
+
if (yych == 'e') goto yy187;
|
1190
|
+
if (yych == 'i') goto yy188;
|
1191
|
+
goto yy53;
|
1200
1192
|
yy131:
|
1201
1193
|
rbs_skip(state);
|
1202
1194
|
yych = peek(state);
|
1203
|
-
if (yych == '
|
1204
|
-
goto
|
1195
|
+
if (yych == 'b') goto yy189;
|
1196
|
+
goto yy53;
|
1205
1197
|
yy132:
|
1206
1198
|
rbs_skip(state);
|
1207
1199
|
yych = peek(state);
|
1208
|
-
if (yych == '
|
1209
|
-
goto
|
1200
|
+
if (yych == 'l') goto yy190;
|
1201
|
+
goto yy53;
|
1210
1202
|
yy133:
|
1211
1203
|
rbs_skip(state);
|
1212
1204
|
yych = peek(state);
|
1213
|
-
if (yych == '
|
1214
|
-
goto
|
1205
|
+
if (yych == 'n') goto yy191;
|
1206
|
+
goto yy53;
|
1215
1207
|
yy134:
|
1216
1208
|
rbs_skip(state);
|
1217
1209
|
yych = peek(state);
|
1218
|
-
if (yych == '
|
1219
|
-
goto
|
1210
|
+
if (yych == 'p') goto yy192;
|
1211
|
+
goto yy53;
|
1220
1212
|
yy135:
|
1221
1213
|
rbs_skip(state);
|
1222
1214
|
yych = peek(state);
|
1223
|
-
if (yych == '
|
1224
|
-
goto
|
1215
|
+
if (yych == 'u') goto yy194;
|
1216
|
+
goto yy53;
|
1225
1217
|
yy136:
|
1226
1218
|
rbs_skip(state);
|
1227
1219
|
yych = peek(state);
|
1228
|
-
if (yych == '
|
1229
|
-
|
1230
|
-
goto yy52;
|
1220
|
+
if (yych == 'p') goto yy195;
|
1221
|
+
goto yy53;
|
1231
1222
|
yy137:
|
1232
1223
|
rbs_skip(state);
|
1233
1224
|
yych = peek(state);
|
1234
|
-
if (yych == '
|
1235
|
-
goto
|
1225
|
+
if (yych == 'c') goto yy196;
|
1226
|
+
if (yych == 't') goto yy197;
|
1227
|
+
goto yy53;
|
1236
1228
|
yy138:
|
1237
1229
|
rbs_skip(state);
|
1238
1230
|
yych = peek(state);
|
1239
|
-
if (yych == '
|
1240
|
-
goto
|
1231
|
+
if (yych == 'e') goto yy198;
|
1232
|
+
goto yy53;
|
1241
1233
|
yy139:
|
1242
1234
|
rbs_skip(state);
|
1243
1235
|
yych = peek(state);
|
1244
|
-
if (yych
|
1245
|
-
|
1246
|
-
if (yych <= '9') goto yy200;
|
1247
|
-
goto yy67;
|
1248
|
-
} else {
|
1249
|
-
if (yych <= 'F') goto yy200;
|
1250
|
-
if (yych <= '`') goto yy67;
|
1251
|
-
if (yych <= 'f') goto yy200;
|
1252
|
-
goto yy67;
|
1253
|
-
}
|
1236
|
+
if (yych == 'i') goto yy200;
|
1237
|
+
goto yy53;
|
1254
1238
|
yy140:
|
1255
1239
|
rbs_skip(state);
|
1256
1240
|
yych = peek(state);
|
1257
|
-
if (yych <= '
|
1258
|
-
|
1259
|
-
|
1260
|
-
|
1261
|
-
|
1241
|
+
if (yych <= '@') {
|
1242
|
+
if (yych <= '/') goto yy68;
|
1243
|
+
if (yych <= '9') goto yy201;
|
1244
|
+
goto yy68;
|
1245
|
+
} else {
|
1246
|
+
if (yych <= 'F') goto yy201;
|
1247
|
+
if (yych <= '`') goto yy68;
|
1248
|
+
if (yych <= 'f') goto yy201;
|
1249
|
+
goto yy68;
|
1250
|
+
}
|
1262
1251
|
yy141:
|
1263
1252
|
rbs_skip(state);
|
1264
1253
|
yych = peek(state);
|
1265
|
-
if (yych <=
|
1266
|
-
if (yych
|
1267
|
-
goto
|
1254
|
+
if (yych <= '/') goto yy68;
|
1255
|
+
if (yych <= '9') goto yy66;
|
1256
|
+
if (yych <= '`') goto yy68;
|
1257
|
+
if (yych <= 'f') goto yy66;
|
1258
|
+
goto yy68;
|
1268
1259
|
yy142:
|
1269
1260
|
rbs_skip(state);
|
1270
1261
|
yych = peek(state);
|
1271
|
-
if (yych <= 0x00000000) goto
|
1272
|
-
if (yych == '
|
1262
|
+
if (yych <= 0x00000000) goto yy68;
|
1263
|
+
if (yych == ')') goto yy202;
|
1273
1264
|
goto yy142;
|
1274
1265
|
yy143:
|
1275
1266
|
rbs_skip(state);
|
1276
1267
|
yych = peek(state);
|
1277
|
-
if (yych <= 0x00000000) goto
|
1278
|
-
if (yych == '
|
1268
|
+
if (yych <= 0x00000000) goto yy68;
|
1269
|
+
if (yych == '>') goto yy203;
|
1279
1270
|
goto yy143;
|
1280
1271
|
yy144:
|
1281
1272
|
rbs_skip(state);
|
1282
1273
|
yych = peek(state);
|
1283
|
-
if (yych <= 0x00000000) goto
|
1284
|
-
if (yych == '
|
1274
|
+
if (yych <= 0x00000000) goto yy68;
|
1275
|
+
if (yych == ']') goto yy204;
|
1285
1276
|
goto yy144;
|
1286
1277
|
yy145:
|
1287
1278
|
rbs_skip(state);
|
1288
1279
|
yych = peek(state);
|
1289
|
-
if (yych <= 0x00000000) goto
|
1290
|
-
if (yych == '
|
1280
|
+
if (yych <= 0x00000000) goto yy68;
|
1281
|
+
if (yych == '}') goto yy205;
|
1291
1282
|
goto yy145;
|
1292
1283
|
yy146:
|
1284
|
+
rbs_skip(state);
|
1285
|
+
yych = peek(state);
|
1286
|
+
if (yych <= 0x00000000) goto yy68;
|
1287
|
+
if (yych == '|') goto yy206;
|
1288
|
+
goto yy146;
|
1289
|
+
yy147:
|
1293
1290
|
yyaccept = 5;
|
1294
1291
|
rbs_skip(state);
|
1295
1292
|
backup = *state;
|
1296
1293
|
yych = peek(state);
|
1297
1294
|
if (yych <= '\'') {
|
1298
|
-
if (yych <= 0x00000000) goto
|
1299
|
-
if (yych <= '&') goto
|
1300
|
-
goto
|
1295
|
+
if (yych <= 0x00000000) goto yy78;
|
1296
|
+
if (yych <= '&') goto yy75;
|
1297
|
+
goto yy77;
|
1301
1298
|
} else {
|
1302
|
-
if (yych == '\\') goto
|
1303
|
-
goto
|
1299
|
+
if (yych == '\\') goto yy79;
|
1300
|
+
goto yy75;
|
1304
1301
|
}
|
1305
|
-
|
1302
|
+
yy148:
|
1306
1303
|
rbs_skip(state);
|
1307
|
-
#line
|
1304
|
+
#line 38 "ext/rbs_extension/lexer.re"
|
1308
1305
|
{ return next_token(state, pDOT3); }
|
1309
|
-
#line
|
1310
|
-
|
1306
|
+
#line 1307 "ext/rbs_extension/lexer.c"
|
1307
|
+
yy149:
|
1311
1308
|
rbs_skip(state);
|
1312
|
-
#line
|
1309
|
+
#line 108 "ext/rbs_extension/lexer.re"
|
1313
1310
|
{ return next_token(state, tDQSYMBOL); }
|
1314
|
-
#line
|
1315
|
-
|
1311
|
+
#line 1312 "ext/rbs_extension/lexer.c"
|
1312
|
+
yy150:
|
1316
1313
|
rbs_skip(state);
|
1317
1314
|
yych = peek(state);
|
1318
|
-
if (yych == 'u') goto
|
1319
|
-
if (yych == 'x') goto
|
1320
|
-
goto
|
1321
|
-
|
1315
|
+
if (yych == 'u') goto yy207;
|
1316
|
+
if (yych == 'x') goto yy208;
|
1317
|
+
goto yy85;
|
1318
|
+
yy151:
|
1322
1319
|
rbs_skip(state);
|
1323
1320
|
yych = peek(state);
|
1324
1321
|
if (yych <= ',') {
|
1325
1322
|
if (yych <= '\f') {
|
1326
|
-
if (yych <= 0x00000000) goto
|
1327
|
-
if (yych <= 0x00000008) goto
|
1328
|
-
if (yych >= '\v') goto
|
1323
|
+
if (yych <= 0x00000000) goto yy152;
|
1324
|
+
if (yych <= 0x00000008) goto yy151;
|
1325
|
+
if (yych >= '\v') goto yy151;
|
1329
1326
|
} else {
|
1330
1327
|
if (yych <= 0x0000001F) {
|
1331
|
-
if (yych >= 0x0000000E) goto
|
1328
|
+
if (yych >= 0x0000000E) goto yy151;
|
1332
1329
|
} else {
|
1333
|
-
if (yych == '#') goto
|
1330
|
+
if (yych == '#') goto yy151;
|
1334
1331
|
}
|
1335
1332
|
}
|
1336
1333
|
} else {
|
1337
1334
|
if (yych <= '>') {
|
1338
|
-
if (yych <= '-') goto
|
1339
|
-
if (yych <= '/') goto
|
1340
|
-
if (yych <= '9') goto
|
1335
|
+
if (yych <= '-') goto yy151;
|
1336
|
+
if (yych <= '/') goto yy152;
|
1337
|
+
if (yych <= '9') goto yy151;
|
1341
1338
|
} else {
|
1342
1339
|
if (yych <= '^') {
|
1343
|
-
if (yych <= 'Z') goto
|
1340
|
+
if (yych <= 'Z') goto yy151;
|
1344
1341
|
} else {
|
1345
|
-
if (yych <= 'z') goto
|
1346
|
-
if (yych >= 0x0000007F) goto
|
1342
|
+
if (yych <= 'z') goto yy151;
|
1343
|
+
if (yych >= 0x0000007F) goto yy151;
|
1347
1344
|
}
|
1348
1345
|
}
|
1349
1346
|
}
|
1350
|
-
yy151:
|
1351
|
-
#line 126 "ext/rbs_extension/lexer.re"
|
1352
|
-
{ return next_token(state, tSYMBOL); }
|
1353
|
-
#line 1354 "ext/rbs_extension/lexer.c"
|
1354
1347
|
yy152:
|
1355
|
-
|
1356
|
-
|
1348
|
+
#line 125 "ext/rbs_extension/lexer.re"
|
1349
|
+
{ return next_token(state, tSYMBOL); }
|
1350
|
+
#line 1351 "ext/rbs_extension/lexer.c"
|
1357
1351
|
yy153:
|
1358
1352
|
rbs_skip(state);
|
1353
|
+
goto yy152;
|
1359
1354
|
yy154:
|
1360
|
-
|
1361
|
-
{ return next_token(state, tSQSYMBOL); }
|
1362
|
-
#line 1363 "ext/rbs_extension/lexer.c"
|
1355
|
+
rbs_skip(state);
|
1363
1356
|
yy155:
|
1357
|
+
#line 109 "ext/rbs_extension/lexer.re"
|
1358
|
+
{ return next_token(state, tSQSYMBOL); }
|
1359
|
+
#line 1360 "ext/rbs_extension/lexer.c"
|
1360
|
+
yy156:
|
1364
1361
|
rbs_skip(state);
|
1365
1362
|
yych = peek(state);
|
1366
1363
|
if (yych <= '\'') {
|
1367
|
-
if (yych <= 0x00000000) goto
|
1368
|
-
if (yych <= '&') goto
|
1369
|
-
goto
|
1364
|
+
if (yych <= 0x00000000) goto yy68;
|
1365
|
+
if (yych <= '&') goto yy88;
|
1366
|
+
goto yy209;
|
1370
1367
|
} else {
|
1371
|
-
if (yych == '\\') goto
|
1372
|
-
goto
|
1368
|
+
if (yych == '\\') goto yy156;
|
1369
|
+
goto yy88;
|
1373
1370
|
}
|
1374
|
-
yy156:
|
1375
|
-
rbs_skip(state);
|
1376
|
-
yych = peek(state);
|
1377
|
-
if (yych == '>') goto yy86;
|
1378
|
-
goto yy83;
|
1379
1371
|
yy157:
|
1380
1372
|
rbs_skip(state);
|
1381
1373
|
yych = peek(state);
|
1382
|
-
if (yych == '
|
1383
|
-
goto
|
1374
|
+
if (yych == '>') goto yy87;
|
1375
|
+
goto yy84;
|
1384
1376
|
yy158:
|
1377
|
+
rbs_skip(state);
|
1378
|
+
yych = peek(state);
|
1379
|
+
if (yych == '=') goto yy87;
|
1380
|
+
goto yy84;
|
1381
|
+
yy159:
|
1385
1382
|
rbs_skip(state);
|
1386
1383
|
yych = peek(state);
|
1387
1384
|
if (yych <= '^') {
|
1388
|
-
if (yych <= '@') goto
|
1389
|
-
if (yych <= 'Z') goto
|
1390
|
-
goto
|
1385
|
+
if (yych <= '@') goto yy68;
|
1386
|
+
if (yych <= 'Z') goto yy210;
|
1387
|
+
goto yy68;
|
1391
1388
|
} else {
|
1392
|
-
if (yych == '`') goto
|
1393
|
-
if (yych <= 'z') goto
|
1394
|
-
goto
|
1389
|
+
if (yych == '`') goto yy68;
|
1390
|
+
if (yych <= 'z') goto yy210;
|
1391
|
+
goto yy68;
|
1395
1392
|
}
|
1396
|
-
|
1393
|
+
yy160:
|
1397
1394
|
rbs_skip(state);
|
1398
1395
|
yych = peek(state);
|
1399
1396
|
if (yych <= '>') {
|
1400
1397
|
if (yych <= '/') {
|
1401
|
-
if (yych == '!') goto
|
1398
|
+
if (yych == '!') goto yy212;
|
1402
1399
|
} else {
|
1403
|
-
if (yych <= '9') goto
|
1404
|
-
if (yych == '=') goto
|
1400
|
+
if (yych <= '9') goto yy160;
|
1401
|
+
if (yych == '=') goto yy212;
|
1405
1402
|
}
|
1406
1403
|
} else {
|
1407
1404
|
if (yych <= '^') {
|
1408
|
-
if (yych <= '?') goto
|
1409
|
-
if (yych <= '@') goto
|
1410
|
-
if (yych <= 'Z') goto
|
1405
|
+
if (yych <= '?') goto yy212;
|
1406
|
+
if (yych <= '@') goto yy161;
|
1407
|
+
if (yych <= 'Z') goto yy160;
|
1411
1408
|
} else {
|
1412
|
-
if (yych == '`') goto
|
1413
|
-
if (yych <= 'z') goto
|
1409
|
+
if (yych == '`') goto yy161;
|
1410
|
+
if (yych <= 'z') goto yy160;
|
1414
1411
|
}
|
1415
1412
|
}
|
1416
|
-
yy160:
|
1417
|
-
#line 124 "ext/rbs_extension/lexer.re"
|
1418
|
-
{ return next_token(state, tSYMBOL); }
|
1419
|
-
#line 1420 "ext/rbs_extension/lexer.c"
|
1420
1413
|
yy161:
|
1421
|
-
|
1422
|
-
|
1414
|
+
#line 123 "ext/rbs_extension/lexer.re"
|
1415
|
+
{ return next_token(state, tSYMBOL); }
|
1416
|
+
#line 1417 "ext/rbs_extension/lexer.c"
|
1423
1417
|
yy162:
|
1418
|
+
rbs_skip(state);
|
1419
|
+
goto yy97;
|
1420
|
+
yy163:
|
1424
1421
|
rbs_skip(state);
|
1425
1422
|
yych = peek(state);
|
1426
1423
|
if (yych <= 'Z') {
|
1427
|
-
if (yych <= '/') goto
|
1428
|
-
if (yych <= '9') goto
|
1429
|
-
if (yych >= 'A') goto
|
1424
|
+
if (yych <= '/') goto yy164;
|
1425
|
+
if (yych <= '9') goto yy163;
|
1426
|
+
if (yych >= 'A') goto yy163;
|
1430
1427
|
} else {
|
1431
1428
|
if (yych <= '_') {
|
1432
|
-
if (yych >= '_') goto
|
1429
|
+
if (yych >= '_') goto yy163;
|
1433
1430
|
} else {
|
1434
|
-
if (yych <= '`') goto
|
1435
|
-
if (yych <= 'z') goto
|
1431
|
+
if (yych <= '`') goto yy164;
|
1432
|
+
if (yych <= 'z') goto yy163;
|
1436
1433
|
}
|
1437
1434
|
}
|
1438
|
-
yy163:
|
1439
|
-
#line 138 "ext/rbs_extension/lexer.re"
|
1440
|
-
{ return next_token(state, tA2IDENT); }
|
1441
|
-
#line 1442 "ext/rbs_extension/lexer.c"
|
1442
1435
|
yy164:
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1446
|
-
goto yy108;
|
1436
|
+
#line 137 "ext/rbs_extension/lexer.re"
|
1437
|
+
{ return next_token(state, tA2IDENT); }
|
1438
|
+
#line 1439 "ext/rbs_extension/lexer.c"
|
1447
1439
|
yy165:
|
1448
1440
|
rbs_skip(state);
|
1449
|
-
|
1450
|
-
|
1451
|
-
|
1441
|
+
yych = peek(state);
|
1442
|
+
if (yych == 'o') goto yy213;
|
1443
|
+
goto yy109;
|
1452
1444
|
yy166:
|
1453
1445
|
rbs_skip(state);
|
1454
|
-
|
1455
|
-
|
1456
|
-
|
1446
|
+
#line 40 "ext/rbs_extension/lexer.re"
|
1447
|
+
{ return next_token(state, tQIDENT); }
|
1448
|
+
#line 1449 "ext/rbs_extension/lexer.c"
|
1457
1449
|
yy167:
|
1458
1450
|
rbs_skip(state);
|
1459
1451
|
yych = peek(state);
|
1460
|
-
if (yych == '
|
1461
|
-
goto
|
1452
|
+
if (yych == 'a') goto yy214;
|
1453
|
+
goto yy53;
|
1462
1454
|
yy168:
|
1463
1455
|
rbs_skip(state);
|
1464
1456
|
yych = peek(state);
|
1465
|
-
if (yych == '
|
1466
|
-
goto
|
1457
|
+
if (yych == 'r') goto yy215;
|
1458
|
+
goto yy53;
|
1467
1459
|
yy169:
|
1460
|
+
rbs_skip(state);
|
1461
|
+
yych = peek(state);
|
1462
|
+
if (yych == 'l') goto yy216;
|
1463
|
+
goto yy53;
|
1464
|
+
yy170:
|
1468
1465
|
rbs_skip(state);
|
1469
1466
|
yych = peek(state);
|
1470
1467
|
if (yych <= '=') {
|
1471
1468
|
if (yych <= '/') {
|
1472
|
-
if (yych == '!') goto
|
1469
|
+
if (yych == '!') goto yy105;
|
1473
1470
|
} else {
|
1474
|
-
if (yych <= '9') goto
|
1475
|
-
if (yych >= '=') goto
|
1471
|
+
if (yych <= '9') goto yy52;
|
1472
|
+
if (yych >= '=') goto yy106;
|
1476
1473
|
}
|
1477
1474
|
} else {
|
1478
1475
|
if (yych <= '^') {
|
1479
|
-
if (yych <= '@') goto
|
1480
|
-
if (yych <= 'Z') goto
|
1476
|
+
if (yych <= '@') goto yy171;
|
1477
|
+
if (yych <= 'Z') goto yy52;
|
1481
1478
|
} else {
|
1482
|
-
if (yych == '`') goto
|
1483
|
-
if (yych <= 'z') goto
|
1479
|
+
if (yych == '`') goto yy171;
|
1480
|
+
if (yych <= 'z') goto yy52;
|
1484
1481
|
}
|
1485
1482
|
}
|
1486
|
-
yy170:
|
1487
|
-
#line 72 "ext/rbs_extension/lexer.re"
|
1488
|
-
{ return next_token(state, kBOT); }
|
1489
|
-
#line 1490 "ext/rbs_extension/lexer.c"
|
1490
1483
|
yy171:
|
1484
|
+
#line 71 "ext/rbs_extension/lexer.re"
|
1485
|
+
{ return next_token(state, kBOT); }
|
1486
|
+
#line 1487 "ext/rbs_extension/lexer.c"
|
1487
|
+
yy172:
|
1491
1488
|
rbs_skip(state);
|
1492
1489
|
yych = peek(state);
|
1493
|
-
if (yych == 's') goto
|
1494
|
-
goto
|
1495
|
-
|
1490
|
+
if (yych == 's') goto yy218;
|
1491
|
+
goto yy53;
|
1492
|
+
yy173:
|
1496
1493
|
rbs_skip(state);
|
1497
1494
|
yych = peek(state);
|
1498
1495
|
if (yych <= '=') {
|
1499
1496
|
if (yych <= '/') {
|
1500
|
-
if (yych == '!') goto
|
1497
|
+
if (yych == '!') goto yy105;
|
1501
1498
|
} else {
|
1502
|
-
if (yych <= '9') goto
|
1503
|
-
if (yych >= '=') goto
|
1499
|
+
if (yych <= '9') goto yy52;
|
1500
|
+
if (yych >= '=') goto yy106;
|
1504
1501
|
}
|
1505
1502
|
} else {
|
1506
1503
|
if (yych <= '^') {
|
1507
|
-
if (yych <= '@') goto
|
1508
|
-
if (yych <= 'Z') goto
|
1504
|
+
if (yych <= '@') goto yy174;
|
1505
|
+
if (yych <= 'Z') goto yy52;
|
1509
1506
|
} else {
|
1510
|
-
if (yych == '`') goto
|
1511
|
-
if (yych <= 'z') goto
|
1507
|
+
if (yych == '`') goto yy174;
|
1508
|
+
if (yych <= 'z') goto yy52;
|
1512
1509
|
}
|
1513
1510
|
}
|
1514
|
-
yy173:
|
1515
|
-
#line 74 "ext/rbs_extension/lexer.re"
|
1516
|
-
{ return next_token(state, kDEF); }
|
1517
|
-
#line 1518 "ext/rbs_extension/lexer.c"
|
1518
1511
|
yy174:
|
1512
|
+
#line 73 "ext/rbs_extension/lexer.re"
|
1513
|
+
{ return next_token(state, kDEF); }
|
1514
|
+
#line 1515 "ext/rbs_extension/lexer.c"
|
1515
|
+
yy175:
|
1519
1516
|
rbs_skip(state);
|
1520
1517
|
yych = peek(state);
|
1521
1518
|
if (yych <= '=') {
|
1522
1519
|
if (yych <= '/') {
|
1523
|
-
if (yych == '!') goto
|
1520
|
+
if (yych == '!') goto yy105;
|
1524
1521
|
} else {
|
1525
|
-
if (yych <= '9') goto
|
1526
|
-
if (yych >= '=') goto
|
1522
|
+
if (yych <= '9') goto yy52;
|
1523
|
+
if (yych >= '=') goto yy106;
|
1527
1524
|
}
|
1528
1525
|
} else {
|
1529
1526
|
if (yych <= '^') {
|
1530
|
-
if (yych <= '@') goto
|
1531
|
-
if (yych <= 'Z') goto
|
1527
|
+
if (yych <= '@') goto yy176;
|
1528
|
+
if (yych <= 'Z') goto yy52;
|
1532
1529
|
} else {
|
1533
|
-
if (yych == '`') goto
|
1534
|
-
if (yych <= 'z') goto
|
1530
|
+
if (yych == '`') goto yy176;
|
1531
|
+
if (yych <= 'z') goto yy52;
|
1535
1532
|
}
|
1536
1533
|
}
|
1537
|
-
yy175:
|
1538
|
-
#line 75 "ext/rbs_extension/lexer.re"
|
1539
|
-
{ return next_token(state, kEND); }
|
1540
|
-
#line 1541 "ext/rbs_extension/lexer.c"
|
1541
1534
|
yy176:
|
1542
|
-
|
1543
|
-
|
1544
|
-
|
1545
|
-
goto yy52;
|
1535
|
+
#line 74 "ext/rbs_extension/lexer.re"
|
1536
|
+
{ return next_token(state, kEND); }
|
1537
|
+
#line 1538 "ext/rbs_extension/lexer.c"
|
1546
1538
|
yy177:
|
1547
1539
|
rbs_skip(state);
|
1548
1540
|
yych = peek(state);
|
1549
|
-
if (yych == '
|
1550
|
-
goto
|
1541
|
+
if (yych == 'e') goto yy219;
|
1542
|
+
goto yy53;
|
1551
1543
|
yy178:
|
1552
1544
|
rbs_skip(state);
|
1553
1545
|
yych = peek(state);
|
1554
|
-
if (yych == '
|
1555
|
-
goto
|
1546
|
+
if (yych == 's') goto yy220;
|
1547
|
+
goto yy53;
|
1556
1548
|
yy179:
|
1557
1549
|
rbs_skip(state);
|
1558
1550
|
yych = peek(state);
|
1559
|
-
if (yych == '
|
1560
|
-
goto
|
1551
|
+
if (yych == 'l') goto yy221;
|
1552
|
+
goto yy53;
|
1561
1553
|
yy180:
|
1562
1554
|
rbs_skip(state);
|
1563
1555
|
yych = peek(state);
|
1564
|
-
if (yych == '
|
1565
|
-
goto
|
1556
|
+
if (yych == 't') goto yy222;
|
1557
|
+
goto yy53;
|
1566
1558
|
yy181:
|
1567
1559
|
rbs_skip(state);
|
1568
1560
|
yych = peek(state);
|
1569
|
-
if (yych == '
|
1570
|
-
goto
|
1561
|
+
if (yych == 'e') goto yy223;
|
1562
|
+
goto yy53;
|
1571
1563
|
yy182:
|
1564
|
+
rbs_skip(state);
|
1565
|
+
yych = peek(state);
|
1566
|
+
if (yych == 'u') goto yy224;
|
1567
|
+
goto yy53;
|
1568
|
+
yy183:
|
1572
1569
|
rbs_skip(state);
|
1573
1570
|
yych = peek(state);
|
1574
1571
|
if (yych <= '=') {
|
1575
1572
|
if (yych <= '/') {
|
1576
|
-
if (yych == '!') goto
|
1573
|
+
if (yych == '!') goto yy105;
|
1577
1574
|
} else {
|
1578
|
-
if (yych <= '9') goto
|
1579
|
-
if (yych >= '=') goto
|
1575
|
+
if (yych <= '9') goto yy52;
|
1576
|
+
if (yych >= '=') goto yy106;
|
1580
1577
|
}
|
1581
1578
|
} else {
|
1582
1579
|
if (yych <= '^') {
|
1583
|
-
if (yych <= '@') goto
|
1584
|
-
if (yych <= 'Z') goto
|
1580
|
+
if (yych <= '@') goto yy184;
|
1581
|
+
if (yych <= 'Z') goto yy52;
|
1585
1582
|
} else {
|
1586
|
-
if (yych == '`') goto
|
1587
|
-
if (yych <= 'z') goto
|
1583
|
+
if (yych == '`') goto yy184;
|
1584
|
+
if (yych <= 'z') goto yy52;
|
1588
1585
|
}
|
1589
1586
|
}
|
1590
|
-
yy183:
|
1591
|
-
#line 83 "ext/rbs_extension/lexer.re"
|
1592
|
-
{ return next_token(state, kNIL); }
|
1593
|
-
#line 1594 "ext/rbs_extension/lexer.c"
|
1594
1587
|
yy184:
|
1588
|
+
#line 82 "ext/rbs_extension/lexer.re"
|
1589
|
+
{ return next_token(state, kNIL); }
|
1590
|
+
#line 1591 "ext/rbs_extension/lexer.c"
|
1591
|
+
yy185:
|
1595
1592
|
rbs_skip(state);
|
1596
1593
|
yych = peek(state);
|
1597
1594
|
if (yych <= '=') {
|
1598
1595
|
if (yych <= '/') {
|
1599
|
-
if (yych == '!') goto
|
1596
|
+
if (yych == '!') goto yy105;
|
1600
1597
|
} else {
|
1601
|
-
if (yych <= '9') goto
|
1602
|
-
if (yych >= '=') goto
|
1598
|
+
if (yych <= '9') goto yy52;
|
1599
|
+
if (yych >= '=') goto yy106;
|
1603
1600
|
}
|
1604
1601
|
} else {
|
1605
1602
|
if (yych <= '^') {
|
1606
|
-
if (yych <= '@') goto
|
1607
|
-
if (yych <= 'Z') goto
|
1603
|
+
if (yych <= '@') goto yy186;
|
1604
|
+
if (yych <= 'Z') goto yy52;
|
1608
1605
|
} else {
|
1609
|
-
if (yych == '`') goto
|
1610
|
-
if (yych <= 'z') goto
|
1606
|
+
if (yych == '`') goto yy186;
|
1607
|
+
if (yych <= 'z') goto yy52;
|
1611
1608
|
}
|
1612
1609
|
}
|
1613
|
-
yy185:
|
1614
|
-
#line 84 "ext/rbs_extension/lexer.re"
|
1615
|
-
{ return next_token(state, kOUT); }
|
1616
|
-
#line 1617 "ext/rbs_extension/lexer.c"
|
1617
1610
|
yy186:
|
1618
|
-
|
1619
|
-
|
1620
|
-
|
1621
|
-
goto yy52;
|
1611
|
+
#line 83 "ext/rbs_extension/lexer.re"
|
1612
|
+
{ return next_token(state, kOUT); }
|
1613
|
+
#line 1614 "ext/rbs_extension/lexer.c"
|
1622
1614
|
yy187:
|
1623
1615
|
rbs_skip(state);
|
1624
1616
|
yych = peek(state);
|
1625
|
-
if (yych == '
|
1626
|
-
goto
|
1617
|
+
if (yych == 'p') goto yy225;
|
1618
|
+
goto yy53;
|
1627
1619
|
yy188:
|
1628
1620
|
rbs_skip(state);
|
1629
1621
|
yych = peek(state);
|
1630
|
-
if (yych == '
|
1631
|
-
goto
|
1622
|
+
if (yych == 'v') goto yy226;
|
1623
|
+
goto yy53;
|
1632
1624
|
yy189:
|
1633
1625
|
rbs_skip(state);
|
1634
1626
|
yych = peek(state);
|
1635
|
-
if (yych == '
|
1636
|
-
goto
|
1627
|
+
if (yych == 'l') goto yy227;
|
1628
|
+
goto yy53;
|
1637
1629
|
yy190:
|
1638
1630
|
rbs_skip(state);
|
1639
1631
|
yych = peek(state);
|
1640
|
-
if (yych == '
|
1641
|
-
goto
|
1632
|
+
if (yych == 'f') goto yy228;
|
1633
|
+
goto yy53;
|
1642
1634
|
yy191:
|
1635
|
+
rbs_skip(state);
|
1636
|
+
yych = peek(state);
|
1637
|
+
if (yych == 'g') goto yy230;
|
1638
|
+
goto yy53;
|
1639
|
+
yy192:
|
1643
1640
|
rbs_skip(state);
|
1644
1641
|
yych = peek(state);
|
1645
1642
|
if (yych <= '=') {
|
1646
1643
|
if (yych <= '/') {
|
1647
|
-
if (yych == '!') goto
|
1644
|
+
if (yych == '!') goto yy105;
|
1648
1645
|
} else {
|
1649
|
-
if (yych <= '9') goto
|
1650
|
-
if (yych >= '=') goto
|
1646
|
+
if (yych <= '9') goto yy52;
|
1647
|
+
if (yych >= '=') goto yy106;
|
1651
1648
|
}
|
1652
1649
|
} else {
|
1653
1650
|
if (yych <= '^') {
|
1654
|
-
if (yych <= '@') goto
|
1655
|
-
if (yych <= 'Z') goto
|
1651
|
+
if (yych <= '@') goto yy193;
|
1652
|
+
if (yych <= 'Z') goto yy52;
|
1656
1653
|
} else {
|
1657
|
-
if (yych == '`') goto
|
1658
|
-
if (yych <= 'z') goto
|
1654
|
+
if (yych == '`') goto yy193;
|
1655
|
+
if (yych <= 'z') goto yy52;
|
1659
1656
|
}
|
1660
1657
|
}
|
1661
|
-
yy192:
|
1662
|
-
#line 90 "ext/rbs_extension/lexer.re"
|
1663
|
-
{ return next_token(state, kTOP); }
|
1664
|
-
#line 1665 "ext/rbs_extension/lexer.c"
|
1665
1658
|
yy193:
|
1666
|
-
|
1667
|
-
|
1668
|
-
|
1669
|
-
goto yy52;
|
1659
|
+
#line 89 "ext/rbs_extension/lexer.re"
|
1660
|
+
{ return next_token(state, kTOP); }
|
1661
|
+
#line 1662 "ext/rbs_extension/lexer.c"
|
1670
1662
|
yy194:
|
1671
1663
|
rbs_skip(state);
|
1672
1664
|
yych = peek(state);
|
1673
|
-
if (yych == 'e') goto
|
1674
|
-
goto
|
1665
|
+
if (yych == 'e') goto yy231;
|
1666
|
+
goto yy53;
|
1675
1667
|
yy195:
|
1676
1668
|
rbs_skip(state);
|
1677
1669
|
yych = peek(state);
|
1678
|
-
if (yych == '
|
1679
|
-
goto
|
1670
|
+
if (yych == 'e') goto yy233;
|
1671
|
+
goto yy53;
|
1680
1672
|
yy196:
|
1681
1673
|
rbs_skip(state);
|
1682
1674
|
yych = peek(state);
|
1683
|
-
if (yych == '
|
1684
|
-
goto
|
1675
|
+
if (yych == 'h') goto yy235;
|
1676
|
+
goto yy53;
|
1685
1677
|
yy197:
|
1678
|
+
rbs_skip(state);
|
1679
|
+
yych = peek(state);
|
1680
|
+
if (yych == 'y') goto yy236;
|
1681
|
+
goto yy53;
|
1682
|
+
yy198:
|
1686
1683
|
rbs_skip(state);
|
1687
1684
|
yych = peek(state);
|
1688
1685
|
if (yych <= '=') {
|
1689
1686
|
if (yych <= '/') {
|
1690
|
-
if (yych == '!') goto
|
1687
|
+
if (yych == '!') goto yy105;
|
1691
1688
|
} else {
|
1692
|
-
if (yych <= '9') goto
|
1693
|
-
if (yych >= '=') goto
|
1689
|
+
if (yych <= '9') goto yy52;
|
1690
|
+
if (yych >= '=') goto yy106;
|
1694
1691
|
}
|
1695
1692
|
} else {
|
1696
1693
|
if (yych <= '^') {
|
1697
|
-
if (yych <= '@') goto
|
1698
|
-
if (yych <= 'Z') goto
|
1694
|
+
if (yych <= '@') goto yy199;
|
1695
|
+
if (yych <= 'Z') goto yy52;
|
1699
1696
|
} else {
|
1700
|
-
if (yych == '`') goto
|
1701
|
-
if (yych <= 'z') goto
|
1697
|
+
if (yych == '`') goto yy199;
|
1698
|
+
if (yych <= 'z') goto yy52;
|
1702
1699
|
}
|
1703
1700
|
}
|
1704
|
-
yy198:
|
1705
|
-
#line 96 "ext/rbs_extension/lexer.re"
|
1706
|
-
{ return next_token(state, kUSE); }
|
1707
|
-
#line 1708 "ext/rbs_extension/lexer.c"
|
1708
1701
|
yy199:
|
1702
|
+
#line 95 "ext/rbs_extension/lexer.re"
|
1703
|
+
{ return next_token(state, kUSE); }
|
1704
|
+
#line 1705 "ext/rbs_extension/lexer.c"
|
1705
|
+
yy200:
|
1709
1706
|
rbs_skip(state);
|
1710
1707
|
yych = peek(state);
|
1711
|
-
if (yych == 'd') goto
|
1712
|
-
goto
|
1713
|
-
|
1708
|
+
if (yych == 'd') goto yy237;
|
1709
|
+
goto yy53;
|
1710
|
+
yy201:
|
1714
1711
|
rbs_skip(state);
|
1715
1712
|
yych = peek(state);
|
1716
1713
|
if (yych <= '@') {
|
1717
|
-
if (yych <= '/') goto
|
1718
|
-
if (yych <= '9') goto
|
1719
|
-
goto
|
1714
|
+
if (yych <= '/') goto yy68;
|
1715
|
+
if (yych <= '9') goto yy239;
|
1716
|
+
goto yy68;
|
1720
1717
|
} else {
|
1721
|
-
if (yych <= 'F') goto
|
1722
|
-
if (yych <= '`') goto
|
1723
|
-
if (yych <= 'f') goto
|
1724
|
-
goto
|
1718
|
+
if (yych <= 'F') goto yy239;
|
1719
|
+
if (yych <= '`') goto yy68;
|
1720
|
+
if (yych <= 'f') goto yy239;
|
1721
|
+
goto yy68;
|
1725
1722
|
}
|
1726
|
-
yy201:
|
1727
|
-
rbs_skip(state);
|
1728
|
-
#line 55 "ext/rbs_extension/lexer.re"
|
1729
|
-
{ return next_token(state, tANNOTATION); }
|
1730
|
-
#line 1731 "ext/rbs_extension/lexer.c"
|
1731
1723
|
yy202:
|
1732
1724
|
rbs_skip(state);
|
1733
|
-
#line
|
1725
|
+
#line 54 "ext/rbs_extension/lexer.re"
|
1734
1726
|
{ return next_token(state, tANNOTATION); }
|
1735
|
-
#line
|
1727
|
+
#line 1728 "ext/rbs_extension/lexer.c"
|
1736
1728
|
yy203:
|
1737
1729
|
rbs_skip(state);
|
1738
|
-
#line
|
1730
|
+
#line 57 "ext/rbs_extension/lexer.re"
|
1739
1731
|
{ return next_token(state, tANNOTATION); }
|
1740
|
-
#line
|
1732
|
+
#line 1733 "ext/rbs_extension/lexer.c"
|
1741
1733
|
yy204:
|
1742
1734
|
rbs_skip(state);
|
1743
|
-
#line
|
1735
|
+
#line 55 "ext/rbs_extension/lexer.re"
|
1744
1736
|
{ return next_token(state, tANNOTATION); }
|
1745
|
-
#line
|
1737
|
+
#line 1738 "ext/rbs_extension/lexer.c"
|
1746
1738
|
yy205:
|
1747
1739
|
rbs_skip(state);
|
1748
|
-
#line
|
1740
|
+
#line 53 "ext/rbs_extension/lexer.re"
|
1749
1741
|
{ return next_token(state, tANNOTATION); }
|
1750
|
-
#line
|
1742
|
+
#line 1743 "ext/rbs_extension/lexer.c"
|
1751
1743
|
yy206:
|
1752
1744
|
rbs_skip(state);
|
1745
|
+
#line 56 "ext/rbs_extension/lexer.re"
|
1746
|
+
{ return next_token(state, tANNOTATION); }
|
1747
|
+
#line 1748 "ext/rbs_extension/lexer.c"
|
1748
|
+
yy207:
|
1749
|
+
rbs_skip(state);
|
1753
1750
|
yych = peek(state);
|
1754
1751
|
if (yych <= '@') {
|
1755
|
-
if (yych <= '/') goto
|
1756
|
-
if (yych <= '9') goto
|
1757
|
-
goto
|
1752
|
+
if (yych <= '/') goto yy68;
|
1753
|
+
if (yych <= '9') goto yy240;
|
1754
|
+
goto yy68;
|
1758
1755
|
} else {
|
1759
|
-
if (yych <= 'F') goto
|
1760
|
-
if (yych <= '`') goto
|
1761
|
-
if (yych <= 'f') goto
|
1762
|
-
goto
|
1756
|
+
if (yych <= 'F') goto yy240;
|
1757
|
+
if (yych <= '`') goto yy68;
|
1758
|
+
if (yych <= 'f') goto yy240;
|
1759
|
+
goto yy68;
|
1763
1760
|
}
|
1764
|
-
|
1761
|
+
yy208:
|
1765
1762
|
rbs_skip(state);
|
1766
1763
|
yych = peek(state);
|
1767
|
-
if (yych <= '/') goto
|
1768
|
-
if (yych <= '9') goto
|
1769
|
-
if (yych <= '`') goto
|
1770
|
-
if (yych <= 'f') goto
|
1771
|
-
goto
|
1772
|
-
|
1764
|
+
if (yych <= '/') goto yy68;
|
1765
|
+
if (yych <= '9') goto yy85;
|
1766
|
+
if (yych <= '`') goto yy68;
|
1767
|
+
if (yych <= 'f') goto yy85;
|
1768
|
+
goto yy68;
|
1769
|
+
yy209:
|
1773
1770
|
yyaccept = 6;
|
1774
1771
|
rbs_skip(state);
|
1775
1772
|
backup = *state;
|
1776
1773
|
yych = peek(state);
|
1777
1774
|
if (yych <= '\'') {
|
1778
|
-
if (yych <= 0x00000000) goto
|
1779
|
-
if (yych <= '&') goto
|
1780
|
-
goto
|
1775
|
+
if (yych <= 0x00000000) goto yy155;
|
1776
|
+
if (yych <= '&') goto yy88;
|
1777
|
+
goto yy154;
|
1781
1778
|
} else {
|
1782
|
-
if (yych == '\\') goto
|
1783
|
-
goto
|
1779
|
+
if (yych == '\\') goto yy156;
|
1780
|
+
goto yy88;
|
1784
1781
|
}
|
1785
|
-
|
1782
|
+
yy210:
|
1786
1783
|
rbs_skip(state);
|
1787
1784
|
yych = peek(state);
|
1788
1785
|
if (yych <= '>') {
|
1789
1786
|
if (yych <= '/') {
|
1790
|
-
if (yych == '!') goto
|
1787
|
+
if (yych == '!') goto yy241;
|
1791
1788
|
} else {
|
1792
|
-
if (yych <= '9') goto
|
1793
|
-
if (yych == '=') goto
|
1789
|
+
if (yych <= '9') goto yy210;
|
1790
|
+
if (yych == '=') goto yy241;
|
1794
1791
|
}
|
1795
1792
|
} else {
|
1796
1793
|
if (yych <= '^') {
|
1797
|
-
if (yych <= '?') goto
|
1798
|
-
if (yych <= '@') goto
|
1799
|
-
if (yych <= 'Z') goto
|
1794
|
+
if (yych <= '?') goto yy241;
|
1795
|
+
if (yych <= '@') goto yy211;
|
1796
|
+
if (yych <= 'Z') goto yy210;
|
1800
1797
|
} else {
|
1801
|
-
if (yych == '`') goto
|
1802
|
-
if (yych <= 'z') goto
|
1798
|
+
if (yych == '`') goto yy211;
|
1799
|
+
if (yych <= 'z') goto yy210;
|
1803
1800
|
}
|
1804
1801
|
}
|
1805
|
-
yy210:
|
1806
|
-
#line 125 "ext/rbs_extension/lexer.re"
|
1807
|
-
{ return next_token(state, tSYMBOL); }
|
1808
|
-
#line 1809 "ext/rbs_extension/lexer.c"
|
1809
1802
|
yy211:
|
1810
|
-
|
1811
|
-
|
1803
|
+
#line 124 "ext/rbs_extension/lexer.re"
|
1804
|
+
{ return next_token(state, tSYMBOL); }
|
1805
|
+
#line 1806 "ext/rbs_extension/lexer.c"
|
1812
1806
|
yy212:
|
1813
1807
|
rbs_skip(state);
|
1814
|
-
|
1815
|
-
if (yych == 'd') goto yy241;
|
1816
|
-
goto yy108;
|
1808
|
+
goto yy161;
|
1817
1809
|
yy213:
|
1818
1810
|
rbs_skip(state);
|
1819
1811
|
yych = peek(state);
|
1820
|
-
if (yych == '
|
1821
|
-
goto
|
1812
|
+
if (yych == 'd') goto yy242;
|
1813
|
+
goto yy109;
|
1822
1814
|
yy214:
|
1823
1815
|
rbs_skip(state);
|
1824
1816
|
yych = peek(state);
|
1825
|
-
if (yych == '
|
1826
|
-
goto
|
1817
|
+
if (yych == 's') goto yy243;
|
1818
|
+
goto yy53;
|
1827
1819
|
yy215:
|
1820
|
+
rbs_skip(state);
|
1821
|
+
yych = peek(state);
|
1822
|
+
if (yych == '_') goto yy245;
|
1823
|
+
goto yy53;
|
1824
|
+
yy216:
|
1828
1825
|
rbs_skip(state);
|
1829
1826
|
yych = peek(state);
|
1830
1827
|
if (yych <= '=') {
|
1831
1828
|
if (yych <= '/') {
|
1832
|
-
if (yych == '!') goto
|
1829
|
+
if (yych == '!') goto yy105;
|
1833
1830
|
} else {
|
1834
|
-
if (yych <= '9') goto
|
1835
|
-
if (yych >= '=') goto
|
1831
|
+
if (yych <= '9') goto yy52;
|
1832
|
+
if (yych >= '=') goto yy106;
|
1836
1833
|
}
|
1837
1834
|
} else {
|
1838
1835
|
if (yych <= '^') {
|
1839
|
-
if (yych <= '@') goto
|
1840
|
-
if (yych <= 'Z') goto
|
1836
|
+
if (yych <= '@') goto yy217;
|
1837
|
+
if (yych <= 'Z') goto yy52;
|
1841
1838
|
} else {
|
1842
|
-
if (yych == '`') goto
|
1843
|
-
if (yych <= 'z') goto
|
1839
|
+
if (yych == '`') goto yy217;
|
1840
|
+
if (yych <= 'z') goto yy52;
|
1844
1841
|
}
|
1845
1842
|
}
|
1846
|
-
yy216:
|
1847
|
-
#line 71 "ext/rbs_extension/lexer.re"
|
1848
|
-
{ return next_token(state, kBOOL); }
|
1849
|
-
#line 1850 "ext/rbs_extension/lexer.c"
|
1850
1843
|
yy217:
|
1851
|
-
|
1852
|
-
|
1853
|
-
|
1854
|
-
goto yy52;
|
1844
|
+
#line 70 "ext/rbs_extension/lexer.re"
|
1845
|
+
{ return next_token(state, kBOOL); }
|
1846
|
+
#line 1847 "ext/rbs_extension/lexer.c"
|
1855
1847
|
yy218:
|
1856
1848
|
rbs_skip(state);
|
1857
1849
|
yych = peek(state);
|
1858
|
-
if (yych == '
|
1859
|
-
goto
|
1850
|
+
if (yych == 's') goto yy246;
|
1851
|
+
goto yy53;
|
1860
1852
|
yy219:
|
1861
1853
|
rbs_skip(state);
|
1862
1854
|
yych = peek(state);
|
1863
|
-
if (yych == '
|
1864
|
-
goto
|
1855
|
+
if (yych == 'n') goto yy248;
|
1856
|
+
goto yy53;
|
1865
1857
|
yy220:
|
1866
1858
|
rbs_skip(state);
|
1867
1859
|
yych = peek(state);
|
1868
|
-
if (yych == '
|
1869
|
-
goto
|
1860
|
+
if (yych == 'e') goto yy249;
|
1861
|
+
goto yy53;
|
1870
1862
|
yy221:
|
1871
1863
|
rbs_skip(state);
|
1872
1864
|
yych = peek(state);
|
1873
|
-
if (yych == '
|
1874
|
-
goto
|
1865
|
+
if (yych == 'u') goto yy251;
|
1866
|
+
goto yy53;
|
1875
1867
|
yy222:
|
1876
1868
|
rbs_skip(state);
|
1877
1869
|
yych = peek(state);
|
1878
|
-
if (yych == '
|
1879
|
-
goto
|
1870
|
+
if (yych == 'a') goto yy252;
|
1871
|
+
goto yy53;
|
1880
1872
|
yy223:
|
1881
1873
|
rbs_skip(state);
|
1882
1874
|
yych = peek(state);
|
1883
|
-
if (yych == '
|
1884
|
-
goto
|
1875
|
+
if (yych == 'r') goto yy253;
|
1876
|
+
goto yy53;
|
1885
1877
|
yy224:
|
1886
1878
|
rbs_skip(state);
|
1887
1879
|
yych = peek(state);
|
1888
|
-
if (yych == '
|
1889
|
-
goto
|
1880
|
+
if (yych == 'l') goto yy254;
|
1881
|
+
goto yy53;
|
1890
1882
|
yy225:
|
1891
1883
|
rbs_skip(state);
|
1892
1884
|
yych = peek(state);
|
1893
|
-
if (yych == '
|
1894
|
-
goto
|
1885
|
+
if (yych == 'e') goto yy255;
|
1886
|
+
goto yy53;
|
1895
1887
|
yy226:
|
1896
1888
|
rbs_skip(state);
|
1897
1889
|
yych = peek(state);
|
1898
|
-
if (yych == '
|
1899
|
-
goto
|
1890
|
+
if (yych == 'a') goto yy256;
|
1891
|
+
goto yy53;
|
1900
1892
|
yy227:
|
1893
|
+
rbs_skip(state);
|
1894
|
+
yych = peek(state);
|
1895
|
+
if (yych == 'i') goto yy257;
|
1896
|
+
goto yy53;
|
1897
|
+
yy228:
|
1901
1898
|
rbs_skip(state);
|
1902
1899
|
yych = peek(state);
|
1903
1900
|
if (yych <= '=') {
|
1904
1901
|
if (yych <= '/') {
|
1905
|
-
if (yych == '!') goto
|
1902
|
+
if (yych == '!') goto yy105;
|
1906
1903
|
} else {
|
1907
|
-
if (yych <= '9') goto
|
1908
|
-
if (yych >= '=') goto
|
1904
|
+
if (yych <= '9') goto yy52;
|
1905
|
+
if (yych >= '=') goto yy106;
|
1909
1906
|
}
|
1910
1907
|
} else {
|
1911
1908
|
if (yych <= '^') {
|
1912
|
-
if (yych <= '@') goto
|
1913
|
-
if (yych <= 'Z') goto
|
1909
|
+
if (yych <= '@') goto yy229;
|
1910
|
+
if (yych <= 'Z') goto yy52;
|
1914
1911
|
} else {
|
1915
|
-
if (yych == '`') goto
|
1916
|
-
if (yych <= 'z') goto
|
1912
|
+
if (yych == '`') goto yy229;
|
1913
|
+
if (yych <= 'z') goto yy52;
|
1917
1914
|
}
|
1918
1915
|
}
|
1919
|
-
yy228:
|
1920
|
-
#line 88 "ext/rbs_extension/lexer.re"
|
1921
|
-
{ return next_token(state, kSELF); }
|
1922
|
-
#line 1923 "ext/rbs_extension/lexer.c"
|
1923
1916
|
yy229:
|
1917
|
+
#line 87 "ext/rbs_extension/lexer.re"
|
1918
|
+
{ return next_token(state, kSELF); }
|
1919
|
+
#line 1920 "ext/rbs_extension/lexer.c"
|
1920
|
+
yy230:
|
1924
1921
|
rbs_skip(state);
|
1925
1922
|
yych = peek(state);
|
1926
|
-
if (yych == 'l') goto
|
1927
|
-
goto
|
1928
|
-
|
1923
|
+
if (yych == 'l') goto yy258;
|
1924
|
+
goto yy53;
|
1925
|
+
yy231:
|
1929
1926
|
rbs_skip(state);
|
1930
1927
|
yych = peek(state);
|
1931
1928
|
if (yych <= '=') {
|
1932
1929
|
if (yych <= '/') {
|
1933
|
-
if (yych == '!') goto
|
1930
|
+
if (yych == '!') goto yy105;
|
1934
1931
|
} else {
|
1935
|
-
if (yych <= '9') goto
|
1936
|
-
if (yych >= '=') goto
|
1932
|
+
if (yych <= '9') goto yy52;
|
1933
|
+
if (yych >= '=') goto yy106;
|
1937
1934
|
}
|
1938
1935
|
} else {
|
1939
1936
|
if (yych <= '^') {
|
1940
|
-
if (yych <= '@') goto
|
1941
|
-
if (yych <= 'Z') goto
|
1937
|
+
if (yych <= '@') goto yy232;
|
1938
|
+
if (yych <= 'Z') goto yy52;
|
1942
1939
|
} else {
|
1943
|
-
if (yych == '`') goto
|
1944
|
-
if (yych <= 'z') goto
|
1940
|
+
if (yych == '`') goto yy232;
|
1941
|
+
if (yych <= 'z') goto yy52;
|
1945
1942
|
}
|
1946
1943
|
}
|
1947
|
-
yy231:
|
1948
|
-
#line 91 "ext/rbs_extension/lexer.re"
|
1949
|
-
{ return next_token(state, kTRUE); }
|
1950
|
-
#line 1951 "ext/rbs_extension/lexer.c"
|
1951
1944
|
yy232:
|
1945
|
+
#line 90 "ext/rbs_extension/lexer.re"
|
1946
|
+
{ return next_token(state, kTRUE); }
|
1947
|
+
#line 1948 "ext/rbs_extension/lexer.c"
|
1948
|
+
yy233:
|
1952
1949
|
rbs_skip(state);
|
1953
1950
|
yych = peek(state);
|
1954
1951
|
if (yych <= '=') {
|
1955
1952
|
if (yych <= '/') {
|
1956
|
-
if (yych == '!') goto
|
1953
|
+
if (yych == '!') goto yy105;
|
1957
1954
|
} else {
|
1958
|
-
if (yych <= '9') goto
|
1959
|
-
if (yych >= '=') goto
|
1955
|
+
if (yych <= '9') goto yy52;
|
1956
|
+
if (yych >= '=') goto yy106;
|
1960
1957
|
}
|
1961
1958
|
} else {
|
1962
1959
|
if (yych <= '^') {
|
1963
|
-
if (yych <= '@') goto
|
1964
|
-
if (yych <= 'Z') goto
|
1960
|
+
if (yych <= '@') goto yy234;
|
1961
|
+
if (yych <= 'Z') goto yy52;
|
1965
1962
|
} else {
|
1966
|
-
if (yych == '`') goto
|
1967
|
-
if (yych <= 'z') goto
|
1963
|
+
if (yych == '`') goto yy234;
|
1964
|
+
if (yych <= 'z') goto yy52;
|
1968
1965
|
}
|
1969
1966
|
}
|
1970
|
-
yy233:
|
1971
|
-
#line 92 "ext/rbs_extension/lexer.re"
|
1972
|
-
{ return next_token(state, kTYPE); }
|
1973
|
-
#line 1974 "ext/rbs_extension/lexer.c"
|
1974
1967
|
yy234:
|
1975
|
-
|
1976
|
-
|
1977
|
-
|
1978
|
-
goto yy52;
|
1968
|
+
#line 91 "ext/rbs_extension/lexer.re"
|
1969
|
+
{ return next_token(state, kTYPE); }
|
1970
|
+
#line 1971 "ext/rbs_extension/lexer.c"
|
1979
1971
|
yy235:
|
1980
1972
|
rbs_skip(state);
|
1981
1973
|
yych = peek(state);
|
1982
|
-
if (yych == '
|
1983
|
-
goto
|
1974
|
+
if (yych == 'e') goto yy259;
|
1975
|
+
goto yy53;
|
1984
1976
|
yy236:
|
1977
|
+
rbs_skip(state);
|
1978
|
+
yych = peek(state);
|
1979
|
+
if (yych == 'p') goto yy260;
|
1980
|
+
goto yy53;
|
1981
|
+
yy237:
|
1985
1982
|
rbs_skip(state);
|
1986
1983
|
yych = peek(state);
|
1987
1984
|
if (yych <= '=') {
|
1988
1985
|
if (yych <= '/') {
|
1989
|
-
if (yych == '!') goto
|
1986
|
+
if (yych == '!') goto yy105;
|
1990
1987
|
} else {
|
1991
|
-
if (yych <= '9') goto
|
1992
|
-
if (yych >= '=') goto
|
1988
|
+
if (yych <= '9') goto yy52;
|
1989
|
+
if (yych >= '=') goto yy106;
|
1993
1990
|
}
|
1994
1991
|
} else {
|
1995
1992
|
if (yych <= '^') {
|
1996
|
-
if (yych <= '@') goto
|
1997
|
-
if (yych <= 'Z') goto
|
1993
|
+
if (yych <= '@') goto yy238;
|
1994
|
+
if (yych <= 'Z') goto yy52;
|
1998
1995
|
} else {
|
1999
|
-
if (yych == '`') goto
|
2000
|
-
if (yych <= 'z') goto
|
1996
|
+
if (yych == '`') goto yy238;
|
1997
|
+
if (yych <= 'z') goto yy52;
|
2001
1998
|
}
|
2002
1999
|
}
|
2003
|
-
yy237:
|
2004
|
-
#line 95 "ext/rbs_extension/lexer.re"
|
2005
|
-
{ return next_token(state, kVOID); }
|
2006
|
-
#line 2007 "ext/rbs_extension/lexer.c"
|
2007
2000
|
yy238:
|
2008
|
-
|
2009
|
-
|
2010
|
-
|
2011
|
-
if (yych <= '/') goto yy67;
|
2012
|
-
if (yych <= '9') goto yy260;
|
2013
|
-
goto yy67;
|
2014
|
-
} else {
|
2015
|
-
if (yych <= 'F') goto yy260;
|
2016
|
-
if (yych <= '`') goto yy67;
|
2017
|
-
if (yych <= 'f') goto yy260;
|
2018
|
-
goto yy67;
|
2019
|
-
}
|
2001
|
+
#line 94 "ext/rbs_extension/lexer.re"
|
2002
|
+
{ return next_token(state, kVOID); }
|
2003
|
+
#line 2004 "ext/rbs_extension/lexer.c"
|
2020
2004
|
yy239:
|
2021
2005
|
rbs_skip(state);
|
2022
2006
|
yych = peek(state);
|
2023
2007
|
if (yych <= '@') {
|
2024
|
-
if (yych <= '/') goto
|
2008
|
+
if (yych <= '/') goto yy68;
|
2025
2009
|
if (yych <= '9') goto yy261;
|
2026
|
-
goto
|
2010
|
+
goto yy68;
|
2027
2011
|
} else {
|
2028
2012
|
if (yych <= 'F') goto yy261;
|
2029
|
-
if (yych <= '`') goto
|
2013
|
+
if (yych <= '`') goto yy68;
|
2030
2014
|
if (yych <= 'f') goto yy261;
|
2031
|
-
goto
|
2015
|
+
goto yy68;
|
2032
2016
|
}
|
2033
2017
|
yy240:
|
2034
2018
|
rbs_skip(state);
|
2035
|
-
|
2019
|
+
yych = peek(state);
|
2020
|
+
if (yych <= '@') {
|
2021
|
+
if (yych <= '/') goto yy68;
|
2022
|
+
if (yych <= '9') goto yy262;
|
2023
|
+
goto yy68;
|
2024
|
+
} else {
|
2025
|
+
if (yych <= 'F') goto yy262;
|
2026
|
+
if (yych <= '`') goto yy68;
|
2027
|
+
if (yych <= 'f') goto yy262;
|
2028
|
+
goto yy68;
|
2029
|
+
}
|
2036
2030
|
yy241:
|
2037
2031
|
rbs_skip(state);
|
2038
|
-
|
2039
|
-
if (yych == 'o') goto yy262;
|
2040
|
-
goto yy108;
|
2032
|
+
goto yy211;
|
2041
2033
|
yy242:
|
2034
|
+
rbs_skip(state);
|
2035
|
+
yych = peek(state);
|
2036
|
+
if (yych == 'o') goto yy263;
|
2037
|
+
goto yy109;
|
2038
|
+
yy243:
|
2042
2039
|
rbs_skip(state);
|
2043
2040
|
yych = peek(state);
|
2044
2041
|
if (yych <= '=') {
|
2045
2042
|
if (yych <= '/') {
|
2046
|
-
if (yych == '!') goto
|
2043
|
+
if (yych == '!') goto yy105;
|
2047
2044
|
} else {
|
2048
|
-
if (yych <= '9') goto
|
2049
|
-
if (yych >= '=') goto
|
2045
|
+
if (yych <= '9') goto yy52;
|
2046
|
+
if (yych >= '=') goto yy106;
|
2050
2047
|
}
|
2051
2048
|
} else {
|
2052
2049
|
if (yych <= '^') {
|
2053
|
-
if (yych <= '@') goto
|
2054
|
-
if (yych <= 'Z') goto
|
2050
|
+
if (yych <= '@') goto yy244;
|
2051
|
+
if (yych <= 'Z') goto yy52;
|
2055
2052
|
} else {
|
2056
|
-
if (yych == '`') goto
|
2057
|
-
if (yych <= 'z') goto
|
2053
|
+
if (yych == '`') goto yy244;
|
2054
|
+
if (yych <= 'z') goto yy52;
|
2058
2055
|
}
|
2059
2056
|
}
|
2060
|
-
yy243:
|
2061
|
-
#line 67 "ext/rbs_extension/lexer.re"
|
2062
|
-
{ return next_token(state, kALIAS); }
|
2063
|
-
#line 2064 "ext/rbs_extension/lexer.c"
|
2064
2057
|
yy244:
|
2058
|
+
#line 66 "ext/rbs_extension/lexer.re"
|
2059
|
+
{ return next_token(state, kALIAS); }
|
2060
|
+
#line 2061 "ext/rbs_extension/lexer.c"
|
2061
|
+
yy245:
|
2065
2062
|
rbs_skip(state);
|
2066
2063
|
yych = peek(state);
|
2067
2064
|
if (yych <= 'q') {
|
2068
|
-
if (yych == 'a') goto
|
2069
|
-
goto
|
2065
|
+
if (yych == 'a') goto yy264;
|
2066
|
+
goto yy53;
|
2070
2067
|
} else {
|
2071
|
-
if (yych <= 'r') goto
|
2072
|
-
if (yych == 'w') goto
|
2073
|
-
goto
|
2068
|
+
if (yych <= 'r') goto yy265;
|
2069
|
+
if (yych == 'w') goto yy266;
|
2070
|
+
goto yy53;
|
2074
2071
|
}
|
2075
|
-
|
2072
|
+
yy246:
|
2076
2073
|
rbs_skip(state);
|
2077
2074
|
yych = peek(state);
|
2078
2075
|
if (yych <= '=') {
|
2079
2076
|
if (yych <= '/') {
|
2080
|
-
if (yych == '!') goto
|
2077
|
+
if (yych == '!') goto yy105;
|
2081
2078
|
} else {
|
2082
|
-
if (yych <= '9') goto
|
2083
|
-
if (yych >= '=') goto
|
2079
|
+
if (yych <= '9') goto yy52;
|
2080
|
+
if (yych >= '=') goto yy106;
|
2084
2081
|
}
|
2085
2082
|
} else {
|
2086
2083
|
if (yych <= '^') {
|
2087
|
-
if (yych <= '@') goto
|
2088
|
-
if (yych <= 'Z') goto
|
2084
|
+
if (yych <= '@') goto yy247;
|
2085
|
+
if (yych <= 'Z') goto yy52;
|
2089
2086
|
} else {
|
2090
|
-
if (yych == '`') goto
|
2091
|
-
if (yych <= 'z') goto
|
2087
|
+
if (yych == '`') goto yy247;
|
2088
|
+
if (yych <= 'z') goto yy52;
|
2092
2089
|
}
|
2093
2090
|
}
|
2094
|
-
yy246:
|
2095
|
-
#line 73 "ext/rbs_extension/lexer.re"
|
2096
|
-
{ return next_token(state, kCLASS); }
|
2097
|
-
#line 2098 "ext/rbs_extension/lexer.c"
|
2098
2091
|
yy247:
|
2092
|
+
#line 72 "ext/rbs_extension/lexer.re"
|
2093
|
+
{ return next_token(state, kCLASS); }
|
2094
|
+
#line 2095 "ext/rbs_extension/lexer.c"
|
2095
|
+
yy248:
|
2099
2096
|
rbs_skip(state);
|
2100
2097
|
yych = peek(state);
|
2101
|
-
if (yych == 'd') goto
|
2102
|
-
goto
|
2103
|
-
|
2098
|
+
if (yych == 'd') goto yy267;
|
2099
|
+
goto yy53;
|
2100
|
+
yy249:
|
2104
2101
|
rbs_skip(state);
|
2105
2102
|
yych = peek(state);
|
2106
2103
|
if (yych <= '=') {
|
2107
2104
|
if (yych <= '/') {
|
2108
|
-
if (yych == '!') goto
|
2105
|
+
if (yych == '!') goto yy105;
|
2109
2106
|
} else {
|
2110
|
-
if (yych <= '9') goto
|
2111
|
-
if (yych >= '=') goto
|
2107
|
+
if (yych <= '9') goto yy52;
|
2108
|
+
if (yych >= '=') goto yy106;
|
2112
2109
|
}
|
2113
2110
|
} else {
|
2114
2111
|
if (yych <= '^') {
|
2115
|
-
if (yych <= '@') goto
|
2116
|
-
if (yych <= 'Z') goto
|
2112
|
+
if (yych <= '@') goto yy250;
|
2113
|
+
if (yych <= 'Z') goto yy52;
|
2117
2114
|
} else {
|
2118
|
-
if (yych == '`') goto
|
2119
|
-
if (yych <= 'z') goto
|
2115
|
+
if (yych == '`') goto yy250;
|
2116
|
+
if (yych <= 'z') goto yy52;
|
2120
2117
|
}
|
2121
2118
|
}
|
2122
|
-
yy249:
|
2123
|
-
#line 77 "ext/rbs_extension/lexer.re"
|
2124
|
-
{ return next_token(state, kFALSE); }
|
2125
|
-
#line 2126 "ext/rbs_extension/lexer.c"
|
2126
2119
|
yy250:
|
2127
|
-
|
2128
|
-
|
2129
|
-
|
2130
|
-
goto yy52;
|
2120
|
+
#line 76 "ext/rbs_extension/lexer.re"
|
2121
|
+
{ return next_token(state, kFALSE); }
|
2122
|
+
#line 2123 "ext/rbs_extension/lexer.c"
|
2131
2123
|
yy251:
|
2132
2124
|
rbs_skip(state);
|
2133
2125
|
yych = peek(state);
|
2134
|
-
if (yych == '
|
2135
|
-
goto
|
2126
|
+
if (yych == 'd') goto yy269;
|
2127
|
+
goto yy53;
|
2136
2128
|
yy252:
|
2137
2129
|
rbs_skip(state);
|
2138
2130
|
yych = peek(state);
|
2139
|
-
if (yych == '
|
2140
|
-
goto
|
2131
|
+
if (yych == 'n') goto yy270;
|
2132
|
+
goto yy53;
|
2141
2133
|
yy253:
|
2142
2134
|
rbs_skip(state);
|
2143
2135
|
yych = peek(state);
|
2144
|
-
if (yych == '
|
2145
|
-
goto
|
2136
|
+
if (yych == 'f') goto yy271;
|
2137
|
+
goto yy53;
|
2146
2138
|
yy254:
|
2147
2139
|
rbs_skip(state);
|
2148
2140
|
yych = peek(state);
|
2149
|
-
if (yych == '
|
2150
|
-
goto
|
2141
|
+
if (yych == 'e') goto yy272;
|
2142
|
+
goto yy53;
|
2151
2143
|
yy255:
|
2152
2144
|
rbs_skip(state);
|
2153
2145
|
yych = peek(state);
|
2154
|
-
if (yych == '
|
2155
|
-
goto
|
2146
|
+
if (yych == 'n') goto yy274;
|
2147
|
+
goto yy53;
|
2156
2148
|
yy256:
|
2157
2149
|
rbs_skip(state);
|
2158
2150
|
yych = peek(state);
|
2159
|
-
if (yych == '
|
2160
|
-
goto
|
2151
|
+
if (yych == 't') goto yy275;
|
2152
|
+
goto yy53;
|
2161
2153
|
yy257:
|
2162
2154
|
rbs_skip(state);
|
2163
2155
|
yych = peek(state);
|
2164
|
-
if (yych == '
|
2165
|
-
goto
|
2156
|
+
if (yych == 'c') goto yy276;
|
2157
|
+
goto yy53;
|
2166
2158
|
yy258:
|
2167
2159
|
rbs_skip(state);
|
2168
2160
|
yych = peek(state);
|
2169
|
-
if (yych == '
|
2170
|
-
goto
|
2161
|
+
if (yych == 'e') goto yy278;
|
2162
|
+
goto yy53;
|
2171
2163
|
yy259:
|
2172
2164
|
rbs_skip(state);
|
2173
2165
|
yych = peek(state);
|
2174
|
-
if (yych == '
|
2175
|
-
goto
|
2166
|
+
if (yych == 'c') goto yy279;
|
2167
|
+
goto yy53;
|
2176
2168
|
yy260:
|
2177
2169
|
rbs_skip(state);
|
2178
2170
|
yych = peek(state);
|
2179
|
-
if (yych
|
2180
|
-
|
2181
|
-
if (yych <= '9') goto yy65;
|
2182
|
-
goto yy67;
|
2183
|
-
} else {
|
2184
|
-
if (yych <= 'F') goto yy65;
|
2185
|
-
if (yych <= '`') goto yy67;
|
2186
|
-
if (yych <= 'f') goto yy65;
|
2187
|
-
goto yy67;
|
2188
|
-
}
|
2171
|
+
if (yych == 'e') goto yy280;
|
2172
|
+
goto yy53;
|
2189
2173
|
yy261:
|
2190
2174
|
rbs_skip(state);
|
2191
2175
|
yych = peek(state);
|
2192
2176
|
if (yych <= '@') {
|
2193
|
-
if (yych <= '/') goto
|
2194
|
-
if (yych <= '9') goto
|
2195
|
-
goto
|
2177
|
+
if (yych <= '/') goto yy68;
|
2178
|
+
if (yych <= '9') goto yy66;
|
2179
|
+
goto yy68;
|
2196
2180
|
} else {
|
2197
|
-
if (yych <= 'F') goto
|
2198
|
-
if (yych <= '`') goto
|
2199
|
-
if (yych <= 'f') goto
|
2200
|
-
goto
|
2181
|
+
if (yych <= 'F') goto yy66;
|
2182
|
+
if (yych <= '`') goto yy68;
|
2183
|
+
if (yych <= 'f') goto yy66;
|
2184
|
+
goto yy68;
|
2201
2185
|
}
|
2202
2186
|
yy262:
|
2203
2187
|
rbs_skip(state);
|
2204
2188
|
yych = peek(state);
|
2205
|
-
if (yych
|
2206
|
-
|
2189
|
+
if (yych <= '@') {
|
2190
|
+
if (yych <= '/') goto yy68;
|
2191
|
+
if (yych <= '9') goto yy281;
|
2192
|
+
goto yy68;
|
2193
|
+
} else {
|
2194
|
+
if (yych <= 'F') goto yy281;
|
2195
|
+
if (yych <= '`') goto yy68;
|
2196
|
+
if (yych <= 'f') goto yy281;
|
2197
|
+
goto yy68;
|
2198
|
+
}
|
2207
2199
|
yy263:
|
2208
2200
|
rbs_skip(state);
|
2209
2201
|
yych = peek(state);
|
2210
|
-
if (yych == '
|
2211
|
-
goto
|
2202
|
+
if (yych == '_') goto yy282;
|
2203
|
+
goto yy109;
|
2212
2204
|
yy264:
|
2213
2205
|
rbs_skip(state);
|
2214
2206
|
yych = peek(state);
|
2215
|
-
if (yych == '
|
2216
|
-
goto
|
2207
|
+
if (yych == 'c') goto yy283;
|
2208
|
+
goto yy53;
|
2217
2209
|
yy265:
|
2218
2210
|
rbs_skip(state);
|
2219
2211
|
yych = peek(state);
|
2220
|
-
if (yych == '
|
2221
|
-
goto
|
2212
|
+
if (yych == 'e') goto yy284;
|
2213
|
+
goto yy53;
|
2222
2214
|
yy266:
|
2215
|
+
rbs_skip(state);
|
2216
|
+
yych = peek(state);
|
2217
|
+
if (yych == 'r') goto yy285;
|
2218
|
+
goto yy53;
|
2219
|
+
yy267:
|
2223
2220
|
rbs_skip(state);
|
2224
2221
|
yych = peek(state);
|
2225
2222
|
if (yych <= '=') {
|
2226
2223
|
if (yych <= '/') {
|
2227
|
-
if (yych == '!') goto
|
2224
|
+
if (yych == '!') goto yy105;
|
2228
2225
|
} else {
|
2229
|
-
if (yych <= '9') goto
|
2230
|
-
if (yych >= '=') goto
|
2226
|
+
if (yych <= '9') goto yy52;
|
2227
|
+
if (yych >= '=') goto yy106;
|
2231
2228
|
}
|
2232
2229
|
} else {
|
2233
2230
|
if (yych <= '^') {
|
2234
|
-
if (yych <= '@') goto
|
2235
|
-
if (yych <= 'Z') goto
|
2231
|
+
if (yych <= '@') goto yy268;
|
2232
|
+
if (yych <= 'Z') goto yy52;
|
2236
2233
|
} else {
|
2237
|
-
if (yych == '`') goto
|
2238
|
-
if (yych <= 'z') goto
|
2234
|
+
if (yych == '`') goto yy268;
|
2235
|
+
if (yych <= 'z') goto yy52;
|
2239
2236
|
}
|
2240
2237
|
}
|
2241
|
-
yy267:
|
2242
|
-
#line 76 "ext/rbs_extension/lexer.re"
|
2243
|
-
{ return next_token(state, kEXTEND); }
|
2244
|
-
#line 2245 "ext/rbs_extension/lexer.c"
|
2245
2238
|
yy268:
|
2246
|
-
|
2247
|
-
|
2248
|
-
|
2249
|
-
goto yy52;
|
2239
|
+
#line 75 "ext/rbs_extension/lexer.re"
|
2240
|
+
{ return next_token(state, kEXTEND); }
|
2241
|
+
#line 2242 "ext/rbs_extension/lexer.c"
|
2250
2242
|
yy269:
|
2251
2243
|
rbs_skip(state);
|
2252
2244
|
yych = peek(state);
|
2253
|
-
if (yych == '
|
2254
|
-
goto
|
2245
|
+
if (yych == 'e') goto yy286;
|
2246
|
+
goto yy53;
|
2255
2247
|
yy270:
|
2256
2248
|
rbs_skip(state);
|
2257
2249
|
yych = peek(state);
|
2258
|
-
if (yych == '
|
2259
|
-
goto
|
2250
|
+
if (yych == 'c') goto yy288;
|
2251
|
+
goto yy53;
|
2260
2252
|
yy271:
|
2253
|
+
rbs_skip(state);
|
2254
|
+
yych = peek(state);
|
2255
|
+
if (yych == 'a') goto yy289;
|
2256
|
+
goto yy53;
|
2257
|
+
yy272:
|
2261
2258
|
rbs_skip(state);
|
2262
2259
|
yych = peek(state);
|
2263
2260
|
if (yych <= '=') {
|
2264
2261
|
if (yych <= '/') {
|
2265
|
-
if (yych == '!') goto
|
2262
|
+
if (yych == '!') goto yy105;
|
2266
2263
|
} else {
|
2267
|
-
if (yych <= '9') goto
|
2268
|
-
if (yych >= '=') goto
|
2264
|
+
if (yych <= '9') goto yy52;
|
2265
|
+
if (yych >= '=') goto yy106;
|
2269
2266
|
}
|
2270
2267
|
} else {
|
2271
2268
|
if (yych <= '^') {
|
2272
|
-
if (yych <= '@') goto
|
2273
|
-
if (yych <= 'Z') goto
|
2269
|
+
if (yych <= '@') goto yy273;
|
2270
|
+
if (yych <= 'Z') goto yy52;
|
2274
2271
|
} else {
|
2275
|
-
if (yych == '`') goto
|
2276
|
-
if (yych <= 'z') goto
|
2272
|
+
if (yych == '`') goto yy273;
|
2273
|
+
if (yych <= 'z') goto yy52;
|
2277
2274
|
}
|
2278
2275
|
}
|
2279
|
-
yy272:
|
2280
|
-
#line 82 "ext/rbs_extension/lexer.re"
|
2281
|
-
{ return next_token(state, kMODULE); }
|
2282
|
-
#line 2283 "ext/rbs_extension/lexer.c"
|
2283
2276
|
yy273:
|
2284
|
-
|
2285
|
-
|
2286
|
-
|
2287
|
-
goto yy52;
|
2277
|
+
#line 81 "ext/rbs_extension/lexer.re"
|
2278
|
+
{ return next_token(state, kMODULE); }
|
2279
|
+
#line 2280 "ext/rbs_extension/lexer.c"
|
2288
2280
|
yy274:
|
2289
2281
|
rbs_skip(state);
|
2290
2282
|
yych = peek(state);
|
2291
|
-
if (yych == '
|
2292
|
-
goto
|
2283
|
+
if (yych == 'd') goto yy290;
|
2284
|
+
goto yy53;
|
2293
2285
|
yy275:
|
2286
|
+
rbs_skip(state);
|
2287
|
+
yych = peek(state);
|
2288
|
+
if (yych == 'e') goto yy292;
|
2289
|
+
goto yy53;
|
2290
|
+
yy276:
|
2294
2291
|
rbs_skip(state);
|
2295
2292
|
yych = peek(state);
|
2296
2293
|
if (yych <= '=') {
|
2297
2294
|
if (yych <= '/') {
|
2298
|
-
if (yych == '!') goto
|
2295
|
+
if (yych == '!') goto yy105;
|
2299
2296
|
} else {
|
2300
|
-
if (yych <= '9') goto
|
2301
|
-
if (yych >= '=') goto
|
2297
|
+
if (yych <= '9') goto yy52;
|
2298
|
+
if (yych >= '=') goto yy106;
|
2302
2299
|
}
|
2303
2300
|
} else {
|
2304
2301
|
if (yych <= '^') {
|
2305
|
-
if (yych <= '@') goto
|
2306
|
-
if (yych <= 'Z') goto
|
2302
|
+
if (yych <= '@') goto yy277;
|
2303
|
+
if (yych <= 'Z') goto yy52;
|
2307
2304
|
} else {
|
2308
|
-
if (yych == '`') goto
|
2309
|
-
if (yych <= 'z') goto
|
2305
|
+
if (yych == '`') goto yy277;
|
2306
|
+
if (yych <= 'z') goto yy52;
|
2310
2307
|
}
|
2311
2308
|
}
|
2312
|
-
yy276:
|
2313
|
-
#line 87 "ext/rbs_extension/lexer.re"
|
2314
|
-
{ return next_token(state, kPUBLIC); }
|
2315
|
-
#line 2316 "ext/rbs_extension/lexer.c"
|
2316
2309
|
yy277:
|
2317
|
-
|
2318
|
-
|
2319
|
-
|
2320
|
-
goto yy52;
|
2310
|
+
#line 86 "ext/rbs_extension/lexer.re"
|
2311
|
+
{ return next_token(state, kPUBLIC); }
|
2312
|
+
#line 2313 "ext/rbs_extension/lexer.c"
|
2321
2313
|
yy278:
|
2322
2314
|
rbs_skip(state);
|
2323
2315
|
yych = peek(state);
|
2324
|
-
if (yych == '
|
2325
|
-
goto
|
2316
|
+
if (yych == 't') goto yy294;
|
2317
|
+
goto yy53;
|
2326
2318
|
yy279:
|
2327
2319
|
rbs_skip(state);
|
2328
2320
|
yych = peek(state);
|
2329
|
-
if (yych == '
|
2330
|
-
goto
|
2321
|
+
if (yych == 'k') goto yy295;
|
2322
|
+
goto yy53;
|
2331
2323
|
yy280:
|
2332
2324
|
rbs_skip(state);
|
2333
2325
|
yych = peek(state);
|
2334
|
-
if (yych
|
2335
|
-
|
2336
|
-
if (yych <= '9') goto yy84;
|
2337
|
-
goto yy67;
|
2338
|
-
} else {
|
2339
|
-
if (yych <= 'F') goto yy84;
|
2340
|
-
if (yych <= '`') goto yy67;
|
2341
|
-
if (yych <= 'f') goto yy84;
|
2342
|
-
goto yy67;
|
2343
|
-
}
|
2326
|
+
if (yych == 'd') goto yy296;
|
2327
|
+
goto yy53;
|
2344
2328
|
yy281:
|
2345
2329
|
rbs_skip(state);
|
2346
2330
|
yych = peek(state);
|
2347
|
-
if (yych
|
2348
|
-
|
2331
|
+
if (yych <= '@') {
|
2332
|
+
if (yych <= '/') goto yy68;
|
2333
|
+
if (yych <= '9') goto yy85;
|
2334
|
+
goto yy68;
|
2335
|
+
} else {
|
2336
|
+
if (yych <= 'F') goto yy85;
|
2337
|
+
if (yych <= '`') goto yy68;
|
2338
|
+
if (yych <= 'f') goto yy85;
|
2339
|
+
goto yy68;
|
2340
|
+
}
|
2349
2341
|
yy282:
|
2350
2342
|
rbs_skip(state);
|
2351
2343
|
yych = peek(state);
|
2352
|
-
if (yych == '
|
2353
|
-
goto
|
2344
|
+
if (yych == '_') goto yy298;
|
2345
|
+
goto yy109;
|
2354
2346
|
yy283:
|
2355
2347
|
rbs_skip(state);
|
2356
2348
|
yych = peek(state);
|
2357
|
-
if (yych == '
|
2358
|
-
goto
|
2349
|
+
if (yych == 'c') goto yy300;
|
2350
|
+
goto yy53;
|
2359
2351
|
yy284:
|
2360
2352
|
rbs_skip(state);
|
2361
2353
|
yych = peek(state);
|
2362
|
-
if (yych == '
|
2363
|
-
goto
|
2354
|
+
if (yych == 'a') goto yy301;
|
2355
|
+
goto yy53;
|
2364
2356
|
yy285:
|
2357
|
+
rbs_skip(state);
|
2358
|
+
yych = peek(state);
|
2359
|
+
if (yych == 'i') goto yy302;
|
2360
|
+
goto yy53;
|
2361
|
+
yy286:
|
2365
2362
|
rbs_skip(state);
|
2366
2363
|
yych = peek(state);
|
2367
2364
|
if (yych <= '=') {
|
2368
2365
|
if (yych <= '/') {
|
2369
|
-
if (yych == '!') goto
|
2366
|
+
if (yych == '!') goto yy105;
|
2370
2367
|
} else {
|
2371
|
-
if (yych <= '9') goto
|
2372
|
-
if (yych >= '=') goto
|
2368
|
+
if (yych <= '9') goto yy52;
|
2369
|
+
if (yych >= '=') goto yy106;
|
2373
2370
|
}
|
2374
2371
|
} else {
|
2375
2372
|
if (yych <= '^') {
|
2376
|
-
if (yych <= '@') goto
|
2377
|
-
if (yych <= 'Z') goto
|
2373
|
+
if (yych <= '@') goto yy287;
|
2374
|
+
if (yych <= 'Z') goto yy52;
|
2378
2375
|
} else {
|
2379
|
-
if (yych == '`') goto
|
2380
|
-
if (yych <= 'z') goto
|
2376
|
+
if (yych == '`') goto yy287;
|
2377
|
+
if (yych <= 'z') goto yy52;
|
2381
2378
|
}
|
2382
2379
|
}
|
2383
|
-
yy286:
|
2384
|
-
#line 79 "ext/rbs_extension/lexer.re"
|
2385
|
-
{ return next_token(state, kINCLUDE); }
|
2386
|
-
#line 2387 "ext/rbs_extension/lexer.c"
|
2387
2380
|
yy287:
|
2388
|
-
|
2389
|
-
|
2390
|
-
|
2391
|
-
goto yy52;
|
2381
|
+
#line 78 "ext/rbs_extension/lexer.re"
|
2382
|
+
{ return next_token(state, kINCLUDE); }
|
2383
|
+
#line 2384 "ext/rbs_extension/lexer.c"
|
2392
2384
|
yy288:
|
2393
2385
|
rbs_skip(state);
|
2394
2386
|
yych = peek(state);
|
2395
|
-
if (yych == '
|
2396
|
-
goto
|
2387
|
+
if (yych == 'e') goto yy303;
|
2388
|
+
goto yy53;
|
2397
2389
|
yy289:
|
2390
|
+
rbs_skip(state);
|
2391
|
+
yych = peek(state);
|
2392
|
+
if (yych == 'c') goto yy305;
|
2393
|
+
goto yy53;
|
2394
|
+
yy290:
|
2398
2395
|
rbs_skip(state);
|
2399
2396
|
yych = peek(state);
|
2400
2397
|
if (yych <= '=') {
|
2401
2398
|
if (yych <= '/') {
|
2402
|
-
if (yych == '!') goto
|
2399
|
+
if (yych == '!') goto yy105;
|
2403
2400
|
} else {
|
2404
|
-
if (yych <= '9') goto
|
2405
|
-
if (yych >= '=') goto
|
2401
|
+
if (yych <= '9') goto yy52;
|
2402
|
+
if (yych >= '=') goto yy106;
|
2406
2403
|
}
|
2407
2404
|
} else {
|
2408
2405
|
if (yych <= '^') {
|
2409
|
-
if (yych <= '@') goto
|
2410
|
-
if (yych <= 'Z') goto
|
2406
|
+
if (yych <= '@') goto yy291;
|
2407
|
+
if (yych <= 'Z') goto yy52;
|
2411
2408
|
} else {
|
2412
|
-
if (yych == '`') goto
|
2413
|
-
if (yych <= 'z') goto
|
2409
|
+
if (yych == '`') goto yy291;
|
2410
|
+
if (yych <= 'z') goto yy52;
|
2414
2411
|
}
|
2415
2412
|
}
|
2416
|
-
yy290:
|
2417
|
-
#line 85 "ext/rbs_extension/lexer.re"
|
2418
|
-
{ return next_token(state, kPREPEND); }
|
2419
|
-
#line 2420 "ext/rbs_extension/lexer.c"
|
2420
2413
|
yy291:
|
2414
|
+
#line 84 "ext/rbs_extension/lexer.re"
|
2415
|
+
{ return next_token(state, kPREPEND); }
|
2416
|
+
#line 2417 "ext/rbs_extension/lexer.c"
|
2417
|
+
yy292:
|
2421
2418
|
rbs_skip(state);
|
2422
2419
|
yych = peek(state);
|
2423
2420
|
if (yych <= '=') {
|
2424
2421
|
if (yych <= '/') {
|
2425
|
-
if (yych == '!') goto
|
2422
|
+
if (yych == '!') goto yy105;
|
2426
2423
|
} else {
|
2427
|
-
if (yych <= '9') goto
|
2428
|
-
if (yych >= '=') goto
|
2424
|
+
if (yych <= '9') goto yy52;
|
2425
|
+
if (yych >= '=') goto yy106;
|
2429
2426
|
}
|
2430
2427
|
} else {
|
2431
2428
|
if (yych <= '^') {
|
2432
|
-
if (yych <= '@') goto
|
2433
|
-
if (yych <= 'Z') goto
|
2429
|
+
if (yych <= '@') goto yy293;
|
2430
|
+
if (yych <= 'Z') goto yy52;
|
2434
2431
|
} else {
|
2435
|
-
if (yych == '`') goto
|
2436
|
-
if (yych <= 'z') goto
|
2432
|
+
if (yych == '`') goto yy293;
|
2433
|
+
if (yych <= 'z') goto yy52;
|
2437
2434
|
}
|
2438
2435
|
}
|
2439
|
-
yy292:
|
2440
|
-
#line 86 "ext/rbs_extension/lexer.re"
|
2441
|
-
{ return next_token(state, kPRIVATE); }
|
2442
|
-
#line 2443 "ext/rbs_extension/lexer.c"
|
2443
2436
|
yy293:
|
2444
|
-
|
2445
|
-
|
2446
|
-
|
2447
|
-
goto yy52;
|
2437
|
+
#line 85 "ext/rbs_extension/lexer.re"
|
2438
|
+
{ return next_token(state, kPRIVATE); }
|
2439
|
+
#line 2440 "ext/rbs_extension/lexer.c"
|
2448
2440
|
yy294:
|
2449
2441
|
rbs_skip(state);
|
2450
2442
|
yych = peek(state);
|
2451
|
-
if (yych == '
|
2452
|
-
goto
|
2443
|
+
if (yych == 'o') goto yy306;
|
2444
|
+
goto yy53;
|
2453
2445
|
yy295:
|
2446
|
+
rbs_skip(state);
|
2447
|
+
yych = peek(state);
|
2448
|
+
if (yych == 'e') goto yy307;
|
2449
|
+
goto yy53;
|
2450
|
+
yy296:
|
2454
2451
|
rbs_skip(state);
|
2455
2452
|
yych = peek(state);
|
2456
2453
|
if (yych <= '=') {
|
2457
2454
|
if (yych <= '/') {
|
2458
|
-
if (yych == '!') goto
|
2455
|
+
if (yych == '!') goto yy105;
|
2459
2456
|
} else {
|
2460
|
-
if (yych <= '9') goto
|
2461
|
-
if (yych >= '=') goto
|
2457
|
+
if (yych <= '9') goto yy52;
|
2458
|
+
if (yych >= '=') goto yy106;
|
2462
2459
|
}
|
2463
2460
|
} else {
|
2464
2461
|
if (yych <= '^') {
|
2465
|
-
if (yych <= '@') goto
|
2466
|
-
if (yych <= 'Z') goto
|
2462
|
+
if (yych <= '@') goto yy297;
|
2463
|
+
if (yych <= 'Z') goto yy52;
|
2467
2464
|
} else {
|
2468
|
-
if (yych == '`') goto
|
2469
|
-
if (yych <= 'z') goto
|
2465
|
+
if (yych == '`') goto yy297;
|
2466
|
+
if (yych <= 'z') goto yy52;
|
2470
2467
|
}
|
2471
2468
|
}
|
2472
|
-
yy296:
|
2473
|
-
#line 94 "ext/rbs_extension/lexer.re"
|
2474
|
-
{ return next_token(state, kUNTYPED); }
|
2475
|
-
#line 2476 "ext/rbs_extension/lexer.c"
|
2476
2469
|
yy297:
|
2470
|
+
#line 93 "ext/rbs_extension/lexer.re"
|
2471
|
+
{ return next_token(state, kUNTYPED); }
|
2472
|
+
#line 2473 "ext/rbs_extension/lexer.c"
|
2473
|
+
yy298:
|
2477
2474
|
rbs_skip(state);
|
2478
2475
|
yych = peek(state);
|
2479
2476
|
if (yych <= '=') {
|
2480
2477
|
if (yych <= '/') {
|
2481
|
-
if (yych == '!') goto
|
2478
|
+
if (yych == '!') goto yy105;
|
2482
2479
|
} else {
|
2483
|
-
if (yych <= '9') goto
|
2484
|
-
if (yych >= '=') goto
|
2480
|
+
if (yych <= '9') goto yy108;
|
2481
|
+
if (yych >= '=') goto yy106;
|
2485
2482
|
}
|
2486
2483
|
} else {
|
2487
2484
|
if (yych <= '^') {
|
2488
|
-
if (yych <= '@') goto
|
2489
|
-
if (yych <= 'Z') goto
|
2485
|
+
if (yych <= '@') goto yy299;
|
2486
|
+
if (yych <= 'Z') goto yy108;
|
2490
2487
|
} else {
|
2491
|
-
if (yych == '`') goto
|
2492
|
-
if (yych <= 'z') goto
|
2488
|
+
if (yych == '`') goto yy299;
|
2489
|
+
if (yych <= 'z') goto yy108;
|
2493
2490
|
}
|
2494
2491
|
}
|
2495
|
-
yy298:
|
2496
|
-
#line 98 "ext/rbs_extension/lexer.re"
|
2497
|
-
{ return next_token(state, k__TODO__); }
|
2498
|
-
#line 2499 "ext/rbs_extension/lexer.c"
|
2499
2492
|
yy299:
|
2500
|
-
|
2501
|
-
|
2502
|
-
|
2503
|
-
goto yy52;
|
2493
|
+
#line 97 "ext/rbs_extension/lexer.re"
|
2494
|
+
{ return next_token(state, k__TODO__); }
|
2495
|
+
#line 2496 "ext/rbs_extension/lexer.c"
|
2504
2496
|
yy300:
|
2505
2497
|
rbs_skip(state);
|
2506
2498
|
yych = peek(state);
|
2507
|
-
if (yych == '
|
2508
|
-
goto
|
2499
|
+
if (yych == 'e') goto yy308;
|
2500
|
+
goto yy53;
|
2509
2501
|
yy301:
|
2510
2502
|
rbs_skip(state);
|
2511
2503
|
yych = peek(state);
|
2512
|
-
if (yych == '
|
2513
|
-
goto
|
2504
|
+
if (yych == 'd') goto yy309;
|
2505
|
+
goto yy53;
|
2514
2506
|
yy302:
|
2507
|
+
rbs_skip(state);
|
2508
|
+
yych = peek(state);
|
2509
|
+
if (yych == 't') goto yy310;
|
2510
|
+
goto yy53;
|
2511
|
+
yy303:
|
2515
2512
|
rbs_skip(state);
|
2516
2513
|
yych = peek(state);
|
2517
2514
|
if (yych <= '=') {
|
2518
2515
|
if (yych <= '/') {
|
2519
|
-
if (yych == '!') goto
|
2516
|
+
if (yych == '!') goto yy105;
|
2520
2517
|
} else {
|
2521
|
-
if (yych <= '9') goto
|
2522
|
-
if (yych >= '=') goto
|
2518
|
+
if (yych <= '9') goto yy52;
|
2519
|
+
if (yych >= '=') goto yy106;
|
2523
2520
|
}
|
2524
2521
|
} else {
|
2525
2522
|
if (yych <= '^') {
|
2526
|
-
if (yych <= '@') goto
|
2527
|
-
if (yych <= 'Z') goto
|
2523
|
+
if (yych <= '@') goto yy304;
|
2524
|
+
if (yych <= 'Z') goto yy52;
|
2528
2525
|
} else {
|
2529
|
-
if (yych == '`') goto
|
2530
|
-
if (yych <= 'z') goto
|
2526
|
+
if (yych == '`') goto yy304;
|
2527
|
+
if (yych <= 'z') goto yy52;
|
2531
2528
|
}
|
2532
2529
|
}
|
2533
|
-
yy303:
|
2534
|
-
#line 80 "ext/rbs_extension/lexer.re"
|
2535
|
-
{ return next_token(state, kINSTANCE); }
|
2536
|
-
#line 2537 "ext/rbs_extension/lexer.c"
|
2537
2530
|
yy304:
|
2538
|
-
|
2539
|
-
|
2540
|
-
|
2541
|
-
goto yy52;
|
2531
|
+
#line 79 "ext/rbs_extension/lexer.re"
|
2532
|
+
{ return next_token(state, kINSTANCE); }
|
2533
|
+
#line 2534 "ext/rbs_extension/lexer.c"
|
2542
2534
|
yy305:
|
2543
2535
|
rbs_skip(state);
|
2544
2536
|
yych = peek(state);
|
2545
|
-
if (yych == '
|
2546
|
-
goto
|
2537
|
+
if (yych == 'e') goto yy311;
|
2538
|
+
goto yy53;
|
2547
2539
|
yy306:
|
2548
2540
|
rbs_skip(state);
|
2549
2541
|
yych = peek(state);
|
2550
|
-
if (yych == '
|
2551
|
-
goto
|
2542
|
+
if (yych == 'n') goto yy313;
|
2543
|
+
goto yy53;
|
2552
2544
|
yy307:
|
2553
2545
|
rbs_skip(state);
|
2554
2546
|
yych = peek(state);
|
2555
|
-
if (yych == '
|
2556
|
-
goto
|
2547
|
+
if (yych == 'd') goto yy315;
|
2548
|
+
goto yy53;
|
2557
2549
|
yy308:
|
2558
2550
|
rbs_skip(state);
|
2559
2551
|
yych = peek(state);
|
2560
|
-
if (yych == '
|
2561
|
-
goto
|
2552
|
+
if (yych == 's') goto yy317;
|
2553
|
+
goto yy53;
|
2562
2554
|
yy309:
|
2563
2555
|
rbs_skip(state);
|
2564
2556
|
yych = peek(state);
|
2565
2557
|
if (yych == 'e') goto yy318;
|
2566
|
-
goto
|
2558
|
+
goto yy53;
|
2567
2559
|
yy310:
|
2560
|
+
rbs_skip(state);
|
2561
|
+
yych = peek(state);
|
2562
|
+
if (yych == 'e') goto yy319;
|
2563
|
+
goto yy53;
|
2564
|
+
yy311:
|
2568
2565
|
rbs_skip(state);
|
2569
2566
|
yych = peek(state);
|
2570
2567
|
if (yych <= '=') {
|
2571
2568
|
if (yych <= '/') {
|
2572
|
-
if (yych == '!') goto
|
2569
|
+
if (yych == '!') goto yy105;
|
2573
2570
|
} else {
|
2574
|
-
if (yych <= '9') goto
|
2575
|
-
if (yych >= '=') goto
|
2571
|
+
if (yych <= '9') goto yy52;
|
2572
|
+
if (yych >= '=') goto yy106;
|
2576
2573
|
}
|
2577
2574
|
} else {
|
2578
2575
|
if (yych <= '^') {
|
2579
|
-
if (yych <= '@') goto
|
2580
|
-
if (yych <= 'Z') goto
|
2576
|
+
if (yych <= '@') goto yy312;
|
2577
|
+
if (yych <= 'Z') goto yy52;
|
2581
2578
|
} else {
|
2582
|
-
if (yych == '`') goto
|
2583
|
-
if (yych <= 'z') goto
|
2579
|
+
if (yych == '`') goto yy312;
|
2580
|
+
if (yych <= 'z') goto yy52;
|
2584
2581
|
}
|
2585
2582
|
}
|
2586
|
-
yy311:
|
2587
|
-
#line 81 "ext/rbs_extension/lexer.re"
|
2588
|
-
{ return next_token(state, kINTERFACE); }
|
2589
|
-
#line 2590 "ext/rbs_extension/lexer.c"
|
2590
2583
|
yy312:
|
2584
|
+
#line 80 "ext/rbs_extension/lexer.re"
|
2585
|
+
{ return next_token(state, kINTERFACE); }
|
2586
|
+
#line 2587 "ext/rbs_extension/lexer.c"
|
2587
|
+
yy313:
|
2591
2588
|
rbs_skip(state);
|
2592
2589
|
yych = peek(state);
|
2593
2590
|
if (yych <= '=') {
|
2594
2591
|
if (yych <= '/') {
|
2595
|
-
if (yych == '!') goto
|
2592
|
+
if (yych == '!') goto yy105;
|
2596
2593
|
} else {
|
2597
|
-
if (yych <= '9') goto
|
2598
|
-
if (yych >= '=') goto
|
2594
|
+
if (yych <= '9') goto yy52;
|
2595
|
+
if (yych >= '=') goto yy106;
|
2599
2596
|
}
|
2600
2597
|
} else {
|
2601
2598
|
if (yych <= '^') {
|
2602
|
-
if (yych <= '@') goto
|
2603
|
-
if (yych <= 'Z') goto
|
2599
|
+
if (yych <= '@') goto yy314;
|
2600
|
+
if (yych <= 'Z') goto yy52;
|
2604
2601
|
} else {
|
2605
|
-
if (yych == '`') goto
|
2606
|
-
if (yych <= 'z') goto
|
2602
|
+
if (yych == '`') goto yy314;
|
2603
|
+
if (yych <= 'z') goto yy52;
|
2607
2604
|
}
|
2608
2605
|
}
|
2609
|
-
yy313:
|
2610
|
-
#line 89 "ext/rbs_extension/lexer.re"
|
2611
|
-
{ return next_token(state, kSINGLETON); }
|
2612
|
-
#line 2613 "ext/rbs_extension/lexer.c"
|
2613
2606
|
yy314:
|
2607
|
+
#line 88 "ext/rbs_extension/lexer.re"
|
2608
|
+
{ return next_token(state, kSINGLETON); }
|
2609
|
+
#line 2610 "ext/rbs_extension/lexer.c"
|
2610
|
+
yy315:
|
2614
2611
|
rbs_skip(state);
|
2615
2612
|
yych = peek(state);
|
2616
2613
|
if (yych <= '=') {
|
2617
2614
|
if (yych <= '/') {
|
2618
|
-
if (yych == '!') goto
|
2615
|
+
if (yych == '!') goto yy105;
|
2619
2616
|
} else {
|
2620
|
-
if (yych <= '9') goto
|
2621
|
-
if (yych >= '=') goto
|
2617
|
+
if (yych <= '9') goto yy52;
|
2618
|
+
if (yych >= '=') goto yy106;
|
2622
2619
|
}
|
2623
2620
|
} else {
|
2624
2621
|
if (yych <= '^') {
|
2625
|
-
if (yych <= '@') goto
|
2626
|
-
if (yych <= 'Z') goto
|
2622
|
+
if (yych <= '@') goto yy316;
|
2623
|
+
if (yych <= 'Z') goto yy52;
|
2627
2624
|
} else {
|
2628
|
-
if (yych == '`') goto
|
2629
|
-
if (yych <= 'z') goto
|
2625
|
+
if (yych == '`') goto yy316;
|
2626
|
+
if (yych <= 'z') goto yy52;
|
2630
2627
|
}
|
2631
2628
|
}
|
2632
|
-
yy315:
|
2633
|
-
#line 93 "ext/rbs_extension/lexer.re"
|
2634
|
-
{ return next_token(state, kUNCHECKED); }
|
2635
|
-
#line 2636 "ext/rbs_extension/lexer.c"
|
2636
2629
|
yy316:
|
2637
|
-
|
2638
|
-
|
2639
|
-
|
2640
|
-
goto yy52;
|
2630
|
+
#line 92 "ext/rbs_extension/lexer.re"
|
2631
|
+
{ return next_token(state, kUNCHECKED); }
|
2632
|
+
#line 2633 "ext/rbs_extension/lexer.c"
|
2641
2633
|
yy317:
|
2642
2634
|
rbs_skip(state);
|
2643
2635
|
yych = peek(state);
|
2644
|
-
if (yych == '
|
2645
|
-
goto
|
2636
|
+
if (yych == 's') goto yy320;
|
2637
|
+
goto yy53;
|
2646
2638
|
yy318:
|
2647
2639
|
rbs_skip(state);
|
2648
2640
|
yych = peek(state);
|
2649
|
-
if (yych == 'r') goto
|
2650
|
-
goto
|
2641
|
+
if (yych == 'r') goto yy321;
|
2642
|
+
goto yy53;
|
2651
2643
|
yy319:
|
2652
2644
|
rbs_skip(state);
|
2653
2645
|
yych = peek(state);
|
2654
|
-
if (yych == '
|
2655
|
-
goto
|
2646
|
+
if (yych == 'r') goto yy323;
|
2647
|
+
goto yy53;
|
2656
2648
|
yy320:
|
2649
|
+
rbs_skip(state);
|
2650
|
+
yych = peek(state);
|
2651
|
+
if (yych == 'o') goto yy325;
|
2652
|
+
goto yy53;
|
2653
|
+
yy321:
|
2657
2654
|
rbs_skip(state);
|
2658
2655
|
yych = peek(state);
|
2659
2656
|
if (yych <= '=') {
|
2660
2657
|
if (yych <= '/') {
|
2661
|
-
if (yych == '!') goto
|
2658
|
+
if (yych == '!') goto yy105;
|
2662
2659
|
} else {
|
2663
|
-
if (yych <= '9') goto
|
2664
|
-
if (yych >= '=') goto
|
2660
|
+
if (yych <= '9') goto yy52;
|
2661
|
+
if (yych >= '=') goto yy106;
|
2665
2662
|
}
|
2666
2663
|
} else {
|
2667
2664
|
if (yych <= '^') {
|
2668
|
-
if (yych <= '@') goto
|
2669
|
-
if (yych <= 'Z') goto
|
2665
|
+
if (yych <= '@') goto yy322;
|
2666
|
+
if (yych <= 'Z') goto yy52;
|
2670
2667
|
} else {
|
2671
|
-
if (yych == '`') goto
|
2672
|
-
if (yych <= 'z') goto
|
2668
|
+
if (yych == '`') goto yy322;
|
2669
|
+
if (yych <= 'z') goto yy52;
|
2673
2670
|
}
|
2674
2671
|
}
|
2675
|
-
yy321:
|
2676
|
-
#line 69 "ext/rbs_extension/lexer.re"
|
2677
|
-
{ return next_token(state, kATTRREADER); }
|
2678
|
-
#line 2679 "ext/rbs_extension/lexer.c"
|
2679
2672
|
yy322:
|
2673
|
+
#line 68 "ext/rbs_extension/lexer.re"
|
2674
|
+
{ return next_token(state, kATTRREADER); }
|
2675
|
+
#line 2676 "ext/rbs_extension/lexer.c"
|
2676
|
+
yy323:
|
2680
2677
|
rbs_skip(state);
|
2681
2678
|
yych = peek(state);
|
2682
2679
|
if (yych <= '=') {
|
2683
2680
|
if (yych <= '/') {
|
2684
|
-
if (yych == '!') goto
|
2681
|
+
if (yych == '!') goto yy105;
|
2685
2682
|
} else {
|
2686
|
-
if (yych <= '9') goto
|
2687
|
-
if (yych >= '=') goto
|
2683
|
+
if (yych <= '9') goto yy52;
|
2684
|
+
if (yych >= '=') goto yy106;
|
2688
2685
|
}
|
2689
2686
|
} else {
|
2690
2687
|
if (yych <= '^') {
|
2691
|
-
if (yych <= '@') goto
|
2692
|
-
if (yych <= 'Z') goto
|
2688
|
+
if (yych <= '@') goto yy324;
|
2689
|
+
if (yych <= 'Z') goto yy52;
|
2693
2690
|
} else {
|
2694
|
-
if (yych == '`') goto
|
2695
|
-
if (yych <= 'z') goto
|
2691
|
+
if (yych == '`') goto yy324;
|
2692
|
+
if (yych <= 'z') goto yy52;
|
2696
2693
|
}
|
2697
2694
|
}
|
2698
|
-
yy323:
|
2699
|
-
#line 70 "ext/rbs_extension/lexer.re"
|
2700
|
-
{ return next_token(state, kATTRWRITER); }
|
2701
|
-
#line 2702 "ext/rbs_extension/lexer.c"
|
2702
2695
|
yy324:
|
2696
|
+
#line 69 "ext/rbs_extension/lexer.re"
|
2697
|
+
{ return next_token(state, kATTRWRITER); }
|
2698
|
+
#line 2699 "ext/rbs_extension/lexer.c"
|
2699
|
+
yy325:
|
2703
2700
|
rbs_skip(state);
|
2704
2701
|
yych = peek(state);
|
2705
|
-
if (yych != 'r') goto
|
2702
|
+
if (yych != 'r') goto yy53;
|
2706
2703
|
rbs_skip(state);
|
2707
2704
|
yych = peek(state);
|
2708
2705
|
if (yych <= '=') {
|
2709
2706
|
if (yych <= '/') {
|
2710
|
-
if (yych == '!') goto
|
2707
|
+
if (yych == '!') goto yy105;
|
2711
2708
|
} else {
|
2712
|
-
if (yych <= '9') goto
|
2713
|
-
if (yych >= '=') goto
|
2709
|
+
if (yych <= '9') goto yy52;
|
2710
|
+
if (yych >= '=') goto yy106;
|
2714
2711
|
}
|
2715
2712
|
} else {
|
2716
2713
|
if (yych <= '^') {
|
2717
|
-
if (yych <= '@') goto
|
2718
|
-
if (yych <= 'Z') goto
|
2714
|
+
if (yych <= '@') goto yy326;
|
2715
|
+
if (yych <= 'Z') goto yy52;
|
2719
2716
|
} else {
|
2720
|
-
if (yych == '`') goto
|
2721
|
-
if (yych <= 'z') goto
|
2717
|
+
if (yych == '`') goto yy326;
|
2718
|
+
if (yych <= 'z') goto yy52;
|
2722
2719
|
}
|
2723
2720
|
}
|
2724
|
-
|
2725
|
-
#line
|
2721
|
+
yy326:
|
2722
|
+
#line 67 "ext/rbs_extension/lexer.re"
|
2726
2723
|
{ return next_token(state, kATTRACCESSOR); }
|
2727
|
-
#line
|
2724
|
+
#line 2725 "ext/rbs_extension/lexer.c"
|
2728
2725
|
}
|
2729
|
-
#line
|
2726
|
+
#line 146 "ext/rbs_extension/lexer.re"
|
2730
2727
|
|
2731
2728
|
}
|