diff options
author | 2021-06-27 01:43:59 +0200 | |
---|---|---|
committer | 2021-06-27 02:01:19 +0200 | |
commit | b88c842ba625753ea185e6166cd967e694160798 (patch) | |
tree | 51931f892dff12d253f7697179e137bdfe705155 /org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemLexer.java | |
parent | Opposite reference scope (diff) | |
download | refinery-b88c842ba625753ea185e6166cd967e694160798.tar.gz refinery-b88c842ba625753ea185e6166cd967e694160798.tar.zst refinery-b88c842ba625753ea185e6166cd967e694160798.zip |
Add enum support
Diffstat (limited to 'org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemLexer.java')
-rw-r--r-- | org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemLexer.java | 415 |
1 files changed, 224 insertions, 191 deletions
diff --git a/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemLexer.java b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemLexer.java index a1703c93..1fd1e166 100644 --- a/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemLexer.java +++ b/org.eclipse.viatra.solver.language.parent/org.eclipse.viatra.solver.language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemLexer.java | |||
@@ -12,31 +12,16 @@ import java.util.ArrayList; | |||
12 | 12 | ||
13 | @SuppressWarnings("all") | 13 | @SuppressWarnings("all") |
14 | public class InternalProblemLexer extends Lexer { | 14 | public class InternalProblemLexer extends Lexer { |
15 | public static final int RULE_STRING=7; | ||
16 | public static final int RULE_SL_COMMENT=9; | ||
17 | public static final int T__19=19; | 15 | public static final int T__19=19; |
18 | public static final int T__15=15; | 16 | public static final int T__15=15; |
19 | public static final int T__37=37; | ||
20 | public static final int T__16=16; | 17 | public static final int T__16=16; |
21 | public static final int T__38=38; | ||
22 | public static final int T__17=17; | 18 | public static final int T__17=17; |
23 | public static final int T__39=39; | ||
24 | public static final int T__18=18; | 19 | public static final int T__18=18; |
25 | public static final int T__33=33; | ||
26 | public static final int T__12=12; | 20 | public static final int T__12=12; |
27 | public static final int T__34=34; | ||
28 | public static final int T__13=13; | 21 | public static final int T__13=13; |
29 | public static final int T__35=35; | ||
30 | public static final int T__14=14; | 22 | public static final int T__14=14; |
31 | public static final int T__36=36; | ||
32 | public static final int EOF=-1; | ||
33 | public static final int T__30=30; | ||
34 | public static final int T__31=31; | ||
35 | public static final int T__32=32; | ||
36 | public static final int RULE_ID=4; | 23 | public static final int RULE_ID=4; |
37 | public static final int RULE_WS=10; | ||
38 | public static final int RULE_QUOTED_ID=6; | 24 | public static final int RULE_QUOTED_ID=6; |
39 | public static final int RULE_ANY_OTHER=11; | ||
40 | public static final int T__26=26; | 25 | public static final int T__26=26; |
41 | public static final int T__27=27; | 26 | public static final int T__27=27; |
42 | public static final int T__28=28; | 27 | public static final int T__28=28; |
@@ -47,11 +32,27 @@ public class InternalProblemLexer extends Lexer { | |||
47 | public static final int T__23=23; | 32 | public static final int T__23=23; |
48 | public static final int T__24=24; | 33 | public static final int T__24=24; |
49 | public static final int T__25=25; | 34 | public static final int T__25=25; |
35 | public static final int T__20=20; | ||
36 | public static final int T__21=21; | ||
37 | public static final int RULE_STRING=7; | ||
38 | public static final int RULE_SL_COMMENT=9; | ||
39 | public static final int T__37=37; | ||
40 | public static final int T__38=38; | ||
41 | public static final int T__39=39; | ||
42 | public static final int T__33=33; | ||
43 | public static final int T__34=34; | ||
44 | public static final int T__35=35; | ||
45 | public static final int T__36=36; | ||
46 | public static final int EOF=-1; | ||
47 | public static final int T__30=30; | ||
48 | public static final int T__31=31; | ||
49 | public static final int T__32=32; | ||
50 | public static final int RULE_WS=10; | ||
51 | public static final int RULE_ANY_OTHER=11; | ||
50 | public static final int T__40=40; | 52 | public static final int T__40=40; |
51 | public static final int T__41=41; | 53 | public static final int T__41=41; |
52 | public static final int T__20=20; | ||
53 | public static final int T__42=42; | 54 | public static final int T__42=42; |
54 | public static final int T__21=21; | 55 | public static final int T__43=43; |
55 | 56 | ||
56 | // delegates | 57 | // delegates |
57 | // delegators | 58 | // delegators |
@@ -255,10 +256,10 @@ public class InternalProblemLexer extends Lexer { | |||
255 | try { | 256 | try { |
256 | int _type = T__21; | 257 | int _type = T__21; |
257 | int _channel = DEFAULT_TOKEN_CHANNEL; | 258 | int _channel = DEFAULT_TOKEN_CHANNEL; |
258 | // InternalProblem.g:20:7: ( 'contains' ) | 259 | // InternalProblem.g:20:7: ( 'enum' ) |
259 | // InternalProblem.g:20:9: 'contains' | 260 | // InternalProblem.g:20:9: 'enum' |
260 | { | 261 | { |
261 | match("contains"); | 262 | match("enum"); |
262 | 263 | ||
263 | 264 | ||
264 | } | 265 | } |
@@ -276,10 +277,10 @@ public class InternalProblemLexer extends Lexer { | |||
276 | try { | 277 | try { |
277 | int _type = T__22; | 278 | int _type = T__22; |
278 | int _channel = DEFAULT_TOKEN_CHANNEL; | 279 | int _channel = DEFAULT_TOKEN_CHANNEL; |
279 | // InternalProblem.g:21:7: ( 'refers' ) | 280 | // InternalProblem.g:21:7: ( 'contains' ) |
280 | // InternalProblem.g:21:9: 'refers' | 281 | // InternalProblem.g:21:9: 'contains' |
281 | { | 282 | { |
282 | match("refers"); | 283 | match("contains"); |
283 | 284 | ||
284 | 285 | ||
285 | } | 286 | } |
@@ -297,10 +298,11 @@ public class InternalProblemLexer extends Lexer { | |||
297 | try { | 298 | try { |
298 | int _type = T__23; | 299 | int _type = T__23; |
299 | int _channel = DEFAULT_TOKEN_CHANNEL; | 300 | int _channel = DEFAULT_TOKEN_CHANNEL; |
300 | // InternalProblem.g:22:7: ( '[' ) | 301 | // InternalProblem.g:22:7: ( 'refers' ) |
301 | // InternalProblem.g:22:9: '[' | 302 | // InternalProblem.g:22:9: 'refers' |
302 | { | 303 | { |
303 | match('['); | 304 | match("refers"); |
305 | |||
304 | 306 | ||
305 | } | 307 | } |
306 | 308 | ||
@@ -317,10 +319,10 @@ public class InternalProblemLexer extends Lexer { | |||
317 | try { | 319 | try { |
318 | int _type = T__24; | 320 | int _type = T__24; |
319 | int _channel = DEFAULT_TOKEN_CHANNEL; | 321 | int _channel = DEFAULT_TOKEN_CHANNEL; |
320 | // InternalProblem.g:23:7: ( ']' ) | 322 | // InternalProblem.g:23:7: ( '[' ) |
321 | // InternalProblem.g:23:9: ']' | 323 | // InternalProblem.g:23:9: '[' |
322 | { | 324 | { |
323 | match(']'); | 325 | match('['); |
324 | 326 | ||
325 | } | 327 | } |
326 | 328 | ||
@@ -337,11 +339,10 @@ public class InternalProblemLexer extends Lexer { | |||
337 | try { | 339 | try { |
338 | int _type = T__25; | 340 | int _type = T__25; |
339 | int _channel = DEFAULT_TOKEN_CHANNEL; | 341 | int _channel = DEFAULT_TOKEN_CHANNEL; |
340 | // InternalProblem.g:24:7: ( 'opposite' ) | 342 | // InternalProblem.g:24:7: ( ']' ) |
341 | // InternalProblem.g:24:9: 'opposite' | 343 | // InternalProblem.g:24:9: ']' |
342 | { | 344 | { |
343 | match("opposite"); | 345 | match(']'); |
344 | |||
345 | 346 | ||
346 | } | 347 | } |
347 | 348 | ||
@@ -358,10 +359,10 @@ public class InternalProblemLexer extends Lexer { | |||
358 | try { | 359 | try { |
359 | int _type = T__26; | 360 | int _type = T__26; |
360 | int _channel = DEFAULT_TOKEN_CHANNEL; | 361 | int _channel = DEFAULT_TOKEN_CHANNEL; |
361 | // InternalProblem.g:25:7: ( 'error' ) | 362 | // InternalProblem.g:25:7: ( 'opposite' ) |
362 | // InternalProblem.g:25:9: 'error' | 363 | // InternalProblem.g:25:9: 'opposite' |
363 | { | 364 | { |
364 | match("error"); | 365 | match("opposite"); |
365 | 366 | ||
366 | 367 | ||
367 | } | 368 | } |
@@ -379,10 +380,10 @@ public class InternalProblemLexer extends Lexer { | |||
379 | try { | 380 | try { |
380 | int _type = T__27; | 381 | int _type = T__27; |
381 | int _channel = DEFAULT_TOKEN_CHANNEL; | 382 | int _channel = DEFAULT_TOKEN_CHANNEL; |
382 | // InternalProblem.g:26:7: ( 'pred' ) | 383 | // InternalProblem.g:26:7: ( 'error' ) |
383 | // InternalProblem.g:26:9: 'pred' | 384 | // InternalProblem.g:26:9: 'error' |
384 | { | 385 | { |
385 | match("pred"); | 386 | match("error"); |
386 | 387 | ||
387 | 388 | ||
388 | } | 389 | } |
@@ -400,10 +401,11 @@ public class InternalProblemLexer extends Lexer { | |||
400 | try { | 401 | try { |
401 | int _type = T__28; | 402 | int _type = T__28; |
402 | int _channel = DEFAULT_TOKEN_CHANNEL; | 403 | int _channel = DEFAULT_TOKEN_CHANNEL; |
403 | // InternalProblem.g:27:7: ( '(' ) | 404 | // InternalProblem.g:27:7: ( 'pred' ) |
404 | // InternalProblem.g:27:9: '(' | 405 | // InternalProblem.g:27:9: 'pred' |
405 | { | 406 | { |
406 | match('('); | 407 | match("pred"); |
408 | |||
407 | 409 | ||
408 | } | 410 | } |
409 | 411 | ||
@@ -420,10 +422,10 @@ public class InternalProblemLexer extends Lexer { | |||
420 | try { | 422 | try { |
421 | int _type = T__29; | 423 | int _type = T__29; |
422 | int _channel = DEFAULT_TOKEN_CHANNEL; | 424 | int _channel = DEFAULT_TOKEN_CHANNEL; |
423 | // InternalProblem.g:28:7: ( ')' ) | 425 | // InternalProblem.g:28:7: ( '(' ) |
424 | // InternalProblem.g:28:9: ')' | 426 | // InternalProblem.g:28:9: '(' |
425 | { | 427 | { |
426 | match(')'); | 428 | match('('); |
427 | 429 | ||
428 | } | 430 | } |
429 | 431 | ||
@@ -440,11 +442,10 @@ public class InternalProblemLexer extends Lexer { | |||
440 | try { | 442 | try { |
441 | int _type = T__30; | 443 | int _type = T__30; |
442 | int _channel = DEFAULT_TOKEN_CHANNEL; | 444 | int _channel = DEFAULT_TOKEN_CHANNEL; |
443 | // InternalProblem.g:29:7: ( ':-' ) | 445 | // InternalProblem.g:29:7: ( ')' ) |
444 | // InternalProblem.g:29:9: ':-' | 446 | // InternalProblem.g:29:9: ')' |
445 | { | 447 | { |
446 | match(":-"); | 448 | match(')'); |
447 | |||
448 | 449 | ||
449 | } | 450 | } |
450 | 451 | ||
@@ -461,10 +462,11 @@ public class InternalProblemLexer extends Lexer { | |||
461 | try { | 462 | try { |
462 | int _type = T__31; | 463 | int _type = T__31; |
463 | int _channel = DEFAULT_TOKEN_CHANNEL; | 464 | int _channel = DEFAULT_TOKEN_CHANNEL; |
464 | // InternalProblem.g:30:7: ( '!' ) | 465 | // InternalProblem.g:30:7: ( ':-' ) |
465 | // InternalProblem.g:30:9: '!' | 466 | // InternalProblem.g:30:9: ':-' |
466 | { | 467 | { |
467 | match('!'); | 468 | match(":-"); |
469 | |||
468 | 470 | ||
469 | } | 471 | } |
470 | 472 | ||
@@ -481,10 +483,10 @@ public class InternalProblemLexer extends Lexer { | |||
481 | try { | 483 | try { |
482 | int _type = T__32; | 484 | int _type = T__32; |
483 | int _channel = DEFAULT_TOKEN_CHANNEL; | 485 | int _channel = DEFAULT_TOKEN_CHANNEL; |
484 | // InternalProblem.g:31:7: ( '+' ) | 486 | // InternalProblem.g:31:7: ( '!' ) |
485 | // InternalProblem.g:31:9: '+' | 487 | // InternalProblem.g:31:9: '!' |
486 | { | 488 | { |
487 | match('+'); | 489 | match('!'); |
488 | 490 | ||
489 | } | 491 | } |
490 | 492 | ||
@@ -501,10 +503,10 @@ public class InternalProblemLexer extends Lexer { | |||
501 | try { | 503 | try { |
502 | int _type = T__33; | 504 | int _type = T__33; |
503 | int _channel = DEFAULT_TOKEN_CHANNEL; | 505 | int _channel = DEFAULT_TOKEN_CHANNEL; |
504 | // InternalProblem.g:32:7: ( ':' ) | 506 | // InternalProblem.g:32:7: ( '+' ) |
505 | // InternalProblem.g:32:9: ':' | 507 | // InternalProblem.g:32:9: '+' |
506 | { | 508 | { |
507 | match(':'); | 509 | match('+'); |
508 | 510 | ||
509 | } | 511 | } |
510 | 512 | ||
@@ -521,11 +523,10 @@ public class InternalProblemLexer extends Lexer { | |||
521 | try { | 523 | try { |
522 | int _type = T__34; | 524 | int _type = T__34; |
523 | int _channel = DEFAULT_TOKEN_CHANNEL; | 525 | int _channel = DEFAULT_TOKEN_CHANNEL; |
524 | // InternalProblem.g:33:7: ( 'scope' ) | 526 | // InternalProblem.g:33:7: ( ':' ) |
525 | // InternalProblem.g:33:9: 'scope' | 527 | // InternalProblem.g:33:9: ':' |
526 | { | 528 | { |
527 | match("scope"); | 529 | match(':'); |
528 | |||
529 | 530 | ||
530 | } | 531 | } |
531 | 532 | ||
@@ -542,10 +543,10 @@ public class InternalProblemLexer extends Lexer { | |||
542 | try { | 543 | try { |
543 | int _type = T__35; | 544 | int _type = T__35; |
544 | int _channel = DEFAULT_TOKEN_CHANNEL; | 545 | int _channel = DEFAULT_TOKEN_CHANNEL; |
545 | // InternalProblem.g:34:7: ( '+=' ) | 546 | // InternalProblem.g:34:7: ( 'scope' ) |
546 | // InternalProblem.g:34:9: '+=' | 547 | // InternalProblem.g:34:9: 'scope' |
547 | { | 548 | { |
548 | match("+="); | 549 | match("scope"); |
549 | 550 | ||
550 | 551 | ||
551 | } | 552 | } |
@@ -563,10 +564,11 @@ public class InternalProblemLexer extends Lexer { | |||
563 | try { | 564 | try { |
564 | int _type = T__36; | 565 | int _type = T__36; |
565 | int _channel = DEFAULT_TOKEN_CHANNEL; | 566 | int _channel = DEFAULT_TOKEN_CHANNEL; |
566 | // InternalProblem.g:35:7: ( '=' ) | 567 | // InternalProblem.g:35:7: ( '+=' ) |
567 | // InternalProblem.g:35:9: '=' | 568 | // InternalProblem.g:35:9: '+=' |
568 | { | 569 | { |
569 | match('='); | 570 | match("+="); |
571 | |||
570 | 572 | ||
571 | } | 573 | } |
572 | 574 | ||
@@ -583,11 +585,10 @@ public class InternalProblemLexer extends Lexer { | |||
583 | try { | 585 | try { |
584 | int _type = T__37; | 586 | int _type = T__37; |
585 | int _channel = DEFAULT_TOKEN_CHANNEL; | 587 | int _channel = DEFAULT_TOKEN_CHANNEL; |
586 | // InternalProblem.g:36:7: ( '..' ) | 588 | // InternalProblem.g:36:7: ( '=' ) |
587 | // InternalProblem.g:36:9: '..' | 589 | // InternalProblem.g:36:9: '=' |
588 | { | 590 | { |
589 | match(".."); | 591 | match('='); |
590 | |||
591 | 592 | ||
592 | } | 593 | } |
593 | 594 | ||
@@ -604,10 +605,11 @@ public class InternalProblemLexer extends Lexer { | |||
604 | try { | 605 | try { |
605 | int _type = T__38; | 606 | int _type = T__38; |
606 | int _channel = DEFAULT_TOKEN_CHANNEL; | 607 | int _channel = DEFAULT_TOKEN_CHANNEL; |
607 | // InternalProblem.g:37:7: ( '*' ) | 608 | // InternalProblem.g:37:7: ( '..' ) |
608 | // InternalProblem.g:37:9: '*' | 609 | // InternalProblem.g:37:9: '..' |
609 | { | 610 | { |
610 | match('*'); | 611 | match(".."); |
612 | |||
611 | 613 | ||
612 | } | 614 | } |
613 | 615 | ||
@@ -624,11 +626,10 @@ public class InternalProblemLexer extends Lexer { | |||
624 | try { | 626 | try { |
625 | int _type = T__39; | 627 | int _type = T__39; |
626 | int _channel = DEFAULT_TOKEN_CHANNEL; | 628 | int _channel = DEFAULT_TOKEN_CHANNEL; |
627 | // InternalProblem.g:38:7: ( 'true' ) | 629 | // InternalProblem.g:38:7: ( '*' ) |
628 | // InternalProblem.g:38:9: 'true' | 630 | // InternalProblem.g:38:9: '*' |
629 | { | 631 | { |
630 | match("true"); | 632 | match('*'); |
631 | |||
632 | 633 | ||
633 | } | 634 | } |
634 | 635 | ||
@@ -645,10 +646,10 @@ public class InternalProblemLexer extends Lexer { | |||
645 | try { | 646 | try { |
646 | int _type = T__40; | 647 | int _type = T__40; |
647 | int _channel = DEFAULT_TOKEN_CHANNEL; | 648 | int _channel = DEFAULT_TOKEN_CHANNEL; |
648 | // InternalProblem.g:39:7: ( 'false' ) | 649 | // InternalProblem.g:39:7: ( 'true' ) |
649 | // InternalProblem.g:39:9: 'false' | 650 | // InternalProblem.g:39:9: 'true' |
650 | { | 651 | { |
651 | match("false"); | 652 | match("true"); |
652 | 653 | ||
653 | 654 | ||
654 | } | 655 | } |
@@ -666,10 +667,10 @@ public class InternalProblemLexer extends Lexer { | |||
666 | try { | 667 | try { |
667 | int _type = T__41; | 668 | int _type = T__41; |
668 | int _channel = DEFAULT_TOKEN_CHANNEL; | 669 | int _channel = DEFAULT_TOKEN_CHANNEL; |
669 | // InternalProblem.g:40:7: ( 'unknown' ) | 670 | // InternalProblem.g:40:7: ( 'false' ) |
670 | // InternalProblem.g:40:9: 'unknown' | 671 | // InternalProblem.g:40:9: 'false' |
671 | { | 672 | { |
672 | match("unknown"); | 673 | match("false"); |
673 | 674 | ||
674 | 675 | ||
675 | } | 676 | } |
@@ -687,10 +688,11 @@ public class InternalProblemLexer extends Lexer { | |||
687 | try { | 688 | try { |
688 | int _type = T__42; | 689 | int _type = T__42; |
689 | int _channel = DEFAULT_TOKEN_CHANNEL; | 690 | int _channel = DEFAULT_TOKEN_CHANNEL; |
690 | // InternalProblem.g:41:7: ( '?' ) | 691 | // InternalProblem.g:41:7: ( 'unknown' ) |
691 | // InternalProblem.g:41:9: '?' | 692 | // InternalProblem.g:41:9: 'unknown' |
692 | { | 693 | { |
693 | match('?'); | 694 | match("unknown"); |
695 | |||
694 | 696 | ||
695 | } | 697 | } |
696 | 698 | ||
@@ -702,16 +704,36 @@ public class InternalProblemLexer extends Lexer { | |||
702 | } | 704 | } |
703 | // $ANTLR end "T__42" | 705 | // $ANTLR end "T__42" |
704 | 706 | ||
707 | // $ANTLR start "T__43" | ||
708 | public final void mT__43() throws RecognitionException { | ||
709 | try { | ||
710 | int _type = T__43; | ||
711 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
712 | // InternalProblem.g:42:7: ( '?' ) | ||
713 | // InternalProblem.g:42:9: '?' | ||
714 | { | ||
715 | match('?'); | ||
716 | |||
717 | } | ||
718 | |||
719 | state.type = _type; | ||
720 | state.channel = _channel; | ||
721 | } | ||
722 | finally { | ||
723 | } | ||
724 | } | ||
725 | // $ANTLR end "T__43" | ||
726 | |||
705 | // $ANTLR start "RULE_STRING" | 727 | // $ANTLR start "RULE_STRING" |
706 | public final void mRULE_STRING() throws RecognitionException { | 728 | public final void mRULE_STRING() throws RecognitionException { |
707 | try { | 729 | try { |
708 | int _type = RULE_STRING; | 730 | int _type = RULE_STRING; |
709 | int _channel = DEFAULT_TOKEN_CHANNEL; | 731 | int _channel = DEFAULT_TOKEN_CHANNEL; |
710 | // InternalProblem.g:1642:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) | 732 | // InternalProblem.g:1895:13: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' ) |
711 | // InternalProblem.g:1642:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | 733 | // InternalProblem.g:1895:15: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' |
712 | { | 734 | { |
713 | match('\"'); | 735 | match('\"'); |
714 | // InternalProblem.g:1642:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* | 736 | // InternalProblem.g:1895:19: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* |
715 | loop1: | 737 | loop1: |
716 | do { | 738 | do { |
717 | int alt1=3; | 739 | int alt1=3; |
@@ -727,7 +749,7 @@ public class InternalProblemLexer extends Lexer { | |||
727 | 749 | ||
728 | switch (alt1) { | 750 | switch (alt1) { |
729 | case 1 : | 751 | case 1 : |
730 | // InternalProblem.g:1642:20: '\\\\' . | 752 | // InternalProblem.g:1895:20: '\\\\' . |
731 | { | 753 | { |
732 | match('\\'); | 754 | match('\\'); |
733 | matchAny(); | 755 | matchAny(); |
@@ -735,7 +757,7 @@ public class InternalProblemLexer extends Lexer { | |||
735 | } | 757 | } |
736 | break; | 758 | break; |
737 | case 2 : | 759 | case 2 : |
738 | // InternalProblem.g:1642:27: ~ ( ( '\\\\' | '\"' ) ) | 760 | // InternalProblem.g:1895:27: ~ ( ( '\\\\' | '\"' ) ) |
739 | { | 761 | { |
740 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | 762 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
741 | input.consume(); | 763 | input.consume(); |
@@ -772,11 +794,11 @@ public class InternalProblemLexer extends Lexer { | |||
772 | try { | 794 | try { |
773 | int _type = RULE_QUOTED_ID; | 795 | int _type = RULE_QUOTED_ID; |
774 | int _channel = DEFAULT_TOKEN_CHANNEL; | 796 | int _channel = DEFAULT_TOKEN_CHANNEL; |
775 | // InternalProblem.g:1644:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) | 797 | // InternalProblem.g:1897:16: ( '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) |
776 | // InternalProblem.g:1644:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' | 798 | // InternalProblem.g:1897:18: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' |
777 | { | 799 | { |
778 | match('\''); | 800 | match('\''); |
779 | // InternalProblem.g:1644:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* | 801 | // InternalProblem.g:1897:23: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* |
780 | loop2: | 802 | loop2: |
781 | do { | 803 | do { |
782 | int alt2=3; | 804 | int alt2=3; |
@@ -792,7 +814,7 @@ public class InternalProblemLexer extends Lexer { | |||
792 | 814 | ||
793 | switch (alt2) { | 815 | switch (alt2) { |
794 | case 1 : | 816 | case 1 : |
795 | // InternalProblem.g:1644:24: '\\\\' . | 817 | // InternalProblem.g:1897:24: '\\\\' . |
796 | { | 818 | { |
797 | match('\\'); | 819 | match('\\'); |
798 | matchAny(); | 820 | matchAny(); |
@@ -800,7 +822,7 @@ public class InternalProblemLexer extends Lexer { | |||
800 | } | 822 | } |
801 | break; | 823 | break; |
802 | case 2 : | 824 | case 2 : |
803 | // InternalProblem.g:1644:31: ~ ( ( '\\\\' | '\\'' ) ) | 825 | // InternalProblem.g:1897:31: ~ ( ( '\\\\' | '\\'' ) ) |
804 | { | 826 | { |
805 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | 827 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
806 | input.consume(); | 828 | input.consume(); |
@@ -837,10 +859,10 @@ public class InternalProblemLexer extends Lexer { | |||
837 | try { | 859 | try { |
838 | int _type = RULE_ID; | 860 | int _type = RULE_ID; |
839 | int _channel = DEFAULT_TOKEN_CHANNEL; | 861 | int _channel = DEFAULT_TOKEN_CHANNEL; |
840 | // InternalProblem.g:1646:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) | 862 | // InternalProblem.g:1899:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) |
841 | // InternalProblem.g:1646:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | 863 | // InternalProblem.g:1899:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* |
842 | { | 864 | { |
843 | // InternalProblem.g:1646:11: ( '^' )? | 865 | // InternalProblem.g:1899:11: ( '^' )? |
844 | int alt3=2; | 866 | int alt3=2; |
845 | int LA3_0 = input.LA(1); | 867 | int LA3_0 = input.LA(1); |
846 | 868 | ||
@@ -849,7 +871,7 @@ public class InternalProblemLexer extends Lexer { | |||
849 | } | 871 | } |
850 | switch (alt3) { | 872 | switch (alt3) { |
851 | case 1 : | 873 | case 1 : |
852 | // InternalProblem.g:1646:11: '^' | 874 | // InternalProblem.g:1899:11: '^' |
853 | { | 875 | { |
854 | match('^'); | 876 | match('^'); |
855 | 877 | ||
@@ -867,7 +889,7 @@ public class InternalProblemLexer extends Lexer { | |||
867 | recover(mse); | 889 | recover(mse); |
868 | throw mse;} | 890 | throw mse;} |
869 | 891 | ||
870 | // InternalProblem.g:1646:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | 892 | // InternalProblem.g:1899:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* |
871 | loop4: | 893 | loop4: |
872 | do { | 894 | do { |
873 | int alt4=2; | 895 | int alt4=2; |
@@ -916,10 +938,10 @@ public class InternalProblemLexer extends Lexer { | |||
916 | try { | 938 | try { |
917 | int _type = RULE_INT; | 939 | int _type = RULE_INT; |
918 | int _channel = DEFAULT_TOKEN_CHANNEL; | 940 | int _channel = DEFAULT_TOKEN_CHANNEL; |
919 | // InternalProblem.g:1648:10: ( ( '0' .. '9' )+ ) | 941 | // InternalProblem.g:1901:10: ( ( '0' .. '9' )+ ) |
920 | // InternalProblem.g:1648:12: ( '0' .. '9' )+ | 942 | // InternalProblem.g:1901:12: ( '0' .. '9' )+ |
921 | { | 943 | { |
922 | // InternalProblem.g:1648:12: ( '0' .. '9' )+ | 944 | // InternalProblem.g:1901:12: ( '0' .. '9' )+ |
923 | int cnt5=0; | 945 | int cnt5=0; |
924 | loop5: | 946 | loop5: |
925 | do { | 947 | do { |
@@ -933,7 +955,7 @@ public class InternalProblemLexer extends Lexer { | |||
933 | 955 | ||
934 | switch (alt5) { | 956 | switch (alt5) { |
935 | case 1 : | 957 | case 1 : |
936 | // InternalProblem.g:1648:13: '0' .. '9' | 958 | // InternalProblem.g:1901:13: '0' .. '9' |
937 | { | 959 | { |
938 | matchRange('0','9'); | 960 | matchRange('0','9'); |
939 | 961 | ||
@@ -965,12 +987,12 @@ public class InternalProblemLexer extends Lexer { | |||
965 | try { | 987 | try { |
966 | int _type = RULE_ML_COMMENT; | 988 | int _type = RULE_ML_COMMENT; |
967 | int _channel = DEFAULT_TOKEN_CHANNEL; | 989 | int _channel = DEFAULT_TOKEN_CHANNEL; |
968 | // InternalProblem.g:1650:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) | 990 | // InternalProblem.g:1903:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) |
969 | // InternalProblem.g:1650:19: '/*' ( options {greedy=false; } : . )* '*/' | 991 | // InternalProblem.g:1903:19: '/*' ( options {greedy=false; } : . )* '*/' |
970 | { | 992 | { |
971 | match("/*"); | 993 | match("/*"); |
972 | 994 | ||
973 | // InternalProblem.g:1650:24: ( options {greedy=false; } : . )* | 995 | // InternalProblem.g:1903:24: ( options {greedy=false; } : . )* |
974 | loop6: | 996 | loop6: |
975 | do { | 997 | do { |
976 | int alt6=2; | 998 | int alt6=2; |
@@ -995,7 +1017,7 @@ public class InternalProblemLexer extends Lexer { | |||
995 | 1017 | ||
996 | switch (alt6) { | 1018 | switch (alt6) { |
997 | case 1 : | 1019 | case 1 : |
998 | // InternalProblem.g:1650:52: . | 1020 | // InternalProblem.g:1903:52: . |
999 | { | 1021 | { |
1000 | matchAny(); | 1022 | matchAny(); |
1001 | 1023 | ||
@@ -1025,12 +1047,12 @@ public class InternalProblemLexer extends Lexer { | |||
1025 | try { | 1047 | try { |
1026 | int _type = RULE_SL_COMMENT; | 1048 | int _type = RULE_SL_COMMENT; |
1027 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1049 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1028 | // InternalProblem.g:1652:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) | 1050 | // InternalProblem.g:1905:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) |
1029 | // InternalProblem.g:1652:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? | 1051 | // InternalProblem.g:1905:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? |
1030 | { | 1052 | { |
1031 | match("//"); | 1053 | match("//"); |
1032 | 1054 | ||
1033 | // InternalProblem.g:1652:24: (~ ( ( '\\n' | '\\r' ) ) )* | 1055 | // InternalProblem.g:1905:24: (~ ( ( '\\n' | '\\r' ) ) )* |
1034 | loop7: | 1056 | loop7: |
1035 | do { | 1057 | do { |
1036 | int alt7=2; | 1058 | int alt7=2; |
@@ -1043,7 +1065,7 @@ public class InternalProblemLexer extends Lexer { | |||
1043 | 1065 | ||
1044 | switch (alt7) { | 1066 | switch (alt7) { |
1045 | case 1 : | 1067 | case 1 : |
1046 | // InternalProblem.g:1652:24: ~ ( ( '\\n' | '\\r' ) ) | 1068 | // InternalProblem.g:1905:24: ~ ( ( '\\n' | '\\r' ) ) |
1047 | { | 1069 | { |
1048 | 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') ) { | 1070 | 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') ) { |
1049 | input.consume(); | 1071 | input.consume(); |
@@ -1063,7 +1085,7 @@ public class InternalProblemLexer extends Lexer { | |||
1063 | } | 1085 | } |
1064 | } while (true); | 1086 | } while (true); |
1065 | 1087 | ||
1066 | // InternalProblem.g:1652:40: ( ( '\\r' )? '\\n' )? | 1088 | // InternalProblem.g:1905:40: ( ( '\\r' )? '\\n' )? |
1067 | int alt9=2; | 1089 | int alt9=2; |
1068 | int LA9_0 = input.LA(1); | 1090 | int LA9_0 = input.LA(1); |
1069 | 1091 | ||
@@ -1072,9 +1094,9 @@ public class InternalProblemLexer extends Lexer { | |||
1072 | } | 1094 | } |
1073 | switch (alt9) { | 1095 | switch (alt9) { |
1074 | case 1 : | 1096 | case 1 : |
1075 | // InternalProblem.g:1652:41: ( '\\r' )? '\\n' | 1097 | // InternalProblem.g:1905:41: ( '\\r' )? '\\n' |
1076 | { | 1098 | { |
1077 | // InternalProblem.g:1652:41: ( '\\r' )? | 1099 | // InternalProblem.g:1905:41: ( '\\r' )? |
1078 | int alt8=2; | 1100 | int alt8=2; |
1079 | int LA8_0 = input.LA(1); | 1101 | int LA8_0 = input.LA(1); |
1080 | 1102 | ||
@@ -1083,7 +1105,7 @@ public class InternalProblemLexer extends Lexer { | |||
1083 | } | 1105 | } |
1084 | switch (alt8) { | 1106 | switch (alt8) { |
1085 | case 1 : | 1107 | case 1 : |
1086 | // InternalProblem.g:1652:41: '\\r' | 1108 | // InternalProblem.g:1905:41: '\\r' |
1087 | { | 1109 | { |
1088 | match('\r'); | 1110 | match('\r'); |
1089 | 1111 | ||
@@ -1115,10 +1137,10 @@ public class InternalProblemLexer extends Lexer { | |||
1115 | try { | 1137 | try { |
1116 | int _type = RULE_WS; | 1138 | int _type = RULE_WS; |
1117 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1139 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1118 | // InternalProblem.g:1654:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) | 1140 | // InternalProblem.g:1907:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) |
1119 | // InternalProblem.g:1654:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ | 1141 | // InternalProblem.g:1907:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ |
1120 | { | 1142 | { |
1121 | // InternalProblem.g:1654:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ | 1143 | // InternalProblem.g:1907:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ |
1122 | int cnt10=0; | 1144 | int cnt10=0; |
1123 | loop10: | 1145 | loop10: |
1124 | do { | 1146 | do { |
@@ -1172,8 +1194,8 @@ public class InternalProblemLexer extends Lexer { | |||
1172 | try { | 1194 | try { |
1173 | int _type = RULE_ANY_OTHER; | 1195 | int _type = RULE_ANY_OTHER; |
1174 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1196 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1175 | // InternalProblem.g:1656:16: ( . ) | 1197 | // InternalProblem.g:1909:16: ( . ) |
1176 | // InternalProblem.g:1656:18: . | 1198 | // InternalProblem.g:1909:18: . |
1177 | { | 1199 | { |
1178 | matchAny(); | 1200 | matchAny(); |
1179 | 1201 | ||
@@ -1188,8 +1210,8 @@ public class InternalProblemLexer extends Lexer { | |||
1188 | // $ANTLR end "RULE_ANY_OTHER" | 1210 | // $ANTLR end "RULE_ANY_OTHER" |
1189 | 1211 | ||
1190 | public void mTokens() throws RecognitionException { | 1212 | public void mTokens() throws RecognitionException { |
1191 | // InternalProblem.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | RULE_STRING | RULE_QUOTED_ID | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) | 1213 | // InternalProblem.g:1:8: ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | RULE_STRING | RULE_QUOTED_ID | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) |
1192 | int alt11=39; | 1214 | int alt11=40; |
1193 | alt11 = dfa11.predict(input); | 1215 | alt11 = dfa11.predict(input); |
1194 | switch (alt11) { | 1216 | switch (alt11) { |
1195 | case 1 : | 1217 | case 1 : |
@@ -1410,56 +1432,63 @@ public class InternalProblemLexer extends Lexer { | |||
1410 | } | 1432 | } |
1411 | break; | 1433 | break; |
1412 | case 32 : | 1434 | case 32 : |
1413 | // InternalProblem.g:1:196: RULE_STRING | 1435 | // InternalProblem.g:1:196: T__43 |
1414 | { | 1436 | { |
1415 | mRULE_STRING(); | 1437 | mT__43(); |
1416 | 1438 | ||
1417 | } | 1439 | } |
1418 | break; | 1440 | break; |
1419 | case 33 : | 1441 | case 33 : |
1420 | // InternalProblem.g:1:208: RULE_QUOTED_ID | 1442 | // InternalProblem.g:1:202: RULE_STRING |
1421 | { | 1443 | { |
1422 | mRULE_QUOTED_ID(); | 1444 | mRULE_STRING(); |
1423 | 1445 | ||
1424 | } | 1446 | } |
1425 | break; | 1447 | break; |
1426 | case 34 : | 1448 | case 34 : |
1427 | // InternalProblem.g:1:223: RULE_ID | 1449 | // InternalProblem.g:1:214: RULE_QUOTED_ID |
1428 | { | 1450 | { |
1429 | mRULE_ID(); | 1451 | mRULE_QUOTED_ID(); |
1430 | 1452 | ||
1431 | } | 1453 | } |
1432 | break; | 1454 | break; |
1433 | case 35 : | 1455 | case 35 : |
1434 | // InternalProblem.g:1:231: RULE_INT | 1456 | // InternalProblem.g:1:229: RULE_ID |
1435 | { | 1457 | { |
1436 | mRULE_INT(); | 1458 | mRULE_ID(); |
1437 | 1459 | ||
1438 | } | 1460 | } |
1439 | break; | 1461 | break; |
1440 | case 36 : | 1462 | case 36 : |
1441 | // InternalProblem.g:1:240: RULE_ML_COMMENT | 1463 | // InternalProblem.g:1:237: RULE_INT |
1442 | { | 1464 | { |
1443 | mRULE_ML_COMMENT(); | 1465 | mRULE_INT(); |
1444 | 1466 | ||
1445 | } | 1467 | } |
1446 | break; | 1468 | break; |
1447 | case 37 : | 1469 | case 37 : |
1448 | // InternalProblem.g:1:256: RULE_SL_COMMENT | 1470 | // InternalProblem.g:1:246: RULE_ML_COMMENT |
1449 | { | 1471 | { |
1450 | mRULE_SL_COMMENT(); | 1472 | mRULE_ML_COMMENT(); |
1451 | 1473 | ||
1452 | } | 1474 | } |
1453 | break; | 1475 | break; |
1454 | case 38 : | 1476 | case 38 : |
1455 | // InternalProblem.g:1:272: RULE_WS | 1477 | // InternalProblem.g:1:262: RULE_SL_COMMENT |
1456 | { | 1478 | { |
1457 | mRULE_WS(); | 1479 | mRULE_SL_COMMENT(); |
1458 | 1480 | ||
1459 | } | 1481 | } |
1460 | break; | 1482 | break; |
1461 | case 39 : | 1483 | case 39 : |
1462 | // InternalProblem.g:1:280: RULE_ANY_OTHER | 1484 | // InternalProblem.g:1:278: RULE_WS |
1485 | { | ||
1486 | mRULE_WS(); | ||
1487 | |||
1488 | } | ||
1489 | break; | ||
1490 | case 40 : | ||
1491 | // InternalProblem.g:1:286: RULE_ANY_OTHER | ||
1463 | { | 1492 | { |
1464 | mRULE_ANY_OTHER(); | 1493 | mRULE_ANY_OTHER(); |
1465 | 1494 | ||
@@ -1473,69 +1502,70 @@ public class InternalProblemLexer extends Lexer { | |||
1473 | 1502 | ||
1474 | protected DFA11 dfa11 = new DFA11(this); | 1503 | protected DFA11 dfa11 = new DFA11(this); |
1475 | static final String DFA11_eotS = | 1504 | static final String DFA11_eotS = |
1476 | "\1\uffff\1\43\1\45\3\43\4\uffff\1\43\2\uffff\1\43\2\uffff\1\66\1\uffff\1\71\1\43\2\uffff\3\43\1\uffff\3\41\2\uffff\1\41\2\uffff\1\43\3\uffff\5\43\4\uffff\1\43\2\uffff\1\43\7\uffff\1\43\2\uffff\3\43\7\uffff\16\43\1\142\10\43\1\153\3\43\1\uffff\1\43\1\160\2\43\1\163\2\43\1\166\1\uffff\1\167\3\43\1\uffff\2\43\1\uffff\1\175\1\43\2\uffff\1\43\1\u0080\2\43\1\u0083\1\uffff\1\43\1\u0085\1\uffff\1\u0086\1\u0087\1\uffff\1\u0088\4\uffff"; | 1505 | "\1\uffff\1\43\1\45\3\43\4\uffff\1\43\2\uffff\1\43\2\uffff\1\67\1\uffff\1\72\1\43\2\uffff\3\43\1\uffff\3\41\2\uffff\1\41\2\uffff\1\43\3\uffff\6\43\4\uffff\1\43\2\uffff\1\43\7\uffff\1\43\2\uffff\3\43\7\uffff\17\43\1\145\4\43\1\152\4\43\1\157\3\43\1\uffff\1\43\1\164\2\43\1\uffff\1\167\2\43\1\172\1\uffff\1\173\3\43\1\uffff\2\43\1\uffff\1\u0081\1\43\2\uffff\1\43\1\u0084\2\43\1\u0087\1\uffff\1\43\1\u0089\1\uffff\1\u008a\1\u008b\1\uffff\1\u008c\4\uffff"; |
1477 | static final String DFA11_eofS = | 1506 | static final String DFA11_eofS = |
1478 | "\u0089\uffff"; | 1507 | "\u008d\uffff"; |
1479 | static final String DFA11_minS = | 1508 | static final String DFA11_minS = |
1480 | "\1\0\1\162\1\56\1\142\1\154\1\162\4\uffff\1\145\2\uffff\1\160\2\uffff\1\55\1\uffff\1\75\1\143\2\uffff\1\162\1\141\1\156\1\uffff\2\0\1\101\2\uffff\1\52\2\uffff\1\145\3\uffff\1\163\1\141\1\156\1\164\1\162\4\uffff\1\146\2\uffff\1\160\7\uffff\1\157\2\uffff\1\165\1\154\1\153\7\uffff\1\142\1\144\1\164\1\163\1\164\1\145\1\157\1\145\1\157\1\160\1\145\1\163\1\156\1\154\1\60\1\162\1\163\1\141\1\156\2\162\1\163\1\145\1\60\1\145\1\157\1\145\1\uffff\1\141\1\60\1\151\1\144\1\60\1\163\1\151\1\60\1\uffff\1\60\1\167\1\155\1\143\1\uffff\1\156\1\163\1\uffff\1\60\1\164\2\uffff\1\156\1\60\1\164\1\163\1\60\1\uffff\1\145\1\60\1\uffff\2\60\1\uffff\1\60\4\uffff"; | 1509 | "\1\0\1\162\1\56\1\142\1\154\1\156\4\uffff\1\145\2\uffff\1\160\2\uffff\1\55\1\uffff\1\75\1\143\2\uffff\1\162\1\141\1\156\1\uffff\2\0\1\101\2\uffff\1\52\2\uffff\1\145\3\uffff\1\163\1\141\1\156\1\164\1\165\1\162\4\uffff\1\146\2\uffff\1\160\7\uffff\1\157\2\uffff\1\165\1\154\1\153\7\uffff\1\142\1\144\1\164\1\163\1\164\1\145\1\155\1\157\1\145\1\157\1\160\1\145\1\163\1\156\1\154\1\60\1\162\1\163\1\141\1\156\1\60\2\162\1\163\1\145\1\60\1\145\1\157\1\145\1\uffff\1\141\1\60\1\151\1\144\1\uffff\1\60\1\163\1\151\1\60\1\uffff\1\60\1\167\1\155\1\143\1\uffff\1\156\1\163\1\uffff\1\60\1\164\2\uffff\1\156\1\60\1\164\1\163\1\60\1\uffff\1\145\1\60\1\uffff\2\60\1\uffff\1\60\4\uffff"; |
1481 | static final String DFA11_maxS = | 1510 | static final String DFA11_maxS = |
1482 | "\1\uffff\1\162\1\56\1\142\1\157\1\170\4\uffff\1\145\2\uffff\1\160\2\uffff\1\55\1\uffff\1\75\1\143\2\uffff\1\162\1\141\1\156\1\uffff\2\uffff\1\172\2\uffff\1\57\2\uffff\1\157\3\uffff\1\163\1\141\1\156\1\164\1\162\4\uffff\1\146\2\uffff\1\160\7\uffff\1\157\2\uffff\1\165\1\154\1\153\7\uffff\1\142\1\144\1\164\1\163\1\164\1\145\1\157\1\145\1\157\1\160\1\145\1\163\1\156\1\154\1\172\1\162\1\163\1\141\1\156\2\162\1\163\1\145\1\172\1\145\1\157\1\145\1\uffff\1\141\1\172\1\151\1\144\1\172\1\163\1\151\1\172\1\uffff\1\172\1\167\1\155\1\143\1\uffff\1\156\1\163\1\uffff\1\172\1\164\2\uffff\1\156\1\172\1\164\1\163\1\172\1\uffff\1\145\1\172\1\uffff\2\172\1\uffff\1\172\4\uffff"; | 1511 | "\1\uffff\1\162\1\56\1\142\1\157\1\170\4\uffff\1\145\2\uffff\1\160\2\uffff\1\55\1\uffff\1\75\1\143\2\uffff\1\162\1\141\1\156\1\uffff\2\uffff\1\172\2\uffff\1\57\2\uffff\1\157\3\uffff\1\163\1\141\1\156\1\164\1\165\1\162\4\uffff\1\146\2\uffff\1\160\7\uffff\1\157\2\uffff\1\165\1\154\1\153\7\uffff\1\142\1\144\1\164\1\163\1\164\1\145\1\155\1\157\1\145\1\157\1\160\1\145\1\163\1\156\1\154\1\172\1\162\1\163\1\141\1\156\1\172\2\162\1\163\1\145\1\172\1\145\1\157\1\145\1\uffff\1\141\1\172\1\151\1\144\1\uffff\1\172\1\163\1\151\1\172\1\uffff\1\172\1\167\1\155\1\143\1\uffff\1\156\1\163\1\uffff\1\172\1\164\2\uffff\1\156\1\172\1\164\1\163\1\172\1\uffff\1\145\1\172\1\uffff\2\172\1\uffff\1\172\4\uffff"; |
1483 | static final String DFA11_acceptS = | 1512 | static final String DFA11_acceptS = |
1484 | "\6\uffff\1\6\1\7\1\10\1\11\1\uffff\1\14\1\15\1\uffff\1\21\1\22\1\uffff\1\24\2\uffff\1\31\1\33\3\uffff\1\37\3\uffff\1\42\1\43\1\uffff\1\46\1\47\1\uffff\1\42\1\32\1\2\5\uffff\1\6\1\7\1\10\1\11\1\uffff\1\14\1\15\1\uffff\1\21\1\22\1\23\1\26\1\24\1\30\1\25\1\uffff\1\31\1\33\3\uffff\1\37\1\40\1\41\1\43\1\44\1\45\1\46\33\uffff\1\20\10\uffff\1\34\4\uffff\1\4\2\uffff\1\17\2\uffff\1\27\1\35\5\uffff\1\13\2\uffff\1\1\2\uffff\1\5\1\uffff\1\36\1\3\1\12\1\16"; | 1513 | "\6\uffff\1\6\1\7\1\10\1\11\1\uffff\1\15\1\16\1\uffff\1\22\1\23\1\uffff\1\25\2\uffff\1\32\1\34\3\uffff\1\40\3\uffff\1\43\1\44\1\uffff\1\47\1\50\1\uffff\1\43\1\33\1\2\6\uffff\1\6\1\7\1\10\1\11\1\uffff\1\15\1\16\1\uffff\1\22\1\23\1\24\1\27\1\25\1\31\1\26\1\uffff\1\32\1\34\3\uffff\1\40\1\41\1\42\1\44\1\45\1\46\1\47\35\uffff\1\21\4\uffff\1\12\4\uffff\1\35\4\uffff\1\4\2\uffff\1\20\2\uffff\1\30\1\36\5\uffff\1\14\2\uffff\1\1\2\uffff\1\5\1\uffff\1\37\1\3\1\13\1\17"; |
1485 | static final String DFA11_specialS = | 1514 | static final String DFA11_specialS = |
1486 | "\1\1\31\uffff\1\2\1\0\155\uffff}>"; | 1515 | "\1\2\31\uffff\1\1\1\0\161\uffff}>"; |
1487 | static final String[] DFA11_transitionS = { | 1516 | static final String[] DFA11_transitionS = { |
1488 | "\11\41\2\40\2\41\1\40\22\41\1\40\1\21\1\32\4\41\1\33\1\16\1\17\1\25\1\22\1\6\1\41\1\2\1\37\12\36\1\20\1\10\1\41\1\24\1\41\1\31\1\41\32\35\1\13\1\41\1\14\1\34\1\35\1\41\1\3\1\35\1\4\1\35\1\5\1\27\10\35\1\15\1\1\1\35\1\12\1\23\1\26\1\30\5\35\1\7\1\41\1\11\uff82\41", | 1517 | "\11\41\2\40\2\41\1\40\22\41\1\40\1\21\1\32\4\41\1\33\1\16\1\17\1\25\1\22\1\6\1\41\1\2\1\37\12\36\1\20\1\10\1\41\1\24\1\41\1\31\1\41\32\35\1\13\1\41\1\14\1\34\1\35\1\41\1\3\1\35\1\4\1\35\1\5\1\27\10\35\1\15\1\1\1\35\1\12\1\23\1\26\1\30\5\35\1\7\1\41\1\11\uff82\41", |
1489 | "\1\42", | 1518 | "\1\42", |
1490 | "\1\44", | 1519 | "\1\44", |
1491 | "\1\46", | 1520 | "\1\46", |
1492 | "\1\47\2\uffff\1\50", | 1521 | "\1\47\2\uffff\1\50", |
1493 | "\1\52\5\uffff\1\51", | 1522 | "\1\52\3\uffff\1\53\5\uffff\1\51", |
1494 | "", | 1523 | "", |
1495 | "", | 1524 | "", |
1496 | "", | 1525 | "", |
1497 | "", | 1526 | "", |
1498 | "\1\57", | 1527 | "\1\60", |
1499 | "", | 1528 | "", |
1500 | "", | 1529 | "", |
1501 | "\1\62", | 1530 | "\1\63", |
1502 | "", | 1531 | "", |
1503 | "", | 1532 | "", |
1504 | "\1\65", | 1533 | "\1\66", |
1505 | "", | 1534 | "", |
1506 | "\1\70", | 1535 | "\1\71", |
1507 | "\1\72", | 1536 | "\1\73", |
1508 | "", | 1537 | "", |
1509 | "", | 1538 | "", |
1510 | "\1\75", | ||
1511 | "\1\76", | 1539 | "\1\76", |
1512 | "\1\77", | 1540 | "\1\77", |
1541 | "\1\100", | ||
1513 | "", | 1542 | "", |
1514 | "\0\101", | ||
1515 | "\0\102", | 1543 | "\0\102", |
1544 | "\0\103", | ||
1516 | "\32\43\4\uffff\1\43\1\uffff\32\43", | 1545 | "\32\43\4\uffff\1\43\1\uffff\32\43", |
1517 | "", | 1546 | "", |
1518 | "", | 1547 | "", |
1519 | "\1\104\4\uffff\1\105", | 1548 | "\1\105\4\uffff\1\106", |
1520 | "", | 1549 | "", |
1521 | "", | 1550 | "", |
1522 | "\1\110\11\uffff\1\107", | 1551 | "\1\111\11\uffff\1\110", |
1523 | "", | 1552 | "", |
1524 | "", | 1553 | "", |
1525 | "", | 1554 | "", |
1526 | "\1\111", | ||
1527 | "\1\112", | 1555 | "\1\112", |
1528 | "\1\113", | 1556 | "\1\113", |
1529 | "\1\114", | 1557 | "\1\114", |
1530 | "\1\115", | 1558 | "\1\115", |
1559 | "\1\116", | ||
1560 | "\1\117", | ||
1531 | "", | 1561 | "", |
1532 | "", | 1562 | "", |
1533 | "", | 1563 | "", |
1534 | "", | 1564 | "", |
1535 | "\1\116", | 1565 | "\1\120", |
1536 | "", | 1566 | "", |
1537 | "", | 1567 | "", |
1538 | "\1\117", | 1568 | "\1\121", |
1539 | "", | 1569 | "", |
1540 | "", | 1570 | "", |
1541 | "", | 1571 | "", |
@@ -1543,12 +1573,12 @@ public class InternalProblemLexer extends Lexer { | |||
1543 | "", | 1573 | "", |
1544 | "", | 1574 | "", |
1545 | "", | 1575 | "", |
1546 | "\1\120", | 1576 | "\1\122", |
1547 | "", | 1577 | "", |
1548 | "", | 1578 | "", |
1549 | "\1\121", | ||
1550 | "\1\122", | ||
1551 | "\1\123", | 1579 | "\1\123", |
1580 | "\1\124", | ||
1581 | "\1\125", | ||
1552 | "", | 1582 | "", |
1553 | "", | 1583 | "", |
1554 | "", | 1584 | "", |
@@ -1556,8 +1586,6 @@ public class InternalProblemLexer extends Lexer { | |||
1556 | "", | 1586 | "", |
1557 | "", | 1587 | "", |
1558 | "", | 1588 | "", |
1559 | "\1\124", | ||
1560 | "\1\125", | ||
1561 | "\1\126", | 1589 | "\1\126", |
1562 | "\1\127", | 1590 | "\1\127", |
1563 | "\1\130", | 1591 | "\1\130", |
@@ -1570,48 +1598,53 @@ public class InternalProblemLexer extends Lexer { | |||
1570 | "\1\137", | 1598 | "\1\137", |
1571 | "\1\140", | 1599 | "\1\140", |
1572 | "\1\141", | 1600 | "\1\141", |
1573 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", | 1601 | "\1\142", |
1574 | "\1\143", | 1602 | "\1\143", |
1575 | "\1\144", | 1603 | "\1\144", |
1576 | "\1\145", | 1604 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", |
1577 | "\1\146", | 1605 | "\1\146", |
1578 | "\1\147", | 1606 | "\1\147", |
1579 | "\1\150", | 1607 | "\1\150", |
1580 | "\1\151", | 1608 | "\1\151", |
1581 | "\1\152", | ||
1582 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", | 1609 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", |
1610 | "\1\153", | ||
1583 | "\1\154", | 1611 | "\1\154", |
1584 | "\1\155", | 1612 | "\1\155", |
1585 | "\1\156", | 1613 | "\1\156", |
1586 | "", | ||
1587 | "\1\157", | ||
1588 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", | 1614 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", |
1615 | "\1\160", | ||
1589 | "\1\161", | 1616 | "\1\161", |
1590 | "\1\162", | 1617 | "\1\162", |
1618 | "", | ||
1619 | "\1\163", | ||
1591 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", | 1620 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", |
1592 | "\1\164", | ||
1593 | "\1\165", | 1621 | "\1\165", |
1594 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", | 1622 | "\1\166", |
1595 | "", | 1623 | "", |
1596 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", | 1624 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", |
1597 | "\1\170", | 1625 | "\1\170", |
1598 | "\1\171", | 1626 | "\1\171", |
1599 | "\1\172", | 1627 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", |
1600 | "", | ||
1601 | "\1\173", | ||
1602 | "\1\174", | ||
1603 | "", | 1628 | "", |
1604 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", | 1629 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", |
1630 | "\1\174", | ||
1631 | "\1\175", | ||
1605 | "\1\176", | 1632 | "\1\176", |
1606 | "", | 1633 | "", |
1607 | "", | ||
1608 | "\1\177", | 1634 | "\1\177", |
1635 | "\1\u0080", | ||
1636 | "", | ||
1609 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", | 1637 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", |
1610 | "\1\u0081", | ||
1611 | "\1\u0082", | 1638 | "\1\u0082", |
1639 | "", | ||
1640 | "", | ||
1641 | "\1\u0083", | ||
1642 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", | ||
1643 | "\1\u0085", | ||
1644 | "\1\u0086", | ||
1612 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", | 1645 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", |
1613 | "", | 1646 | "", |
1614 | "\1\u0084", | 1647 | "\1\u0088", |
1615 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", | 1648 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", |
1616 | "", | 1649 | "", |
1617 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", | 1650 | "\12\43\7\uffff\32\43\4\uffff\1\43\1\uffff\32\43", |
@@ -1654,7 +1687,7 @@ public class InternalProblemLexer extends Lexer { | |||
1654 | this.transition = DFA11_transition; | 1687 | this.transition = DFA11_transition; |
1655 | } | 1688 | } |
1656 | public String getDescription() { | 1689 | public String getDescription() { |
1657 | return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | RULE_STRING | RULE_QUOTED_ID | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; | 1690 | return "1:1: Tokens : ( T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | RULE_STRING | RULE_QUOTED_ID | RULE_ID | RULE_INT | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; |
1658 | } | 1691 | } |
1659 | public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { | 1692 | public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
1660 | IntStream input = _input; | 1693 | IntStream input = _input; |
@@ -1664,13 +1697,23 @@ public class InternalProblemLexer extends Lexer { | |||
1664 | int LA11_27 = input.LA(1); | 1697 | int LA11_27 = input.LA(1); |
1665 | 1698 | ||
1666 | s = -1; | 1699 | s = -1; |
1667 | if ( ((LA11_27>='\u0000' && LA11_27<='\uFFFF')) ) {s = 66;} | 1700 | if ( ((LA11_27>='\u0000' && LA11_27<='\uFFFF')) ) {s = 67;} |
1668 | 1701 | ||
1669 | else s = 33; | 1702 | else s = 33; |
1670 | 1703 | ||
1671 | if ( s>=0 ) return s; | 1704 | if ( s>=0 ) return s; |
1672 | break; | 1705 | break; |
1673 | case 1 : | 1706 | case 1 : |
1707 | int LA11_26 = input.LA(1); | ||
1708 | |||
1709 | s = -1; | ||
1710 | if ( ((LA11_26>='\u0000' && LA11_26<='\uFFFF')) ) {s = 66;} | ||
1711 | |||
1712 | else s = 33; | ||
1713 | |||
1714 | if ( s>=0 ) return s; | ||
1715 | break; | ||
1716 | case 2 : | ||
1674 | int LA11_0 = input.LA(1); | 1717 | int LA11_0 = input.LA(1); |
1675 | 1718 | ||
1676 | s = -1; | 1719 | s = -1; |
@@ -1742,16 +1785,6 @@ public class InternalProblemLexer extends Lexer { | |||
1742 | 1785 | ||
1743 | if ( s>=0 ) return s; | 1786 | if ( s>=0 ) return s; |
1744 | break; | 1787 | break; |
1745 | case 2 : | ||
1746 | int LA11_26 = input.LA(1); | ||
1747 | |||
1748 | s = -1; | ||
1749 | if ( ((LA11_26>='\u0000' && LA11_26<='\uFFFF')) ) {s = 65;} | ||
1750 | |||
1751 | else s = 33; | ||
1752 | |||
1753 | if ( s>=0 ) return s; | ||
1754 | break; | ||
1755 | } | 1788 | } |
1756 | NoViableAltException nvae = | 1789 | NoViableAltException nvae = |
1757 | new NoViableAltException(getDescription(), 11, _s, input); | 1790 | new NoViableAltException(getDescription(), 11, _s, input); |