diff options
author | 2019-08-01 14:49:53 +0200 | |
---|---|---|
committer | 2019-08-01 14:49:53 +0200 | |
commit | 972baab642bd889d2c3476c0c9e17a6929e0c318 (patch) | |
tree | 8f724cb348c60e4fc45d446d8532988ed8e40748 /Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java | |
parent | Counting scope propagator (simpler than BasicTypeHierarchy) (diff) | |
download | VIATRA-Generator-972baab642bd889d2c3476c0c9e17a6929e0c318.tar.gz VIATRA-Generator-972baab642bd889d2c3476c0c9e17a6929e0c318.tar.zst VIATRA-Generator-972baab642bd889d2c3476c0c9e17a6929e0c318.zip |
[Stochastic] Remove fault tree support for now
Diffstat (limited to 'Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java')
-rw-r--r-- | Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java | 2001 |
1 files changed, 0 insertions, 2001 deletions
diff --git a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java b/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java deleted file mode 100644 index c15c826a..00000000 --- a/Stochastic/hu.bme.mit.inf.dslreasoner.faulttree.components/src-gen/hu/bme/mit/inf/dslreasoner/faulttree/components/parser/antlr/internal/InternalCftLanguageLexer.java +++ /dev/null | |||
@@ -1,2001 +0,0 @@ | |||
1 | package hu.bme.mit.inf.dslreasoner.faulttree.components.parser.antlr.internal; | ||
2 | |||
3 | // Hack: Use our own Lexer superclass by means of import. | ||
4 | // Currently there is no other way to specify the superclass for the lexer. | ||
5 | import org.eclipse.xtext.parser.antlr.Lexer; | ||
6 | |||
7 | |||
8 | import org.antlr.runtime.*; | ||
9 | import java.util.Stack; | ||
10 | import java.util.List; | ||
11 | import java.util.ArrayList; | ||
12 | |||
13 | @SuppressWarnings("all") | ||
14 | public class InternalCftLanguageLexer extends Lexer { | ||
15 | public static final int RULE_STRING=8; | ||
16 | public static final int RULE_SL_COMMENT=10; | ||
17 | public static final int T__19=19; | ||
18 | public static final int T__15=15; | ||
19 | public static final int T__37=37; | ||
20 | public static final int T__16=16; | ||
21 | public static final int T__38=38; | ||
22 | public static final int T__17=17; | ||
23 | public static final int T__39=39; | ||
24 | public static final int T__18=18; | ||
25 | public static final int T__33=33; | ||
26 | public static final int T__34=34; | ||
27 | public static final int RULE_T_DOUBLE=7; | ||
28 | public static final int T__13=13; | ||
29 | public static final int T__35=35; | ||
30 | public static final int T__14=14; | ||
31 | public static final int T__36=36; | ||
32 | public static final int EOF=-1; | ||
33 | public static final int T__30=30; | ||
34 | public static final int T__31=31; | ||
35 | public static final int T__32=32; | ||
36 | public static final int RULE_OF_INT=5; | ||
37 | public static final int RULE_ID=6; | ||
38 | public static final int RULE_WS=11; | ||
39 | public static final int RULE_ANY_OTHER=12; | ||
40 | public static final int T__26=26; | ||
41 | public static final int T__27=27; | ||
42 | public static final int T__28=28; | ||
43 | public static final int RULE_INT=4; | ||
44 | public static final int T__29=29; | ||
45 | public static final int T__22=22; | ||
46 | public static final int RULE_ML_COMMENT=9; | ||
47 | public static final int T__23=23; | ||
48 | public static final int T__24=24; | ||
49 | public static final int T__25=25; | ||
50 | public static final int T__40=40; | ||
51 | public static final int T__20=20; | ||
52 | public static final int T__21=21; | ||
53 | |||
54 | // delegates | ||
55 | // delegators | ||
56 | |||
57 | public InternalCftLanguageLexer() {;} | ||
58 | public InternalCftLanguageLexer(CharStream input) { | ||
59 | this(input, new RecognizerSharedState()); | ||
60 | } | ||
61 | public InternalCftLanguageLexer(CharStream input, RecognizerSharedState state) { | ||
62 | super(input,state); | ||
63 | |||
64 | } | ||
65 | public String getGrammarFileName() { return "InternalCftLanguage.g"; } | ||
66 | |||
67 | // $ANTLR start "T__13" | ||
68 | public final void mT__13() throws RecognitionException { | ||
69 | try { | ||
70 | int _type = T__13; | ||
71 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
72 | // InternalCftLanguage.g:11:7: ( 'package' ) | ||
73 | // InternalCftLanguage.g:11:9: 'package' | ||
74 | { | ||
75 | match("package"); | ||
76 | |||
77 | |||
78 | } | ||
79 | |||
80 | state.type = _type; | ||
81 | state.channel = _channel; | ||
82 | } | ||
83 | finally { | ||
84 | } | ||
85 | } | ||
86 | // $ANTLR end "T__13" | ||
87 | |||
88 | // $ANTLR start "T__14" | ||
89 | public final void mT__14() throws RecognitionException { | ||
90 | try { | ||
91 | int _type = T__14; | ||
92 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
93 | // InternalCftLanguage.g:12:7: ( ';' ) | ||
94 | // InternalCftLanguage.g:12:9: ';' | ||
95 | { | ||
96 | match(';'); | ||
97 | |||
98 | } | ||
99 | |||
100 | state.type = _type; | ||
101 | state.channel = _channel; | ||
102 | } | ||
103 | finally { | ||
104 | } | ||
105 | } | ||
106 | // $ANTLR end "T__14" | ||
107 | |||
108 | // $ANTLR start "T__15" | ||
109 | public final void mT__15() throws RecognitionException { | ||
110 | try { | ||
111 | int _type = T__15; | ||
112 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
113 | // InternalCftLanguage.g:13:7: ( 'import' ) | ||
114 | // InternalCftLanguage.g:13:9: 'import' | ||
115 | { | ||
116 | match("import"); | ||
117 | |||
118 | |||
119 | } | ||
120 | |||
121 | state.type = _type; | ||
122 | state.channel = _channel; | ||
123 | } | ||
124 | finally { | ||
125 | } | ||
126 | } | ||
127 | // $ANTLR end "T__15" | ||
128 | |||
129 | // $ANTLR start "T__16" | ||
130 | public final void mT__16() throws RecognitionException { | ||
131 | try { | ||
132 | int _type = T__16; | ||
133 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
134 | // InternalCftLanguage.g:14:7: ( 'cft' ) | ||
135 | // InternalCftLanguage.g:14:9: 'cft' | ||
136 | { | ||
137 | match("cft"); | ||
138 | |||
139 | |||
140 | } | ||
141 | |||
142 | state.type = _type; | ||
143 | state.channel = _channel; | ||
144 | } | ||
145 | finally { | ||
146 | } | ||
147 | } | ||
148 | // $ANTLR end "T__16" | ||
149 | |||
150 | // $ANTLR start "T__17" | ||
151 | public final void mT__17() throws RecognitionException { | ||
152 | try { | ||
153 | int _type = T__17; | ||
154 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
155 | // InternalCftLanguage.g:15:7: ( '{' ) | ||
156 | // InternalCftLanguage.g:15:9: '{' | ||
157 | { | ||
158 | match('{'); | ||
159 | |||
160 | } | ||
161 | |||
162 | state.type = _type; | ||
163 | state.channel = _channel; | ||
164 | } | ||
165 | finally { | ||
166 | } | ||
167 | } | ||
168 | // $ANTLR end "T__17" | ||
169 | |||
170 | // $ANTLR start "T__18" | ||
171 | public final void mT__18() throws RecognitionException { | ||
172 | try { | ||
173 | int _type = T__18; | ||
174 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
175 | // InternalCftLanguage.g:16:7: ( 'in' ) | ||
176 | // InternalCftLanguage.g:16:9: 'in' | ||
177 | { | ||
178 | match("in"); | ||
179 | |||
180 | |||
181 | } | ||
182 | |||
183 | state.type = _type; | ||
184 | state.channel = _channel; | ||
185 | } | ||
186 | finally { | ||
187 | } | ||
188 | } | ||
189 | // $ANTLR end "T__18" | ||
190 | |||
191 | // $ANTLR start "T__19" | ||
192 | public final void mT__19() throws RecognitionException { | ||
193 | try { | ||
194 | int _type = T__19; | ||
195 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
196 | // InternalCftLanguage.g:17:7: ( 'out' ) | ||
197 | // InternalCftLanguage.g:17:9: 'out' | ||
198 | { | ||
199 | match("out"); | ||
200 | |||
201 | |||
202 | } | ||
203 | |||
204 | state.type = _type; | ||
205 | state.channel = _channel; | ||
206 | } | ||
207 | finally { | ||
208 | } | ||
209 | } | ||
210 | // $ANTLR end "T__19" | ||
211 | |||
212 | // $ANTLR start "T__20" | ||
213 | public final void mT__20() throws RecognitionException { | ||
214 | try { | ||
215 | int _type = T__20; | ||
216 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
217 | // InternalCftLanguage.g:18:7: ( '}' ) | ||
218 | // InternalCftLanguage.g:18:9: '}' | ||
219 | { | ||
220 | match('}'); | ||
221 | |||
222 | } | ||
223 | |||
224 | state.type = _type; | ||
225 | state.channel = _channel; | ||
226 | } | ||
227 | finally { | ||
228 | } | ||
229 | } | ||
230 | // $ANTLR end "T__20" | ||
231 | |||
232 | // $ANTLR start "T__21" | ||
233 | public final void mT__21() throws RecognitionException { | ||
234 | try { | ||
235 | int _type = T__21; | ||
236 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
237 | // InternalCftLanguage.g:19:7: ( '[]' ) | ||
238 | // InternalCftLanguage.g:19:9: '[]' | ||
239 | { | ||
240 | match("[]"); | ||
241 | |||
242 | |||
243 | } | ||
244 | |||
245 | state.type = _type; | ||
246 | state.channel = _channel; | ||
247 | } | ||
248 | finally { | ||
249 | } | ||
250 | } | ||
251 | // $ANTLR end "T__21" | ||
252 | |||
253 | // $ANTLR start "T__22" | ||
254 | public final void mT__22() throws RecognitionException { | ||
255 | try { | ||
256 | int _type = T__22; | ||
257 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
258 | // InternalCftLanguage.g:20:7: ( 'prob' ) | ||
259 | // InternalCftLanguage.g:20:9: 'prob' | ||
260 | { | ||
261 | match("prob"); | ||
262 | |||
263 | |||
264 | } | ||
265 | |||
266 | state.type = _type; | ||
267 | state.channel = _channel; | ||
268 | } | ||
269 | finally { | ||
270 | } | ||
271 | } | ||
272 | // $ANTLR end "T__22" | ||
273 | |||
274 | // $ANTLR start "T__23" | ||
275 | public final void mT__23() throws RecognitionException { | ||
276 | try { | ||
277 | int _type = T__23; | ||
278 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
279 | // InternalCftLanguage.g:21:7: ( '=' ) | ||
280 | // InternalCftLanguage.g:21:9: '=' | ||
281 | { | ||
282 | match('='); | ||
283 | |||
284 | } | ||
285 | |||
286 | state.type = _type; | ||
287 | state.channel = _channel; | ||
288 | } | ||
289 | finally { | ||
290 | } | ||
291 | } | ||
292 | // $ANTLR end "T__23" | ||
293 | |||
294 | // $ANTLR start "T__24" | ||
295 | public final void mT__24() throws RecognitionException { | ||
296 | try { | ||
297 | int _type = T__24; | ||
298 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
299 | // InternalCftLanguage.g:22:7: ( 'lambda' ) | ||
300 | // InternalCftLanguage.g:22:9: 'lambda' | ||
301 | { | ||
302 | match("lambda"); | ||
303 | |||
304 | |||
305 | } | ||
306 | |||
307 | state.type = _type; | ||
308 | state.channel = _channel; | ||
309 | } | ||
310 | finally { | ||
311 | } | ||
312 | } | ||
313 | // $ANTLR end "T__24" | ||
314 | |||
315 | // $ANTLR start "T__25" | ||
316 | public final void mT__25() throws RecognitionException { | ||
317 | try { | ||
318 | int _type = T__25; | ||
319 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
320 | // InternalCftLanguage.g:23:7: ( 'and' ) | ||
321 | // InternalCftLanguage.g:23:9: 'and' | ||
322 | { | ||
323 | match("and"); | ||
324 | |||
325 | |||
326 | } | ||
327 | |||
328 | state.type = _type; | ||
329 | state.channel = _channel; | ||
330 | } | ||
331 | finally { | ||
332 | } | ||
333 | } | ||
334 | // $ANTLR end "T__25" | ||
335 | |||
336 | // $ANTLR start "T__26" | ||
337 | public final void mT__26() throws RecognitionException { | ||
338 | try { | ||
339 | int _type = T__26; | ||
340 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
341 | // InternalCftLanguage.g:24:7: ( 'or' ) | ||
342 | // InternalCftLanguage.g:24:9: 'or' | ||
343 | { | ||
344 | match("or"); | ||
345 | |||
346 | |||
347 | } | ||
348 | |||
349 | state.type = _type; | ||
350 | state.channel = _channel; | ||
351 | } | ||
352 | finally { | ||
353 | } | ||
354 | } | ||
355 | // $ANTLR end "T__26" | ||
356 | |||
357 | // $ANTLR start "T__27" | ||
358 | public final void mT__27() throws RecognitionException { | ||
359 | try { | ||
360 | int _type = T__27; | ||
361 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
362 | // InternalCftLanguage.g:25:7: ( 'of' ) | ||
363 | // InternalCftLanguage.g:25:9: 'of' | ||
364 | { | ||
365 | match("of"); | ||
366 | |||
367 | |||
368 | } | ||
369 | |||
370 | state.type = _type; | ||
371 | state.channel = _channel; | ||
372 | } | ||
373 | finally { | ||
374 | } | ||
375 | } | ||
376 | // $ANTLR end "T__27" | ||
377 | |||
378 | // $ANTLR start "T__28" | ||
379 | public final void mT__28() throws RecognitionException { | ||
380 | try { | ||
381 | int _type = T__28; | ||
382 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
383 | // InternalCftLanguage.g:26:7: ( 'transformation' ) | ||
384 | // InternalCftLanguage.g:26:9: 'transformation' | ||
385 | { | ||
386 | match("transformation"); | ||
387 | |||
388 | |||
389 | } | ||
390 | |||
391 | state.type = _type; | ||
392 | state.channel = _channel; | ||
393 | } | ||
394 | finally { | ||
395 | } | ||
396 | } | ||
397 | // $ANTLR end "T__28" | ||
398 | |||
399 | // $ANTLR start "T__29" | ||
400 | public final void mT__29() throws RecognitionException { | ||
401 | try { | ||
402 | int _type = T__29; | ||
403 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
404 | // InternalCftLanguage.g:27:7: ( 'toplevel' ) | ||
405 | // InternalCftLanguage.g:27:9: 'toplevel' | ||
406 | { | ||
407 | match("toplevel"); | ||
408 | |||
409 | |||
410 | } | ||
411 | |||
412 | state.type = _type; | ||
413 | state.channel = _channel; | ||
414 | } | ||
415 | finally { | ||
416 | } | ||
417 | } | ||
418 | // $ANTLR end "T__29" | ||
419 | |||
420 | // $ANTLR start "T__30" | ||
421 | public final void mT__30() throws RecognitionException { | ||
422 | try { | ||
423 | int _type = T__30; | ||
424 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
425 | // InternalCftLanguage.g:28:7: ( 'mapping' ) | ||
426 | // InternalCftLanguage.g:28:9: 'mapping' | ||
427 | { | ||
428 | match("mapping"); | ||
429 | |||
430 | |||
431 | } | ||
432 | |||
433 | state.type = _type; | ||
434 | state.channel = _channel; | ||
435 | } | ||
436 | finally { | ||
437 | } | ||
438 | } | ||
439 | // $ANTLR end "T__30" | ||
440 | |||
441 | // $ANTLR start "T__31" | ||
442 | public final void mT__31() throws RecognitionException { | ||
443 | try { | ||
444 | int _type = T__31; | ||
445 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
446 | // InternalCftLanguage.g:29:7: ( '(' ) | ||
447 | // InternalCftLanguage.g:29:9: '(' | ||
448 | { | ||
449 | match('('); | ||
450 | |||
451 | } | ||
452 | |||
453 | state.type = _type; | ||
454 | state.channel = _channel; | ||
455 | } | ||
456 | finally { | ||
457 | } | ||
458 | } | ||
459 | // $ANTLR end "T__31" | ||
460 | |||
461 | // $ANTLR start "T__32" | ||
462 | public final void mT__32() throws RecognitionException { | ||
463 | try { | ||
464 | int _type = T__32; | ||
465 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
466 | // InternalCftLanguage.g:30:7: ( ',' ) | ||
467 | // InternalCftLanguage.g:30:9: ',' | ||
468 | { | ||
469 | match(','); | ||
470 | |||
471 | } | ||
472 | |||
473 | state.type = _type; | ||
474 | state.channel = _channel; | ||
475 | } | ||
476 | finally { | ||
477 | } | ||
478 | } | ||
479 | // $ANTLR end "T__32" | ||
480 | |||
481 | // $ANTLR start "T__33" | ||
482 | public final void mT__33() throws RecognitionException { | ||
483 | try { | ||
484 | int _type = T__33; | ||
485 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
486 | // InternalCftLanguage.g:31:7: ( ')' ) | ||
487 | // InternalCftLanguage.g:31:9: ')' | ||
488 | { | ||
489 | match(')'); | ||
490 | |||
491 | } | ||
492 | |||
493 | state.type = _type; | ||
494 | state.channel = _channel; | ||
495 | } | ||
496 | finally { | ||
497 | } | ||
498 | } | ||
499 | // $ANTLR end "T__33" | ||
500 | |||
501 | // $ANTLR start "T__34" | ||
502 | public final void mT__34() throws RecognitionException { | ||
503 | try { | ||
504 | int _type = T__34; | ||
505 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
506 | // InternalCftLanguage.g:32:7: ( 'lookup' ) | ||
507 | // InternalCftLanguage.g:32:9: 'lookup' | ||
508 | { | ||
509 | match("lookup"); | ||
510 | |||
511 | |||
512 | } | ||
513 | |||
514 | state.type = _type; | ||
515 | state.channel = _channel; | ||
516 | } | ||
517 | finally { | ||
518 | } | ||
519 | } | ||
520 | // $ANTLR end "T__34" | ||
521 | |||
522 | // $ANTLR start "T__35" | ||
523 | public final void mT__35() throws RecognitionException { | ||
524 | try { | ||
525 | int _type = T__35; | ||
526 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
527 | // InternalCftLanguage.g:33:7: ( 'as' ) | ||
528 | // InternalCftLanguage.g:33:9: 'as' | ||
529 | { | ||
530 | match("as"); | ||
531 | |||
532 | |||
533 | } | ||
534 | |||
535 | state.type = _type; | ||
536 | state.channel = _channel; | ||
537 | } | ||
538 | finally { | ||
539 | } | ||
540 | } | ||
541 | // $ANTLR end "T__35" | ||
542 | |||
543 | // $ANTLR start "T__36" | ||
544 | public final void mT__36() throws RecognitionException { | ||
545 | try { | ||
546 | int _type = T__36; | ||
547 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
548 | // InternalCftLanguage.g:34:7: ( '+=' ) | ||
549 | // InternalCftLanguage.g:34:9: '+=' | ||
550 | { | ||
551 | match("+="); | ||
552 | |||
553 | |||
554 | } | ||
555 | |||
556 | state.type = _type; | ||
557 | state.channel = _channel; | ||
558 | } | ||
559 | finally { | ||
560 | } | ||
561 | } | ||
562 | // $ANTLR end "T__36" | ||
563 | |||
564 | // $ANTLR start "T__37" | ||
565 | public final void mT__37() throws RecognitionException { | ||
566 | try { | ||
567 | int _type = T__37; | ||
568 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
569 | // InternalCftLanguage.g:35:7: ( ':=' ) | ||
570 | // InternalCftLanguage.g:35:9: ':=' | ||
571 | { | ||
572 | match(":="); | ||
573 | |||
574 | |||
575 | } | ||
576 | |||
577 | state.type = _type; | ||
578 | state.channel = _channel; | ||
579 | } | ||
580 | finally { | ||
581 | } | ||
582 | } | ||
583 | // $ANTLR end "T__37" | ||
584 | |||
585 | // $ANTLR start "T__38" | ||
586 | public final void mT__38() throws RecognitionException { | ||
587 | try { | ||
588 | int _type = T__38; | ||
589 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
590 | // InternalCftLanguage.g:36:7: ( '.' ) | ||
591 | // InternalCftLanguage.g:36:9: '.' | ||
592 | { | ||
593 | match('.'); | ||
594 | |||
595 | } | ||
596 | |||
597 | state.type = _type; | ||
598 | state.channel = _channel; | ||
599 | } | ||
600 | finally { | ||
601 | } | ||
602 | } | ||
603 | // $ANTLR end "T__38" | ||
604 | |||
605 | // $ANTLR start "T__39" | ||
606 | public final void mT__39() throws RecognitionException { | ||
607 | try { | ||
608 | int _type = T__39; | ||
609 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
610 | // InternalCftLanguage.g:37:7: ( '=>' ) | ||
611 | // InternalCftLanguage.g:37:9: '=>' | ||
612 | { | ||
613 | match("=>"); | ||
614 | |||
615 | |||
616 | } | ||
617 | |||
618 | state.type = _type; | ||
619 | state.channel = _channel; | ||
620 | } | ||
621 | finally { | ||
622 | } | ||
623 | } | ||
624 | // $ANTLR end "T__39" | ||
625 | |||
626 | // $ANTLR start "T__40" | ||
627 | public final void mT__40() throws RecognitionException { | ||
628 | try { | ||
629 | int _type = T__40; | ||
630 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
631 | // InternalCftLanguage.g:38:7: ( '*' ) | ||
632 | // InternalCftLanguage.g:38:9: '*' | ||
633 | { | ||
634 | match('*'); | ||
635 | |||
636 | } | ||
637 | |||
638 | state.type = _type; | ||
639 | state.channel = _channel; | ||
640 | } | ||
641 | finally { | ||
642 | } | ||
643 | } | ||
644 | // $ANTLR end "T__40" | ||
645 | |||
646 | // $ANTLR start "RULE_OF_INT" | ||
647 | public final void mRULE_OF_INT() throws RecognitionException { | ||
648 | try { | ||
649 | int _type = RULE_OF_INT; | ||
650 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
651 | // InternalCftLanguage.g:1672:13: ( 'o' 'f' ( '0' .. '9' )+ ) | ||
652 | // InternalCftLanguage.g:1672:15: 'o' 'f' ( '0' .. '9' )+ | ||
653 | { | ||
654 | match('o'); | ||
655 | match('f'); | ||
656 | // InternalCftLanguage.g:1672:23: ( '0' .. '9' )+ | ||
657 | int cnt1=0; | ||
658 | loop1: | ||
659 | do { | ||
660 | int alt1=2; | ||
661 | int LA1_0 = input.LA(1); | ||
662 | |||
663 | if ( ((LA1_0>='0' && LA1_0<='9')) ) { | ||
664 | alt1=1; | ||
665 | } | ||
666 | |||
667 | |||
668 | switch (alt1) { | ||
669 | case 1 : | ||
670 | // InternalCftLanguage.g:1672:24: '0' .. '9' | ||
671 | { | ||
672 | matchRange('0','9'); | ||
673 | |||
674 | } | ||
675 | break; | ||
676 | |||
677 | default : | ||
678 | if ( cnt1 >= 1 ) break loop1; | ||
679 | EarlyExitException eee = | ||
680 | new EarlyExitException(1, input); | ||
681 | throw eee; | ||
682 | } | ||
683 | cnt1++; | ||
684 | } while (true); | ||
685 | |||
686 | |||
687 | } | ||
688 | |||
689 | state.type = _type; | ||
690 | state.channel = _channel; | ||
691 | } | ||
692 | finally { | ||
693 | } | ||
694 | } | ||
695 | // $ANTLR end "RULE_OF_INT" | ||
696 | |||
697 | // $ANTLR start "RULE_T_DOUBLE" | ||
698 | public final void mRULE_T_DOUBLE() throws RecognitionException { | ||
699 | try { | ||
700 | int _type = RULE_T_DOUBLE; | ||
701 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
702 | // InternalCftLanguage.g:1674:15: ( ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) ) | ||
703 | // InternalCftLanguage.g:1674:17: ( '0' .. '9' )+ ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) | ||
704 | { | ||
705 | // InternalCftLanguage.g:1674:17: ( '0' .. '9' )+ | ||
706 | int cnt2=0; | ||
707 | loop2: | ||
708 | do { | ||
709 | int alt2=2; | ||
710 | int LA2_0 = input.LA(1); | ||
711 | |||
712 | if ( ((LA2_0>='0' && LA2_0<='9')) ) { | ||
713 | alt2=1; | ||
714 | } | ||
715 | |||
716 | |||
717 | switch (alt2) { | ||
718 | case 1 : | ||
719 | // InternalCftLanguage.g:1674:18: '0' .. '9' | ||
720 | { | ||
721 | matchRange('0','9'); | ||
722 | |||
723 | } | ||
724 | break; | ||
725 | |||
726 | default : | ||
727 | if ( cnt2 >= 1 ) break loop2; | ||
728 | EarlyExitException eee = | ||
729 | new EarlyExitException(2, input); | ||
730 | throw eee; | ||
731 | } | ||
732 | cnt2++; | ||
733 | } while (true); | ||
734 | |||
735 | // InternalCftLanguage.g:1674:29: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) | ||
736 | int alt8=2; | ||
737 | alt8 = dfa8.predict(input); | ||
738 | switch (alt8) { | ||
739 | case 1 : | ||
740 | // InternalCftLanguage.g:1674:30: '.' ( '0' .. '9' )+ | ||
741 | { | ||
742 | match('.'); | ||
743 | // InternalCftLanguage.g:1674:34: ( '0' .. '9' )+ | ||
744 | int cnt3=0; | ||
745 | loop3: | ||
746 | do { | ||
747 | int alt3=2; | ||
748 | int LA3_0 = input.LA(1); | ||
749 | |||
750 | if ( ((LA3_0>='0' && LA3_0<='9')) ) { | ||
751 | alt3=1; | ||
752 | } | ||
753 | |||
754 | |||
755 | switch (alt3) { | ||
756 | case 1 : | ||
757 | // InternalCftLanguage.g:1674:35: '0' .. '9' | ||
758 | { | ||
759 | matchRange('0','9'); | ||
760 | |||
761 | } | ||
762 | break; | ||
763 | |||
764 | default : | ||
765 | if ( cnt3 >= 1 ) break loop3; | ||
766 | EarlyExitException eee = | ||
767 | new EarlyExitException(3, input); | ||
768 | throw eee; | ||
769 | } | ||
770 | cnt3++; | ||
771 | } while (true); | ||
772 | |||
773 | |||
774 | } | ||
775 | break; | ||
776 | case 2 : | ||
777 | // InternalCftLanguage.g:1674:46: ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ | ||
778 | { | ||
779 | // InternalCftLanguage.g:1674:46: ( '.' ( '0' .. '9' )+ )? | ||
780 | int alt5=2; | ||
781 | int LA5_0 = input.LA(1); | ||
782 | |||
783 | if ( (LA5_0=='.') ) { | ||
784 | alt5=1; | ||
785 | } | ||
786 | switch (alt5) { | ||
787 | case 1 : | ||
788 | // InternalCftLanguage.g:1674:47: '.' ( '0' .. '9' )+ | ||
789 | { | ||
790 | match('.'); | ||
791 | // InternalCftLanguage.g:1674:51: ( '0' .. '9' )+ | ||
792 | int cnt4=0; | ||
793 | loop4: | ||
794 | do { | ||
795 | int alt4=2; | ||
796 | int LA4_0 = input.LA(1); | ||
797 | |||
798 | if ( ((LA4_0>='0' && LA4_0<='9')) ) { | ||
799 | alt4=1; | ||
800 | } | ||
801 | |||
802 | |||
803 | switch (alt4) { | ||
804 | case 1 : | ||
805 | // InternalCftLanguage.g:1674:52: '0' .. '9' | ||
806 | { | ||
807 | matchRange('0','9'); | ||
808 | |||
809 | } | ||
810 | break; | ||
811 | |||
812 | default : | ||
813 | if ( cnt4 >= 1 ) break loop4; | ||
814 | EarlyExitException eee = | ||
815 | new EarlyExitException(4, input); | ||
816 | throw eee; | ||
817 | } | ||
818 | cnt4++; | ||
819 | } while (true); | ||
820 | |||
821 | |||
822 | } | ||
823 | break; | ||
824 | |||
825 | } | ||
826 | |||
827 | if ( input.LA(1)=='E'||input.LA(1)=='e' ) { | ||
828 | input.consume(); | ||
829 | |||
830 | } | ||
831 | else { | ||
832 | MismatchedSetException mse = new MismatchedSetException(null,input); | ||
833 | recover(mse); | ||
834 | throw mse;} | ||
835 | |||
836 | // InternalCftLanguage.g:1674:75: ( '+' | '-' )? | ||
837 | int alt6=2; | ||
838 | int LA6_0 = input.LA(1); | ||
839 | |||
840 | if ( (LA6_0=='+'||LA6_0=='-') ) { | ||
841 | alt6=1; | ||
842 | } | ||
843 | switch (alt6) { | ||
844 | case 1 : | ||
845 | // InternalCftLanguage.g: | ||
846 | { | ||
847 | if ( input.LA(1)=='+'||input.LA(1)=='-' ) { | ||
848 | input.consume(); | ||
849 | |||
850 | } | ||
851 | else { | ||
852 | MismatchedSetException mse = new MismatchedSetException(null,input); | ||
853 | recover(mse); | ||
854 | throw mse;} | ||
855 | |||
856 | |||
857 | } | ||
858 | break; | ||
859 | |||
860 | } | ||
861 | |||
862 | // InternalCftLanguage.g:1674:86: ( '0' .. '9' )+ | ||
863 | int cnt7=0; | ||
864 | loop7: | ||
865 | do { | ||
866 | int alt7=2; | ||
867 | int LA7_0 = input.LA(1); | ||
868 | |||
869 | if ( ((LA7_0>='0' && LA7_0<='9')) ) { | ||
870 | alt7=1; | ||
871 | } | ||
872 | |||
873 | |||
874 | switch (alt7) { | ||
875 | case 1 : | ||
876 | // InternalCftLanguage.g:1674:87: '0' .. '9' | ||
877 | { | ||
878 | matchRange('0','9'); | ||
879 | |||
880 | } | ||
881 | break; | ||
882 | |||
883 | default : | ||
884 | if ( cnt7 >= 1 ) break loop7; | ||
885 | EarlyExitException eee = | ||
886 | new EarlyExitException(7, input); | ||
887 | throw eee; | ||
888 | } | ||
889 | cnt7++; | ||
890 | } while (true); | ||
891 | |||
892 | |||
893 | } | ||
894 | break; | ||
895 | |||
896 | } | ||
897 | |||
898 | |||
899 | } | ||
900 | |||
901 | state.type = _type; | ||
902 | state.channel = _channel; | ||
903 | } | ||
904 | finally { | ||
905 | } | ||
906 | } | ||
907 | // $ANTLR end "RULE_T_DOUBLE" | ||
908 | |||
909 | // $ANTLR start "RULE_ID" | ||
910 | public final void mRULE_ID() throws RecognitionException { | ||
911 | try { | ||
912 | int _type = RULE_ID; | ||
913 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
914 | // InternalCftLanguage.g:1676:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) | ||
915 | // InternalCftLanguage.g:1676:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | ||
916 | { | ||
917 | // InternalCftLanguage.g:1676:11: ( '^' )? | ||
918 | int alt9=2; | ||
919 | int LA9_0 = input.LA(1); | ||
920 | |||
921 | if ( (LA9_0=='^') ) { | ||
922 | alt9=1; | ||
923 | } | ||
924 | switch (alt9) { | ||
925 | case 1 : | ||
926 | // InternalCftLanguage.g:1676:11: '^' | ||
927 | { | ||
928 | match('^'); | ||
929 | |||
930 | } | ||
931 | break; | ||
932 | |||
933 | } | ||
934 | |||
935 | if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { | ||
936 | input.consume(); | ||
937 | |||
938 | } | ||
939 | else { | ||
940 | MismatchedSetException mse = new MismatchedSetException(null,input); | ||
941 | recover(mse); | ||
942 | throw mse;} | ||
943 | |||
944 | // InternalCftLanguage.g:1676:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | ||
945 | loop10: | ||
946 | do { | ||
947 | int alt10=2; | ||
948 | int LA10_0 = input.LA(1); | ||
949 | |||
950 | if ( ((LA10_0>='0' && LA10_0<='9')||(LA10_0>='A' && LA10_0<='Z')||LA10_0=='_'||(LA10_0>='a' && LA10_0<='z')) ) { | ||
951 | alt10=1; | ||
952 | } | ||
953 | |||
954 | |||
955 | switch (alt10) { | ||
956 | case 1 : | ||
957 | // InternalCftLanguage.g: | ||
958 | { | ||
959 | if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { | ||
960 | input.consume(); | ||
961 | |||
962 | } | ||
963 | else { | ||
964 | MismatchedSetException mse = new MismatchedSetException(null,input); | ||
965 | recover(mse); | ||
966 | throw mse;} | ||
967 | |||
968 | |||
969 | } | ||
970 | break; | ||
971 | |||
972 | default : | ||
973 | break loop10; | ||
974 | } | ||
975 | } while (true); | ||
976 | |||
977 | |||
978 | } | ||
979 | |||
980 | state.type = _type; | ||
981 | state.channel = _channel; | ||
982 | } | ||
983 | finally { | ||
984 | } | ||
985 | } | ||
986 | // $ANTLR end "RULE_ID" | ||
987 | |||
988 | // $ANTLR start "RULE_INT" | ||
989 | public final void mRULE_INT() throws RecognitionException { | ||
990 | try { | ||
991 | int _type = RULE_INT; | ||
992 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
993 | // InternalCftLanguage.g:1678:10: ( ( '0' .. '9' )+ ) | ||
994 | // InternalCftLanguage.g:1678:12: ( '0' .. '9' )+ | ||
995 | { | ||
996 | // InternalCftLanguage.g:1678:12: ( '0' .. '9' )+ | ||
997 | int cnt11=0; | ||
998 | loop11: | ||
999 | do { | ||
1000 | int alt11=2; | ||
1001 | int LA11_0 = input.LA(1); | ||
1002 | |||
1003 | if ( ((LA11_0>='0' && LA11_0<='9')) ) { | ||
1004 | alt11=1; | ||
1005 | } | ||
1006 | |||
1007 | |||
1008 | switch (alt11) { | ||
1009 | case 1 : | ||
1010 | // InternalCftLanguage.g:1678:13: '0' .. '9' | ||
1011 | { | ||
1012 | matchRange('0','9'); | ||
1013 | |||
1014 | } | ||
1015 | break; | ||
1016 | |||
1017 | default : | ||
1018 | if ( cnt11 >= 1 ) break loop11; | ||
1019 | EarlyExitException eee = | ||
1020 | new EarlyExitException(11, input); | ||
1021 | throw eee; | ||
1022 | } | ||
1023 | cnt11++; | ||
1024 | } while (true); | ||
1025 | |||
1026 | |||
1027 | } | ||
1028 | |||
1029 | state.type = _type; | ||
1030 | state.channel = _channel; | ||
1031 | } | ||
1032 | finally { | ||
1033 | } | ||
1034 | } | ||
1035 | // $ANTLR end "RULE_INT" | ||
1036 | |||
1037 | // $ANTLR start "RULE_STRING" | ||
1038 | public final void mRULE_STRING() throws RecognitionException { | ||
1039 | try { | ||
1040 | int _type = RULE_STRING; | ||
1041 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1042 | // InternalCftLanguage.g:1680:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) | ||
1043 | // InternalCftLanguage.g:1680:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) | ||
1044 | { | ||
1045 | // InternalCftLanguage.g:1680:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) | ||
1046 | int alt14=2; | ||
1047 | int LA14_0 = input.LA(1); | ||
1048 | |||
1049 | if ( (LA14_0=='\"') ) { | ||
1050 | alt14=1; | ||
1051 | } | ||
1052 | else if ( (LA14_0=='\'') ) { | ||
1053 | alt14=2; | ||
1054 | } | ||
1055 | else { | ||
1056 | NoViableAltException nvae = | ||
1057 | new NoViableAltException("", 14, 0, input); | ||
1058 | |||
1059 | throw nvae; | ||
1060 | } | ||
1061 | switch (alt14) { | ||
1062 | case 1 : | ||
1063 | // InternalCftLanguage.g:1680:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | ||
1064 | { | ||
1065 | match('\"'); | ||
1066 | // InternalCftLanguage.g:1680:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* | ||
1067 | loop12: | ||
1068 | do { | ||
1069 | int alt12=3; | ||
1070 | int LA12_0 = input.LA(1); | ||
1071 | |||
1072 | if ( (LA12_0=='\\') ) { | ||
1073 | alt12=1; | ||
1074 | } | ||
1075 | else if ( ((LA12_0>='\u0000' && LA12_0<='!')||(LA12_0>='#' && LA12_0<='[')||(LA12_0>=']' && LA12_0<='\uFFFF')) ) { | ||
1076 | alt12=2; | ||
1077 | } | ||
1078 | |||
1079 | |||
1080 | switch (alt12) { | ||
1081 | case 1 : | ||
1082 | // InternalCftLanguage.g:1680:21: '\\\\' . | ||
1083 | { | ||
1084 | match('\\'); | ||
1085 | matchAny(); | ||
1086 | |||
1087 | } | ||
1088 | break; | ||
1089 | case 2 : | ||
1090 | // InternalCftLanguage.g:1680:28: ~ ( ( '\\\\' | '\"' ) ) | ||
1091 | { | ||
1092 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | ||
1093 | input.consume(); | ||
1094 | |||
1095 | } | ||
1096 | else { | ||
1097 | MismatchedSetException mse = new MismatchedSetException(null,input); | ||
1098 | recover(mse); | ||
1099 | throw mse;} | ||
1100 | |||
1101 | |||
1102 | } | ||
1103 | break; | ||
1104 | |||
1105 | default : | ||
1106 | break loop12; | ||
1107 | } | ||
1108 | } while (true); | ||
1109 | |||
1110 | match('\"'); | ||
1111 | |||
1112 | } | ||
1113 | break; | ||
1114 | case 2 : | ||
1115 | // InternalCftLanguage.g:1680:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' | ||
1116 | { | ||
1117 | match('\''); | ||
1118 | // InternalCftLanguage.g:1680:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* | ||
1119 | loop13: | ||
1120 | do { | ||
1121 | int alt13=3; | ||
1122 | int LA13_0 = input.LA(1); | ||
1123 | |||
1124 | if ( (LA13_0=='\\') ) { | ||
1125 | alt13=1; | ||
1126 | } | ||
1127 | else if ( ((LA13_0>='\u0000' && LA13_0<='&')||(LA13_0>='(' && LA13_0<='[')||(LA13_0>=']' && LA13_0<='\uFFFF')) ) { | ||
1128 | alt13=2; | ||
1129 | } | ||
1130 | |||
1131 | |||
1132 | switch (alt13) { | ||
1133 | case 1 : | ||
1134 | // InternalCftLanguage.g:1680:54: '\\\\' . | ||
1135 | { | ||
1136 | match('\\'); | ||
1137 | matchAny(); | ||
1138 | |||
1139 | } | ||
1140 | break; | ||
1141 | case 2 : | ||
1142 | // InternalCftLanguage.g:1680:61: ~ ( ( '\\\\' | '\\'' ) ) | ||
1143 | { | ||
1144 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | ||
1145 | input.consume(); | ||
1146 | |||
1147 | } | ||
1148 | else { | ||
1149 | MismatchedSetException mse = new MismatchedSetException(null,input); | ||
1150 | recover(mse); | ||
1151 | throw mse;} | ||
1152 | |||
1153 | |||
1154 | } | ||
1155 | break; | ||
1156 | |||
1157 | default : | ||
1158 | break loop13; | ||
1159 | } | ||
1160 | } while (true); | ||
1161 | |||
1162 | match('\''); | ||
1163 | |||
1164 | } | ||
1165 | break; | ||
1166 | |||
1167 | } | ||
1168 | |||
1169 | |||
1170 | } | ||
1171 | |||
1172 | state.type = _type; | ||
1173 | state.channel = _channel; | ||
1174 | } | ||
1175 | finally { | ||
1176 | } | ||
1177 | } | ||
1178 | // $ANTLR end "RULE_STRING" | ||
1179 | |||
1180 | // $ANTLR start "RULE_ML_COMMENT" | ||
1181 | public final void mRULE_ML_COMMENT() throws RecognitionException { | ||
1182 | try { | ||
1183 | int _type = RULE_ML_COMMENT; | ||
1184 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1185 | // InternalCftLanguage.g:1682:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) | ||
1186 | // InternalCftLanguage.g:1682:19: '/*' ( options {greedy=false; } : . )* '*/' | ||
1187 | { | ||
1188 | match("/*"); | ||
1189 | |||
1190 | // InternalCftLanguage.g:1682:24: ( options {greedy=false; } : . )* | ||
1191 | loop15: | ||
1192 | do { | ||
1193 | int alt15=2; | ||
1194 | int LA15_0 = input.LA(1); | ||
1195 | |||
1196 | if ( (LA15_0=='*') ) { | ||
1197 | int LA15_1 = input.LA(2); | ||
1198 | |||
1199 | if ( (LA15_1=='/') ) { | ||
1200 | alt15=2; | ||
1201 | } | ||
1202 | else if ( ((LA15_1>='\u0000' && LA15_1<='.')||(LA15_1>='0' && LA15_1<='\uFFFF')) ) { | ||
1203 | alt15=1; | ||
1204 | } | ||
1205 | |||
1206 | |||
1207 | } | ||
1208 | else if ( ((LA15_0>='\u0000' && LA15_0<=')')||(LA15_0>='+' && LA15_0<='\uFFFF')) ) { | ||
1209 | alt15=1; | ||
1210 | } | ||
1211 | |||
1212 | |||
1213 | switch (alt15) { | ||
1214 | case 1 : | ||
1215 | // InternalCftLanguage.g:1682:52: . | ||
1216 | { | ||
1217 | matchAny(); | ||
1218 | |||
1219 | } | ||
1220 | break; | ||
1221 | |||
1222 | default : | ||
1223 | break loop15; | ||
1224 | } | ||
1225 | } while (true); | ||
1226 | |||
1227 | match("*/"); | ||
1228 | |||
1229 | |||
1230 | } | ||
1231 | |||
1232 | state.type = _type; | ||
1233 | state.channel = _channel; | ||
1234 | } | ||
1235 | finally { | ||
1236 | } | ||
1237 | } | ||
1238 | // $ANTLR end "RULE_ML_COMMENT" | ||
1239 | |||
1240 | // $ANTLR start "RULE_SL_COMMENT" | ||
1241 | public final void mRULE_SL_COMMENT() throws RecognitionException { | ||
1242 | try { | ||
1243 | int _type = RULE_SL_COMMENT; | ||
1244 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1245 | // InternalCftLanguage.g:1684:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) | ||
1246 | // InternalCftLanguage.g:1684:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? | ||
1247 | { | ||
1248 | match("//"); | ||
1249 | |||
1250 | // InternalCftLanguage.g:1684:24: (~ ( ( '\\n' | '\\r' ) ) )* | ||
1251 | loop16: | ||
1252 | do { | ||
1253 | int alt16=2; | ||
1254 | int LA16_0 = input.LA(1); | ||
1255 | |||
1256 | if ( ((LA16_0>='\u0000' && LA16_0<='\t')||(LA16_0>='\u000B' && LA16_0<='\f')||(LA16_0>='\u000E' && LA16_0<='\uFFFF')) ) { | ||
1257 | alt16=1; | ||
1258 | } | ||
1259 | |||
1260 | |||
1261 | switch (alt16) { | ||
1262 | case 1 : | ||
1263 | // InternalCftLanguage.g:1684:24: ~ ( ( '\\n' | '\\r' ) ) | ||
1264 | { | ||
1265 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { | ||
1266 | input.consume(); | ||
1267 | |||
1268 | } | ||
1269 | else { | ||
1270 | MismatchedSetException mse = new MismatchedSetException(null,input); | ||
1271 | recover(mse); | ||
1272 | throw mse;} | ||
1273 | |||
1274 | |||
1275 | } | ||
1276 | break; | ||
1277 | |||
1278 | default : | ||
1279 | break loop16; | ||
1280 | } | ||
1281 | } while (true); | ||
1282 | |||
1283 | // InternalCftLanguage.g:1684:40: ( ( '\\r' )? '\\n' )? | ||
1284 | int alt18=2; | ||
1285 | int LA18_0 = input.LA(1); | ||
1286 | |||
1287 | if ( (LA18_0=='\n'||LA18_0=='\r') ) { | ||
1288 | alt18=1; | ||
1289 | } | ||
1290 | switch (alt18) { | ||
1291 | case 1 : | ||
1292 | // InternalCftLanguage.g:1684:41: ( '\\r' )? '\\n' | ||
1293 | { | ||
1294 | // InternalCftLanguage.g:1684:41: ( '\\r' )? | ||
1295 | int alt17=2; | ||
1296 | int LA17_0 = input.LA(1); | ||
1297 | |||
1298 | if ( (LA17_0=='\r') ) { | ||
1299 | alt17=1; | ||
1300 | } | ||
1301 | switch (alt17) { | ||
1302 | case 1 : | ||
1303 | // InternalCftLanguage.g:1684:41: '\\r' | ||
1304 | { | ||
1305 | match('\r'); | ||
1306 | |||
1307 | } | ||
1308 | break; | ||
1309 | |||
1310 | } | ||
1311 | |||
1312 | match('\n'); | ||
1313 | |||
1314 | } | ||
1315 | break; | ||
1316 | |||
1317 | } | ||
1318 | |||
1319 | |||
1320 | } | ||
1321 | |||
1322 | state.type = _type; | ||
1323 | state.channel = _channel; | ||
1324 | } | ||
1325 | finally { | ||
1326 | } | ||
1327 | } | ||
1328 | // $ANTLR end "RULE_SL_COMMENT" | ||
1329 | |||
1330 | // $ANTLR start "RULE_WS" | ||
1331 | public final void mRULE_WS() throws RecognitionException { | ||
1332 | try { | ||
1333 | int _type = RULE_WS; | ||
1334 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1335 | // InternalCftLanguage.g:1686:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) | ||
1336 | // InternalCftLanguage.g:1686:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ | ||
1337 | { | ||
1338 | // InternalCftLanguage.g:1686:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ | ||
1339 | int cnt19=0; | ||
1340 | loop19: | ||
1341 | do { | ||
1342 | int alt19=2; | ||
1343 | int LA19_0 = input.LA(1); | ||
1344 | |||
1345 | if ( ((LA19_0>='\t' && LA19_0<='\n')||LA19_0=='\r'||LA19_0==' ') ) { | ||
1346 | alt19=1; | ||
1347 | } | ||
1348 | |||
1349 | |||
1350 | switch (alt19) { | ||
1351 | case 1 : | ||
1352 | // InternalCftLanguage.g: | ||
1353 | { | ||
1354 | if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { | ||
1355 | input.consume(); | ||
1356 | |||
1357 | } | ||
1358 | else { | ||
1359 | MismatchedSetException mse = new MismatchedSetException(null,input); | ||
1360 | recover(mse); | ||
1361 | throw mse;} | ||
1362 | |||
1363 | |||
1364 | } | ||
1365 | break; | ||
1366 | |||
1367 | default : | ||
1368 | if ( cnt19 >= 1 ) break loop19; | ||
1369 | EarlyExitException eee = | ||
1370 | new EarlyExitException(19, input); | ||
1371 | throw eee; | ||
1372 | } | ||
1373 | cnt19++; | ||
1374 | } while (true); | ||
1375 | |||
1376 | |||
1377 | } | ||
1378 | |||
1379 | state.type = _type; | ||
1380 | state.channel = _channel; | ||
1381 | } | ||
1382 | finally { | ||
1383 | } | ||
1384 | } | ||
1385 | // $ANTLR end "RULE_WS" | ||
1386 | |||
1387 | // $ANTLR start "RULE_ANY_OTHER" | ||
1388 | public final void mRULE_ANY_OTHER() throws RecognitionException { | ||
1389 | try { | ||
1390 | int _type = RULE_ANY_OTHER; | ||
1391 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
1392 | // InternalCftLanguage.g:1688:16: ( . ) | ||
1393 | // InternalCftLanguage.g:1688:18: . | ||
1394 | { | ||
1395 | matchAny(); | ||
1396 | |||
1397 | } | ||
1398 | |||
1399 | state.type = _type; | ||
1400 | state.channel = _channel; | ||
1401 | } | ||
1402 | finally { | ||
1403 | } | ||
1404 | } | ||
1405 | // $ANTLR end "RULE_ANY_OTHER" | ||
1406 | |||
1407 | public void mTokens() throws RecognitionException { | ||
1408 | // InternalCftLanguage.g:1:8: ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | RULE_OF_INT | RULE_T_DOUBLE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) | ||
1409 | int alt20=37; | ||
1410 | alt20 = dfa20.predict(input); | ||
1411 | switch (alt20) { | ||
1412 | case 1 : | ||
1413 | // InternalCftLanguage.g:1:10: T__13 | ||
1414 | { | ||
1415 | mT__13(); | ||
1416 | |||
1417 | } | ||
1418 | break; | ||
1419 | case 2 : | ||
1420 | // InternalCftLanguage.g:1:16: T__14 | ||
1421 | { | ||
1422 | mT__14(); | ||
1423 | |||
1424 | } | ||
1425 | break; | ||
1426 | case 3 : | ||
1427 | // InternalCftLanguage.g:1:22: T__15 | ||
1428 | { | ||
1429 | mT__15(); | ||
1430 | |||
1431 | } | ||
1432 | break; | ||
1433 | case 4 : | ||
1434 | // InternalCftLanguage.g:1:28: T__16 | ||
1435 | { | ||
1436 | mT__16(); | ||
1437 | |||
1438 | } | ||
1439 | break; | ||
1440 | case 5 : | ||
1441 | // InternalCftLanguage.g:1:34: T__17 | ||
1442 | { | ||
1443 | mT__17(); | ||
1444 | |||
1445 | } | ||
1446 | break; | ||
1447 | case 6 : | ||
1448 | // InternalCftLanguage.g:1:40: T__18 | ||
1449 | { | ||
1450 | mT__18(); | ||
1451 | |||
1452 | } | ||
1453 | break; | ||
1454 | case 7 : | ||
1455 | // InternalCftLanguage.g:1:46: T__19 | ||
1456 | { | ||
1457 | mT__19(); | ||
1458 | |||
1459 | } | ||
1460 | break; | ||
1461 | case 8 : | ||
1462 | // InternalCftLanguage.g:1:52: T__20 | ||
1463 | { | ||
1464 | mT__20(); | ||
1465 | |||
1466 | } | ||
1467 | break; | ||
1468 | case 9 : | ||
1469 | // InternalCftLanguage.g:1:58: T__21 | ||
1470 | { | ||
1471 | mT__21(); | ||
1472 | |||
1473 | } | ||
1474 | break; | ||
1475 | case 10 : | ||
1476 | // InternalCftLanguage.g:1:64: T__22 | ||
1477 | { | ||
1478 | mT__22(); | ||
1479 | |||
1480 | } | ||
1481 | break; | ||
1482 | case 11 : | ||
1483 | // InternalCftLanguage.g:1:70: T__23 | ||
1484 | { | ||
1485 | mT__23(); | ||
1486 | |||
1487 | } | ||
1488 | break; | ||
1489 | case 12 : | ||
1490 | // InternalCftLanguage.g:1:76: T__24 | ||
1491 | { | ||
1492 | mT__24(); | ||
1493 | |||
1494 | } | ||
1495 | break; | ||
1496 | case 13 : | ||
1497 | // InternalCftLanguage.g:1:82: T__25 | ||
1498 | { | ||
1499 | mT__25(); | ||
1500 | |||
1501 | } | ||
1502 | break; | ||
1503 | case 14 : | ||
1504 | // InternalCftLanguage.g:1:88: T__26 | ||
1505 | { | ||
1506 | mT__26(); | ||
1507 | |||
1508 | } | ||
1509 | break; | ||
1510 | case 15 : | ||
1511 | // InternalCftLanguage.g:1:94: T__27 | ||
1512 | { | ||
1513 | mT__27(); | ||
1514 | |||
1515 | } | ||
1516 | break; | ||
1517 | case 16 : | ||
1518 | // InternalCftLanguage.g:1:100: T__28 | ||
1519 | { | ||
1520 | mT__28(); | ||
1521 | |||
1522 | } | ||
1523 | break; | ||
1524 | case 17 : | ||
1525 | // InternalCftLanguage.g:1:106: T__29 | ||
1526 | { | ||
1527 | mT__29(); | ||
1528 | |||
1529 | } | ||
1530 | break; | ||
1531 | case 18 : | ||
1532 | // InternalCftLanguage.g:1:112: T__30 | ||
1533 | { | ||
1534 | mT__30(); | ||
1535 | |||
1536 | } | ||
1537 | break; | ||
1538 | case 19 : | ||
1539 | // InternalCftLanguage.g:1:118: T__31 | ||
1540 | { | ||
1541 | mT__31(); | ||
1542 | |||
1543 | } | ||
1544 | break; | ||
1545 | case 20 : | ||
1546 | // InternalCftLanguage.g:1:124: T__32 | ||
1547 | { | ||
1548 | mT__32(); | ||
1549 | |||
1550 | } | ||
1551 | break; | ||
1552 | case 21 : | ||
1553 | // InternalCftLanguage.g:1:130: T__33 | ||
1554 | { | ||
1555 | mT__33(); | ||
1556 | |||
1557 | } | ||
1558 | break; | ||
1559 | case 22 : | ||
1560 | // InternalCftLanguage.g:1:136: T__34 | ||
1561 | { | ||
1562 | mT__34(); | ||
1563 | |||
1564 | } | ||
1565 | break; | ||
1566 | case 23 : | ||
1567 | // InternalCftLanguage.g:1:142: T__35 | ||
1568 | { | ||
1569 | mT__35(); | ||
1570 | |||
1571 | } | ||
1572 | break; | ||
1573 | case 24 : | ||
1574 | // InternalCftLanguage.g:1:148: T__36 | ||
1575 | { | ||
1576 | mT__36(); | ||
1577 | |||
1578 | } | ||
1579 | break; | ||
1580 | case 25 : | ||
1581 | // InternalCftLanguage.g:1:154: T__37 | ||
1582 | { | ||
1583 | mT__37(); | ||
1584 | |||
1585 | } | ||
1586 | break; | ||
1587 | case 26 : | ||
1588 | // InternalCftLanguage.g:1:160: T__38 | ||
1589 | { | ||
1590 | mT__38(); | ||
1591 | |||
1592 | } | ||
1593 | break; | ||
1594 | case 27 : | ||
1595 | // InternalCftLanguage.g:1:166: T__39 | ||
1596 | { | ||
1597 | mT__39(); | ||
1598 | |||
1599 | } | ||
1600 | break; | ||
1601 | case 28 : | ||
1602 | // InternalCftLanguage.g:1:172: T__40 | ||
1603 | { | ||
1604 | mT__40(); | ||
1605 | |||
1606 | } | ||
1607 | break; | ||
1608 | case 29 : | ||
1609 | // InternalCftLanguage.g:1:178: RULE_OF_INT | ||
1610 | { | ||
1611 | mRULE_OF_INT(); | ||
1612 | |||
1613 | } | ||
1614 | break; | ||
1615 | case 30 : | ||
1616 | // InternalCftLanguage.g:1:190: RULE_T_DOUBLE | ||
1617 | { | ||
1618 | mRULE_T_DOUBLE(); | ||
1619 | |||
1620 | } | ||
1621 | break; | ||
1622 | case 31 : | ||
1623 | // InternalCftLanguage.g:1:204: RULE_ID | ||
1624 | { | ||
1625 | mRULE_ID(); | ||
1626 | |||
1627 | } | ||
1628 | break; | ||
1629 | case 32 : | ||
1630 | // InternalCftLanguage.g:1:212: RULE_INT | ||
1631 | { | ||
1632 | mRULE_INT(); | ||
1633 | |||
1634 | } | ||
1635 | break; | ||
1636 | case 33 : | ||
1637 | // InternalCftLanguage.g:1:221: RULE_STRING | ||
1638 | { | ||
1639 | mRULE_STRING(); | ||
1640 | |||
1641 | } | ||
1642 | break; | ||
1643 | case 34 : | ||
1644 | // InternalCftLanguage.g:1:233: RULE_ML_COMMENT | ||
1645 | { | ||
1646 | mRULE_ML_COMMENT(); | ||
1647 | |||
1648 | } | ||
1649 | break; | ||
1650 | case 35 : | ||
1651 | // InternalCftLanguage.g:1:249: RULE_SL_COMMENT | ||
1652 | { | ||
1653 | mRULE_SL_COMMENT(); | ||
1654 | |||
1655 | } | ||
1656 | break; | ||
1657 | case 36 : | ||
1658 | // InternalCftLanguage.g:1:265: RULE_WS | ||
1659 | { | ||
1660 | mRULE_WS(); | ||
1661 | |||
1662 | } | ||
1663 | break; | ||
1664 | case 37 : | ||
1665 | // InternalCftLanguage.g:1:273: RULE_ANY_OTHER | ||
1666 | { | ||
1667 | mRULE_ANY_OTHER(); | ||
1668 | |||
1669 | } | ||
1670 | break; | ||
1671 | |||
1672 | } | ||
1673 | |||
1674 | } | ||
1675 | |||
1676 | |||
1677 | protected DFA8 dfa8 = new DFA8(this); | ||
1678 | protected DFA20 dfa20 = new DFA20(this); | ||
1679 | static final String DFA8_eotS = | ||
1680 | "\3\uffff\1\4\1\uffff"; | ||
1681 | static final String DFA8_eofS = | ||
1682 | "\5\uffff"; | ||
1683 | static final String DFA8_minS = | ||
1684 | "\1\56\1\60\1\uffff\1\60\1\uffff"; | ||
1685 | static final String DFA8_maxS = | ||
1686 | "\1\145\1\71\1\uffff\1\145\1\uffff"; | ||
1687 | static final String DFA8_acceptS = | ||
1688 | "\2\uffff\1\2\1\uffff\1\1"; | ||
1689 | static final String DFA8_specialS = | ||
1690 | "\5\uffff}>"; | ||
1691 | static final String[] DFA8_transitionS = { | ||
1692 | "\1\1\26\uffff\1\2\37\uffff\1\2", | ||
1693 | "\12\3", | ||
1694 | "", | ||
1695 | "\12\3\13\uffff\1\2\37\uffff\1\2", | ||
1696 | "" | ||
1697 | }; | ||
1698 | |||
1699 | static final short[] DFA8_eot = DFA.unpackEncodedString(DFA8_eotS); | ||
1700 | static final short[] DFA8_eof = DFA.unpackEncodedString(DFA8_eofS); | ||
1701 | static final char[] DFA8_min = DFA.unpackEncodedStringToUnsignedChars(DFA8_minS); | ||
1702 | static final char[] DFA8_max = DFA.unpackEncodedStringToUnsignedChars(DFA8_maxS); | ||
1703 | static final short[] DFA8_accept = DFA.unpackEncodedString(DFA8_acceptS); | ||
1704 | static final short[] DFA8_special = DFA.unpackEncodedString(DFA8_specialS); | ||
1705 | static final short[][] DFA8_transition; | ||
1706 | |||
1707 | static { | ||
1708 | int numStates = DFA8_transitionS.length; | ||
1709 | DFA8_transition = new short[numStates][]; | ||
1710 | for (int i=0; i<numStates; i++) { | ||
1711 | DFA8_transition[i] = DFA.unpackEncodedString(DFA8_transitionS[i]); | ||
1712 | } | ||
1713 | } | ||
1714 | |||
1715 | class DFA8 extends DFA { | ||
1716 | |||
1717 | public DFA8(BaseRecognizer recognizer) { | ||
1718 | this.recognizer = recognizer; | ||
1719 | this.decisionNumber = 8; | ||
1720 | this.eot = DFA8_eot; | ||
1721 | this.eof = DFA8_eof; | ||
1722 | this.min = DFA8_min; | ||
1723 | this.max = DFA8_max; | ||
1724 | this.accept = DFA8_accept; | ||
1725 | this.special = DFA8_special; | ||
1726 | this.transition = DFA8_transition; | ||
1727 | } | ||
1728 | public String getDescription() { | ||
1729 | return "1674:29: ( '.' ( '0' .. '9' )+ | ( '.' ( '0' .. '9' )+ )? ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ )"; | ||
1730 | } | ||
1731 | } | ||
1732 | static final String DFA20_eotS = | ||
1733 | "\1\uffff\1\37\1\uffff\2\37\1\uffff\1\37\1\uffff\1\34\1\53\4\37\3\uffff\2\34\2\uffff\1\74\1\34\1\uffff\3\34\2\uffff\2\37\2\uffff\1\37\1\104\1\37\1\uffff\1\37\1\107\1\110\4\uffff\3\37\1\115\3\37\10\uffff\1\74\5\uffff\3\37\1\uffff\1\124\1\125\2\uffff\1\126\2\37\1\131\1\uffff\4\37\1\136\1\37\3\uffff\2\37\1\uffff\4\37\1\uffff\7\37\1\155\1\156\1\157\3\37\1\163\3\uffff\2\37\1\166\1\uffff\1\37\1\170\1\uffff\1\37\1\uffff\4\37\1\176\1\uffff"; | ||
1734 | static final String DFA20_eofS = | ||
1735 | "\177\uffff"; | ||
1736 | static final String DFA20_minS = | ||
1737 | "\1\0\1\141\1\uffff\1\155\1\146\1\uffff\1\146\1\uffff\1\135\1\76\1\141\1\156\1\157\1\141\3\uffff\2\75\2\uffff\1\56\1\101\1\uffff\2\0\1\52\2\uffff\1\143\1\157\2\uffff\1\160\1\60\1\164\1\uffff\1\164\2\60\4\uffff\1\155\1\157\1\144\1\60\1\141\2\160\10\uffff\1\56\5\uffff\1\153\1\142\1\157\1\uffff\2\60\2\uffff\1\60\1\142\1\153\1\60\1\uffff\1\156\1\154\1\160\1\141\1\60\1\162\3\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\uffff\1\164\1\141\1\160\1\146\1\166\1\156\1\145\3\60\1\157\1\145\1\147\1\60\3\uffff\1\162\1\154\1\60\1\uffff\1\155\1\60\1\uffff\1\141\1\uffff\1\164\1\151\1\157\1\156\1\60\1\uffff"; | ||
1738 | static final String DFA20_maxS = | ||
1739 | "\1\uffff\1\162\1\uffff\1\156\1\146\1\uffff\1\165\1\uffff\1\135\1\76\1\157\1\163\1\162\1\141\3\uffff\2\75\2\uffff\1\145\1\172\1\uffff\2\uffff\1\57\2\uffff\1\143\1\157\2\uffff\1\160\1\172\1\164\1\uffff\1\164\2\172\4\uffff\1\155\1\157\1\144\1\172\1\141\2\160\10\uffff\1\145\5\uffff\1\153\1\142\1\157\1\uffff\2\172\2\uffff\1\172\1\142\1\153\1\172\1\uffff\1\156\1\154\1\160\1\141\1\172\1\162\3\uffff\1\144\1\165\1\uffff\1\163\1\145\1\151\1\147\1\uffff\1\164\1\141\1\160\1\146\1\166\1\156\1\145\3\172\1\157\1\145\1\147\1\172\3\uffff\1\162\1\154\1\172\1\uffff\1\155\1\172\1\uffff\1\141\1\uffff\1\164\1\151\1\157\1\156\1\172\1\uffff"; | ||
1740 | static final String DFA20_acceptS = | ||
1741 | "\2\uffff\1\2\2\uffff\1\5\1\uffff\1\10\6\uffff\1\23\1\24\1\25\2\uffff\1\32\1\34\2\uffff\1\37\3\uffff\1\44\1\45\2\uffff\1\37\1\2\3\uffff\1\5\3\uffff\1\10\1\11\1\33\1\13\7\uffff\1\23\1\24\1\25\1\30\1\31\1\32\1\34\1\36\1\uffff\1\40\1\41\1\42\1\43\1\44\3\uffff\1\6\2\uffff\1\16\1\17\4\uffff\1\27\6\uffff\1\4\1\7\1\35\2\uffff\1\15\4\uffff\1\12\16\uffff\1\3\1\14\1\26\3\uffff\1\1\2\uffff\1\22\1\uffff\1\21\5\uffff\1\20"; | ||
1742 | static final String DFA20_specialS = | ||
1743 | "\1\1\27\uffff\1\2\1\0\145\uffff}>"; | ||
1744 | static final String[] DFA20_transitionS = { | ||
1745 | "\11\34\2\33\2\34\1\33\22\34\1\33\1\34\1\30\4\34\1\31\1\16\1\20\1\24\1\21\1\17\1\34\1\23\1\32\12\25\1\22\1\2\1\34\1\11\3\34\32\27\1\10\2\34\1\26\1\27\1\34\1\13\1\27\1\4\5\27\1\3\2\27\1\12\1\15\1\27\1\6\1\1\3\27\1\14\6\27\1\5\1\34\1\7\uff82\34", | ||
1746 | "\1\35\20\uffff\1\36", | ||
1747 | "", | ||
1748 | "\1\41\1\42", | ||
1749 | "\1\43", | ||
1750 | "", | ||
1751 | "\1\47\13\uffff\1\46\2\uffff\1\45", | ||
1752 | "", | ||
1753 | "\1\51", | ||
1754 | "\1\52", | ||
1755 | "\1\54\15\uffff\1\55", | ||
1756 | "\1\56\4\uffff\1\57", | ||
1757 | "\1\61\2\uffff\1\60", | ||
1758 | "\1\62", | ||
1759 | "", | ||
1760 | "", | ||
1761 | "", | ||
1762 | "\1\66", | ||
1763 | "\1\67", | ||
1764 | "", | ||
1765 | "", | ||
1766 | "\1\72\1\uffff\12\73\13\uffff\1\72\37\uffff\1\72", | ||
1767 | "\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1768 | "", | ||
1769 | "\0\75", | ||
1770 | "\0\75", | ||
1771 | "\1\76\4\uffff\1\77", | ||
1772 | "", | ||
1773 | "", | ||
1774 | "\1\101", | ||
1775 | "\1\102", | ||
1776 | "", | ||
1777 | "", | ||
1778 | "\1\103", | ||
1779 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1780 | "\1\105", | ||
1781 | "", | ||
1782 | "\1\106", | ||
1783 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1784 | "\12\111\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1785 | "", | ||
1786 | "", | ||
1787 | "", | ||
1788 | "", | ||
1789 | "\1\112", | ||
1790 | "\1\113", | ||
1791 | "\1\114", | ||
1792 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1793 | "\1\116", | ||
1794 | "\1\117", | ||
1795 | "\1\120", | ||
1796 | "", | ||
1797 | "", | ||
1798 | "", | ||
1799 | "", | ||
1800 | "", | ||
1801 | "", | ||
1802 | "", | ||
1803 | "", | ||
1804 | "\1\72\1\uffff\12\73\13\uffff\1\72\37\uffff\1\72", | ||
1805 | "", | ||
1806 | "", | ||
1807 | "", | ||
1808 | "", | ||
1809 | "", | ||
1810 | "\1\121", | ||
1811 | "\1\122", | ||
1812 | "\1\123", | ||
1813 | "", | ||
1814 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1815 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1816 | "", | ||
1817 | "", | ||
1818 | "\12\111\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1819 | "\1\127", | ||
1820 | "\1\130", | ||
1821 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1822 | "", | ||
1823 | "\1\132", | ||
1824 | "\1\133", | ||
1825 | "\1\134", | ||
1826 | "\1\135", | ||
1827 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1828 | "\1\137", | ||
1829 | "", | ||
1830 | "", | ||
1831 | "", | ||
1832 | "\1\140", | ||
1833 | "\1\141", | ||
1834 | "", | ||
1835 | "\1\142", | ||
1836 | "\1\143", | ||
1837 | "\1\144", | ||
1838 | "\1\145", | ||
1839 | "", | ||
1840 | "\1\146", | ||
1841 | "\1\147", | ||
1842 | "\1\150", | ||
1843 | "\1\151", | ||
1844 | "\1\152", | ||
1845 | "\1\153", | ||
1846 | "\1\154", | ||
1847 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1848 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1849 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1850 | "\1\160", | ||
1851 | "\1\161", | ||
1852 | "\1\162", | ||
1853 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1854 | "", | ||
1855 | "", | ||
1856 | "", | ||
1857 | "\1\164", | ||
1858 | "\1\165", | ||
1859 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1860 | "", | ||
1861 | "\1\167", | ||
1862 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1863 | "", | ||
1864 | "\1\171", | ||
1865 | "", | ||
1866 | "\1\172", | ||
1867 | "\1\173", | ||
1868 | "\1\174", | ||
1869 | "\1\175", | ||
1870 | "\12\37\7\uffff\32\37\4\uffff\1\37\1\uffff\32\37", | ||
1871 | "" | ||
1872 | }; | ||
1873 | |||
1874 | static final short[] DFA20_eot = DFA.unpackEncodedString(DFA20_eotS); | ||
1875 | static final short[] DFA20_eof = DFA.unpackEncodedString(DFA20_eofS); | ||
1876 | static final char[] DFA20_min = DFA.unpackEncodedStringToUnsignedChars(DFA20_minS); | ||
1877 | static final char[] DFA20_max = DFA.unpackEncodedStringToUnsignedChars(DFA20_maxS); | ||
1878 | static final short[] DFA20_accept = DFA.unpackEncodedString(DFA20_acceptS); | ||
1879 | static final short[] DFA20_special = DFA.unpackEncodedString(DFA20_specialS); | ||
1880 | static final short[][] DFA20_transition; | ||
1881 | |||
1882 | static { | ||
1883 | int numStates = DFA20_transitionS.length; | ||
1884 | DFA20_transition = new short[numStates][]; | ||
1885 | for (int i=0; i<numStates; i++) { | ||
1886 | DFA20_transition[i] = DFA.unpackEncodedString(DFA20_transitionS[i]); | ||
1887 | } | ||
1888 | } | ||
1889 | |||
1890 | class DFA20 extends DFA { | ||
1891 | |||
1892 | public DFA20(BaseRecognizer recognizer) { | ||
1893 | this.recognizer = recognizer; | ||
1894 | this.decisionNumber = 20; | ||
1895 | this.eot = DFA20_eot; | ||
1896 | this.eof = DFA20_eof; | ||
1897 | this.min = DFA20_min; | ||
1898 | this.max = DFA20_max; | ||
1899 | this.accept = DFA20_accept; | ||
1900 | this.special = DFA20_special; | ||
1901 | this.transition = DFA20_transition; | ||
1902 | } | ||
1903 | public String getDescription() { | ||
1904 | return "1:1: Tokens : ( T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | RULE_OF_INT | RULE_T_DOUBLE | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; | ||
1905 | } | ||
1906 | public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { | ||
1907 | IntStream input = _input; | ||
1908 | int _s = s; | ||
1909 | switch ( s ) { | ||
1910 | case 0 : | ||
1911 | int LA20_25 = input.LA(1); | ||
1912 | |||
1913 | s = -1; | ||
1914 | if ( ((LA20_25>='\u0000' && LA20_25<='\uFFFF')) ) {s = 61;} | ||
1915 | |||
1916 | else s = 28; | ||
1917 | |||
1918 | if ( s>=0 ) return s; | ||
1919 | break; | ||
1920 | case 1 : | ||
1921 | int LA20_0 = input.LA(1); | ||
1922 | |||
1923 | s = -1; | ||
1924 | if ( (LA20_0=='p') ) {s = 1;} | ||
1925 | |||
1926 | else if ( (LA20_0==';') ) {s = 2;} | ||
1927 | |||
1928 | else if ( (LA20_0=='i') ) {s = 3;} | ||
1929 | |||
1930 | else if ( (LA20_0=='c') ) {s = 4;} | ||
1931 | |||
1932 | else if ( (LA20_0=='{') ) {s = 5;} | ||
1933 | |||
1934 | else if ( (LA20_0=='o') ) {s = 6;} | ||
1935 | |||
1936 | else if ( (LA20_0=='}') ) {s = 7;} | ||
1937 | |||
1938 | else if ( (LA20_0=='[') ) {s = 8;} | ||
1939 | |||
1940 | else if ( (LA20_0=='=') ) {s = 9;} | ||
1941 | |||
1942 | else if ( (LA20_0=='l') ) {s = 10;} | ||
1943 | |||
1944 | else if ( (LA20_0=='a') ) {s = 11;} | ||
1945 | |||
1946 | else if ( (LA20_0=='t') ) {s = 12;} | ||
1947 | |||
1948 | else if ( (LA20_0=='m') ) {s = 13;} | ||
1949 | |||
1950 | else if ( (LA20_0=='(') ) {s = 14;} | ||
1951 | |||
1952 | else if ( (LA20_0==',') ) {s = 15;} | ||
1953 | |||
1954 | else if ( (LA20_0==')') ) {s = 16;} | ||
1955 | |||
1956 | else if ( (LA20_0=='+') ) {s = 17;} | ||
1957 | |||
1958 | else if ( (LA20_0==':') ) {s = 18;} | ||
1959 | |||
1960 | else if ( (LA20_0=='.') ) {s = 19;} | ||
1961 | |||
1962 | else if ( (LA20_0=='*') ) {s = 20;} | ||
1963 | |||
1964 | else if ( ((LA20_0>='0' && LA20_0<='9')) ) {s = 21;} | ||
1965 | |||
1966 | else if ( (LA20_0=='^') ) {s = 22;} | ||
1967 | |||
1968 | else if ( ((LA20_0>='A' && LA20_0<='Z')||LA20_0=='_'||LA20_0=='b'||(LA20_0>='d' && LA20_0<='h')||(LA20_0>='j' && LA20_0<='k')||LA20_0=='n'||(LA20_0>='q' && LA20_0<='s')||(LA20_0>='u' && LA20_0<='z')) ) {s = 23;} | ||
1969 | |||
1970 | else if ( (LA20_0=='\"') ) {s = 24;} | ||
1971 | |||
1972 | else if ( (LA20_0=='\'') ) {s = 25;} | ||
1973 | |||
1974 | else if ( (LA20_0=='/') ) {s = 26;} | ||
1975 | |||
1976 | else if ( ((LA20_0>='\t' && LA20_0<='\n')||LA20_0=='\r'||LA20_0==' ') ) {s = 27;} | ||
1977 | |||
1978 | else if ( ((LA20_0>='\u0000' && LA20_0<='\b')||(LA20_0>='\u000B' && LA20_0<='\f')||(LA20_0>='\u000E' && LA20_0<='\u001F')||LA20_0=='!'||(LA20_0>='#' && LA20_0<='&')||LA20_0=='-'||LA20_0=='<'||(LA20_0>='>' && LA20_0<='@')||(LA20_0>='\\' && LA20_0<=']')||LA20_0=='`'||LA20_0=='|'||(LA20_0>='~' && LA20_0<='\uFFFF')) ) {s = 28;} | ||
1979 | |||
1980 | if ( s>=0 ) return s; | ||
1981 | break; | ||
1982 | case 2 : | ||
1983 | int LA20_24 = input.LA(1); | ||
1984 | |||
1985 | s = -1; | ||
1986 | if ( ((LA20_24>='\u0000' && LA20_24<='\uFFFF')) ) {s = 61;} | ||
1987 | |||
1988 | else s = 28; | ||
1989 | |||
1990 | if ( s>=0 ) return s; | ||
1991 | break; | ||
1992 | } | ||
1993 | NoViableAltException nvae = | ||
1994 | new NoViableAltException(getDescription(), 20, _s, input); | ||
1995 | error(nvae); | ||
1996 | throw nvae; | ||
1997 | } | ||
1998 | } | ||
1999 | |||
2000 | |||
2001 | } \ No newline at end of file | ||