1 | // $ANTLR 3.3 Nov 30, 2010 12:50:56 FELIX.g 2011-08-17 12:18:12 |
2 | |
3 | package felix.parser; |
4 | |
5 | |
6 | import org.antlr.runtime.*; |
7 | import java.util.Stack; |
8 | import java.util.List; |
9 | import java.util.ArrayList; |
10 | |
11 | public class FELIXLexer extends Lexer { |
12 | public static final int EOF=-1; |
13 | public static final int T__24=24; |
14 | public static final int T__25=25; |
15 | public static final int T__26=26; |
16 | public static final int T__27=27; |
17 | public static final int T__28=28; |
18 | public static final int T__29=29; |
19 | public static final int T__30=30; |
20 | public static final int T__31=31; |
21 | public static final int T__32=32; |
22 | public static final int T__33=33; |
23 | public static final int T__34=34; |
24 | public static final int T__35=35; |
25 | public static final int T__36=36; |
26 | public static final int T__37=37; |
27 | public static final int T__38=38; |
28 | public static final int T__39=39; |
29 | public static final int T__40=40; |
30 | public static final int T__41=41; |
31 | public static final int T__42=42; |
32 | public static final int T__43=43; |
33 | public static final int T__44=44; |
34 | public static final int T__45=45; |
35 | public static final int T__46=46; |
36 | public static final int T__47=47; |
37 | public static final int T__48=48; |
38 | public static final int T__49=49; |
39 | public static final int T__50=50; |
40 | public static final int T__51=51; |
41 | public static final int T__52=52; |
42 | public static final int T__53=53; |
43 | public static final int T__54=54; |
44 | public static final int T__55=55; |
45 | public static final int T__56=56; |
46 | public static final int T__57=57; |
47 | public static final int T__58=58; |
48 | public static final int T__59=59; |
49 | public static final int T__60=60; |
50 | public static final int T__61=61; |
51 | public static final int T__62=62; |
52 | public static final int T__63=63; |
53 | public static final int T__64=64; |
54 | public static final int T__65=65; |
55 | public static final int T__66=66; |
56 | public static final int T__67=67; |
57 | public static final int T__68=68; |
58 | public static final int T__69=69; |
59 | public static final int T__70=70; |
60 | public static final int T__71=71; |
61 | public static final int T__72=72; |
62 | public static final int T__73=73; |
63 | public static final int T__74=74; |
64 | public static final int T__75=75; |
65 | public static final int T__76=76; |
66 | public static final int T__77=77; |
67 | public static final int T__78=78; |
68 | public static final int T__79=79; |
69 | public static final int T__80=80; |
70 | public static final int T__81=81; |
71 | public static final int T__82=82; |
72 | public static final int T__83=83; |
73 | public static final int T__84=84; |
74 | public static final int WS=4; |
75 | public static final int COMMENT=5; |
76 | public static final int NOT=6; |
77 | public static final int PLUS=7; |
78 | public static final int MINUS=8; |
79 | public static final int ASTERISK=9; |
80 | public static final int PERIOD=10; |
81 | public static final int EXIST=11; |
82 | public static final int IMPLIES=12; |
83 | public static final int ESC=13; |
84 | public static final int STRING=14; |
85 | public static final int HEXDIGIT=15; |
86 | public static final int INTEGER=16; |
87 | public static final int FLOAT=17; |
88 | public static final int NUMBER=18; |
89 | public static final int EXPONENT=19; |
90 | public static final int ID=20; |
91 | public static final int JDBCDEP=21; |
92 | public static final int HDFSDEP=22; |
93 | public static final int CODE=23; |
94 | |
95 | // delegates |
96 | // delegators |
97 | |
98 | public FELIXLexer() {;} |
99 | public FELIXLexer(CharStream input) { |
100 | this(input, new RecognizerSharedState()); |
101 | } |
102 | public FELIXLexer(CharStream input, RecognizerSharedState state) { |
103 | super(input,state); |
104 | |
105 | } |
106 | public String getGrammarFileName() { return "FELIX.g"; } |
107 | |
108 | // $ANTLR start "T__24" |
109 | public final void mT__24() throws RecognitionException { |
110 | try { |
111 | int _type = T__24; |
112 | int _channel = DEFAULT_TOKEN_CHANNEL; |
113 | // FELIX.g:11:7: ( '**' ) |
114 | // FELIX.g:11:9: '**' |
115 | { |
116 | match("**"); |
117 | |
118 | |
119 | } |
120 | |
121 | state.type = _type; |
122 | state.channel = _channel; |
123 | } |
124 | finally { |
125 | } |
126 | } |
127 | // $ANTLR end "T__24" |
128 | |
129 | // $ANTLR start "T__25" |
130 | public final void mT__25() throws RecognitionException { |
131 | try { |
132 | int _type = T__25; |
133 | int _channel = DEFAULT_TOKEN_CHANNEL; |
134 | // FELIX.g:12:7: ( '@' ) |
135 | // FELIX.g:12:9: '@' |
136 | { |
137 | match('@'); |
138 | |
139 | } |
140 | |
141 | state.type = _type; |
142 | state.channel = _channel; |
143 | } |
144 | finally { |
145 | } |
146 | } |
147 | // $ANTLR end "T__25" |
148 | |
149 | // $ANTLR start "T__26" |
150 | public final void mT__26() throws RecognitionException { |
151 | try { |
152 | int _type = T__26; |
153 | int _channel = DEFAULT_TOKEN_CHANNEL; |
154 | // FELIX.g:13:7: ( '(' ) |
155 | // FELIX.g:13:9: '(' |
156 | { |
157 | match('('); |
158 | |
159 | } |
160 | |
161 | state.type = _type; |
162 | state.channel = _channel; |
163 | } |
164 | finally { |
165 | } |
166 | } |
167 | // $ANTLR end "T__26" |
168 | |
169 | // $ANTLR start "T__27" |
170 | public final void mT__27() throws RecognitionException { |
171 | try { |
172 | int _type = T__27; |
173 | int _channel = DEFAULT_TOKEN_CHANNEL; |
174 | // FELIX.g:14:7: ( ',' ) |
175 | // FELIX.g:14:9: ',' |
176 | { |
177 | match(','); |
178 | |
179 | } |
180 | |
181 | state.type = _type; |
182 | state.channel = _channel; |
183 | } |
184 | finally { |
185 | } |
186 | } |
187 | // $ANTLR end "T__27" |
188 | |
189 | // $ANTLR start "T__28" |
190 | public final void mT__28() throws RecognitionException { |
191 | try { |
192 | int _type = T__28; |
193 | int _channel = DEFAULT_TOKEN_CHANNEL; |
194 | // FELIX.g:15:7: ( ')' ) |
195 | // FELIX.g:15:9: ')' |
196 | { |
197 | match(')'); |
198 | |
199 | } |
200 | |
201 | state.type = _type; |
202 | state.channel = _channel; |
203 | } |
204 | finally { |
205 | } |
206 | } |
207 | // $ANTLR end "T__28" |
208 | |
209 | // $ANTLR start "T__29" |
210 | public final void mT__29() throws RecognitionException { |
211 | try { |
212 | int _type = T__29; |
213 | int _channel = DEFAULT_TOKEN_CHANNEL; |
214 | // FELIX.g:16:7: ( '{' ) |
215 | // FELIX.g:16:9: '{' |
216 | { |
217 | match('{'); |
218 | |
219 | } |
220 | |
221 | state.type = _type; |
222 | state.channel = _channel; |
223 | } |
224 | finally { |
225 | } |
226 | } |
227 | // $ANTLR end "T__29" |
228 | |
229 | // $ANTLR start "T__30" |
230 | public final void mT__30() throws RecognitionException { |
231 | try { |
232 | int _type = T__30; |
233 | int _channel = DEFAULT_TOKEN_CHANNEL; |
234 | // FELIX.g:17:7: ( '@MAPINIT' ) |
235 | // FELIX.g:17:9: '@MAPINIT' |
236 | { |
237 | match("@MAPINIT"); |
238 | |
239 | |
240 | } |
241 | |
242 | state.type = _type; |
243 | state.channel = _channel; |
244 | } |
245 | finally { |
246 | } |
247 | } |
248 | // $ANTLR end "T__30" |
249 | |
250 | // $ANTLR start "T__31" |
251 | public final void mT__31() throws RecognitionException { |
252 | try { |
253 | int _type = T__31; |
254 | int _channel = DEFAULT_TOKEN_CHANNEL; |
255 | // FELIX.g:18:7: ( '}@' ) |
256 | // FELIX.g:18:9: '}@' |
257 | { |
258 | match("}@"); |
259 | |
260 | |
261 | } |
262 | |
263 | state.type = _type; |
264 | state.channel = _channel; |
265 | } |
266 | finally { |
267 | } |
268 | } |
269 | // $ANTLR end "T__31" |
270 | |
271 | // $ANTLR start "T__32" |
272 | public final void mT__32() throws RecognitionException { |
273 | try { |
274 | int _type = T__32; |
275 | int _channel = DEFAULT_TOKEN_CHANNEL; |
276 | // FELIX.g:19:7: ( '@MAP' ) |
277 | // FELIX.g:19:9: '@MAP' |
278 | { |
279 | match("@MAP"); |
280 | |
281 | |
282 | } |
283 | |
284 | state.type = _type; |
285 | state.channel = _channel; |
286 | } |
287 | finally { |
288 | } |
289 | } |
290 | // $ANTLR end "T__32" |
291 | |
292 | // $ANTLR start "T__33" |
293 | public final void mT__33() throws RecognitionException { |
294 | try { |
295 | int _type = T__33; |
296 | int _channel = DEFAULT_TOKEN_CHANNEL; |
297 | // FELIX.g:20:7: ( '<xml' ) |
298 | // FELIX.g:20:9: '<xml' |
299 | { |
300 | match("<xml"); |
301 | |
302 | |
303 | } |
304 | |
305 | state.type = _type; |
306 | state.channel = _channel; |
307 | } |
308 | finally { |
309 | } |
310 | } |
311 | // $ANTLR end "T__33" |
312 | |
313 | // $ANTLR start "T__34" |
314 | public final void mT__34() throws RecognitionException { |
315 | try { |
316 | int _type = T__34; |
317 | int _channel = DEFAULT_TOKEN_CHANNEL; |
318 | // FELIX.g:21:7: ( '>' ) |
319 | // FELIX.g:21:9: '>' |
320 | { |
321 | match('>'); |
322 | |
323 | } |
324 | |
325 | state.type = _type; |
326 | state.channel = _channel; |
327 | } |
328 | finally { |
329 | } |
330 | } |
331 | // $ANTLR end "T__34" |
332 | |
333 | // $ANTLR start "T__35" |
334 | public final void mT__35() throws RecognitionException { |
335 | try { |
336 | int _type = T__35; |
337 | int _channel = DEFAULT_TOKEN_CHANNEL; |
338 | // FELIX.g:22:7: ( 'on' ) |
339 | // FELIX.g:22:9: 'on' |
340 | { |
341 | match("on"); |
342 | |
343 | |
344 | } |
345 | |
346 | state.type = _type; |
347 | state.channel = _channel; |
348 | } |
349 | finally { |
350 | } |
351 | } |
352 | // $ANTLR end "T__35" |
353 | |
354 | // $ANTLR start "T__36" |
355 | public final void mT__36() throws RecognitionException { |
356 | try { |
357 | int _type = T__36; |
358 | int _channel = DEFAULT_TOKEN_CHANNEL; |
359 | // FELIX.g:23:7: ( '@REDUCEINIT' ) |
360 | // FELIX.g:23:9: '@REDUCEINIT' |
361 | { |
362 | match("@REDUCEINIT"); |
363 | |
364 | |
365 | } |
366 | |
367 | state.type = _type; |
368 | state.channel = _channel; |
369 | } |
370 | finally { |
371 | } |
372 | } |
373 | // $ANTLR end "T__36" |
374 | |
375 | // $ANTLR start "T__37" |
376 | public final void mT__37() throws RecognitionException { |
377 | try { |
378 | int _type = T__37; |
379 | int _channel = DEFAULT_TOKEN_CHANNEL; |
380 | // FELIX.g:24:7: ( '@REDUCE' ) |
381 | // FELIX.g:24:9: '@REDUCE' |
382 | { |
383 | match("@REDUCE"); |
384 | |
385 | |
386 | } |
387 | |
388 | state.type = _type; |
389 | state.channel = _channel; |
390 | } |
391 | finally { |
392 | } |
393 | } |
394 | // $ANTLR end "T__37" |
395 | |
396 | // $ANTLR start "T__38" |
397 | public final void mT__38() throws RecognitionException { |
398 | try { |
399 | int _type = T__38; |
400 | int _channel = DEFAULT_TOKEN_CHANNEL; |
401 | // FELIX.g:25:7: ( '}' ) |
402 | // FELIX.g:25:9: '}' |
403 | { |
404 | match('}'); |
405 | |
406 | } |
407 | |
408 | state.type = _type; |
409 | state.channel = _channel; |
410 | } |
411 | finally { |
412 | } |
413 | } |
414 | // $ANTLR end "T__38" |
415 | |
416 | // $ANTLR start "T__39" |
417 | public final void mT__39() throws RecognitionException { |
418 | try { |
419 | int _type = T__39; |
420 | int _channel = DEFAULT_TOKEN_CHANNEL; |
421 | // FELIX.g:26:7: ( '<~db~' ) |
422 | // FELIX.g:26:9: '<~db~' |
423 | { |
424 | match("<~db~"); |
425 | |
426 | |
427 | } |
428 | |
429 | state.type = _type; |
430 | state.channel = _channel; |
431 | } |
432 | finally { |
433 | } |
434 | } |
435 | // $ANTLR end "T__39" |
436 | |
437 | // $ANTLR start "T__40" |
438 | public final void mT__40() throws RecognitionException { |
439 | try { |
440 | int _type = T__40; |
441 | int _channel = DEFAULT_TOKEN_CHANNEL; |
442 | // FELIX.g:27:7: ( '/' ) |
443 | // FELIX.g:27:9: '/' |
444 | { |
445 | match('/'); |
446 | |
447 | } |
448 | |
449 | state.type = _type; |
450 | state.channel = _channel; |
451 | } |
452 | finally { |
453 | } |
454 | } |
455 | // $ANTLR end "T__40" |
456 | |
457 | // $ANTLR start "T__41" |
458 | public final void mT__41() throws RecognitionException { |
459 | try { |
460 | int _type = T__41; |
461 | int _channel = DEFAULT_TOKEN_CHANNEL; |
462 | // FELIX.g:28:7: ( 'FUNCTIONAL DEPENDENCY' ) |
463 | // FELIX.g:28:9: 'FUNCTIONAL DEPENDENCY' |
464 | { |
465 | match("FUNCTIONAL DEPENDENCY"); |
466 | |
467 | |
468 | } |
469 | |
470 | state.type = _type; |
471 | state.channel = _channel; |
472 | } |
473 | finally { |
474 | } |
475 | } |
476 | // $ANTLR end "T__41" |
477 | |
478 | // $ANTLR start "T__42" |
479 | public final void mT__42() throws RecognitionException { |
480 | try { |
481 | int _type = T__42; |
482 | int _channel = DEFAULT_TOKEN_CHANNEL; |
483 | // FELIX.g:29:7: ( 'FD' ) |
484 | // FELIX.g:29:9: 'FD' |
485 | { |
486 | match("FD"); |
487 | |
488 | |
489 | } |
490 | |
491 | state.type = _type; |
492 | state.channel = _channel; |
493 | } |
494 | finally { |
495 | } |
496 | } |
497 | // $ANTLR end "T__42" |
498 | |
499 | // $ANTLR start "T__43" |
500 | public final void mT__43() throws RecognitionException { |
501 | try { |
502 | int _type = T__43; |
503 | int _channel = DEFAULT_TOKEN_CHANNEL; |
504 | // FELIX.g:30:7: ( ':' ) |
505 | // FELIX.g:30:9: ':' |
506 | { |
507 | match(':'); |
508 | |
509 | } |
510 | |
511 | state.type = _type; |
512 | state.channel = _channel; |
513 | } |
514 | finally { |
515 | } |
516 | } |
517 | // $ANTLR end "T__43" |
518 | |
519 | // $ANTLR start "T__44" |
520 | public final void mT__44() throws RecognitionException { |
521 | try { |
522 | int _type = T__44; |
523 | int _channel = DEFAULT_TOKEN_CHANNEL; |
524 | // FELIX.g:31:7: ( ';' ) |
525 | // FELIX.g:31:9: ';' |
526 | { |
527 | match(';'); |
528 | |
529 | } |
530 | |
531 | state.type = _type; |
532 | state.channel = _channel; |
533 | } |
534 | finally { |
535 | } |
536 | } |
537 | // $ANTLR end "T__44" |
538 | |
539 | // $ANTLR start "T__45" |
540 | public final void mT__45() throws RecognitionException { |
541 | try { |
542 | int _type = T__45; |
543 | int _channel = DEFAULT_TOKEN_CHANNEL; |
544 | // FELIX.g:32:7: ( '->' ) |
545 | // FELIX.g:32:9: '->' |
546 | { |
547 | match("->"); |
548 | |
549 | |
550 | } |
551 | |
552 | state.type = _type; |
553 | state.channel = _channel; |
554 | } |
555 | finally { |
556 | } |
557 | } |
558 | // $ANTLR end "T__45" |
559 | |
560 | // $ANTLR start "T__46" |
561 | public final void mT__46() throws RecognitionException { |
562 | try { |
563 | int _type = T__46; |
564 | int _channel = DEFAULT_TOKEN_CHANNEL; |
565 | // FELIX.g:33:7: ( '[Label]' ) |
566 | // FELIX.g:33:9: '[Label]' |
567 | { |
568 | match("[Label]"); |
569 | |
570 | |
571 | } |
572 | |
573 | state.type = _type; |
574 | state.channel = _channel; |
575 | } |
576 | finally { |
577 | } |
578 | } |
579 | // $ANTLR end "T__46" |
580 | |
581 | // $ANTLR start "T__47" |
582 | public final void mT__47() throws RecognitionException { |
583 | try { |
584 | int _type = T__47; |
585 | int _channel = DEFAULT_TOKEN_CHANNEL; |
586 | // FELIX.g:34:7: ( '[+Label]' ) |
587 | // FELIX.g:34:9: '[+Label]' |
588 | { |
589 | match("[+Label]"); |
590 | |
591 | |
592 | } |
593 | |
594 | state.type = _type; |
595 | state.channel = _channel; |
596 | } |
597 | finally { |
598 | } |
599 | } |
600 | // $ANTLR end "T__47" |
601 | |
602 | // $ANTLR start "T__48" |
603 | public final void mT__48() throws RecognitionException { |
604 | try { |
605 | int _type = T__48; |
606 | int _channel = DEFAULT_TOKEN_CHANNEL; |
607 | // FELIX.g:35:7: ( '[Label+]' ) |
608 | // FELIX.g:35:9: '[Label+]' |
609 | { |
610 | match("[Label+]"); |
611 | |
612 | |
613 | } |
614 | |
615 | state.type = _type; |
616 | state.channel = _channel; |
617 | } |
618 | finally { |
619 | } |
620 | } |
621 | // $ANTLR end "T__48" |
622 | |
623 | // $ANTLR start "T__49" |
624 | public final void mT__49() throws RecognitionException { |
625 | try { |
626 | int _type = T__49; |
627 | int _channel = DEFAULT_TOKEN_CHANNEL; |
628 | // FELIX.g:36:7: ( '#' ) |
629 | // FELIX.g:36:9: '#' |
630 | { |
631 | match('#'); |
632 | |
633 | } |
634 | |
635 | state.type = _type; |
636 | state.channel = _channel; |
637 | } |
638 | finally { |
639 | } |
640 | } |
641 | // $ANTLR end "T__49" |
642 | |
643 | // $ANTLR start "T__50" |
644 | public final void mT__50() throws RecognitionException { |
645 | try { |
646 | int _type = T__50; |
647 | int _channel = DEFAULT_TOKEN_CHANNEL; |
648 | // FELIX.g:37:7: ( '$' ) |
649 | // FELIX.g:37:9: '$' |
650 | { |
651 | match('$'); |
652 | |
653 | } |
654 | |
655 | state.type = _type; |
656 | state.channel = _channel; |
657 | } |
658 | finally { |
659 | } |
660 | } |
661 | // $ANTLR end "T__50" |
662 | |
663 | // $ANTLR start "T__51" |
664 | public final void mT__51() throws RecognitionException { |
665 | try { |
666 | int _type = T__51; |
667 | int _channel = DEFAULT_TOKEN_CHANNEL; |
668 | // FELIX.g:38:7: ( ':-' ) |
669 | // FELIX.g:38:9: ':-' |
670 | { |
671 | match(":-"); |
672 | |
673 | |
674 | } |
675 | |
676 | state.type = _type; |
677 | state.channel = _channel; |
678 | } |
679 | finally { |
680 | } |
681 | } |
682 | // $ANTLR end "T__51" |
683 | |
684 | // $ANTLR start "T__52" |
685 | public final void mT__52() throws RecognitionException { |
686 | try { |
687 | int _type = T__52; |
688 | int _channel = DEFAULT_TOKEN_CHANNEL; |
689 | // FELIX.g:39:7: ( '[' ) |
690 | // FELIX.g:39:9: '[' |
691 | { |
692 | match('['); |
693 | |
694 | } |
695 | |
696 | state.type = _type; |
697 | state.channel = _channel; |
698 | } |
699 | finally { |
700 | } |
701 | } |
702 | // $ANTLR end "T__52" |
703 | |
704 | // $ANTLR start "T__53" |
705 | public final void mT__53() throws RecognitionException { |
706 | try { |
707 | int _type = T__53; |
708 | int _channel = DEFAULT_TOKEN_CHANNEL; |
709 | // FELIX.g:40:7: ( ']' ) |
710 | // FELIX.g:40:9: ']' |
711 | { |
712 | match(']'); |
713 | |
714 | } |
715 | |
716 | state.type = _type; |
717 | state.channel = _channel; |
718 | } |
719 | finally { |
720 | } |
721 | } |
722 | // $ANTLR end "T__53" |
723 | |
724 | // $ANTLR start "T__54" |
725 | public final void mT__54() throws RecognitionException { |
726 | try { |
727 | int _type = T__54; |
728 | int _channel = DEFAULT_TOKEN_CHANNEL; |
729 | // FELIX.g:41:7: ( 'priorProb' ) |
730 | // FELIX.g:41:9: 'priorProb' |
731 | { |
732 | match("priorProb"); |
733 | |
734 | |
735 | } |
736 | |
737 | state.type = _type; |
738 | state.channel = _channel; |
739 | } |
740 | finally { |
741 | } |
742 | } |
743 | // $ANTLR end "T__54" |
744 | |
745 | // $ANTLR start "T__55" |
746 | public final void mT__55() throws RecognitionException { |
747 | try { |
748 | int _type = T__55; |
749 | int _channel = DEFAULT_TOKEN_CHANNEL; |
750 | // FELIX.g:42:7: ( '=' ) |
751 | // FELIX.g:42:9: '=' |
752 | { |
753 | match('='); |
754 | |
755 | } |
756 | |
757 | state.type = _type; |
758 | state.channel = _channel; |
759 | } |
760 | finally { |
761 | } |
762 | } |
763 | // $ANTLR end "T__55" |
764 | |
765 | // $ANTLR start "T__56" |
766 | public final void mT__56() throws RecognitionException { |
767 | try { |
768 | int _type = T__56; |
769 | int _channel = DEFAULT_TOKEN_CHANNEL; |
770 | // FELIX.g:43:7: ( ':=' ) |
771 | // FELIX.g:43:9: ':=' |
772 | { |
773 | match(":="); |
774 | |
775 | |
776 | } |
777 | |
778 | state.type = _type; |
779 | state.channel = _channel; |
780 | } |
781 | finally { |
782 | } |
783 | } |
784 | // $ANTLR end "T__56" |
785 | |
786 | // $ANTLR start "T__57" |
787 | public final void mT__57() throws RecognitionException { |
788 | try { |
789 | int _type = T__57; |
790 | int _channel = DEFAULT_TOKEN_CHANNEL; |
791 | // FELIX.g:44:7: ( '~' ) |
792 | // FELIX.g:44:9: '~' |
793 | { |
794 | match('~'); |
795 | |
796 | } |
797 | |
798 | state.type = _type; |
799 | state.channel = _channel; |
800 | } |
801 | finally { |
802 | } |
803 | } |
804 | // $ANTLR end "T__57" |
805 | |
806 | // $ANTLR start "T__58" |
807 | public final void mT__58() throws RecognitionException { |
808 | try { |
809 | int _type = T__58; |
810 | int _channel = DEFAULT_TOKEN_CHANNEL; |
811 | // FELIX.g:45:7: ( '<=' ) |
812 | // FELIX.g:45:9: '<=' |
813 | { |
814 | match("<="); |
815 | |
816 | |
817 | } |
818 | |
819 | state.type = _type; |
820 | state.channel = _channel; |
821 | } |
822 | finally { |
823 | } |
824 | } |
825 | // $ANTLR end "T__58" |
826 | |
827 | // $ANTLR start "T__59" |
828 | public final void mT__59() throws RecognitionException { |
829 | try { |
830 | int _type = T__59; |
831 | int _channel = DEFAULT_TOKEN_CHANNEL; |
832 | // FELIX.g:46:7: ( '<-' ) |
833 | // FELIX.g:46:9: '<-' |
834 | { |
835 | match("<-"); |
836 | |
837 | |
838 | } |
839 | |
840 | state.type = _type; |
841 | state.channel = _channel; |
842 | } |
843 | finally { |
844 | } |
845 | } |
846 | // $ANTLR end "T__59" |
847 | |
848 | // $ANTLR start "T__60" |
849 | public final void mT__60() throws RecognitionException { |
850 | try { |
851 | int _type = T__60; |
852 | int _channel = DEFAULT_TOKEN_CHANNEL; |
853 | // FELIX.g:47:7: ( '<->' ) |
854 | // FELIX.g:47:9: '<->' |
855 | { |
856 | match("<->"); |
857 | |
858 | |
859 | } |
860 | |
861 | state.type = _type; |
862 | state.channel = _channel; |
863 | } |
864 | finally { |
865 | } |
866 | } |
867 | // $ANTLR end "T__60" |
868 | |
869 | // $ANTLR start "T__61" |
870 | public final void mT__61() throws RecognitionException { |
871 | try { |
872 | int _type = T__61; |
873 | int _channel = DEFAULT_TOKEN_CHANNEL; |
874 | // FELIX.g:48:7: ( '<@' ) |
875 | // FELIX.g:48:9: '<@' |
876 | { |
877 | match("<@"); |
878 | |
879 | |
880 | } |
881 | |
882 | state.type = _type; |
883 | state.channel = _channel; |
884 | } |
885 | finally { |
886 | } |
887 | } |
888 | // $ANTLR end "T__61" |
889 | |
890 | // $ANTLR start "T__62" |
891 | public final void mT__62() throws RecognitionException { |
892 | try { |
893 | int _type = T__62; |
894 | int _channel = DEFAULT_TOKEN_CHANNEL; |
895 | // FELIX.g:49:7: ( '<~' ) |
896 | // FELIX.g:49:9: '<~' |
897 | { |
898 | match("<~"); |
899 | |
900 | |
901 | } |
902 | |
903 | state.type = _type; |
904 | state.channel = _channel; |
905 | } |
906 | finally { |
907 | } |
908 | } |
909 | // $ANTLR end "T__62" |
910 | |
911 | // $ANTLR start "T__63" |
912 | public final void mT__63() throws RecognitionException { |
913 | try { |
914 | int _type = T__63; |
915 | int _channel = DEFAULT_TOKEN_CHANNEL; |
916 | // FELIX.g:50:7: ( '<!-' ) |
917 | // FELIX.g:50:9: '<!-' |
918 | { |
919 | match("<!-"); |
920 | |
921 | |
922 | } |
923 | |
924 | state.type = _type; |
925 | state.channel = _channel; |
926 | } |
927 | finally { |
928 | } |
929 | } |
930 | // $ANTLR end "T__63" |
931 | |
932 | // $ANTLR start "T__64" |
933 | public final void mT__64() throws RecognitionException { |
934 | try { |
935 | int _type = T__64; |
936 | int _channel = DEFAULT_TOKEN_CHANNEL; |
937 | // FELIX.g:51:7: ( '<CLASS-' ) |
938 | // FELIX.g:51:9: '<CLASS-' |
939 | { |
940 | match("<CLASS-"); |
941 | |
942 | |
943 | } |
944 | |
945 | state.type = _type; |
946 | state.channel = _channel; |
947 | } |
948 | finally { |
949 | } |
950 | } |
951 | // $ANTLR end "T__64" |
952 | |
953 | // $ANTLR start "T__65" |
954 | public final void mT__65() throws RecognitionException { |
955 | try { |
956 | int _type = T__65; |
957 | int _channel = DEFAULT_TOKEN_CHANNEL; |
958 | // FELIX.g:52:7: ( '<TAG-' ) |
959 | // FELIX.g:52:9: '<TAG-' |
960 | { |
961 | match("<TAG-"); |
962 | |
963 | |
964 | } |
965 | |
966 | state.type = _type; |
967 | state.channel = _channel; |
968 | } |
969 | finally { |
970 | } |
971 | } |
972 | // $ANTLR end "T__65" |
973 | |
974 | // $ANTLR start "T__66" |
975 | public final void mT__66() throws RecognitionException { |
976 | try { |
977 | int _type = T__66; |
978 | int _channel = DEFAULT_TOKEN_CHANNEL; |
979 | // FELIX.g:53:7: ( '<@-' ) |
980 | // FELIX.g:53:9: '<@-' |
981 | { |
982 | match("<@-"); |
983 | |
984 | |
985 | } |
986 | |
987 | state.type = _type; |
988 | state.channel = _channel; |
989 | } |
990 | finally { |
991 | } |
992 | } |
993 | // $ANTLR end "T__66" |
994 | |
995 | // $ANTLR start "T__67" |
996 | public final void mT__67() throws RecognitionException { |
997 | try { |
998 | int _type = T__67; |
999 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1000 | // FELIX.g:54:7: ( '<@=' ) |
1001 | // FELIX.g:54:9: '<@=' |
1002 | { |
1003 | match("<@="); |
1004 | |
1005 | |
1006 | } |
1007 | |
1008 | state.type = _type; |
1009 | state.channel = _channel; |
1010 | } |
1011 | finally { |
1012 | } |
1013 | } |
1014 | // $ANTLR end "T__67" |
1015 | |
1016 | // $ANTLR start "T__68" |
1017 | public final void mT__68() throws RecognitionException { |
1018 | try { |
1019 | int _type = T__68; |
1020 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1021 | // FELIX.g:55:7: ( '<@~' ) |
1022 | // FELIX.g:55:9: '<@~' |
1023 | { |
1024 | match("<@~"); |
1025 | |
1026 | |
1027 | } |
1028 | |
1029 | state.type = _type; |
1030 | state.channel = _channel; |
1031 | } |
1032 | finally { |
1033 | } |
1034 | } |
1035 | // $ANTLR end "T__68" |
1036 | |
1037 | // $ANTLR start "T__69" |
1038 | public final void mT__69() throws RecognitionException { |
1039 | try { |
1040 | int _type = T__69; |
1041 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1042 | // FELIX.g:56:7: ( 'v' ) |
1043 | // FELIX.g:56:9: 'v' |
1044 | { |
1045 | match('v'); |
1046 | |
1047 | } |
1048 | |
1049 | state.type = _type; |
1050 | state.channel = _channel; |
1051 | } |
1052 | finally { |
1053 | } |
1054 | } |
1055 | // $ANTLR end "T__69" |
1056 | |
1057 | // $ANTLR start "T__70" |
1058 | public final void mT__70() throws RecognitionException { |
1059 | try { |
1060 | int _type = T__70; |
1061 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1062 | // FELIX.g:57:7: ( '||' ) |
1063 | // FELIX.g:57:9: '||' |
1064 | { |
1065 | match("||"); |
1066 | |
1067 | |
1068 | } |
1069 | |
1070 | state.type = _type; |
1071 | state.channel = _channel; |
1072 | } |
1073 | finally { |
1074 | } |
1075 | } |
1076 | // $ANTLR end "T__70" |
1077 | |
1078 | // $ANTLR start "T__71" |
1079 | public final void mT__71() throws RecognitionException { |
1080 | try { |
1081 | int _type = T__71; |
1082 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1083 | // FELIX.g:58:7: ( 'OR' ) |
1084 | // FELIX.g:58:9: 'OR' |
1085 | { |
1086 | match("OR"); |
1087 | |
1088 | |
1089 | } |
1090 | |
1091 | state.type = _type; |
1092 | state.channel = _channel; |
1093 | } |
1094 | finally { |
1095 | } |
1096 | } |
1097 | // $ANTLR end "T__71" |
1098 | |
1099 | // $ANTLR start "T__72" |
1100 | public final void mT__72() throws RecognitionException { |
1101 | try { |
1102 | int _type = T__72; |
1103 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1104 | // FELIX.g:59:7: ( '&&' ) |
1105 | // FELIX.g:59:9: '&&' |
1106 | { |
1107 | match("&&"); |
1108 | |
1109 | |
1110 | } |
1111 | |
1112 | state.type = _type; |
1113 | state.channel = _channel; |
1114 | } |
1115 | finally { |
1116 | } |
1117 | } |
1118 | // $ANTLR end "T__72" |
1119 | |
1120 | // $ANTLR start "T__73" |
1121 | public final void mT__73() throws RecognitionException { |
1122 | try { |
1123 | int _type = T__73; |
1124 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1125 | // FELIX.g:60:7: ( 'AND' ) |
1126 | // FELIX.g:60:9: 'AND' |
1127 | { |
1128 | match("AND"); |
1129 | |
1130 | |
1131 | } |
1132 | |
1133 | state.type = _type; |
1134 | state.channel = _channel; |
1135 | } |
1136 | finally { |
1137 | } |
1138 | } |
1139 | // $ANTLR end "T__73" |
1140 | |
1141 | // $ANTLR start "T__74" |
1142 | public final void mT__74() throws RecognitionException { |
1143 | try { |
1144 | int _type = T__74; |
1145 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1146 | // FELIX.g:61:7: ( 'NOT' ) |
1147 | // FELIX.g:61:9: 'NOT' |
1148 | { |
1149 | match("NOT"); |
1150 | |
1151 | |
1152 | } |
1153 | |
1154 | state.type = _type; |
1155 | state.channel = _channel; |
1156 | } |
1157 | finally { |
1158 | } |
1159 | } |
1160 | // $ANTLR end "T__74" |
1161 | |
1162 | // $ANTLR start "T__75" |
1163 | public final void mT__75() throws RecognitionException { |
1164 | try { |
1165 | int _type = T__75; |
1166 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1167 | // FELIX.g:62:7: ( '<>' ) |
1168 | // FELIX.g:62:9: '<>' |
1169 | { |
1170 | match("<>"); |
1171 | |
1172 | |
1173 | } |
1174 | |
1175 | state.type = _type; |
1176 | state.channel = _channel; |
1177 | } |
1178 | finally { |
1179 | } |
1180 | } |
1181 | // $ANTLR end "T__75" |
1182 | |
1183 | // $ANTLR start "T__76" |
1184 | public final void mT__76() throws RecognitionException { |
1185 | try { |
1186 | int _type = T__76; |
1187 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1188 | // FELIX.g:63:7: ( '<' ) |
1189 | // FELIX.g:63:9: '<' |
1190 | { |
1191 | match('<'); |
1192 | |
1193 | } |
1194 | |
1195 | state.type = _type; |
1196 | state.channel = _channel; |
1197 | } |
1198 | finally { |
1199 | } |
1200 | } |
1201 | // $ANTLR end "T__76" |
1202 | |
1203 | // $ANTLR start "T__77" |
1204 | public final void mT__77() throws RecognitionException { |
1205 | try { |
1206 | int _type = T__77; |
1207 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1208 | // FELIX.g:64:7: ( '>=' ) |
1209 | // FELIX.g:64:9: '>=' |
1210 | { |
1211 | match(">="); |
1212 | |
1213 | |
1214 | } |
1215 | |
1216 | state.type = _type; |
1217 | state.channel = _channel; |
1218 | } |
1219 | finally { |
1220 | } |
1221 | } |
1222 | // $ANTLR end "T__77" |
1223 | |
1224 | // $ANTLR start "T__78" |
1225 | public final void mT__78() throws RecognitionException { |
1226 | try { |
1227 | int _type = T__78; |
1228 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1229 | // FELIX.g:65:7: ( '!=' ) |
1230 | // FELIX.g:65:9: '!=' |
1231 | { |
1232 | match("!="); |
1233 | |
1234 | |
1235 | } |
1236 | |
1237 | state.type = _type; |
1238 | state.channel = _channel; |
1239 | } |
1240 | finally { |
1241 | } |
1242 | } |
1243 | // $ANTLR end "T__78" |
1244 | |
1245 | // $ANTLR start "T__79" |
1246 | public final void mT__79() throws RecognitionException { |
1247 | try { |
1248 | int _type = T__79; |
1249 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1250 | // FELIX.g:66:7: ( '%' ) |
1251 | // FELIX.g:66:9: '%' |
1252 | { |
1253 | match('%'); |
1254 | |
1255 | } |
1256 | |
1257 | state.type = _type; |
1258 | state.channel = _channel; |
1259 | } |
1260 | finally { |
1261 | } |
1262 | } |
1263 | // $ANTLR end "T__79" |
1264 | |
1265 | // $ANTLR start "T__80" |
1266 | public final void mT__80() throws RecognitionException { |
1267 | try { |
1268 | int _type = T__80; |
1269 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1270 | // FELIX.g:67:7: ( '&' ) |
1271 | // FELIX.g:67:9: '&' |
1272 | { |
1273 | match('&'); |
1274 | |
1275 | } |
1276 | |
1277 | state.type = _type; |
1278 | state.channel = _channel; |
1279 | } |
1280 | finally { |
1281 | } |
1282 | } |
1283 | // $ANTLR end "T__80" |
1284 | |
1285 | // $ANTLR start "T__81" |
1286 | public final void mT__81() throws RecognitionException { |
1287 | try { |
1288 | int _type = T__81; |
1289 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1290 | // FELIX.g:68:7: ( '|' ) |
1291 | // FELIX.g:68:9: '|' |
1292 | { |
1293 | match('|'); |
1294 | |
1295 | } |
1296 | |
1297 | state.type = _type; |
1298 | state.channel = _channel; |
1299 | } |
1300 | finally { |
1301 | } |
1302 | } |
1303 | // $ANTLR end "T__81" |
1304 | |
1305 | // $ANTLR start "T__82" |
1306 | public final void mT__82() throws RecognitionException { |
1307 | try { |
1308 | int _type = T__82; |
1309 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1310 | // FELIX.g:69:7: ( '^' ) |
1311 | // FELIX.g:69:9: '^' |
1312 | { |
1313 | match('^'); |
1314 | |
1315 | } |
1316 | |
1317 | state.type = _type; |
1318 | state.channel = _channel; |
1319 | } |
1320 | finally { |
1321 | } |
1322 | } |
1323 | // $ANTLR end "T__82" |
1324 | |
1325 | // $ANTLR start "T__83" |
1326 | public final void mT__83() throws RecognitionException { |
1327 | try { |
1328 | int _type = T__83; |
1329 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1330 | // FELIX.g:70:7: ( '<<' ) |
1331 | // FELIX.g:70:9: '<<' |
1332 | { |
1333 | match("<<"); |
1334 | |
1335 | |
1336 | } |
1337 | |
1338 | state.type = _type; |
1339 | state.channel = _channel; |
1340 | } |
1341 | finally { |
1342 | } |
1343 | } |
1344 | // $ANTLR end "T__83" |
1345 | |
1346 | // $ANTLR start "T__84" |
1347 | public final void mT__84() throws RecognitionException { |
1348 | try { |
1349 | int _type = T__84; |
1350 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1351 | // FELIX.g:71:7: ( '>>' ) |
1352 | // FELIX.g:71:9: '>>' |
1353 | { |
1354 | match(">>"); |
1355 | |
1356 | |
1357 | } |
1358 | |
1359 | state.type = _type; |
1360 | state.channel = _channel; |
1361 | } |
1362 | finally { |
1363 | } |
1364 | } |
1365 | // $ANTLR end "T__84" |
1366 | |
1367 | // $ANTLR start "WS" |
1368 | public final void mWS() throws RecognitionException { |
1369 | try { |
1370 | int _type = WS; |
1371 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1372 | // FELIX.g:46:3: ( ( ' ' | '\\t' | '\\r' | '\\n' | '\\r\\n' ) ) |
1373 | // FELIX.g:47:3: ( ' ' | '\\t' | '\\r' | '\\n' | '\\r\\n' ) |
1374 | { |
1375 | // FELIX.g:47:3: ( ' ' | '\\t' | '\\r' | '\\n' | '\\r\\n' ) |
1376 | int alt1=5; |
1377 | switch ( input.LA(1) ) { |
1378 | case ' ': |
1379 | { |
1380 | alt1=1; |
1381 | } |
1382 | break; |
1383 | case '\t': |
1384 | { |
1385 | alt1=2; |
1386 | } |
1387 | break; |
1388 | case '\r': |
1389 | { |
1390 | int LA1_3 = input.LA(2); |
1391 | |
1392 | if ( (LA1_3=='\n') ) { |
1393 | alt1=5; |
1394 | } |
1395 | else { |
1396 | alt1=3;} |
1397 | } |
1398 | break; |
1399 | case '\n': |
1400 | { |
1401 | alt1=4; |
1402 | } |
1403 | break; |
1404 | default: |
1405 | NoViableAltException nvae = |
1406 | new NoViableAltException("", 1, 0, input); |
1407 | |
1408 | throw nvae; |
1409 | } |
1410 | |
1411 | switch (alt1) { |
1412 | case 1 : |
1413 | // FELIX.g:48:5: ' ' |
1414 | { |
1415 | match(' '); |
1416 | |
1417 | } |
1418 | break; |
1419 | case 2 : |
1420 | // FELIX.g:49:7: '\\t' |
1421 | { |
1422 | match('\t'); |
1423 | |
1424 | } |
1425 | break; |
1426 | case 3 : |
1427 | // FELIX.g:50:7: '\\r' |
1428 | { |
1429 | match('\r'); |
1430 | |
1431 | } |
1432 | break; |
1433 | case 4 : |
1434 | // FELIX.g:51:7: '\\n' |
1435 | { |
1436 | match('\n'); |
1437 | |
1438 | } |
1439 | break; |
1440 | case 5 : |
1441 | // FELIX.g:52:7: '\\r\\n' |
1442 | { |
1443 | match("\r\n"); |
1444 | |
1445 | |
1446 | } |
1447 | break; |
1448 | |
1449 | } |
1450 | |
1451 | |
1452 | _channel = HIDDEN; |
1453 | |
1454 | |
1455 | } |
1456 | |
1457 | state.type = _type; |
1458 | state.channel = _channel; |
1459 | } |
1460 | finally { |
1461 | } |
1462 | } |
1463 | // $ANTLR end "WS" |
1464 | |
1465 | // $ANTLR start "COMMENT" |
1466 | public final void mCOMMENT() throws RecognitionException { |
1467 | try { |
1468 | int _type = COMMENT; |
1469 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1470 | // FELIX.g:61:3: ( '//' (~ ( '\\n' | '\\r' ) )* ( '\\r' )? '\\n' | '/*' ( options {greedy=false; } : . )* '*/' ) |
1471 | int alt5=2; |
1472 | int LA5_0 = input.LA(1); |
1473 | |
1474 | if ( (LA5_0=='/') ) { |
1475 | int LA5_1 = input.LA(2); |
1476 | |
1477 | if ( (LA5_1=='/') ) { |
1478 | alt5=1; |
1479 | } |
1480 | else if ( (LA5_1=='*') ) { |
1481 | alt5=2; |
1482 | } |
1483 | else { |
1484 | NoViableAltException nvae = |
1485 | new NoViableAltException("", 5, 1, input); |
1486 | |
1487 | throw nvae; |
1488 | } |
1489 | } |
1490 | else { |
1491 | NoViableAltException nvae = |
1492 | new NoViableAltException("", 5, 0, input); |
1493 | |
1494 | throw nvae; |
1495 | } |
1496 | switch (alt5) { |
1497 | case 1 : |
1498 | // FELIX.g:62:3: '//' (~ ( '\\n' | '\\r' ) )* ( '\\r' )? '\\n' |
1499 | { |
1500 | match("//"); |
1501 | |
1502 | // FELIX.g:63:3: (~ ( '\\n' | '\\r' ) )* |
1503 | loop2: |
1504 | do { |
1505 | int alt2=2; |
1506 | int LA2_0 = input.LA(1); |
1507 | |
1508 | if ( ((LA2_0>='\u0000' && LA2_0<='\t')||(LA2_0>='\u000B' && LA2_0<='\f')||(LA2_0>='\u000E' && LA2_0<='\uFFFF')) ) { |
1509 | alt2=1; |
1510 | } |
1511 | |
1512 | |
1513 | switch (alt2) { |
1514 | case 1 : |
1515 | // FELIX.g:63:3: ~ ( '\\n' | '\\r' ) |
1516 | { |
1517 | 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') ) { |
1518 | input.consume(); |
1519 | |
1520 | } |
1521 | else { |
1522 | MismatchedSetException mse = new MismatchedSetException(null,input); |
1523 | recover(mse); |
1524 | throw mse;} |
1525 | |
1526 | |
1527 | } |
1528 | break; |
1529 | |
1530 | default : |
1531 | break loop2; |
1532 | } |
1533 | } while (true); |
1534 | |
1535 | // FELIX.g:67:3: ( '\\r' )? |
1536 | int alt3=2; |
1537 | int LA3_0 = input.LA(1); |
1538 | |
1539 | if ( (LA3_0=='\r') ) { |
1540 | alt3=1; |
1541 | } |
1542 | switch (alt3) { |
1543 | case 1 : |
1544 | // FELIX.g:67:3: '\\r' |
1545 | { |
1546 | match('\r'); |
1547 | |
1548 | } |
1549 | break; |
1550 | |
1551 | } |
1552 | |
1553 | match('\n'); |
1554 | |
1555 | _channel = HIDDEN; |
1556 | |
1557 | |
1558 | } |
1559 | break; |
1560 | case 2 : |
1561 | // FELIX.g:71:5: '/*' ( options {greedy=false; } : . )* '*/' |
1562 | { |
1563 | match("/*"); |
1564 | |
1565 | // FELIX.g:71:10: ( options {greedy=false; } : . )* |
1566 | loop4: |
1567 | do { |
1568 | int alt4=2; |
1569 | int LA4_0 = input.LA(1); |
1570 | |
1571 | if ( (LA4_0=='*') ) { |
1572 | int LA4_1 = input.LA(2); |
1573 | |
1574 | if ( (LA4_1=='/') ) { |
1575 | alt4=2; |
1576 | } |
1577 | else if ( ((LA4_1>='\u0000' && LA4_1<='.')||(LA4_1>='0' && LA4_1<='\uFFFF')) ) { |
1578 | alt4=1; |
1579 | } |
1580 | |
1581 | |
1582 | } |
1583 | else if ( ((LA4_0>='\u0000' && LA4_0<=')')||(LA4_0>='+' && LA4_0<='\uFFFF')) ) { |
1584 | alt4=1; |
1585 | } |
1586 | |
1587 | |
1588 | switch (alt4) { |
1589 | case 1 : |
1590 | // FELIX.g:71:36: . |
1591 | { |
1592 | matchAny(); |
1593 | |
1594 | } |
1595 | break; |
1596 | |
1597 | default : |
1598 | break loop4; |
1599 | } |
1600 | } while (true); |
1601 | |
1602 | match("*/"); |
1603 | |
1604 | |
1605 | _channel = HIDDEN; |
1606 | |
1607 | |
1608 | } |
1609 | break; |
1610 | |
1611 | } |
1612 | state.type = _type; |
1613 | state.channel = _channel; |
1614 | } |
1615 | finally { |
1616 | } |
1617 | } |
1618 | // $ANTLR end "COMMENT" |
1619 | |
1620 | // $ANTLR start "NOT" |
1621 | public final void mNOT() throws RecognitionException { |
1622 | try { |
1623 | int _type = NOT; |
1624 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1625 | // FELIX.g:78:3: ( '!' ) |
1626 | // FELIX.g:79:3: '!' |
1627 | { |
1628 | match('!'); |
1629 | |
1630 | } |
1631 | |
1632 | state.type = _type; |
1633 | state.channel = _channel; |
1634 | } |
1635 | finally { |
1636 | } |
1637 | } |
1638 | // $ANTLR end "NOT" |
1639 | |
1640 | // $ANTLR start "PLUS" |
1641 | public final void mPLUS() throws RecognitionException { |
1642 | try { |
1643 | int _type = PLUS; |
1644 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1645 | // FELIX.g:83:3: ( '+' ) |
1646 | // FELIX.g:84:3: '+' |
1647 | { |
1648 | match('+'); |
1649 | |
1650 | } |
1651 | |
1652 | state.type = _type; |
1653 | state.channel = _channel; |
1654 | } |
1655 | finally { |
1656 | } |
1657 | } |
1658 | // $ANTLR end "PLUS" |
1659 | |
1660 | // $ANTLR start "MINUS" |
1661 | public final void mMINUS() throws RecognitionException { |
1662 | try { |
1663 | int _type = MINUS; |
1664 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1665 | // FELIX.g:88:3: ( '-' ) |
1666 | // FELIX.g:89:3: '-' |
1667 | { |
1668 | match('-'); |
1669 | |
1670 | } |
1671 | |
1672 | state.type = _type; |
1673 | state.channel = _channel; |
1674 | } |
1675 | finally { |
1676 | } |
1677 | } |
1678 | // $ANTLR end "MINUS" |
1679 | |
1680 | // $ANTLR start "ASTERISK" |
1681 | public final void mASTERISK() throws RecognitionException { |
1682 | try { |
1683 | int _type = ASTERISK; |
1684 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1685 | // FELIX.g:93:3: ( '*' ) |
1686 | // FELIX.g:94:3: '*' |
1687 | { |
1688 | match('*'); |
1689 | |
1690 | } |
1691 | |
1692 | state.type = _type; |
1693 | state.channel = _channel; |
1694 | } |
1695 | finally { |
1696 | } |
1697 | } |
1698 | // $ANTLR end "ASTERISK" |
1699 | |
1700 | // $ANTLR start "PERIOD" |
1701 | public final void mPERIOD() throws RecognitionException { |
1702 | try { |
1703 | int _type = PERIOD; |
1704 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1705 | // FELIX.g:98:3: ( '.' ) |
1706 | // FELIX.g:99:3: '.' |
1707 | { |
1708 | match('.'); |
1709 | |
1710 | } |
1711 | |
1712 | state.type = _type; |
1713 | state.channel = _channel; |
1714 | } |
1715 | finally { |
1716 | } |
1717 | } |
1718 | // $ANTLR end "PERIOD" |
1719 | |
1720 | // $ANTLR start "EXIST" |
1721 | public final void mEXIST() throws RecognitionException { |
1722 | try { |
1723 | int _type = EXIST; |
1724 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1725 | // FELIX.g:103:3: ( 'EXIST' | 'Exist' | 'exist' ) |
1726 | int alt6=3; |
1727 | int LA6_0 = input.LA(1); |
1728 | |
1729 | if ( (LA6_0=='E') ) { |
1730 | int LA6_1 = input.LA(2); |
1731 | |
1732 | if ( (LA6_1=='X') ) { |
1733 | alt6=1; |
1734 | } |
1735 | else if ( (LA6_1=='x') ) { |
1736 | alt6=2; |
1737 | } |
1738 | else { |
1739 | NoViableAltException nvae = |
1740 | new NoViableAltException("", 6, 1, input); |
1741 | |
1742 | throw nvae; |
1743 | } |
1744 | } |
1745 | else if ( (LA6_0=='e') ) { |
1746 | alt6=3; |
1747 | } |
1748 | else { |
1749 | NoViableAltException nvae = |
1750 | new NoViableAltException("", 6, 0, input); |
1751 | |
1752 | throw nvae; |
1753 | } |
1754 | switch (alt6) { |
1755 | case 1 : |
1756 | // FELIX.g:104:3: 'EXIST' |
1757 | { |
1758 | match("EXIST"); |
1759 | |
1760 | |
1761 | } |
1762 | break; |
1763 | case 2 : |
1764 | // FELIX.g:105:5: 'Exist' |
1765 | { |
1766 | match("Exist"); |
1767 | |
1768 | |
1769 | } |
1770 | break; |
1771 | case 3 : |
1772 | // FELIX.g:106:5: 'exist' |
1773 | { |
1774 | match("exist"); |
1775 | |
1776 | |
1777 | } |
1778 | break; |
1779 | |
1780 | } |
1781 | state.type = _type; |
1782 | state.channel = _channel; |
1783 | } |
1784 | finally { |
1785 | } |
1786 | } |
1787 | // $ANTLR end "EXIST" |
1788 | |
1789 | // $ANTLR start "IMPLIES" |
1790 | public final void mIMPLIES() throws RecognitionException { |
1791 | try { |
1792 | int _type = IMPLIES; |
1793 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1794 | // FELIX.g:110:3: ( '=>' ) |
1795 | // FELIX.g:111:3: '=>' |
1796 | { |
1797 | match("=>"); |
1798 | |
1799 | |
1800 | } |
1801 | |
1802 | state.type = _type; |
1803 | state.channel = _channel; |
1804 | } |
1805 | finally { |
1806 | } |
1807 | } |
1808 | // $ANTLR end "IMPLIES" |
1809 | |
1810 | // $ANTLR start "STRING" |
1811 | public final void mSTRING() throws RecognitionException { |
1812 | try { |
1813 | int _type = STRING; |
1814 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1815 | CommonToken escaped=null; |
1816 | int normal; |
1817 | |
1818 | |
1819 | StringBuilder lBuf = new StringBuilder(); |
1820 | |
1821 | // FELIX.g:118:3: ( '\"' (escaped= ESC | normal=~ ( '\"' | '\\\\' | '\\n' | '\\r' ) )* '\"' ) |
1822 | // FELIX.g:119:3: '\"' (escaped= ESC | normal=~ ( '\"' | '\\\\' | '\\n' | '\\r' ) )* '\"' |
1823 | { |
1824 | match('\"'); |
1825 | // FELIX.g:120:3: (escaped= ESC | normal=~ ( '\"' | '\\\\' | '\\n' | '\\r' ) )* |
1826 | loop7: |
1827 | do { |
1828 | int alt7=3; |
1829 | int LA7_0 = input.LA(1); |
1830 | |
1831 | if ( (LA7_0=='\\') ) { |
1832 | alt7=1; |
1833 | } |
1834 | else if ( ((LA7_0>='\u0000' && LA7_0<='\t')||(LA7_0>='\u000B' && LA7_0<='\f')||(LA7_0>='\u000E' && LA7_0<='!')||(LA7_0>='#' && LA7_0<='[')||(LA7_0>=']' && LA7_0<='\uFFFF')) ) { |
1835 | alt7=2; |
1836 | } |
1837 | |
1838 | |
1839 | switch (alt7) { |
1840 | case 1 : |
1841 | // FELIX.g:121:5: escaped= ESC |
1842 | { |
1843 | int escapedStart863 = getCharIndex(); |
1844 | int escapedStartLine863 = getLine(); |
1845 | int escapedStartCharPos863 = getCharPositionInLine(); |
1846 | mESC(); |
1847 | escaped = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, escapedStart863, getCharIndex()-1); |
1848 | escaped.setLine(escapedStartLine863); |
1849 | escaped.setCharPositionInLine(escapedStartCharPos863); |
1850 | |
1851 | lBuf.append(getText()); |
1852 | |
1853 | |
1854 | } |
1855 | break; |
1856 | case 2 : |
1857 | // FELIX.g:125:7: normal=~ ( '\"' | '\\\\' | '\\n' | '\\r' ) |
1858 | { |
1859 | normal= input.LA(1); |
1860 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
1861 | input.consume(); |
1862 | |
1863 | } |
1864 | else { |
1865 | MismatchedSetException mse = new MismatchedSetException(null,input); |
1866 | recover(mse); |
1867 | throw mse;} |
1868 | |
1869 | |
1870 | lBuf.appendCodePoint(normal); |
1871 | |
1872 | |
1873 | } |
1874 | break; |
1875 | |
1876 | default : |
1877 | break loop7; |
1878 | } |
1879 | } while (true); |
1880 | |
1881 | match('\"'); |
1882 | |
1883 | setText(lBuf.toString()); |
1884 | |
1885 | |
1886 | } |
1887 | |
1888 | state.type = _type; |
1889 | state.channel = _channel; |
1890 | } |
1891 | finally { |
1892 | } |
1893 | } |
1894 | // $ANTLR end "STRING" |
1895 | |
1896 | // $ANTLR start "ESC" |
1897 | public final void mESC() throws RecognitionException { |
1898 | try { |
1899 | CommonToken i=null; |
1900 | CommonToken j=null; |
1901 | CommonToken k=null; |
1902 | CommonToken l=null; |
1903 | |
1904 | // FELIX.g:145:3: ( '\\\\' ( 'n' | 'r' | 't' | 'b' | 'f' | '\"' | '\\'' | '/' | '\\\\' | 'u' i= HEXDIGIT j= HEXDIGIT k= HEXDIGIT l= HEXDIGIT | ~ ( 'u' | 'r' | 'n' | 't' | 'b' | 'f' | '\"' | '\\'' | '/' | '\\\\' ) ) ) |
1905 | // FELIX.g:146:3: '\\\\' ( 'n' | 'r' | 't' | 'b' | 'f' | '\"' | '\\'' | '/' | '\\\\' | 'u' i= HEXDIGIT j= HEXDIGIT k= HEXDIGIT l= HEXDIGIT | ~ ( 'u' | 'r' | 'n' | 't' | 'b' | 'f' | '\"' | '\\'' | '/' | '\\\\' ) ) |
1906 | { |
1907 | match('\\'); |
1908 | // FELIX.g:147:3: ( 'n' | 'r' | 't' | 'b' | 'f' | '\"' | '\\'' | '/' | '\\\\' | 'u' i= HEXDIGIT j= HEXDIGIT k= HEXDIGIT l= HEXDIGIT | ~ ( 'u' | 'r' | 'n' | 't' | 'b' | 'f' | '\"' | '\\'' | '/' | '\\\\' ) ) |
1909 | int alt8=11; |
1910 | int LA8_0 = input.LA(1); |
1911 | |
1912 | if ( (LA8_0=='n') ) { |
1913 | alt8=1; |
1914 | } |
1915 | else if ( (LA8_0=='r') ) { |
1916 | alt8=2; |
1917 | } |
1918 | else if ( (LA8_0=='t') ) { |
1919 | alt8=3; |
1920 | } |
1921 | else if ( (LA8_0=='b') ) { |
1922 | alt8=4; |
1923 | } |
1924 | else if ( (LA8_0=='f') ) { |
1925 | alt8=5; |
1926 | } |
1927 | else if ( (LA8_0=='\"') ) { |
1928 | alt8=6; |
1929 | } |
1930 | else if ( (LA8_0=='\'') ) { |
1931 | alt8=7; |
1932 | } |
1933 | else if ( (LA8_0=='/') ) { |
1934 | alt8=8; |
1935 | } |
1936 | else if ( (LA8_0=='\\') ) { |
1937 | alt8=9; |
1938 | } |
1939 | else if ( (LA8_0=='u') ) { |
1940 | alt8=10; |
1941 | } |
1942 | else if ( ((LA8_0>='\u0000' && LA8_0<='!')||(LA8_0>='#' && LA8_0<='&')||(LA8_0>='(' && LA8_0<='.')||(LA8_0>='0' && LA8_0<='[')||(LA8_0>=']' && LA8_0<='a')||(LA8_0>='c' && LA8_0<='e')||(LA8_0>='g' && LA8_0<='m')||(LA8_0>='o' && LA8_0<='q')||LA8_0=='s'||(LA8_0>='v' && LA8_0<='\uFFFF')) ) { |
1943 | alt8=11; |
1944 | } |
1945 | else { |
1946 | NoViableAltException nvae = |
1947 | new NoViableAltException("", 8, 0, input); |
1948 | |
1949 | throw nvae; |
1950 | } |
1951 | switch (alt8) { |
1952 | case 1 : |
1953 | // FELIX.g:148:5: 'n' |
1954 | { |
1955 | match('n'); |
1956 | |
1957 | setText("\n"); |
1958 | |
1959 | |
1960 | } |
1961 | break; |
1962 | case 2 : |
1963 | // FELIX.g:152:7: 'r' |
1964 | { |
1965 | match('r'); |
1966 | |
1967 | setText("\r"); |
1968 | |
1969 | |
1970 | } |
1971 | break; |
1972 | case 3 : |
1973 | // FELIX.g:156:7: 't' |
1974 | { |
1975 | match('t'); |
1976 | |
1977 | setText("\t"); |
1978 | |
1979 | |
1980 | } |
1981 | break; |
1982 | case 4 : |
1983 | // FELIX.g:160:7: 'b' |
1984 | { |
1985 | match('b'); |
1986 | |
1987 | setText("\b"); |
1988 | |
1989 | |
1990 | } |
1991 | break; |
1992 | case 5 : |
1993 | // FELIX.g:164:7: 'f' |
1994 | { |
1995 | match('f'); |
1996 | |
1997 | setText("\f"); |
1998 | |
1999 | |
2000 | } |
2001 | break; |
2002 | case 6 : |
2003 | // FELIX.g:168:7: '\"' |
2004 | { |
2005 | match('\"'); |
2006 | |
2007 | setText("\""); |
2008 | |
2009 | |
2010 | } |
2011 | break; |
2012 | case 7 : |
2013 | // FELIX.g:172:7: '\\'' |
2014 | { |
2015 | match('\''); |
2016 | |
2017 | setText("\'"); |
2018 | |
2019 | |
2020 | } |
2021 | break; |
2022 | case 8 : |
2023 | // FELIX.g:176:7: '/' |
2024 | { |
2025 | match('/'); |
2026 | |
2027 | setText("/"); |
2028 | |
2029 | |
2030 | } |
2031 | break; |
2032 | case 9 : |
2033 | // FELIX.g:180:7: '\\\\' |
2034 | { |
2035 | match('\\'); |
2036 | |
2037 | setText("\\"); |
2038 | |
2039 | |
2040 | } |
2041 | break; |
2042 | case 10 : |
2043 | // FELIX.g:184:7: 'u' i= HEXDIGIT j= HEXDIGIT k= HEXDIGIT l= HEXDIGIT |
2044 | { |
2045 | match('u'); |
2046 | int iStart1194 = getCharIndex(); |
2047 | int iStartLine1194 = getLine(); |
2048 | int iStartCharPos1194 = getCharPositionInLine(); |
2049 | mHEXDIGIT(); |
2050 | i = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, iStart1194, getCharIndex()-1); |
2051 | i.setLine(iStartLine1194); |
2052 | i.setCharPositionInLine(iStartCharPos1194); |
2053 | int jStart1198 = getCharIndex(); |
2054 | int jStartLine1198 = getLine(); |
2055 | int jStartCharPos1198 = getCharPositionInLine(); |
2056 | mHEXDIGIT(); |
2057 | j = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, jStart1198, getCharIndex()-1); |
2058 | j.setLine(jStartLine1198); |
2059 | j.setCharPositionInLine(jStartCharPos1198); |
2060 | int kStart1202 = getCharIndex(); |
2061 | int kStartLine1202 = getLine(); |
2062 | int kStartCharPos1202 = getCharPositionInLine(); |
2063 | mHEXDIGIT(); |
2064 | k = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, kStart1202, getCharIndex()-1); |
2065 | k.setLine(kStartLine1202); |
2066 | k.setCharPositionInLine(kStartCharPos1202); |
2067 | int lStart1206 = getCharIndex(); |
2068 | int lStartLine1206 = getLine(); |
2069 | int lStartCharPos1206 = getCharPositionInLine(); |
2070 | mHEXDIGIT(); |
2071 | l = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, lStart1206, getCharIndex()-1); |
2072 | l.setLine(lStartLine1206); |
2073 | l.setCharPositionInLine(lStartCharPos1206); |
2074 | |
2075 | String num = i.getText() + j.getText() + k.getText() + l.getText(); |
2076 | char[] realc = new char[1]; |
2077 | realc[0] = (char) Integer.valueOf(num, 16).intValue(); |
2078 | setText(new String(realc)); |
2079 | |
2080 | |
2081 | } |
2082 | break; |
2083 | case 11 : |
2084 | // FELIX.g:192:5: ~ ( 'u' | 'r' | 'n' | 't' | 'b' | 'f' | '\"' | '\\'' | '/' | '\\\\' ) |
2085 | { |
2086 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='.')||(input.LA(1)>='0' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='a')||(input.LA(1)>='c' && input.LA(1)<='e')||(input.LA(1)>='g' && input.LA(1)<='m')||(input.LA(1)>='o' && input.LA(1)<='q')||input.LA(1)=='s'||(input.LA(1)>='v' && input.LA(1)<='\uFFFF') ) { |
2087 | input.consume(); |
2088 | |
2089 | } |
2090 | else { |
2091 | MismatchedSetException mse = new MismatchedSetException(null,input); |
2092 | recover(mse); |
2093 | throw mse;} |
2094 | |
2095 | |
2096 | } |
2097 | break; |
2098 | |
2099 | } |
2100 | |
2101 | |
2102 | } |
2103 | |
2104 | } |
2105 | finally { |
2106 | } |
2107 | } |
2108 | // $ANTLR end "ESC" |
2109 | |
2110 | // $ANTLR start "HEXDIGIT" |
2111 | public final void mHEXDIGIT() throws RecognitionException { |
2112 | try { |
2113 | // FELIX.g:209:3: ( '0' .. '9' | 'A' .. 'F' | 'a' .. 'f' ) |
2114 | // FELIX.g: |
2115 | { |
2116 | if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='F')||(input.LA(1)>='a' && input.LA(1)<='f') ) { |
2117 | input.consume(); |
2118 | |
2119 | } |
2120 | else { |
2121 | MismatchedSetException mse = new MismatchedSetException(null,input); |
2122 | recover(mse); |
2123 | throw mse;} |
2124 | |
2125 | |
2126 | } |
2127 | |
2128 | } |
2129 | finally { |
2130 | } |
2131 | } |
2132 | // $ANTLR end "HEXDIGIT" |
2133 | |
2134 | // $ANTLR start "NUMBER" |
2135 | public final void mNUMBER() throws RecognitionException { |
2136 | try { |
2137 | int _type = NUMBER; |
2138 | int _channel = DEFAULT_TOKEN_CHANNEL; |
2139 | // FELIX.g:216:3: ( INTEGER | FLOAT ) |
2140 | int alt9=2; |
2141 | alt9 = dfa9.predict(input); |
2142 | switch (alt9) { |
2143 | case 1 : |
2144 | // FELIX.g:217:3: INTEGER |
2145 | { |
2146 | mINTEGER(); |
2147 | |
2148 | } |
2149 | break; |
2150 | case 2 : |
2151 | // FELIX.g:218:5: FLOAT |
2152 | { |
2153 | mFLOAT(); |
2154 | |
2155 | } |
2156 | break; |
2157 | |
2158 | } |
2159 | state.type = _type; |
2160 | state.channel = _channel; |
2161 | } |
2162 | finally { |
2163 | } |
2164 | } |
2165 | // $ANTLR end "NUMBER" |
2166 | |
2167 | // $ANTLR start "INTEGER" |
2168 | public final void mINTEGER() throws RecognitionException { |
2169 | try { |
2170 | // FELIX.g:223:3: ( '0' | ( '+' | '-' )? '1' .. '9' ( '0' .. '9' )* ) |
2171 | int alt12=2; |
2172 | int LA12_0 = input.LA(1); |
2173 | |
2174 | if ( (LA12_0=='0') ) { |
2175 | alt12=1; |
2176 | } |
2177 | else if ( (LA12_0=='+'||LA12_0=='-'||(LA12_0>='1' && LA12_0<='9')) ) { |
2178 | alt12=2; |
2179 | } |
2180 | else { |
2181 | NoViableAltException nvae = |
2182 | new NoViableAltException("", 12, 0, input); |
2183 | |
2184 | throw nvae; |
2185 | } |
2186 | switch (alt12) { |
2187 | case 1 : |
2188 | // FELIX.g:224:3: '0' |
2189 | { |
2190 | match('0'); |
2191 | |
2192 | } |
2193 | break; |
2194 | case 2 : |
2195 | // FELIX.g:226:3: ( '+' | '-' )? '1' .. '9' ( '0' .. '9' )* |
2196 | { |
2197 | // FELIX.g:226:3: ( '+' | '-' )? |
2198 | int alt10=2; |
2199 | int LA10_0 = input.LA(1); |
2200 | |
2201 | if ( (LA10_0=='+'||LA10_0=='-') ) { |
2202 | alt10=1; |
2203 | } |
2204 | switch (alt10) { |
2205 | case 1 : |
2206 | // FELIX.g: |
2207 | { |
2208 | if ( input.LA(1)=='+'||input.LA(1)=='-' ) { |
2209 | input.consume(); |
2210 | |
2211 | } |
2212 | else { |
2213 | MismatchedSetException mse = new MismatchedSetException(null,input); |
2214 | recover(mse); |
2215 | throw mse;} |
2216 | |
2217 | |
2218 | } |
2219 | break; |
2220 | |
2221 | } |
2222 | |
2223 | matchRange('1','9'); |
2224 | // FELIX.g:230:12: ( '0' .. '9' )* |
2225 | loop11: |
2226 | do { |
2227 | int alt11=2; |
2228 | int LA11_0 = input.LA(1); |
2229 | |
2230 | if ( ((LA11_0>='0' && LA11_0<='9')) ) { |
2231 | alt11=1; |
2232 | } |
2233 | |
2234 | |
2235 | switch (alt11) { |
2236 | case 1 : |
2237 | // FELIX.g:230:12: '0' .. '9' |
2238 | { |
2239 | matchRange('0','9'); |
2240 | |
2241 | } |
2242 | break; |
2243 | |
2244 | default : |
2245 | break loop11; |
2246 | } |
2247 | } while (true); |
2248 | |
2249 | |
2250 | } |
2251 | break; |
2252 | |
2253 | } |
2254 | } |
2255 | finally { |
2256 | } |
2257 | } |
2258 | // $ANTLR end "INTEGER" |
2259 | |
2260 | // $ANTLR start "EXPONENT" |
2261 | public final void mEXPONENT() throws RecognitionException { |
2262 | try { |
2263 | // FELIX.g:235:3: ( ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ ) |
2264 | // FELIX.g:236:3: ( 'e' | 'E' ) ( '+' | '-' )? ( '0' .. '9' )+ |
2265 | { |
2266 | if ( input.LA(1)=='E'||input.LA(1)=='e' ) { |
2267 | input.consume(); |
2268 | |
2269 | } |
2270 | else { |
2271 | MismatchedSetException mse = new MismatchedSetException(null,input); |
2272 | recover(mse); |
2273 | throw mse;} |
2274 | |
2275 | // FELIX.g:240:3: ( '+' | '-' )? |
2276 | int alt13=2; |
2277 | int LA13_0 = input.LA(1); |
2278 | |
2279 | if ( (LA13_0=='+'||LA13_0=='-') ) { |
2280 | alt13=1; |
2281 | } |
2282 | switch (alt13) { |
2283 | case 1 : |
2284 | // FELIX.g: |
2285 | { |
2286 | if ( input.LA(1)=='+'||input.LA(1)=='-' ) { |
2287 | input.consume(); |
2288 | |
2289 | } |
2290 | else { |
2291 | MismatchedSetException mse = new MismatchedSetException(null,input); |
2292 | recover(mse); |
2293 | throw mse;} |
2294 | |
2295 | |
2296 | } |
2297 | break; |
2298 | |
2299 | } |
2300 | |
2301 | // FELIX.g:244:3: ( '0' .. '9' )+ |
2302 | int cnt14=0; |
2303 | loop14: |
2304 | do { |
2305 | int alt14=2; |
2306 | int LA14_0 = input.LA(1); |
2307 | |
2308 | if ( ((LA14_0>='0' && LA14_0<='9')) ) { |
2309 | alt14=1; |
2310 | } |
2311 | |
2312 | |
2313 | switch (alt14) { |
2314 | case 1 : |
2315 | // FELIX.g:244:4: '0' .. '9' |
2316 | { |
2317 | matchRange('0','9'); |
2318 | |
2319 | } |
2320 | break; |
2321 | |
2322 | default : |
2323 | if ( cnt14 >= 1 ) break loop14; |
2324 | EarlyExitException eee = |
2325 | new EarlyExitException(14, input); |
2326 | throw eee; |
2327 | } |
2328 | cnt14++; |
2329 | } while (true); |
2330 | |
2331 | |
2332 | } |
2333 | |
2334 | } |
2335 | finally { |
2336 | } |
2337 | } |
2338 | // $ANTLR end "EXPONENT" |
2339 | |
2340 | // $ANTLR start "FLOAT" |
2341 | public final void mFLOAT() throws RecognitionException { |
2342 | try { |
2343 | // FELIX.g:249:3: ( ( '+' | '-' )? ( '0' .. '9' )+ '.' ( '0' .. '9' )* ( EXPONENT )? | '.' ( '0' .. '9' )+ ( EXPONENT )? | ( '0' .. '9' )+ EXPONENT ) |
2344 | int alt22=3; |
2345 | alt22 = dfa22.predict(input); |
2346 | switch (alt22) { |
2347 | case 1 : |
2348 | // FELIX.g:250:3: ( '+' | '-' )? ( '0' .. '9' )+ '.' ( '0' .. '9' )* ( EXPONENT )? |
2349 | { |
2350 | // FELIX.g:250:3: ( '+' | '-' )? |
2351 | int alt15=2; |
2352 | int LA15_0 = input.LA(1); |
2353 | |
2354 | if ( (LA15_0=='+'||LA15_0=='-') ) { |
2355 | alt15=1; |
2356 | } |
2357 | switch (alt15) { |
2358 | case 1 : |
2359 | // FELIX.g: |
2360 | { |
2361 | if ( input.LA(1)=='+'||input.LA(1)=='-' ) { |
2362 | input.consume(); |
2363 | |
2364 | } |
2365 | else { |
2366 | MismatchedSetException mse = new MismatchedSetException(null,input); |
2367 | recover(mse); |
2368 | throw mse;} |
2369 | |
2370 | |
2371 | } |
2372 | break; |
2373 | |
2374 | } |
2375 | |
2376 | // FELIX.g:254:3: ( '0' .. '9' )+ |
2377 | int cnt16=0; |
2378 | loop16: |
2379 | do { |
2380 | int alt16=2; |
2381 | int LA16_0 = input.LA(1); |
2382 | |
2383 | if ( ((LA16_0>='0' && LA16_0<='9')) ) { |
2384 | alt16=1; |
2385 | } |
2386 | |
2387 | |
2388 | switch (alt16) { |
2389 | case 1 : |
2390 | // FELIX.g:254:4: '0' .. '9' |
2391 | { |
2392 | matchRange('0','9'); |
2393 | |
2394 | } |
2395 | break; |
2396 | |
2397 | default : |
2398 | if ( cnt16 >= 1 ) break loop16; |
2399 | EarlyExitException eee = |
2400 | new EarlyExitException(16, input); |
2401 | throw eee; |
2402 | } |
2403 | cnt16++; |
2404 | } while (true); |
2405 | |
2406 | match('.'); |
2407 | // FELIX.g:254:19: ( '0' .. '9' )* |
2408 | loop17: |
2409 | do { |
2410 | int alt17=2; |
2411 | int LA17_0 = input.LA(1); |
2412 | |
2413 | if ( ((LA17_0>='0' && LA17_0<='9')) ) { |
2414 | alt17=1; |
2415 | } |
2416 | |
2417 | |
2418 | switch (alt17) { |
2419 | case 1 : |
2420 | // FELIX.g:254:20: '0' .. '9' |
2421 | { |
2422 | matchRange('0','9'); |
2423 | |
2424 | } |
2425 | break; |
2426 | |
2427 | default : |
2428 | break loop17; |
2429 | } |
2430 | } while (true); |
2431 | |
2432 | // FELIX.g:254:31: ( EXPONENT )? |
2433 | int alt18=2; |
2434 | int LA18_0 = input.LA(1); |
2435 | |
2436 | if ( (LA18_0=='E'||LA18_0=='e') ) { |
2437 | alt18=1; |
2438 | } |
2439 | switch (alt18) { |
2440 | case 1 : |
2441 | // FELIX.g:254:31: EXPONENT |
2442 | { |
2443 | mEXPONENT(); |
2444 | |
2445 | } |
2446 | break; |
2447 | |
2448 | } |
2449 | |
2450 | |
2451 | } |
2452 | break; |
2453 | case 2 : |
2454 | // FELIX.g:255:5: '.' ( '0' .. '9' )+ ( EXPONENT )? |
2455 | { |
2456 | match('.'); |
2457 | // FELIX.g:255:9: ( '0' .. '9' )+ |
2458 | int cnt19=0; |
2459 | loop19: |
2460 | do { |
2461 | int alt19=2; |
2462 | int LA19_0 = input.LA(1); |
2463 | |
2464 | if ( ((LA19_0>='0' && LA19_0<='9')) ) { |
2465 | alt19=1; |
2466 | } |
2467 | |
2468 | |
2469 | switch (alt19) { |
2470 | case 1 : |
2471 | // FELIX.g:255:10: '0' .. '9' |
2472 | { |
2473 | matchRange('0','9'); |
2474 | |
2475 | } |
2476 | break; |
2477 | |
2478 | default : |
2479 | if ( cnt19 >= 1 ) break loop19; |
2480 | EarlyExitException eee = |
2481 | new EarlyExitException(19, input); |
2482 | throw eee; |
2483 | } |
2484 | cnt19++; |
2485 | } while (true); |
2486 | |
2487 | // FELIX.g:255:21: ( EXPONENT )? |
2488 | int alt20=2; |
2489 | int LA20_0 = input.LA(1); |
2490 | |
2491 | if ( (LA20_0=='E'||LA20_0=='e') ) { |
2492 | alt20=1; |
2493 | } |
2494 | switch (alt20) { |
2495 | case 1 : |
2496 | // FELIX.g:255:21: EXPONENT |
2497 | { |
2498 | mEXPONENT(); |
2499 | |
2500 | } |
2501 | break; |
2502 | |
2503 | } |
2504 | |
2505 | |
2506 | } |
2507 | break; |
2508 | case 3 : |
2509 | // FELIX.g:256:5: ( '0' .. '9' )+ EXPONENT |
2510 | { |
2511 | // FELIX.g:256:5: ( '0' .. '9' )+ |
2512 | int cnt21=0; |
2513 | loop21: |
2514 | do { |
2515 | int alt21=2; |
2516 | int LA21_0 = input.LA(1); |
2517 | |
2518 | if ( ((LA21_0>='0' && LA21_0<='9')) ) { |
2519 | alt21=1; |
2520 | } |
2521 | |
2522 | |
2523 | switch (alt21) { |
2524 | case 1 : |
2525 | // FELIX.g:256:6: '0' .. '9' |
2526 | { |
2527 | matchRange('0','9'); |
2528 | |
2529 | } |
2530 | break; |
2531 | |
2532 | default : |
2533 | if ( cnt21 >= 1 ) break loop21; |
2534 | EarlyExitException eee = |
2535 | new EarlyExitException(21, input); |
2536 | throw eee; |
2537 | } |
2538 | cnt21++; |
2539 | } while (true); |
2540 | |
2541 | mEXPONENT(); |
2542 | |
2543 | } |
2544 | break; |
2545 | |
2546 | } |
2547 | } |
2548 | finally { |
2549 | } |
2550 | } |
2551 | // $ANTLR end "FLOAT" |
2552 | |
2553 | // $ANTLR start "ID" |
2554 | public final void mID() throws RecognitionException { |
2555 | try { |
2556 | int _type = ID; |
2557 | int _channel = DEFAULT_TOKEN_CHANNEL; |
2558 | // FELIX.g:260:3: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' | '-' )* ) |
2559 | // FELIX.g:260:7: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' | '-' )* |
2560 | { |
2561 | if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { |
2562 | input.consume(); |
2563 | |
2564 | } |
2565 | else { |
2566 | MismatchedSetException mse = new MismatchedSetException(null,input); |
2567 | recover(mse); |
2568 | throw mse;} |
2569 | |
2570 | // FELIX.g:260:30: ( 'a' .. 'z' | 'A' .. 'Z' | '0' .. '9' | '_' | '-' )* |
2571 | loop23: |
2572 | do { |
2573 | int alt23=2; |
2574 | int LA23_0 = input.LA(1); |
2575 | |
2576 | if ( (LA23_0=='-'||(LA23_0>='0' && LA23_0<='9')||(LA23_0>='A' && LA23_0<='Z')||LA23_0=='_'||(LA23_0>='a' && LA23_0<='z')) ) { |
2577 | alt23=1; |
2578 | } |
2579 | |
2580 | |
2581 | switch (alt23) { |
2582 | case 1 : |
2583 | // FELIX.g: |
2584 | { |
2585 | if ( input.LA(1)=='-'||(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') ) { |
2586 | input.consume(); |
2587 | |
2588 | } |
2589 | else { |
2590 | MismatchedSetException mse = new MismatchedSetException(null,input); |
2591 | recover(mse); |
2592 | throw mse;} |
2593 | |
2594 | |
2595 | } |
2596 | break; |
2597 | |
2598 | default : |
2599 | break loop23; |
2600 | } |
2601 | } while (true); |
2602 | |
2603 | |
2604 | } |
2605 | |
2606 | state.type = _type; |
2607 | state.channel = _channel; |
2608 | } |
2609 | finally { |
2610 | } |
2611 | } |
2612 | // $ANTLR end "ID" |
2613 | |
2614 | // $ANTLR start "JDBCDEP" |
2615 | public final void mJDBCDEP() throws RecognitionException { |
2616 | try { |
2617 | int _type = JDBCDEP; |
2618 | int _channel = DEFAULT_TOKEN_CHANNEL; |
2619 | // FELIX.g:264:3: ( '::' ( ' ' | '\\t' )* 'jdbc://' (~ ( '\\t' | '\\r' | '\\n' | '{' ) )* ) |
2620 | // FELIX.g:265:3: '::' ( ' ' | '\\t' )* 'jdbc://' (~ ( '\\t' | '\\r' | '\\n' | '{' ) )* |
2621 | { |
2622 | match("::"); |
2623 | |
2624 | // FELIX.g:266:3: ( ' ' | '\\t' )* |
2625 | loop24: |
2626 | do { |
2627 | int alt24=2; |
2628 | int LA24_0 = input.LA(1); |
2629 | |
2630 | if ( (LA24_0=='\t'||LA24_0==' ') ) { |
2631 | alt24=1; |
2632 | } |
2633 | |
2634 | |
2635 | switch (alt24) { |
2636 | case 1 : |
2637 | // FELIX.g: |
2638 | { |
2639 | if ( input.LA(1)=='\t'||input.LA(1)==' ' ) { |
2640 | input.consume(); |
2641 | |
2642 | } |
2643 | else { |
2644 | MismatchedSetException mse = new MismatchedSetException(null,input); |
2645 | recover(mse); |
2646 | throw mse;} |
2647 | |
2648 | |
2649 | } |
2650 | break; |
2651 | |
2652 | default : |
2653 | break loop24; |
2654 | } |
2655 | } while (true); |
2656 | |
2657 | match("jdbc://"); |
2658 | |
2659 | // FELIX.g:271:3: (~ ( '\\t' | '\\r' | '\\n' | '{' ) )* |
2660 | loop25: |
2661 | do { |
2662 | int alt25=2; |
2663 | int LA25_0 = input.LA(1); |
2664 | |
2665 | if ( ((LA25_0>='\u0000' && LA25_0<='\b')||(LA25_0>='\u000B' && LA25_0<='\f')||(LA25_0>='\u000E' && LA25_0<='z')||(LA25_0>='|' && LA25_0<='\uFFFF')) ) { |
2666 | alt25=1; |
2667 | } |
2668 | |
2669 | |
2670 | switch (alt25) { |
2671 | case 1 : |
2672 | // FELIX.g:272:5: ~ ( '\\t' | '\\r' | '\\n' | '{' ) |
2673 | { |
2674 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\b')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='z')||(input.LA(1)>='|' && input.LA(1)<='\uFFFF') ) { |
2675 | input.consume(); |
2676 | |
2677 | } |
2678 | else { |
2679 | MismatchedSetException mse = new MismatchedSetException(null,input); |
2680 | recover(mse); |
2681 | throw mse;} |
2682 | |
2683 | |
2684 | } |
2685 | break; |
2686 | |
2687 | default : |
2688 | break loop25; |
2689 | } |
2690 | } while (true); |
2691 | |
2692 | |
2693 | } |
2694 | |
2695 | state.type = _type; |
2696 | state.channel = _channel; |
2697 | } |
2698 | finally { |
2699 | } |
2700 | } |
2701 | // $ANTLR end "JDBCDEP" |
2702 | |
2703 | // $ANTLR start "HDFSDEP" |
2704 | public final void mHDFSDEP() throws RecognitionException { |
2705 | try { |
2706 | int _type = HDFSDEP; |
2707 | int _channel = DEFAULT_TOKEN_CHANNEL; |
2708 | // FELIX.g:282:3: ( '<~hdfs~' ( ' ' | '\\t' )* 'hdfs://' (~ ( '\\t' | ' ' | '\\r' | '\\n' | '{' ) )* ) |
2709 | // FELIX.g:283:3: '<~hdfs~' ( ' ' | '\\t' )* 'hdfs://' (~ ( '\\t' | ' ' | '\\r' | '\\n' | '{' ) )* |
2710 | { |
2711 | match("<~hdfs~"); |
2712 | |
2713 | // FELIX.g:284:3: ( ' ' | '\\t' )* |
2714 | loop26: |
2715 | do { |
2716 | int alt26=2; |
2717 | int LA26_0 = input.LA(1); |
2718 | |
2719 | if ( (LA26_0=='\t'||LA26_0==' ') ) { |
2720 | alt26=1; |
2721 | } |
2722 | |
2723 | |
2724 | switch (alt26) { |
2725 | case 1 : |
2726 | // FELIX.g: |
2727 | { |
2728 | if ( input.LA(1)=='\t'||input.LA(1)==' ' ) { |
2729 | input.consume(); |
2730 | |
2731 | } |
2732 | else { |
2733 | MismatchedSetException mse = new MismatchedSetException(null,input); |
2734 | recover(mse); |
2735 | throw mse;} |
2736 | |
2737 | |
2738 | } |
2739 | break; |
2740 | |
2741 | default : |
2742 | break loop26; |
2743 | } |
2744 | } while (true); |
2745 | |
2746 | match("hdfs://"); |
2747 | |
2748 | // FELIX.g:289:3: (~ ( '\\t' | ' ' | '\\r' | '\\n' | '{' ) )* |
2749 | loop27: |
2750 | do { |
2751 | int alt27=2; |
2752 | int LA27_0 = input.LA(1); |
2753 | |
2754 | if ( ((LA27_0>='\u0000' && LA27_0<='\b')||(LA27_0>='\u000B' && LA27_0<='\f')||(LA27_0>='\u000E' && LA27_0<='\u001F')||(LA27_0>='!' && LA27_0<='z')||(LA27_0>='|' && LA27_0<='\uFFFF')) ) { |
2755 | alt27=1; |
2756 | } |
2757 | |
2758 | |
2759 | switch (alt27) { |
2760 | case 1 : |
2761 | // FELIX.g:290:5: ~ ( '\\t' | ' ' | '\\r' | '\\n' | '{' ) |
2762 | { |
2763 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\b')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\u001F')||(input.LA(1)>='!' && input.LA(1)<='z')||(input.LA(1)>='|' && input.LA(1)<='\uFFFF') ) { |
2764 | input.consume(); |
2765 | |
2766 | } |
2767 | else { |
2768 | MismatchedSetException mse = new MismatchedSetException(null,input); |
2769 | recover(mse); |
2770 | throw mse;} |
2771 | |
2772 | |
2773 | } |
2774 | break; |
2775 | |
2776 | default : |
2777 | break loop27; |
2778 | } |
2779 | } while (true); |
2780 | |
2781 | |
2782 | } |
2783 | |
2784 | state.type = _type; |
2785 | state.channel = _channel; |
2786 | } |
2787 | finally { |
2788 | } |
2789 | } |
2790 | // $ANTLR end "HDFSDEP" |
2791 | |
2792 | // $ANTLR start "CODE" |
2793 | public final void mCODE() throws RecognitionException { |
2794 | try { |
2795 | int _type = CODE; |
2796 | int _channel = DEFAULT_TOKEN_CHANNEL; |
2797 | // FELIX.g:301:3: ( '\\t' (~ ( '\\n' | '\\r' | '}@' ) )* | ( '\\r' )? '\\n' | '\\r' | '#' (~ ( '\\n' | '\\r' | '}@' ) )* ) |
2798 | int alt31=4; |
2799 | switch ( input.LA(1) ) { |
2800 | case '\t': |
2801 | { |
2802 | alt31=1; |
2803 | } |
2804 | break; |
2805 | case '\r': |
2806 | { |
2807 | int LA31_2 = input.LA(2); |
2808 | |
2809 | if ( (LA31_2=='\n') ) { |
2810 | alt31=2; |
2811 | } |
2812 | else { |
2813 | alt31=3;} |
2814 | } |
2815 | break; |
2816 | case '\n': |
2817 | { |
2818 | alt31=2; |
2819 | } |
2820 | break; |
2821 | case '#': |
2822 | { |
2823 | alt31=4; |
2824 | } |
2825 | break; |
2826 | default: |
2827 | NoViableAltException nvae = |
2828 | new NoViableAltException("", 31, 0, input); |
2829 | |
2830 | throw nvae; |
2831 | } |
2832 | |
2833 | switch (alt31) { |
2834 | case 1 : |
2835 | // FELIX.g:302:3: '\\t' (~ ( '\\n' | '\\r' | '}@' ) )* |
2836 | { |
2837 | match('\t'); |
2838 | // FELIX.g:303:3: (~ ( '\\n' | '\\r' | '}@' ) )* |
2839 | loop28: |
2840 | do { |
2841 | int alt28=2; |
2842 | int LA28_0 = input.LA(1); |
2843 | |
2844 | if ( ((LA28_0>='\u0000' && LA28_0<='\t')||(LA28_0>='\u000B' && LA28_0<='\f')||(LA28_0>='\u000E' && LA28_0<='\uFFFF')) ) { |
2845 | alt28=1; |
2846 | } |
2847 | |
2848 | |
2849 | switch (alt28) { |
2850 | case 1 : |
2851 | // FELIX.g:304:5: ~ ( '\\n' | '\\r' | '}@' ) |
2852 | { |
2853 | 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') ) { |
2854 | input.consume(); |
2855 | |
2856 | } |
2857 | else { |
2858 | MismatchedSetException mse = new MismatchedSetException(null,input); |
2859 | recover(mse); |
2860 | throw mse;} |
2861 | |
2862 | |
2863 | } |
2864 | break; |
2865 | |
2866 | default : |
2867 | break loop28; |
2868 | } |
2869 | } while (true); |
2870 | |
2871 | |
2872 | } |
2873 | break; |
2874 | case 2 : |
2875 | // FELIX.g:310:5: ( '\\r' )? '\\n' |
2876 | { |
2877 | // FELIX.g:310:5: ( '\\r' )? |
2878 | int alt29=2; |
2879 | int LA29_0 = input.LA(1); |
2880 | |
2881 | if ( (LA29_0=='\r') ) { |
2882 | alt29=1; |
2883 | } |
2884 | switch (alt29) { |
2885 | case 1 : |
2886 | // FELIX.g:310:5: '\\r' |
2887 | { |
2888 | match('\r'); |
2889 | |
2890 | } |
2891 | break; |
2892 | |
2893 | } |
2894 | |
2895 | match('\n'); |
2896 | |
2897 | } |
2898 | break; |
2899 | case 3 : |
2900 | // FELIX.g:311:5: '\\r' |
2901 | { |
2902 | match('\r'); |
2903 | |
2904 | } |
2905 | break; |
2906 | case 4 : |
2907 | // FELIX.g:312:5: '#' (~ ( '\\n' | '\\r' | '}@' ) )* |
2908 | { |
2909 | match('#'); |
2910 | // FELIX.g:313:3: (~ ( '\\n' | '\\r' | '}@' ) )* |
2911 | loop30: |
2912 | do { |
2913 | int alt30=2; |
2914 | int LA30_0 = input.LA(1); |
2915 | |
2916 | if ( ((LA30_0>='\u0000' && LA30_0<='\t')||(LA30_0>='\u000B' && LA30_0<='\f')||(LA30_0>='\u000E' && LA30_0<='\uFFFF')) ) { |
2917 | alt30=1; |
2918 | } |
2919 | |
2920 | |
2921 | switch (alt30) { |
2922 | case 1 : |
2923 | // FELIX.g:314:5: ~ ( '\\n' | '\\r' | '}@' ) |
2924 | { |
2925 | 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') ) { |
2926 | input.consume(); |
2927 | |
2928 | } |
2929 | else { |
2930 | MismatchedSetException mse = new MismatchedSetException(null,input); |
2931 | recover(mse); |
2932 | throw mse;} |
2933 | |
2934 | |
2935 | } |
2936 | break; |
2937 | |
2938 | default : |
2939 | break loop30; |
2940 | } |
2941 | } while (true); |
2942 | |
2943 | |
2944 | } |
2945 | break; |
2946 | |
2947 | } |
2948 | state.type = _type; |
2949 | state.channel = _channel; |
2950 | } |
2951 | finally { |
2952 | } |
2953 | } |
2954 | // $ANTLR end "CODE" |
2955 | |
2956 | public void mTokens() throws RecognitionException { |
2957 | // FELIX.g:1:8: ( 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 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | T__77 | T__78 | T__79 | T__80 | T__81 | T__82 | T__83 | T__84 | WS | COMMENT | NOT | PLUS | MINUS | ASTERISK | PERIOD | EXIST | IMPLIES | STRING | NUMBER | ID | JDBCDEP | HDFSDEP | CODE ) |
2958 | int alt32=76; |
2959 | alt32 = dfa32.predict(input); |
2960 | switch (alt32) { |
2961 | case 1 : |
2962 | // FELIX.g:1:10: T__24 |
2963 | { |
2964 | mT__24(); |
2965 | |
2966 | } |
2967 | break; |
2968 | case 2 : |
2969 | // FELIX.g:1:16: T__25 |
2970 | { |
2971 | mT__25(); |
2972 | |
2973 | } |
2974 | break; |
2975 | case 3 : |
2976 | // FELIX.g:1:22: T__26 |
2977 | { |
2978 | mT__26(); |
2979 | |
2980 | } |
2981 | break; |
2982 | case 4 : |
2983 | // FELIX.g:1:28: T__27 |
2984 | { |
2985 | mT__27(); |
2986 | |
2987 | } |
2988 | break; |
2989 | case 5 : |
2990 | // FELIX.g:1:34: T__28 |
2991 | { |
2992 | mT__28(); |
2993 | |
2994 | } |
2995 | break; |
2996 | case 6 : |
2997 | // FELIX.g:1:40: T__29 |
2998 | { |
2999 | mT__29(); |
3000 | |
3001 | } |
3002 | break; |
3003 | case 7 : |
3004 | // FELIX.g:1:46: T__30 |
3005 | { |
3006 | mT__30(); |
3007 | |
3008 | } |
3009 | break; |
3010 | case 8 : |
3011 | // FELIX.g:1:52: T__31 |
3012 | { |
3013 | mT__31(); |
3014 | |
3015 | } |
3016 | break; |
3017 | case 9 : |
3018 | // FELIX.g:1:58: T__32 |
3019 | { |
3020 | mT__32(); |
3021 | |
3022 | } |
3023 | break; |
3024 | case 10 : |
3025 | // FELIX.g:1:64: T__33 |
3026 | { |
3027 | mT__33(); |
3028 | |
3029 | } |
3030 | break; |
3031 | case 11 : |
3032 | // FELIX.g:1:70: T__34 |
3033 | { |
3034 | mT__34(); |
3035 | |
3036 | } |
3037 | break; |
3038 | case 12 : |
3039 | // FELIX.g:1:76: T__35 |
3040 | { |
3041 | mT__35(); |
3042 | |
3043 | } |
3044 | break; |
3045 | case 13 : |
3046 | // FELIX.g:1:82: T__36 |
3047 | { |
3048 | mT__36(); |
3049 | |
3050 | } |
3051 | break; |
3052 | case 14 : |
3053 | // FELIX.g:1:88: T__37 |
3054 | { |
3055 | mT__37(); |
3056 | |
3057 | } |
3058 | break; |
3059 | case 15 : |
3060 | // FELIX.g:1:94: T__38 |
3061 | { |
3062 | mT__38(); |
3063 | |
3064 | } |
3065 | break; |
3066 | case 16 : |
3067 | // FELIX.g:1:100: T__39 |
3068 | { |
3069 | mT__39(); |
3070 | |
3071 | } |
3072 | break; |
3073 | case 17 : |
3074 | // FELIX.g:1:106: T__40 |
3075 | { |
3076 | mT__40(); |
3077 | |
3078 | } |
3079 | break; |
3080 | case 18 : |
3081 | // FELIX.g:1:112: T__41 |
3082 | { |
3083 | mT__41(); |
3084 | |
3085 | } |
3086 | break; |
3087 | case 19 : |
3088 | // FELIX.g:1:118: T__42 |
3089 | { |
3090 | mT__42(); |
3091 | |
3092 | } |
3093 | break; |
3094 | case 20 : |
3095 | // FELIX.g:1:124: T__43 |
3096 | { |
3097 | mT__43(); |
3098 | |
3099 | } |
3100 | break; |
3101 | case 21 : |
3102 | // FELIX.g:1:130: T__44 |
3103 | { |
3104 | mT__44(); |
3105 | |
3106 | } |
3107 | break; |
3108 | case 22 : |
3109 | // FELIX.g:1:136: T__45 |
3110 | { |
3111 | mT__45(); |
3112 | |
3113 | } |
3114 | break; |
3115 | case 23 : |
3116 | // FELIX.g:1:142: T__46 |
3117 | { |
3118 | mT__46(); |
3119 | |
3120 | } |
3121 | break; |
3122 | case 24 : |
3123 | // FELIX.g:1:148: T__47 |
3124 | { |
3125 | mT__47(); |
3126 | |
3127 | } |
3128 | break; |
3129 | case 25 : |
3130 | // FELIX.g:1:154: T__48 |
3131 | { |
3132 | mT__48(); |
3133 | |
3134 | } |
3135 | break; |
3136 | case 26 : |
3137 | // FELIX.g:1:160: T__49 |
3138 | { |
3139 | mT__49(); |
3140 | |
3141 | } |
3142 | break; |
3143 | case 27 : |
3144 | // FELIX.g:1:166: T__50 |
3145 | { |
3146 | mT__50(); |
3147 | |
3148 | } |
3149 | break; |
3150 | case 28 : |
3151 | // FELIX.g:1:172: T__51 |
3152 | { |
3153 | mT__51(); |
3154 | |
3155 | } |
3156 | break; |
3157 | case 29 : |
3158 | // FELIX.g:1:178: T__52 |
3159 | { |
3160 | mT__52(); |
3161 | |
3162 | } |
3163 | break; |
3164 | case 30 : |
3165 | // FELIX.g:1:184: T__53 |
3166 | { |
3167 | mT__53(); |
3168 | |
3169 | } |
3170 | break; |
3171 | case 31 : |
3172 | // FELIX.g:1:190: T__54 |
3173 | { |
3174 | mT__54(); |
3175 | |
3176 | } |
3177 | break; |
3178 | case 32 : |
3179 | // FELIX.g:1:196: T__55 |
3180 | { |
3181 | mT__55(); |
3182 | |
3183 | } |
3184 | break; |
3185 | case 33 : |
3186 | // FELIX.g:1:202: T__56 |
3187 | { |
3188 | mT__56(); |
3189 | |
3190 | } |
3191 | break; |
3192 | case 34 : |
3193 | // FELIX.g:1:208: T__57 |
3194 | { |
3195 | mT__57(); |
3196 | |
3197 | } |
3198 | break; |
3199 | case 35 : |
3200 | // FELIX.g:1:214: T__58 |
3201 | { |
3202 | mT__58(); |
3203 | |
3204 | } |
3205 | break; |
3206 | case 36 : |
3207 | // FELIX.g:1:220: T__59 |
3208 | { |
3209 | mT__59(); |
3210 | |
3211 | } |
3212 | break; |
3213 | case 37 : |
3214 | // FELIX.g:1:226: T__60 |
3215 | { |
3216 | mT__60(); |
3217 | |
3218 | } |
3219 | break; |
3220 | case 38 : |
3221 | // FELIX.g:1:232: T__61 |
3222 | { |
3223 | mT__61(); |
3224 | |
3225 | } |
3226 | break; |
3227 | case 39 : |
3228 | // FELIX.g:1:238: T__62 |
3229 | { |
3230 | mT__62(); |
3231 | |
3232 | } |
3233 | break; |
3234 | case 40 : |
3235 | // FELIX.g:1:244: T__63 |
3236 | { |
3237 | mT__63(); |
3238 | |
3239 | } |
3240 | break; |
3241 | case 41 : |
3242 | // FELIX.g:1:250: T__64 |
3243 | { |
3244 | mT__64(); |
3245 | |
3246 | } |
3247 | break; |
3248 | case 42 : |
3249 | // FELIX.g:1:256: T__65 |
3250 | { |
3251 | mT__65(); |
3252 | |
3253 | } |
3254 | break; |
3255 | case 43 : |
3256 | // FELIX.g:1:262: T__66 |
3257 | { |
3258 | mT__66(); |
3259 | |
3260 | } |
3261 | break; |
3262 | case 44 : |
3263 | // FELIX.g:1:268: T__67 |
3264 | { |
3265 | mT__67(); |
3266 | |
3267 | } |
3268 | break; |
3269 | case 45 : |
3270 | // FELIX.g:1:274: T__68 |
3271 | { |
3272 | mT__68(); |
3273 | |
3274 | } |
3275 | break; |
3276 | case 46 : |
3277 | // FELIX.g:1:280: T__69 |
3278 | { |
3279 | mT__69(); |
3280 | |
3281 | } |
3282 | break; |
3283 | case 47 : |
3284 | // FELIX.g:1:286: T__70 |
3285 | { |
3286 | mT__70(); |
3287 | |
3288 | } |
3289 | break; |
3290 | case 48 : |
3291 | // FELIX.g:1:292: T__71 |
3292 | { |
3293 | mT__71(); |
3294 | |
3295 | } |
3296 | break; |
3297 | case 49 : |
3298 | // FELIX.g:1:298: T__72 |
3299 | { |
3300 | mT__72(); |
3301 | |
3302 | } |
3303 | break; |
3304 | case 50 : |
3305 | // FELIX.g:1:304: T__73 |
3306 | { |
3307 | mT__73(); |
3308 | |
3309 | } |
3310 | break; |
3311 | case 51 : |
3312 | // FELIX.g:1:310: T__74 |
3313 | { |
3314 | mT__74(); |
3315 | |
3316 | } |
3317 | break; |
3318 | case 52 : |
3319 | // FELIX.g:1:316: T__75 |
3320 | { |
3321 | mT__75(); |
3322 | |
3323 | } |
3324 | break; |
3325 | case 53 : |
3326 | // FELIX.g:1:322: T__76 |
3327 | { |
3328 | mT__76(); |
3329 | |
3330 | } |
3331 | break; |
3332 | case 54 : |
3333 | // FELIX.g:1:328: T__77 |
3334 | { |
3335 | mT__77(); |
3336 | |
3337 | } |
3338 | break; |
3339 | case 55 : |
3340 | // FELIX.g:1:334: T__78 |
3341 | { |
3342 | mT__78(); |
3343 | |
3344 | } |
3345 | break; |
3346 | case 56 : |
3347 | // FELIX.g:1:340: T__79 |
3348 | { |
3349 | mT__79(); |
3350 | |
3351 | } |
3352 | break; |
3353 | case 57 : |
3354 | // FELIX.g:1:346: T__80 |
3355 | { |
3356 | mT__80(); |
3357 | |
3358 | } |
3359 | break; |
3360 | case 58 : |
3361 | // FELIX.g:1:352: T__81 |
3362 | { |
3363 | mT__81(); |
3364 | |
3365 | } |
3366 | break; |
3367 | case 59 : |
3368 | // FELIX.g:1:358: T__82 |
3369 | { |
3370 | mT__82(); |
3371 | |
3372 | } |
3373 | break; |
3374 | case 60 : |
3375 | // FELIX.g:1:364: T__83 |
3376 | { |
3377 | mT__83(); |
3378 | |
3379 | } |
3380 | break; |
3381 | case 61 : |
3382 | // FELIX.g:1:370: T__84 |
3383 | { |
3384 | mT__84(); |
3385 | |
3386 | } |
3387 | break; |
3388 | case 62 : |
3389 | // FELIX.g:1:376: WS |
3390 | { |
3391 | mWS(); |
3392 | |
3393 | } |
3394 | break; |
3395 | case 63 : |
3396 | // FELIX.g:1:379: COMMENT |
3397 | { |
3398 | mCOMMENT(); |
3399 | |
3400 | } |
3401 | break; |
3402 | case 64 : |
3403 | // FELIX.g:1:387: NOT |
3404 | { |
3405 | mNOT(); |
3406 | |
3407 | } |
3408 | break; |
3409 | case 65 : |
3410 | // FELIX.g:1:391: PLUS |
3411 | { |
3412 | mPLUS(); |
3413 | |
3414 | } |
3415 | break; |
3416 | case 66 : |
3417 | // FELIX.g:1:396: MINUS |
3418 | { |
3419 | mMINUS(); |
3420 | |
3421 | } |
3422 | break; |
3423 | case 67 : |
3424 | // FELIX.g:1:402: ASTERISK |
3425 | { |
3426 | mASTERISK(); |
3427 | |
3428 | } |
3429 | break; |
3430 | case 68 : |
3431 | // FELIX.g:1:411: PERIOD |
3432 | { |
3433 | mPERIOD(); |
3434 | |
3435 | } |
3436 | break; |
3437 | case 69 : |
3438 | // FELIX.g:1:418: EXIST |
3439 | { |
3440 | mEXIST(); |
3441 | |
3442 | } |
3443 | break; |
3444 | case 70 : |
3445 | // FELIX.g:1:424: IMPLIES |
3446 | { |
3447 | mIMPLIES(); |
3448 | |
3449 | } |
3450 | break; |
3451 | case 71 : |
3452 | // FELIX.g:1:432: STRING |
3453 | { |
3454 | mSTRING(); |
3455 | |
3456 | } |
3457 | break; |
3458 | case 72 : |
3459 | // FELIX.g:1:439: NUMBER |
3460 | { |
3461 | mNUMBER(); |
3462 | |
3463 | } |
3464 | break; |
3465 | case 73 : |
3466 | // FELIX.g:1:446: ID |
3467 | { |
3468 | mID(); |
3469 | |
3470 | } |
3471 | break; |
3472 | case 74 : |
3473 | // FELIX.g:1:449: JDBCDEP |
3474 | { |
3475 | mJDBCDEP(); |
3476 | |
3477 | } |
3478 | break; |
3479 | case 75 : |
3480 | // FELIX.g:1:457: HDFSDEP |
3481 | { |
3482 | mHDFSDEP(); |
3483 | |
3484 | } |
3485 | break; |
3486 | case 76 : |
3487 | // FELIX.g:1:465: CODE |
3488 | { |
3489 | mCODE(); |
3490 | |
3491 | } |
3492 | break; |
3493 | |
3494 | } |
3495 | |
3496 | } |
3497 | |
3498 | |
3499 | protected DFA9 dfa9 = new DFA9(this); |
3500 | protected DFA22 dfa22 = new DFA22(this); |
3501 | protected DFA32 dfa32 = new DFA32(this); |
3502 | static final String DFA9_eotS = |
3503 | "\1\uffff\1\5\1\uffff\1\5\2\uffff\3\5"; |
3504 | static final String DFA9_eofS = |
3505 | "\11\uffff"; |
3506 | static final String DFA9_minS = |
3507 | "\1\53\1\56\1\60\1\56\2\uffff\3\56"; |
3508 | static final String DFA9_maxS = |
3509 | "\1\71\1\145\1\71\1\145\2\uffff\1\71\1\145\1\71"; |
3510 | static final String DFA9_acceptS = |
3511 | "\4\uffff\1\2\1\1\3\uffff"; |
3512 | static final String DFA9_specialS = |
3513 | "\11\uffff}>"; |
3514 | static final String[] DFA9_transitionS = { |
3515 | "\1\2\1\uffff\1\2\1\4\1\uffff\1\1\11\3", |
3516 | "\1\4\1\uffff\12\4\13\uffff\1\4\37\uffff\1\4", |
3517 | "\1\4\11\6", |
3518 | "\1\4\1\uffff\12\7\13\uffff\1\4\37\uffff\1\4", |
3519 | "", |
3520 | "", |
3521 | "\1\4\1\uffff\12\10", |
3522 | "\1\4\1\uffff\12\7\13\uffff\1\4\37\uffff\1\4", |
3523 | "\1\4\1\uffff\12\10" |
3524 | }; |
3525 | |
3526 | static final short[] DFA9_eot = DFA.unpackEncodedString(DFA9_eotS); |
3527 | static final short[] DFA9_eof = DFA.unpackEncodedString(DFA9_eofS); |
3528 | static final char[] DFA9_min = DFA.unpackEncodedStringToUnsignedChars(DFA9_minS); |
3529 | static final char[] DFA9_max = DFA.unpackEncodedStringToUnsignedChars(DFA9_maxS); |
3530 | static final short[] DFA9_accept = DFA.unpackEncodedString(DFA9_acceptS); |
3531 | static final short[] DFA9_special = DFA.unpackEncodedString(DFA9_specialS); |
3532 | static final short[][] DFA9_transition; |
3533 | |
3534 | static { |
3535 | int numStates = DFA9_transitionS.length; |
3536 | DFA9_transition = new short[numStates][]; |
3537 | for (int i=0; i<numStates; i++) { |
3538 | DFA9_transition[i] = DFA.unpackEncodedString(DFA9_transitionS[i]); |
3539 | } |
3540 | } |
3541 | |
3542 | class DFA9 extends DFA { |
3543 | |
3544 | public DFA9(BaseRecognizer recognizer) { |
3545 | this.recognizer = recognizer; |
3546 | this.decisionNumber = 9; |
3547 | this.eot = DFA9_eot; |
3548 | this.eof = DFA9_eof; |
3549 | this.min = DFA9_min; |
3550 | this.max = DFA9_max; |
3551 | this.accept = DFA9_accept; |
3552 | this.special = DFA9_special; |
3553 | this.transition = DFA9_transition; |
3554 | } |
3555 | public String getDescription() { |
3556 | return "215:1: NUMBER : ( INTEGER | FLOAT );"; |
3557 | } |
3558 | } |
3559 | static final String DFA22_eotS = |
3560 | "\5\uffff"; |
3561 | static final String DFA22_eofS = |
3562 | "\5\uffff"; |
3563 | static final String DFA22_minS = |
3564 | "\1\53\1\uffff\1\56\2\uffff"; |
3565 | static final String DFA22_maxS = |
3566 | "\1\71\1\uffff\1\145\2\uffff"; |
3567 | static final String DFA22_acceptS = |
3568 | "\1\uffff\1\1\1\uffff\1\2\1\3"; |
3569 | static final String DFA22_specialS = |
3570 | "\5\uffff}>"; |
3571 | static final String[] DFA22_transitionS = { |
3572 | "\1\1\1\uffff\1\1\1\3\1\uffff\12\2", |
3573 | "", |
3574 | "\1\1\1\uffff\12\2\13\uffff\1\4\37\uffff\1\4", |
3575 | "", |
3576 | "" |
3577 | }; |
3578 | |
3579 | static final short[] DFA22_eot = DFA.unpackEncodedString(DFA22_eotS); |
3580 | static final short[] DFA22_eof = DFA.unpackEncodedString(DFA22_eofS); |
3581 | static final char[] DFA22_min = DFA.unpackEncodedStringToUnsignedChars(DFA22_minS); |
3582 | static final char[] DFA22_max = DFA.unpackEncodedStringToUnsignedChars(DFA22_maxS); |
3583 | static final short[] DFA22_accept = DFA.unpackEncodedString(DFA22_acceptS); |
3584 | static final short[] DFA22_special = DFA.unpackEncodedString(DFA22_specialS); |
3585 | static final short[][] DFA22_transition; |
3586 | |
3587 | static { |
3588 | int numStates = DFA22_transitionS.length; |
3589 | DFA22_transition = new short[numStates][]; |
3590 | for (int i=0; i<numStates; i++) { |
3591 | DFA22_transition[i] = DFA.unpackEncodedString(DFA22_transitionS[i]); |
3592 | } |
3593 | } |
3594 | |
3595 | class DFA22 extends DFA { |
3596 | |
3597 | public DFA22(BaseRecognizer recognizer) { |
3598 | this.recognizer = recognizer; |
3599 | this.decisionNumber = 22; |
3600 | this.eot = DFA22_eot; |
3601 | this.eof = DFA22_eof; |
3602 | this.min = DFA22_min; |
3603 | this.max = DFA22_max; |
3604 | this.accept = DFA22_accept; |
3605 | this.special = DFA22_special; |
3606 | this.transition = DFA22_transition; |
3607 | } |
3608 | public String getDescription() { |
3609 | return "247:1: fragment FLOAT : ( ( '+' | '-' )? ( '0' .. '9' )+ '.' ( '0' .. '9' )* ( EXPONENT )? | '.' ( '0' .. '9' )+ ( EXPONENT )? | ( '0' .. '9' )+ EXPONENT );"; |
3610 | } |
3611 | } |
3612 | static final String DFA32_eotS = |
3613 | "\1\uffff\1\54\1\57\4\uffff\1\61\1\74\1\77\1\52\1\102\1\52\1\110"+ |
3614 | "\1\uffff\1\112\1\115\1\116\2\uffff\1\52\1\122\1\uffff\1\123\1\125"+ |
3615 | "\1\52\1\130\2\52\1\134\3\uffff\2\40\1\uffff\1\136\1\137\2\52\13"+ |
3616 | "\uffff\1\147\1\uffff\1\151\1\155\11\uffff\1\156\2\uffff\1\52\1\160"+ |
3617 | "\13\uffff\1\52\5\uffff\1\163\2\uffff\2\52\5\uffff\3\52\14\uffff"+ |
3618 | "\1\52\2\uffff\1\52\1\uffff\1\176\1\177\3\52\1\u0084\1\uffff\1\52"+ |
3619 | "\1\uffff\1\52\2\uffff\3\52\3\uffff\1\52\1\uffff\1\52\3\u0090\1\uffff"+ |
3620 | "\1\52\1\uffff\1\52\1\uffff\1\u0097\1\52\2\uffff\1\52\2\uffff\3\52"+ |
3621 | "\1\u009d\1\52\2\uffff"; |
3622 | static final String DFA32_eofS = |
3623 | "\u009f\uffff"; |
3624 | static final String DFA32_minS = |
3625 | "\1\11\1\52\1\115\4\uffff\1\100\1\41\1\75\1\156\1\52\1\104\1\55\1"+ |
3626 | "\uffff\1\60\1\53\1\0\2\uffff\1\162\1\76\1\uffff\1\55\1\174\1\122"+ |
3627 | "\1\46\1\116\1\117\1\75\3\uffff\1\0\1\12\1\uffff\2\60\1\130\1\170"+ |
3628 | "\5\uffff\1\101\1\105\4\uffff\1\144\1\uffff\1\76\1\55\11\uffff\1"+ |
3629 | "\55\2\uffff\1\116\1\55\6\uffff\1\141\4\uffff\1\151\5\uffff\1\55"+ |
3630 | "\2\uffff\1\104\1\124\5\uffff\1\111\2\151\1\120\1\104\12\uffff\1"+ |
3631 | "\103\1\uffff\1\142\1\157\1\uffff\2\55\1\123\2\163\1\111\1\125\1"+ |
3632 | "\124\1\145\1\162\2\uffff\1\124\2\164\2\uffff\1\103\1\111\1\154\1"+ |
3633 | "\120\3\55\1\105\1\117\1\53\1\162\1\uffff\1\111\1\116\2\uffff\1\157"+ |
3634 | "\2\uffff\1\101\1\142\1\114\1\55\1\40\2\uffff"; |
3635 | static final String DFA32_maxS = |
3636 | "\1\176\1\52\1\122\4\uffff\1\100\1\176\1\76\1\156\1\57\1\125\1\75"+ |
3637 | "\1\uffff\1\76\1\114\1\uffff\2\uffff\1\162\1\76\1\uffff\1\172\1\174"+ |
3638 | "\1\122\1\46\1\116\1\117\1\75\3\uffff\1\uffff\1\12\1\uffff\2\71\2"+ |
3639 | "\170\5\uffff\1\101\1\105\4\uffff\1\150\1\uffff\1\76\1\176\11\uffff"+ |
3640 | "\1\172\2\uffff\1\116\1\172\6\uffff\1\141\4\uffff\1\151\5\uffff\1"+ |
3641 | "\172\2\uffff\1\104\1\124\5\uffff\1\111\2\151\1\120\1\104\12\uffff"+ |
3642 | "\1\103\1\uffff\1\142\1\157\1\uffff\2\172\1\123\2\163\1\111\1\125"+ |
3643 | "\1\124\1\145\1\162\2\uffff\1\124\2\164\2\uffff\1\103\1\111\1\154"+ |
3644 | "\1\120\3\172\1\105\1\117\1\135\1\162\1\uffff\1\111\1\116\2\uffff"+ |
3645 | "\1\157\2\uffff\1\101\1\142\1\114\1\172\1\40\2\uffff"; |
3646 | static final String DFA32_acceptS = |
3647 | "\3\uffff\1\3\1\4\1\5\1\6\7\uffff\1\25\3\uffff\1\33\1\36\2\uffff"+ |
3648 | "\1\42\7\uffff\1\70\1\73\1\76\2\uffff\1\76\4\uffff\1\107\1\110\1"+ |
3649 | "\111\1\1\1\103\2\uffff\1\2\1\10\1\17\1\12\1\uffff\1\43\2\uffff\1"+ |
3650 | "\50\1\51\1\52\1\64\1\74\1\65\1\66\1\75\1\13\1\uffff\1\77\1\21\2"+ |
3651 | "\uffff\1\34\1\41\1\112\1\24\1\26\1\102\1\uffff\1\30\1\35\1\32\1"+ |
3652 | "\114\1\uffff\1\106\1\40\1\56\1\57\1\72\1\uffff\1\61\1\71\2\uffff"+ |
3653 | "\1\67\1\100\1\76\1\101\1\104\5\uffff\1\20\1\113\1\47\1\45\1\44\1"+ |
3654 | "\53\1\54\1\55\1\46\1\14\1\uffff\1\23\2\uffff\1\60\12\uffff\1\62"+ |
3655 | "\1\63\3\uffff\1\7\1\11\13\uffff\1\105\2\uffff\1\27\1\31\1\uffff"+ |
3656 | "\1\15\1\16\5\uffff\1\37\1\22"; |
3657 | static final String DFA32_specialS = |
3658 | "\21\uffff\1\1\17\uffff\1\0\175\uffff}>"; |
3659 | static final String[] DFA32_transitionS = { |
3660 | "\1\41\1\43\2\uffff\1\42\22\uffff\1\40\1\35\1\50\1\21\1\22\1"+ |
3661 | "\36\1\32\1\uffff\1\3\1\5\1\1\1\44\1\4\1\17\1\45\1\13\12\51\1"+ |
3662 | "\15\1\16\1\10\1\25\1\11\1\uffff\1\2\1\33\3\52\1\46\1\14\7\52"+ |
3663 | "\1\34\1\31\13\52\1\20\1\uffff\1\23\1\37\1\52\1\uffff\4\52\1"+ |
3664 | "\47\11\52\1\12\1\24\5\52\1\27\4\52\1\6\1\30\1\7\1\26", |
3665 | "\1\53", |
3666 | "\1\55\4\uffff\1\56", |
3667 | "", |
3668 | "", |
3669 | "", |
3670 | "", |
3671 | "\1\60", |
3672 | "\1\67\13\uffff\1\65\16\uffff\1\73\1\64\1\72\1\uffff\1\66\2"+ |
3673 | "\uffff\1\70\20\uffff\1\71\43\uffff\1\62\5\uffff\1\63", |
3674 | "\1\75\1\76", |
3675 | "\1\100", |
3676 | "\1\101\4\uffff\1\101", |
3677 | "\1\104\20\uffff\1\103", |
3678 | "\1\105\14\uffff\1\107\2\uffff\1\106", |
3679 | "", |
3680 | "\12\51\4\uffff\1\111", |
3681 | "\1\114\40\uffff\1\113", |
3682 | "\12\117\1\uffff\2\117\1\uffff\ufff2\117", |
3683 | "", |
3684 | "", |
3685 | "\1\120", |
3686 | "\1\121", |
3687 | "", |
3688 | "\1\52\2\uffff\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", |
3689 | "\1\124", |
3690 | "\1\126", |
3691 | "\1\127", |
3692 | "\1\131", |
3693 | "\1\132", |
3694 | "\1\133", |
3695 | "", |
3696 | "", |
3697 | "", |
3698 | "\12\117\1\uffff\2\117\1\uffff\ufff2\117", |
3699 | "\1\135", |
3700 | "", |
3701 | "\12\51", |
3702 | "\12\51", |
3703 | "\1\140\37\uffff\1\141", |
3704 | "\1\142", |
3705 | "", |
3706 | "", |
3707 | "", |
3708 | "", |
3709 | "", |
3710 | "\1\143", |
3711 | "\1\144", |
3712 | "", |
3713 | "", |
3714 | "", |
3715 | "", |
3716 | "\1\145\3\uffff\1\146", |
3717 | "", |
3718 | "\1\150", |
3719 | "\1\152\17\uffff\1\153\100\uffff\1\154", |
3720 | "", |
3721 | "", |
3722 | "", |
3723 | "", |
3724 | "", |
3725 | "", |
3726 | "", |
3727 | "", |
3728 | "", |
3729 | "\1\52\2\uffff\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", |
3730 | "", |
3731 | "", |
3732 | "\1\157", |
3733 | "\1\52\2\uffff\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", |
3734 | "", |
3735 | "", |
3736 | "", |
3737 | "", |
3738 | "", |
3739 | "", |
3740 | "\1\161", |
3741 | "", |
3742 | "", |
3743 | "", |
3744 | "", |
3745 | "\1\162", |
3746 | "", |
3747 | "", |
3748 | "", |
3749 | "", |
3750 | "", |
3751 | "\1\52\2\uffff\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", |
3752 | "", |
3753 | "", |
3754 | "\1\164", |
3755 | "\1\165", |
3756 | "", |
3757 | "", |
3758 | "", |
3759 | "", |
3760 | "", |
3761 | "\1\166", |
3762 | "\1\167", |
3763 | "\1\170", |
3764 | "\1\171", |
3765 | "\1\172", |
3766 | "", |
3767 | "", |
3768 | "", |
3769 | "", |
3770 | "", |
3771 | "", |
3772 | "", |
3773 | "", |
3774 | "", |
3775 | "", |
3776 | "\1\173", |
3777 | "", |
3778 | "\1\174", |
3779 | "\1\175", |
3780 | "", |
3781 | "\1\52\2\uffff\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", |
3782 | "\1\52\2\uffff\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", |
3783 | "\1\u0080", |
3784 | "\1\u0081", |
3785 | "\1\u0082", |
3786 | "\1\u0083", |
3787 | "\1\u0085", |
3788 | "\1\u0086", |
3789 | "\1\u0087", |
3790 | "\1\u0088", |
3791 | "", |
3792 | "", |
3793 | "\1\u0089", |
3794 | "\1\u008a", |
3795 | "\1\u008b", |
3796 | "", |
3797 | "", |
3798 | "\1\u008c", |
3799 | "\1\u008d", |
3800 | "\1\u008e", |
3801 | "\1\u008f", |
3802 | "\1\52\2\uffff\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", |
3803 | "\1\52\2\uffff\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", |
3804 | "\1\52\2\uffff\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", |
3805 | "\1\u0091", |
3806 | "\1\u0092", |
3807 | "\1\u0094\61\uffff\1\u0093", |
3808 | "\1\u0095", |
3809 | "", |
3810 | "\1\u0096", |
3811 | "\1\u0098", |
3812 | "", |
3813 | "", |
3814 | "\1\u0099", |
3815 | "", |
3816 | "", |
3817 | "\1\u009a", |
3818 | "\1\u009b", |
3819 | "\1\u009c", |
3820 | "\1\52\2\uffff\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", |
3821 | "\1\u009e", |
3822 | "", |
3823 | "" |
3824 | }; |
3825 | |
3826 | static final short[] DFA32_eot = DFA.unpackEncodedString(DFA32_eotS); |
3827 | static final short[] DFA32_eof = DFA.unpackEncodedString(DFA32_eofS); |
3828 | static final char[] DFA32_min = DFA.unpackEncodedStringToUnsignedChars(DFA32_minS); |
3829 | static final char[] DFA32_max = DFA.unpackEncodedStringToUnsignedChars(DFA32_maxS); |
3830 | static final short[] DFA32_accept = DFA.unpackEncodedString(DFA32_acceptS); |
3831 | static final short[] DFA32_special = DFA.unpackEncodedString(DFA32_specialS); |
3832 | static final short[][] DFA32_transition; |
3833 | |
3834 | static { |
3835 | int numStates = DFA32_transitionS.length; |
3836 | DFA32_transition = new short[numStates][]; |
3837 | for (int i=0; i<numStates; i++) { |
3838 | DFA32_transition[i] = DFA.unpackEncodedString(DFA32_transitionS[i]); |
3839 | } |
3840 | } |
3841 | |
3842 | class DFA32 extends DFA { |
3843 | |
3844 | public DFA32(BaseRecognizer recognizer) { |
3845 | this.recognizer = recognizer; |
3846 | this.decisionNumber = 32; |
3847 | this.eot = DFA32_eot; |
3848 | this.eof = DFA32_eof; |
3849 | this.min = DFA32_min; |
3850 | this.max = DFA32_max; |
3851 | this.accept = DFA32_accept; |
3852 | this.special = DFA32_special; |
3853 | this.transition = DFA32_transition; |
3854 | } |
3855 | public String getDescription() { |
3856 | return "1:1: Tokens : ( 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 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | T__49 | T__50 | T__51 | T__52 | T__53 | T__54 | T__55 | T__56 | T__57 | T__58 | T__59 | T__60 | T__61 | T__62 | T__63 | T__64 | T__65 | T__66 | T__67 | T__68 | T__69 | T__70 | T__71 | T__72 | T__73 | T__74 | T__75 | T__76 | T__77 | T__78 | T__79 | T__80 | T__81 | T__82 | T__83 | T__84 | WS | COMMENT | NOT | PLUS | MINUS | ASTERISK | PERIOD | EXIST | IMPLIES | STRING | NUMBER | ID | JDBCDEP | HDFSDEP | CODE );"; |
3857 | } |
3858 | public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
3859 | IntStream input = _input; |
3860 | int _s = s; |
3861 | switch ( s ) { |
3862 | case 0 : |
3863 | int LA32_33 = input.LA(1); |
3864 | |
3865 | s = -1; |
3866 | if ( ((LA32_33>='\u0000' && LA32_33<='\t')||(LA32_33>='\u000B' && LA32_33<='\f')||(LA32_33>='\u000E' && LA32_33<='\uFFFF')) ) {s = 79;} |
3867 | |
3868 | else s = 32; |
3869 | |
3870 | if ( s>=0 ) return s; |
3871 | break; |
3872 | case 1 : |
3873 | int LA32_17 = input.LA(1); |
3874 | |
3875 | s = -1; |
3876 | if ( ((LA32_17>='\u0000' && LA32_17<='\t')||(LA32_17>='\u000B' && LA32_17<='\f')||(LA32_17>='\u000E' && LA32_17<='\uFFFF')) ) {s = 79;} |
3877 | |
3878 | else s = 78; |
3879 | |
3880 | if ( s>=0 ) return s; |
3881 | break; |
3882 | } |
3883 | NoViableAltException nvae = |
3884 | new NoViableAltException(getDescription(), 32, _s, input); |
3885 | error(nvae); |
3886 | throw nvae; |
3887 | } |
3888 | } |
3889 | |
3890 | |
3891 | } |