diff options
Diffstat (limited to 'language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemParser.java')
-rw-r--r-- | language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemParser.java | 972 |
1 files changed, 387 insertions, 585 deletions
diff --git a/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemParser.java b/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemParser.java index f0a69c90..cddaa9c1 100644 --- a/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemParser.java +++ b/language/src/main/xtext-gen/org/eclipse/viatra/solver/language/parser/antlr/internal/InternalProblemParser.java | |||
@@ -22,16 +22,16 @@ import java.util.ArrayList; | |||
22 | @SuppressWarnings("all") | 22 | @SuppressWarnings("all") |
23 | public class InternalProblemParser extends AbstractInternalAntlrParser { | 23 | public class InternalProblemParser extends AbstractInternalAntlrParser { |
24 | public static final String[] tokenNames = new String[] { | 24 | public static final String[] tokenNames = new String[] { |
25 | "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_STRING", "RULE_ID", "RULE_INT", "RULE_QUOTED_ID", "RULE_SL_COMMENT", "RULE_ML_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'problem'", "'.'", "'abstract'", "'class'", "'extends'", "','", "'{'", "';'", "'}'", "'enum'", "'contains'", "'refers'", "'['", "']'", "'opposite'", "'error'", "'pred'", "'('", "')'", "':-'", "'!'", "'+'", "':'", "'scope'", "'+='", "'='", "'..'", "'*'", "'::'", "'true'", "'false'", "'e'", "'E'", "'-'", "'unknown'", "'?'" | 25 | "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_STRING", "RULE_ID", "RULE_INT", "RULE_QUOTED_ID", "RULE_EXPONENTIAL", "RULE_SL_COMMENT", "RULE_ML_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'problem'", "'.'", "'abstract'", "'class'", "'extends'", "','", "'{'", "';'", "'}'", "'enum'", "'contains'", "'refers'", "'['", "']'", "'opposite'", "'error'", "'pred'", "'('", "')'", "':-'", "'!'", "'+'", "':'", "'scope'", "'+='", "'='", "'..'", "'*'", "'::'", "'true'", "'false'", "'-'", "'unknown'", "'?'" |
26 | }; | 26 | }; |
27 | public static final int T__19=19; | 27 | public static final int T__19=19; |
28 | public static final int T__15=15; | 28 | public static final int T__15=15; |
29 | public static final int T__16=16; | 29 | public static final int T__16=16; |
30 | public static final int T__17=17; | 30 | public static final int T__17=17; |
31 | public static final int T__18=18; | 31 | public static final int T__18=18; |
32 | public static final int T__12=12; | ||
33 | public static final int T__13=13; | 32 | public static final int T__13=13; |
34 | public static final int T__14=14; | 33 | public static final int T__14=14; |
34 | public static final int RULE_EXPONENTIAL=8; | ||
35 | public static final int RULE_ID=5; | 35 | public static final int RULE_ID=5; |
36 | public static final int RULE_QUOTED_ID=7; | 36 | public static final int RULE_QUOTED_ID=7; |
37 | public static final int T__26=26; | 37 | public static final int T__26=26; |
@@ -40,14 +40,14 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
40 | public static final int RULE_INT=6; | 40 | public static final int RULE_INT=6; |
41 | public static final int T__29=29; | 41 | public static final int T__29=29; |
42 | public static final int T__22=22; | 42 | public static final int T__22=22; |
43 | public static final int RULE_ML_COMMENT=9; | 43 | public static final int RULE_ML_COMMENT=10; |
44 | public static final int T__23=23; | 44 | public static final int T__23=23; |
45 | public static final int T__24=24; | 45 | public static final int T__24=24; |
46 | public static final int T__25=25; | 46 | public static final int T__25=25; |
47 | public static final int T__20=20; | 47 | public static final int T__20=20; |
48 | public static final int T__21=21; | 48 | public static final int T__21=21; |
49 | public static final int RULE_STRING=4; | 49 | public static final int RULE_STRING=4; |
50 | public static final int RULE_SL_COMMENT=8; | 50 | public static final int RULE_SL_COMMENT=9; |
51 | public static final int T__37=37; | 51 | public static final int T__37=37; |
52 | public static final int T__38=38; | 52 | public static final int T__38=38; |
53 | public static final int T__39=39; | 53 | public static final int T__39=39; |
@@ -59,12 +59,11 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
59 | public static final int T__30=30; | 59 | public static final int T__30=30; |
60 | public static final int T__31=31; | 60 | public static final int T__31=31; |
61 | public static final int T__32=32; | 61 | public static final int T__32=32; |
62 | public static final int RULE_WS=10; | 62 | public static final int RULE_WS=11; |
63 | public static final int RULE_ANY_OTHER=11; | 63 | public static final int RULE_ANY_OTHER=12; |
64 | public static final int T__44=44; | 64 | public static final int T__44=44; |
65 | public static final int T__45=45; | 65 | public static final int T__45=45; |
66 | public static final int T__46=46; | 66 | public static final int T__46=46; |
67 | public static final int T__47=47; | ||
68 | public static final int T__40=40; | 67 | public static final int T__40=40; |
69 | public static final int T__41=41; | 68 | public static final int T__41=41; |
70 | public static final int T__42=42; | 69 | public static final int T__42=42; |
@@ -171,14 +170,14 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
171 | int alt1=2; | 170 | int alt1=2; |
172 | int LA1_0 = input.LA(1); | 171 | int LA1_0 = input.LA(1); |
173 | 172 | ||
174 | if ( (LA1_0==12) ) { | 173 | if ( (LA1_0==13) ) { |
175 | alt1=1; | 174 | alt1=1; |
176 | } | 175 | } |
177 | switch (alt1) { | 176 | switch (alt1) { |
178 | case 1 : | 177 | case 1 : |
179 | // InternalProblem.g:81:4: otherlv_0= 'problem' ( (lv_name_1_0= ruleIdentifier ) ) otherlv_2= '.' | 178 | // InternalProblem.g:81:4: otherlv_0= 'problem' ( (lv_name_1_0= ruleIdentifier ) ) otherlv_2= '.' |
180 | { | 179 | { |
181 | otherlv_0=(Token)match(input,12,FOLLOW_3); | 180 | otherlv_0=(Token)match(input,13,FOLLOW_3); |
182 | 181 | ||
183 | newLeafNode(otherlv_0, grammarAccess.getProblemAccess().getProblemKeyword_0_0()); | 182 | newLeafNode(otherlv_0, grammarAccess.getProblemAccess().getProblemKeyword_0_0()); |
184 | 183 | ||
@@ -213,7 +212,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
213 | 212 | ||
214 | } | 213 | } |
215 | 214 | ||
216 | otherlv_2=(Token)match(input,13,FOLLOW_5); | 215 | otherlv_2=(Token)match(input,14,FOLLOW_5); |
217 | 216 | ||
218 | newLeafNode(otherlv_2, grammarAccess.getProblemAccess().getFullStopKeyword_0_2()); | 217 | newLeafNode(otherlv_2, grammarAccess.getProblemAccess().getFullStopKeyword_0_2()); |
219 | 218 | ||
@@ -229,7 +228,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
229 | int alt2=2; | 228 | int alt2=2; |
230 | int LA2_0 = input.LA(1); | 229 | int LA2_0 = input.LA(1); |
231 | 230 | ||
232 | if ( (LA2_0==RULE_ID||LA2_0==RULE_QUOTED_ID||(LA2_0>=14 && LA2_0<=15)||LA2_0==21||(LA2_0>=27 && LA2_0<=28)||LA2_0==32||LA2_0==35||(LA2_0>=41 && LA2_0<=44)||LA2_0==47) ) { | 231 | if ( (LA2_0==RULE_ID||LA2_0==RULE_QUOTED_ID||(LA2_0>=15 && LA2_0<=16)||LA2_0==22||(LA2_0>=28 && LA2_0<=29)||LA2_0==33||LA2_0==36||(LA2_0>=42 && LA2_0<=43)||LA2_0==46) ) { |
233 | alt2=1; | 232 | alt2=1; |
234 | } | 233 | } |
235 | 234 | ||
@@ -557,7 +556,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
557 | int alt4=2; | 556 | int alt4=2; |
558 | int LA4_0 = input.LA(1); | 557 | int LA4_0 = input.LA(1); |
559 | 558 | ||
560 | if ( (LA4_0==14) ) { | 559 | if ( (LA4_0==15) ) { |
561 | alt4=1; | 560 | alt4=1; |
562 | } | 561 | } |
563 | switch (alt4) { | 562 | switch (alt4) { |
@@ -567,7 +566,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
567 | // InternalProblem.g:220:4: (lv_abstract_0_0= 'abstract' ) | 566 | // InternalProblem.g:220:4: (lv_abstract_0_0= 'abstract' ) |
568 | // InternalProblem.g:221:5: lv_abstract_0_0= 'abstract' | 567 | // InternalProblem.g:221:5: lv_abstract_0_0= 'abstract' |
569 | { | 568 | { |
570 | lv_abstract_0_0=(Token)match(input,14,FOLLOW_6); | 569 | lv_abstract_0_0=(Token)match(input,15,FOLLOW_6); |
571 | 570 | ||
572 | newLeafNode(lv_abstract_0_0, grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); | 571 | newLeafNode(lv_abstract_0_0, grammarAccess.getClassDeclarationAccess().getAbstractAbstractKeyword_0_0()); |
573 | 572 | ||
@@ -586,7 +585,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
586 | 585 | ||
587 | } | 586 | } |
588 | 587 | ||
589 | otherlv_1=(Token)match(input,15,FOLLOW_3); | 588 | otherlv_1=(Token)match(input,16,FOLLOW_3); |
590 | 589 | ||
591 | newLeafNode(otherlv_1, grammarAccess.getClassDeclarationAccess().getClassKeyword_1()); | 590 | newLeafNode(otherlv_1, grammarAccess.getClassDeclarationAccess().getClassKeyword_1()); |
592 | 591 | ||
@@ -625,14 +624,14 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
625 | int alt6=2; | 624 | int alt6=2; |
626 | int LA6_0 = input.LA(1); | 625 | int LA6_0 = input.LA(1); |
627 | 626 | ||
628 | if ( (LA6_0==16) ) { | 627 | if ( (LA6_0==17) ) { |
629 | alt6=1; | 628 | alt6=1; |
630 | } | 629 | } |
631 | switch (alt6) { | 630 | switch (alt6) { |
632 | case 1 : | 631 | case 1 : |
633 | // InternalProblem.g:257:4: otherlv_3= 'extends' ( ( ruleQualifiedName ) ) (otherlv_5= ',' ( ( ruleQualifiedName ) ) )* | 632 | // InternalProblem.g:257:4: otherlv_3= 'extends' ( ( ruleQualifiedName ) ) (otherlv_5= ',' ( ( ruleQualifiedName ) ) )* |
634 | { | 633 | { |
635 | otherlv_3=(Token)match(input,16,FOLLOW_8); | 634 | otherlv_3=(Token)match(input,17,FOLLOW_8); |
636 | 635 | ||
637 | newLeafNode(otherlv_3, grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0()); | 636 | newLeafNode(otherlv_3, grammarAccess.getClassDeclarationAccess().getExtendsKeyword_3_0()); |
638 | 637 | ||
@@ -670,7 +669,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
670 | int alt5=2; | 669 | int alt5=2; |
671 | int LA5_0 = input.LA(1); | 670 | int LA5_0 = input.LA(1); |
672 | 671 | ||
673 | if ( (LA5_0==17) ) { | 672 | if ( (LA5_0==18) ) { |
674 | alt5=1; | 673 | alt5=1; |
675 | } | 674 | } |
676 | 675 | ||
@@ -679,7 +678,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
679 | case 1 : | 678 | case 1 : |
680 | // InternalProblem.g:278:5: otherlv_5= ',' ( ( ruleQualifiedName ) ) | 679 | // InternalProblem.g:278:5: otherlv_5= ',' ( ( ruleQualifiedName ) ) |
681 | { | 680 | { |
682 | otherlv_5=(Token)match(input,17,FOLLOW_8); | 681 | otherlv_5=(Token)match(input,18,FOLLOW_8); |
683 | 682 | ||
684 | newLeafNode(otherlv_5, grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_2_0()); | 683 | newLeafNode(otherlv_5, grammarAccess.getClassDeclarationAccess().getCommaKeyword_3_2_0()); |
685 | 684 | ||
@@ -730,10 +729,10 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
730 | int alt9=2; | 729 | int alt9=2; |
731 | int LA9_0 = input.LA(1); | 730 | int LA9_0 = input.LA(1); |
732 | 731 | ||
733 | if ( (LA9_0==18) ) { | 732 | if ( (LA9_0==19) ) { |
734 | alt9=1; | 733 | alt9=1; |
735 | } | 734 | } |
736 | else if ( (LA9_0==13) ) { | 735 | else if ( (LA9_0==14) ) { |
737 | alt9=2; | 736 | alt9=2; |
738 | } | 737 | } |
739 | else { | 738 | else { |
@@ -749,7 +748,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
749 | // InternalProblem.g:301:4: (otherlv_7= '{' ( ( (lv_referenceDeclarations_8_0= ruleReferenceDeclaration ) ) (otherlv_9= ';' )? )* otherlv_10= '}' ) | 748 | // InternalProblem.g:301:4: (otherlv_7= '{' ( ( (lv_referenceDeclarations_8_0= ruleReferenceDeclaration ) ) (otherlv_9= ';' )? )* otherlv_10= '}' ) |
750 | // InternalProblem.g:302:5: otherlv_7= '{' ( ( (lv_referenceDeclarations_8_0= ruleReferenceDeclaration ) ) (otherlv_9= ';' )? )* otherlv_10= '}' | 749 | // InternalProblem.g:302:5: otherlv_7= '{' ( ( (lv_referenceDeclarations_8_0= ruleReferenceDeclaration ) ) (otherlv_9= ';' )? )* otherlv_10= '}' |
751 | { | 750 | { |
752 | otherlv_7=(Token)match(input,18,FOLLOW_10); | 751 | otherlv_7=(Token)match(input,19,FOLLOW_10); |
753 | 752 | ||
754 | newLeafNode(otherlv_7, grammarAccess.getClassDeclarationAccess().getLeftCurlyBracketKeyword_4_0_0()); | 753 | newLeafNode(otherlv_7, grammarAccess.getClassDeclarationAccess().getLeftCurlyBracketKeyword_4_0_0()); |
755 | 754 | ||
@@ -759,7 +758,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
759 | int alt8=2; | 758 | int alt8=2; |
760 | int LA8_0 = input.LA(1); | 759 | int LA8_0 = input.LA(1); |
761 | 760 | ||
762 | if ( (LA8_0==RULE_ID||LA8_0==RULE_QUOTED_ID||(LA8_0>=22 && LA8_0<=23)||(LA8_0>=41 && LA8_0<=44)) ) { | 761 | if ( (LA8_0==RULE_ID||LA8_0==RULE_QUOTED_ID||(LA8_0>=23 && LA8_0<=24)||(LA8_0>=42 && LA8_0<=43)) ) { |
763 | alt8=1; | 762 | alt8=1; |
764 | } | 763 | } |
765 | 764 | ||
@@ -803,14 +802,14 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
803 | int alt7=2; | 802 | int alt7=2; |
804 | int LA7_0 = input.LA(1); | 803 | int LA7_0 = input.LA(1); |
805 | 804 | ||
806 | if ( (LA7_0==19) ) { | 805 | if ( (LA7_0==20) ) { |
807 | alt7=1; | 806 | alt7=1; |
808 | } | 807 | } |
809 | switch (alt7) { | 808 | switch (alt7) { |
810 | case 1 : | 809 | case 1 : |
811 | // InternalProblem.g:327:7: otherlv_9= ';' | 810 | // InternalProblem.g:327:7: otherlv_9= ';' |
812 | { | 811 | { |
813 | otherlv_9=(Token)match(input,19,FOLLOW_10); | 812 | otherlv_9=(Token)match(input,20,FOLLOW_10); |
814 | 813 | ||
815 | newLeafNode(otherlv_9, grammarAccess.getClassDeclarationAccess().getSemicolonKeyword_4_0_1_1()); | 814 | newLeafNode(otherlv_9, grammarAccess.getClassDeclarationAccess().getSemicolonKeyword_4_0_1_1()); |
816 | 815 | ||
@@ -829,7 +828,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
829 | } | 828 | } |
830 | } while (true); | 829 | } while (true); |
831 | 830 | ||
832 | otherlv_10=(Token)match(input,20,FOLLOW_2); | 831 | otherlv_10=(Token)match(input,21,FOLLOW_2); |
833 | 832 | ||
834 | newLeafNode(otherlv_10, grammarAccess.getClassDeclarationAccess().getRightCurlyBracketKeyword_4_0_2()); | 833 | newLeafNode(otherlv_10, grammarAccess.getClassDeclarationAccess().getRightCurlyBracketKeyword_4_0_2()); |
835 | 834 | ||
@@ -842,7 +841,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
842 | case 2 : | 841 | case 2 : |
843 | // InternalProblem.g:339:4: otherlv_11= '.' | 842 | // InternalProblem.g:339:4: otherlv_11= '.' |
844 | { | 843 | { |
845 | otherlv_11=(Token)match(input,13,FOLLOW_2); | 844 | otherlv_11=(Token)match(input,14,FOLLOW_2); |
846 | 845 | ||
847 | newLeafNode(otherlv_11, grammarAccess.getClassDeclarationAccess().getFullStopKeyword_4_1()); | 846 | newLeafNode(otherlv_11, grammarAccess.getClassDeclarationAccess().getFullStopKeyword_4_1()); |
848 | 847 | ||
@@ -939,7 +938,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
939 | // InternalProblem.g:362:2: (otherlv_0= 'enum' ( (lv_name_1_0= ruleIdentifier ) ) ( (otherlv_2= '{' ( ( (lv_literals_3_0= ruleEnumLiteral ) ) (otherlv_4= ',' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* (otherlv_6= ',' | otherlv_7= ';' )? )? otherlv_8= '}' ) | otherlv_9= '.' ) ) | 938 | // InternalProblem.g:362:2: (otherlv_0= 'enum' ( (lv_name_1_0= ruleIdentifier ) ) ( (otherlv_2= '{' ( ( (lv_literals_3_0= ruleEnumLiteral ) ) (otherlv_4= ',' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* (otherlv_6= ',' | otherlv_7= ';' )? )? otherlv_8= '}' ) | otherlv_9= '.' ) ) |
940 | // InternalProblem.g:363:3: otherlv_0= 'enum' ( (lv_name_1_0= ruleIdentifier ) ) ( (otherlv_2= '{' ( ( (lv_literals_3_0= ruleEnumLiteral ) ) (otherlv_4= ',' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* (otherlv_6= ',' | otherlv_7= ';' )? )? otherlv_8= '}' ) | otherlv_9= '.' ) | 939 | // InternalProblem.g:363:3: otherlv_0= 'enum' ( (lv_name_1_0= ruleIdentifier ) ) ( (otherlv_2= '{' ( ( (lv_literals_3_0= ruleEnumLiteral ) ) (otherlv_4= ',' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* (otherlv_6= ',' | otherlv_7= ';' )? )? otherlv_8= '}' ) | otherlv_9= '.' ) |
941 | { | 940 | { |
942 | otherlv_0=(Token)match(input,21,FOLLOW_3); | 941 | otherlv_0=(Token)match(input,22,FOLLOW_3); |
943 | 942 | ||
944 | newLeafNode(otherlv_0, grammarAccess.getEnumDeclarationAccess().getEnumKeyword_0()); | 943 | newLeafNode(otherlv_0, grammarAccess.getEnumDeclarationAccess().getEnumKeyword_0()); |
945 | 944 | ||
@@ -978,10 +977,10 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
978 | int alt13=2; | 977 | int alt13=2; |
979 | int LA13_0 = input.LA(1); | 978 | int LA13_0 = input.LA(1); |
980 | 979 | ||
981 | if ( (LA13_0==18) ) { | 980 | if ( (LA13_0==19) ) { |
982 | alt13=1; | 981 | alt13=1; |
983 | } | 982 | } |
984 | else if ( (LA13_0==13) ) { | 983 | else if ( (LA13_0==14) ) { |
985 | alt13=2; | 984 | alt13=2; |
986 | } | 985 | } |
987 | else { | 986 | else { |
@@ -997,7 +996,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
997 | // InternalProblem.g:387:4: (otherlv_2= '{' ( ( (lv_literals_3_0= ruleEnumLiteral ) ) (otherlv_4= ',' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* (otherlv_6= ',' | otherlv_7= ';' )? )? otherlv_8= '}' ) | 996 | // InternalProblem.g:387:4: (otherlv_2= '{' ( ( (lv_literals_3_0= ruleEnumLiteral ) ) (otherlv_4= ',' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* (otherlv_6= ',' | otherlv_7= ';' )? )? otherlv_8= '}' ) |
998 | // InternalProblem.g:388:5: otherlv_2= '{' ( ( (lv_literals_3_0= ruleEnumLiteral ) ) (otherlv_4= ',' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* (otherlv_6= ',' | otherlv_7= ';' )? )? otherlv_8= '}' | 997 | // InternalProblem.g:388:5: otherlv_2= '{' ( ( (lv_literals_3_0= ruleEnumLiteral ) ) (otherlv_4= ',' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* (otherlv_6= ',' | otherlv_7= ';' )? )? otherlv_8= '}' |
999 | { | 998 | { |
1000 | otherlv_2=(Token)match(input,18,FOLLOW_13); | 999 | otherlv_2=(Token)match(input,19,FOLLOW_13); |
1001 | 1000 | ||
1002 | newLeafNode(otherlv_2, grammarAccess.getEnumDeclarationAccess().getLeftCurlyBracketKeyword_2_0_0()); | 1001 | newLeafNode(otherlv_2, grammarAccess.getEnumDeclarationAccess().getLeftCurlyBracketKeyword_2_0_0()); |
1003 | 1002 | ||
@@ -1005,7 +1004,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1005 | int alt12=2; | 1004 | int alt12=2; |
1006 | int LA12_0 = input.LA(1); | 1005 | int LA12_0 = input.LA(1); |
1007 | 1006 | ||
1008 | if ( (LA12_0==RULE_ID||(LA12_0>=41 && LA12_0<=44)) ) { | 1007 | if ( (LA12_0==RULE_ID||(LA12_0>=42 && LA12_0<=43)) ) { |
1009 | alt12=1; | 1008 | alt12=1; |
1010 | } | 1009 | } |
1011 | switch (alt12) { | 1010 | switch (alt12) { |
@@ -1049,10 +1048,10 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1049 | int alt10=2; | 1048 | int alt10=2; |
1050 | int LA10_0 = input.LA(1); | 1049 | int LA10_0 = input.LA(1); |
1051 | 1050 | ||
1052 | if ( (LA10_0==17) ) { | 1051 | if ( (LA10_0==18) ) { |
1053 | int LA10_1 = input.LA(2); | 1052 | int LA10_1 = input.LA(2); |
1054 | 1053 | ||
1055 | if ( (LA10_1==RULE_ID||(LA10_1>=41 && LA10_1<=44)) ) { | 1054 | if ( (LA10_1==RULE_ID||(LA10_1>=42 && LA10_1<=43)) ) { |
1056 | alt10=1; | 1055 | alt10=1; |
1057 | } | 1056 | } |
1058 | 1057 | ||
@@ -1064,7 +1063,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1064 | case 1 : | 1063 | case 1 : |
1065 | // InternalProblem.g:413:7: otherlv_4= ',' ( (lv_literals_5_0= ruleEnumLiteral ) ) | 1064 | // InternalProblem.g:413:7: otherlv_4= ',' ( (lv_literals_5_0= ruleEnumLiteral ) ) |
1066 | { | 1065 | { |
1067 | otherlv_4=(Token)match(input,17,FOLLOW_3); | 1066 | otherlv_4=(Token)match(input,18,FOLLOW_3); |
1068 | 1067 | ||
1069 | newLeafNode(otherlv_4, grammarAccess.getEnumDeclarationAccess().getCommaKeyword_2_0_1_1_0()); | 1068 | newLeafNode(otherlv_4, grammarAccess.getEnumDeclarationAccess().getCommaKeyword_2_0_1_1_0()); |
1070 | 1069 | ||
@@ -1112,17 +1111,17 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1112 | int alt11=3; | 1111 | int alt11=3; |
1113 | int LA11_0 = input.LA(1); | 1112 | int LA11_0 = input.LA(1); |
1114 | 1113 | ||
1115 | if ( (LA11_0==17) ) { | 1114 | if ( (LA11_0==18) ) { |
1116 | alt11=1; | 1115 | alt11=1; |
1117 | } | 1116 | } |
1118 | else if ( (LA11_0==19) ) { | 1117 | else if ( (LA11_0==20) ) { |
1119 | alt11=2; | 1118 | alt11=2; |
1120 | } | 1119 | } |
1121 | switch (alt11) { | 1120 | switch (alt11) { |
1122 | case 1 : | 1121 | case 1 : |
1123 | // InternalProblem.g:438:7: otherlv_6= ',' | 1122 | // InternalProblem.g:438:7: otherlv_6= ',' |
1124 | { | 1123 | { |
1125 | otherlv_6=(Token)match(input,17,FOLLOW_15); | 1124 | otherlv_6=(Token)match(input,18,FOLLOW_15); |
1126 | 1125 | ||
1127 | newLeafNode(otherlv_6, grammarAccess.getEnumDeclarationAccess().getCommaKeyword_2_0_1_2_0()); | 1126 | newLeafNode(otherlv_6, grammarAccess.getEnumDeclarationAccess().getCommaKeyword_2_0_1_2_0()); |
1128 | 1127 | ||
@@ -1132,7 +1131,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1132 | case 2 : | 1131 | case 2 : |
1133 | // InternalProblem.g:443:7: otherlv_7= ';' | 1132 | // InternalProblem.g:443:7: otherlv_7= ';' |
1134 | { | 1133 | { |
1135 | otherlv_7=(Token)match(input,19,FOLLOW_15); | 1134 | otherlv_7=(Token)match(input,20,FOLLOW_15); |
1136 | 1135 | ||
1137 | newLeafNode(otherlv_7, grammarAccess.getEnumDeclarationAccess().getSemicolonKeyword_2_0_1_2_1()); | 1136 | newLeafNode(otherlv_7, grammarAccess.getEnumDeclarationAccess().getSemicolonKeyword_2_0_1_2_1()); |
1138 | 1137 | ||
@@ -1148,7 +1147,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1148 | 1147 | ||
1149 | } | 1148 | } |
1150 | 1149 | ||
1151 | otherlv_8=(Token)match(input,20,FOLLOW_2); | 1150 | otherlv_8=(Token)match(input,21,FOLLOW_2); |
1152 | 1151 | ||
1153 | newLeafNode(otherlv_8, grammarAccess.getEnumDeclarationAccess().getRightCurlyBracketKeyword_2_0_2()); | 1152 | newLeafNode(otherlv_8, grammarAccess.getEnumDeclarationAccess().getRightCurlyBracketKeyword_2_0_2()); |
1154 | 1153 | ||
@@ -1161,7 +1160,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1161 | case 2 : | 1160 | case 2 : |
1162 | // InternalProblem.g:455:4: otherlv_9= '.' | 1161 | // InternalProblem.g:455:4: otherlv_9= '.' |
1163 | { | 1162 | { |
1164 | otherlv_9=(Token)match(input,13,FOLLOW_2); | 1163 | otherlv_9=(Token)match(input,14,FOLLOW_2); |
1165 | 1164 | ||
1166 | newLeafNode(otherlv_9, grammarAccess.getEnumDeclarationAccess().getFullStopKeyword_2_1()); | 1165 | newLeafNode(otherlv_9, grammarAccess.getEnumDeclarationAccess().getFullStopKeyword_2_1()); |
1167 | 1166 | ||
@@ -1359,10 +1358,10 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1359 | int alt14=3; | 1358 | int alt14=3; |
1360 | int LA14_0 = input.LA(1); | 1359 | int LA14_0 = input.LA(1); |
1361 | 1360 | ||
1362 | if ( (LA14_0==22) ) { | 1361 | if ( (LA14_0==23) ) { |
1363 | alt14=1; | 1362 | alt14=1; |
1364 | } | 1363 | } |
1365 | else if ( (LA14_0==23) ) { | 1364 | else if ( (LA14_0==24) ) { |
1366 | alt14=2; | 1365 | alt14=2; |
1367 | } | 1366 | } |
1368 | switch (alt14) { | 1367 | switch (alt14) { |
@@ -1375,7 +1374,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1375 | // InternalProblem.g:517:5: (lv_containment_0_0= 'contains' ) | 1374 | // InternalProblem.g:517:5: (lv_containment_0_0= 'contains' ) |
1376 | // InternalProblem.g:518:6: lv_containment_0_0= 'contains' | 1375 | // InternalProblem.g:518:6: lv_containment_0_0= 'contains' |
1377 | { | 1376 | { |
1378 | lv_containment_0_0=(Token)match(input,22,FOLLOW_8); | 1377 | lv_containment_0_0=(Token)match(input,23,FOLLOW_8); |
1379 | 1378 | ||
1380 | newLeafNode(lv_containment_0_0, grammarAccess.getReferenceDeclarationAccess().getContainmentContainsKeyword_0_0_0()); | 1379 | newLeafNode(lv_containment_0_0, grammarAccess.getReferenceDeclarationAccess().getContainmentContainsKeyword_0_0_0()); |
1381 | 1380 | ||
@@ -1397,7 +1396,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1397 | case 2 : | 1396 | case 2 : |
1398 | // InternalProblem.g:531:4: otherlv_1= 'refers' | 1397 | // InternalProblem.g:531:4: otherlv_1= 'refers' |
1399 | { | 1398 | { |
1400 | otherlv_1=(Token)match(input,23,FOLLOW_8); | 1399 | otherlv_1=(Token)match(input,24,FOLLOW_8); |
1401 | 1400 | ||
1402 | newLeafNode(otherlv_1, grammarAccess.getReferenceDeclarationAccess().getRefersKeyword_0_1()); | 1401 | newLeafNode(otherlv_1, grammarAccess.getReferenceDeclarationAccess().getRefersKeyword_0_1()); |
1403 | 1402 | ||
@@ -1439,14 +1438,14 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1439 | int alt15=2; | 1438 | int alt15=2; |
1440 | int LA15_0 = input.LA(1); | 1439 | int LA15_0 = input.LA(1); |
1441 | 1440 | ||
1442 | if ( (LA15_0==24) ) { | 1441 | if ( (LA15_0==25) ) { |
1443 | alt15=1; | 1442 | alt15=1; |
1444 | } | 1443 | } |
1445 | switch (alt15) { | 1444 | switch (alt15) { |
1446 | case 1 : | 1445 | case 1 : |
1447 | // InternalProblem.g:553:4: otherlv_3= '[' ( (lv_multiplicity_4_0= ruleMultiplicity ) ) otherlv_5= ']' | 1446 | // InternalProblem.g:553:4: otherlv_3= '[' ( (lv_multiplicity_4_0= ruleMultiplicity ) ) otherlv_5= ']' |
1448 | { | 1447 | { |
1449 | otherlv_3=(Token)match(input,24,FOLLOW_17); | 1448 | otherlv_3=(Token)match(input,25,FOLLOW_17); |
1450 | 1449 | ||
1451 | newLeafNode(otherlv_3, grammarAccess.getReferenceDeclarationAccess().getLeftSquareBracketKeyword_2_0()); | 1450 | newLeafNode(otherlv_3, grammarAccess.getReferenceDeclarationAccess().getLeftSquareBracketKeyword_2_0()); |
1452 | 1451 | ||
@@ -1481,7 +1480,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1481 | 1480 | ||
1482 | } | 1481 | } |
1483 | 1482 | ||
1484 | otherlv_5=(Token)match(input,25,FOLLOW_3); | 1483 | otherlv_5=(Token)match(input,26,FOLLOW_3); |
1485 | 1484 | ||
1486 | newLeafNode(otherlv_5, grammarAccess.getReferenceDeclarationAccess().getRightSquareBracketKeyword_2_2()); | 1485 | newLeafNode(otherlv_5, grammarAccess.getReferenceDeclarationAccess().getRightSquareBracketKeyword_2_2()); |
1487 | 1486 | ||
@@ -1526,14 +1525,14 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1526 | int alt16=2; | 1525 | int alt16=2; |
1527 | int LA16_0 = input.LA(1); | 1526 | int LA16_0 = input.LA(1); |
1528 | 1527 | ||
1529 | if ( (LA16_0==26) ) { | 1528 | if ( (LA16_0==27) ) { |
1530 | alt16=1; | 1529 | alt16=1; |
1531 | } | 1530 | } |
1532 | switch (alt16) { | 1531 | switch (alt16) { |
1533 | case 1 : | 1532 | case 1 : |
1534 | // InternalProblem.g:601:4: otherlv_7= 'opposite' ( ( ruleQualifiedName ) ) | 1533 | // InternalProblem.g:601:4: otherlv_7= 'opposite' ( ( ruleQualifiedName ) ) |
1535 | { | 1534 | { |
1536 | otherlv_7=(Token)match(input,26,FOLLOW_8); | 1535 | otherlv_7=(Token)match(input,27,FOLLOW_8); |
1537 | 1536 | ||
1538 | newLeafNode(otherlv_7, grammarAccess.getReferenceDeclarationAccess().getOppositeKeyword_4_0()); | 1537 | newLeafNode(otherlv_7, grammarAccess.getReferenceDeclarationAccess().getOppositeKeyword_4_0()); |
1539 | 1538 | ||
@@ -1668,10 +1667,10 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1668 | int alt18=2; | 1667 | int alt18=2; |
1669 | int LA18_0 = input.LA(1); | 1668 | int LA18_0 = input.LA(1); |
1670 | 1669 | ||
1671 | if ( (LA18_0==27) ) { | 1670 | if ( (LA18_0==28) ) { |
1672 | alt18=1; | 1671 | alt18=1; |
1673 | } | 1672 | } |
1674 | else if ( (LA18_0==28) ) { | 1673 | else if ( (LA18_0==29) ) { |
1675 | alt18=2; | 1674 | alt18=2; |
1676 | } | 1675 | } |
1677 | else { | 1676 | else { |
@@ -1693,7 +1692,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1693 | // InternalProblem.g:644:6: (lv_error_0_0= 'error' ) | 1692 | // InternalProblem.g:644:6: (lv_error_0_0= 'error' ) |
1694 | // InternalProblem.g:645:7: lv_error_0_0= 'error' | 1693 | // InternalProblem.g:645:7: lv_error_0_0= 'error' |
1695 | { | 1694 | { |
1696 | lv_error_0_0=(Token)match(input,27,FOLLOW_20); | 1695 | lv_error_0_0=(Token)match(input,28,FOLLOW_20); |
1697 | 1696 | ||
1698 | newLeafNode(lv_error_0_0, grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_0_0()); | 1697 | newLeafNode(lv_error_0_0, grammarAccess.getPredicateDefinitionAccess().getErrorErrorKeyword_0_0_0_0()); |
1699 | 1698 | ||
@@ -1713,14 +1712,14 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1713 | int alt17=2; | 1712 | int alt17=2; |
1714 | int LA17_0 = input.LA(1); | 1713 | int LA17_0 = input.LA(1); |
1715 | 1714 | ||
1716 | if ( (LA17_0==28) ) { | 1715 | if ( (LA17_0==29) ) { |
1717 | alt17=1; | 1716 | alt17=1; |
1718 | } | 1717 | } |
1719 | switch (alt17) { | 1718 | switch (alt17) { |
1720 | case 1 : | 1719 | case 1 : |
1721 | // InternalProblem.g:658:6: otherlv_1= 'pred' | 1720 | // InternalProblem.g:658:6: otherlv_1= 'pred' |
1722 | { | 1721 | { |
1723 | otherlv_1=(Token)match(input,28,FOLLOW_3); | 1722 | otherlv_1=(Token)match(input,29,FOLLOW_3); |
1724 | 1723 | ||
1725 | newLeafNode(otherlv_1, grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_0_1()); | 1724 | newLeafNode(otherlv_1, grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_0_1()); |
1726 | 1725 | ||
@@ -1739,7 +1738,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1739 | case 2 : | 1738 | case 2 : |
1740 | // InternalProblem.g:665:4: otherlv_2= 'pred' | 1739 | // InternalProblem.g:665:4: otherlv_2= 'pred' |
1741 | { | 1740 | { |
1742 | otherlv_2=(Token)match(input,28,FOLLOW_3); | 1741 | otherlv_2=(Token)match(input,29,FOLLOW_3); |
1743 | 1742 | ||
1744 | newLeafNode(otherlv_2, grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_1()); | 1743 | newLeafNode(otherlv_2, grammarAccess.getPredicateDefinitionAccess().getPredKeyword_0_1()); |
1745 | 1744 | ||
@@ -1780,7 +1779,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1780 | 1779 | ||
1781 | } | 1780 | } |
1782 | 1781 | ||
1783 | otherlv_4=(Token)match(input,29,FOLLOW_22); | 1782 | otherlv_4=(Token)match(input,30,FOLLOW_22); |
1784 | 1783 | ||
1785 | newLeafNode(otherlv_4, grammarAccess.getPredicateDefinitionAccess().getLeftParenthesisKeyword_2()); | 1784 | newLeafNode(otherlv_4, grammarAccess.getPredicateDefinitionAccess().getLeftParenthesisKeyword_2()); |
1786 | 1785 | ||
@@ -1788,7 +1787,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1788 | int alt20=2; | 1787 | int alt20=2; |
1789 | int LA20_0 = input.LA(1); | 1788 | int LA20_0 = input.LA(1); |
1790 | 1789 | ||
1791 | if ( (LA20_0==RULE_ID||LA20_0==RULE_QUOTED_ID||(LA20_0>=41 && LA20_0<=44)) ) { | 1790 | if ( (LA20_0==RULE_ID||LA20_0==RULE_QUOTED_ID||(LA20_0>=42 && LA20_0<=43)) ) { |
1792 | alt20=1; | 1791 | alt20=1; |
1793 | } | 1792 | } |
1794 | switch (alt20) { | 1793 | switch (alt20) { |
@@ -1832,7 +1831,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1832 | int alt19=2; | 1831 | int alt19=2; |
1833 | int LA19_0 = input.LA(1); | 1832 | int LA19_0 = input.LA(1); |
1834 | 1833 | ||
1835 | if ( (LA19_0==17) ) { | 1834 | if ( (LA19_0==18) ) { |
1836 | alt19=1; | 1835 | alt19=1; |
1837 | } | 1836 | } |
1838 | 1837 | ||
@@ -1841,7 +1840,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1841 | case 1 : | 1840 | case 1 : |
1842 | // InternalProblem.g:714:5: otherlv_6= ',' ( (lv_parameters_7_0= ruleParameter ) ) | 1841 | // InternalProblem.g:714:5: otherlv_6= ',' ( (lv_parameters_7_0= ruleParameter ) ) |
1843 | { | 1842 | { |
1844 | otherlv_6=(Token)match(input,17,FOLLOW_8); | 1843 | otherlv_6=(Token)match(input,18,FOLLOW_8); |
1845 | 1844 | ||
1846 | newLeafNode(otherlv_6, grammarAccess.getPredicateDefinitionAccess().getCommaKeyword_3_1_0()); | 1845 | newLeafNode(otherlv_6, grammarAccess.getPredicateDefinitionAccess().getCommaKeyword_3_1_0()); |
1847 | 1846 | ||
@@ -1891,7 +1890,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1891 | 1890 | ||
1892 | } | 1891 | } |
1893 | 1892 | ||
1894 | otherlv_8=(Token)match(input,30,FOLLOW_24); | 1893 | otherlv_8=(Token)match(input,31,FOLLOW_24); |
1895 | 1894 | ||
1896 | newLeafNode(otherlv_8, grammarAccess.getPredicateDefinitionAccess().getRightParenthesisKeyword_4()); | 1895 | newLeafNode(otherlv_8, grammarAccess.getPredicateDefinitionAccess().getRightParenthesisKeyword_4()); |
1897 | 1896 | ||
@@ -1899,14 +1898,14 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1899 | int alt22=2; | 1898 | int alt22=2; |
1900 | int LA22_0 = input.LA(1); | 1899 | int LA22_0 = input.LA(1); |
1901 | 1900 | ||
1902 | if ( (LA22_0==31) ) { | 1901 | if ( (LA22_0==32) ) { |
1903 | alt22=1; | 1902 | alt22=1; |
1904 | } | 1903 | } |
1905 | switch (alt22) { | 1904 | switch (alt22) { |
1906 | case 1 : | 1905 | case 1 : |
1907 | // InternalProblem.g:744:4: otherlv_9= ':-' ( (lv_bodies_10_0= ruleConjunction ) ) (otherlv_11= ';' ( (lv_bodies_12_0= ruleConjunction ) ) )* | 1906 | // InternalProblem.g:744:4: otherlv_9= ':-' ( (lv_bodies_10_0= ruleConjunction ) ) (otherlv_11= ';' ( (lv_bodies_12_0= ruleConjunction ) ) )* |
1908 | { | 1907 | { |
1909 | otherlv_9=(Token)match(input,31,FOLLOW_25); | 1908 | otherlv_9=(Token)match(input,32,FOLLOW_25); |
1910 | 1909 | ||
1911 | newLeafNode(otherlv_9, grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_5_0()); | 1910 | newLeafNode(otherlv_9, grammarAccess.getPredicateDefinitionAccess().getColonHyphenMinusKeyword_5_0()); |
1912 | 1911 | ||
@@ -1947,7 +1946,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1947 | int alt21=2; | 1946 | int alt21=2; |
1948 | int LA21_0 = input.LA(1); | 1947 | int LA21_0 = input.LA(1); |
1949 | 1948 | ||
1950 | if ( (LA21_0==19) ) { | 1949 | if ( (LA21_0==20) ) { |
1951 | alt21=1; | 1950 | alt21=1; |
1952 | } | 1951 | } |
1953 | 1952 | ||
@@ -1956,7 +1955,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
1956 | case 1 : | 1955 | case 1 : |
1957 | // InternalProblem.g:768:5: otherlv_11= ';' ( (lv_bodies_12_0= ruleConjunction ) ) | 1956 | // InternalProblem.g:768:5: otherlv_11= ';' ( (lv_bodies_12_0= ruleConjunction ) ) |
1958 | { | 1957 | { |
1959 | otherlv_11=(Token)match(input,19,FOLLOW_25); | 1958 | otherlv_11=(Token)match(input,20,FOLLOW_25); |
1960 | 1959 | ||
1961 | newLeafNode(otherlv_11, grammarAccess.getPredicateDefinitionAccess().getSemicolonKeyword_5_2_0()); | 1960 | newLeafNode(otherlv_11, grammarAccess.getPredicateDefinitionAccess().getSemicolonKeyword_5_2_0()); |
1962 | 1961 | ||
@@ -2006,7 +2005,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
2006 | 2005 | ||
2007 | } | 2006 | } |
2008 | 2007 | ||
2009 | otherlv_13=(Token)match(input,13,FOLLOW_2); | 2008 | otherlv_13=(Token)match(input,14,FOLLOW_2); |
2010 | 2009 | ||
2011 | newLeafNode(otherlv_13, grammarAccess.getPredicateDefinitionAccess().getFullStopKeyword_6()); | 2010 | newLeafNode(otherlv_13, grammarAccess.getPredicateDefinitionAccess().getFullStopKeyword_6()); |
2012 | 2011 | ||
@@ -2098,43 +2097,25 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
2098 | { | 2097 | { |
2099 | int LA23_2 = input.LA(2); | 2098 | int LA23_2 = input.LA(2); |
2100 | 2099 | ||
2101 | if ( (LA23_2==RULE_ID||(LA23_2>=40 && LA23_2<=44)) ) { | 2100 | if ( (LA23_2==RULE_ID||(LA23_2>=41 && LA23_2<=43)) ) { |
2102 | alt23=1; | ||
2103 | } | ||
2104 | } | ||
2105 | break; | ||
2106 | case 41: | ||
2107 | { | ||
2108 | int LA23_3 = input.LA(2); | ||
2109 | |||
2110 | if ( (LA23_3==RULE_ID||(LA23_3>=40 && LA23_3<=44)) ) { | ||
2111 | alt23=1; | 2101 | alt23=1; |
2112 | } | 2102 | } |
2113 | } | 2103 | } |
2114 | break; | 2104 | break; |
2115 | case 42: | 2105 | case 42: |
2116 | { | 2106 | { |
2117 | int LA23_4 = input.LA(2); | 2107 | int LA23_3 = input.LA(2); |
2118 | 2108 | ||
2119 | if ( (LA23_4==RULE_ID||(LA23_4>=40 && LA23_4<=44)) ) { | 2109 | if ( (LA23_3==RULE_ID||(LA23_3>=41 && LA23_3<=43)) ) { |
2120 | alt23=1; | 2110 | alt23=1; |
2121 | } | 2111 | } |
2122 | } | 2112 | } |
2123 | break; | 2113 | break; |
2124 | case 43: | 2114 | case 43: |
2125 | { | 2115 | { |
2126 | int LA23_5 = input.LA(2); | 2116 | int LA23_4 = input.LA(2); |
2127 | |||
2128 | if ( (LA23_5==RULE_ID||(LA23_5>=40 && LA23_5<=44)) ) { | ||
2129 | alt23=1; | ||
2130 | } | ||
2131 | } | ||
2132 | break; | ||
2133 | case 44: | ||
2134 | { | ||
2135 | int LA23_6 = input.LA(2); | ||
2136 | 2117 | ||
2137 | if ( (LA23_6==RULE_ID||(LA23_6>=40 && LA23_6<=44)) ) { | 2118 | if ( (LA23_4==RULE_ID||(LA23_4>=41 && LA23_4<=43)) ) { |
2138 | alt23=1; | 2119 | alt23=1; |
2139 | } | 2120 | } |
2140 | } | 2121 | } |
@@ -2320,7 +2301,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
2320 | int alt24=2; | 2301 | int alt24=2; |
2321 | int LA24_0 = input.LA(1); | 2302 | int LA24_0 = input.LA(1); |
2322 | 2303 | ||
2323 | if ( (LA24_0==17) ) { | 2304 | if ( (LA24_0==18) ) { |
2324 | alt24=1; | 2305 | alt24=1; |
2325 | } | 2306 | } |
2326 | 2307 | ||
@@ -2329,7 +2310,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
2329 | case 1 : | 2310 | case 1 : |
2330 | // InternalProblem.g:890:4: otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) ) | 2311 | // InternalProblem.g:890:4: otherlv_1= ',' ( (lv_literals_2_0= ruleLiteral ) ) |
2331 | { | 2312 | { |
2332 | otherlv_1=(Token)match(input,17,FOLLOW_25); | 2313 | otherlv_1=(Token)match(input,18,FOLLOW_25); |
2333 | 2314 | ||
2334 | newLeafNode(otherlv_1, grammarAccess.getConjunctionAccess().getCommaKeyword_1_0()); | 2315 | newLeafNode(otherlv_1, grammarAccess.getConjunctionAccess().getCommaKeyword_1_0()); |
2335 | 2316 | ||
@@ -2452,10 +2433,10 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
2452 | int alt25=2; | 2433 | int alt25=2; |
2453 | int LA25_0 = input.LA(1); | 2434 | int LA25_0 = input.LA(1); |
2454 | 2435 | ||
2455 | if ( (LA25_0==RULE_ID||LA25_0==RULE_QUOTED_ID||(LA25_0>=41 && LA25_0<=44)) ) { | 2436 | if ( (LA25_0==RULE_ID||LA25_0==RULE_QUOTED_ID||(LA25_0>=42 && LA25_0<=43)) ) { |
2456 | alt25=1; | 2437 | alt25=1; |
2457 | } | 2438 | } |
2458 | else if ( (LA25_0==32) ) { | 2439 | else if ( (LA25_0==33) ) { |
2459 | alt25=2; | 2440 | alt25=2; |
2460 | } | 2441 | } |
2461 | else { | 2442 | else { |
@@ -2578,7 +2559,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
2578 | // InternalProblem.g:968:2: (otherlv_0= '!' ( (lv_atom_1_0= ruleAtom ) ) ) | 2559 | // InternalProblem.g:968:2: (otherlv_0= '!' ( (lv_atom_1_0= ruleAtom ) ) ) |
2579 | // InternalProblem.g:969:3: otherlv_0= '!' ( (lv_atom_1_0= ruleAtom ) ) | 2560 | // InternalProblem.g:969:3: otherlv_0= '!' ( (lv_atom_1_0= ruleAtom ) ) |
2580 | { | 2561 | { |
2581 | otherlv_0=(Token)match(input,32,FOLLOW_8); | 2562 | otherlv_0=(Token)match(input,33,FOLLOW_8); |
2582 | 2563 | ||
2583 | newLeafNode(otherlv_0, grammarAccess.getNegativeLiteralAccess().getExclamationMarkKeyword_0()); | 2564 | newLeafNode(otherlv_0, grammarAccess.getNegativeLiteralAccess().getExclamationMarkKeyword_0()); |
2584 | 2565 | ||
@@ -2727,7 +2708,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
2727 | int alt26=2; | 2708 | int alt26=2; |
2728 | int LA26_0 = input.LA(1); | 2709 | int LA26_0 = input.LA(1); |
2729 | 2710 | ||
2730 | if ( (LA26_0==33) ) { | 2711 | if ( (LA26_0==34) ) { |
2731 | alt26=1; | 2712 | alt26=1; |
2732 | } | 2713 | } |
2733 | switch (alt26) { | 2714 | switch (alt26) { |
@@ -2737,7 +2718,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
2737 | // InternalProblem.g:1028:4: (lv_transitiveClosure_1_0= '+' ) | 2718 | // InternalProblem.g:1028:4: (lv_transitiveClosure_1_0= '+' ) |
2738 | // InternalProblem.g:1029:5: lv_transitiveClosure_1_0= '+' | 2719 | // InternalProblem.g:1029:5: lv_transitiveClosure_1_0= '+' |
2739 | { | 2720 | { |
2740 | lv_transitiveClosure_1_0=(Token)match(input,33,FOLLOW_21); | 2721 | lv_transitiveClosure_1_0=(Token)match(input,34,FOLLOW_21); |
2741 | 2722 | ||
2742 | newLeafNode(lv_transitiveClosure_1_0, grammarAccess.getAtomAccess().getTransitiveClosurePlusSignKeyword_1_0()); | 2723 | newLeafNode(lv_transitiveClosure_1_0, grammarAccess.getAtomAccess().getTransitiveClosurePlusSignKeyword_1_0()); |
2743 | 2724 | ||
@@ -2756,7 +2737,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
2756 | 2737 | ||
2757 | } | 2738 | } |
2758 | 2739 | ||
2759 | otherlv_2=(Token)match(input,29,FOLLOW_29); | 2740 | otherlv_2=(Token)match(input,30,FOLLOW_29); |
2760 | 2741 | ||
2761 | newLeafNode(otherlv_2, grammarAccess.getAtomAccess().getLeftParenthesisKeyword_2()); | 2742 | newLeafNode(otherlv_2, grammarAccess.getAtomAccess().getLeftParenthesisKeyword_2()); |
2762 | 2743 | ||
@@ -2764,7 +2745,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
2764 | int alt28=2; | 2745 | int alt28=2; |
2765 | int LA28_0 = input.LA(1); | 2746 | int LA28_0 = input.LA(1); |
2766 | 2747 | ||
2767 | if ( ((LA28_0>=RULE_STRING && LA28_0<=RULE_QUOTED_ID)||(LA28_0>=41 && LA28_0<=45)) ) { | 2748 | if ( ((LA28_0>=RULE_STRING && LA28_0<=RULE_EXPONENTIAL)||(LA28_0>=42 && LA28_0<=44)) ) { |
2768 | alt28=1; | 2749 | alt28=1; |
2769 | } | 2750 | } |
2770 | switch (alt28) { | 2751 | switch (alt28) { |
@@ -2808,7 +2789,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
2808 | int alt27=2; | 2789 | int alt27=2; |
2809 | int LA27_0 = input.LA(1); | 2790 | int LA27_0 = input.LA(1); |
2810 | 2791 | ||
2811 | if ( (LA27_0==17) ) { | 2792 | if ( (LA27_0==18) ) { |
2812 | alt27=1; | 2793 | alt27=1; |
2813 | } | 2794 | } |
2814 | 2795 | ||
@@ -2817,7 +2798,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
2817 | case 1 : | 2798 | case 1 : |
2818 | // InternalProblem.g:1066:5: otherlv_4= ',' ( (lv_arguments_5_0= ruleArgument ) ) | 2799 | // InternalProblem.g:1066:5: otherlv_4= ',' ( (lv_arguments_5_0= ruleArgument ) ) |
2819 | { | 2800 | { |
2820 | otherlv_4=(Token)match(input,17,FOLLOW_30); | 2801 | otherlv_4=(Token)match(input,18,FOLLOW_30); |
2821 | 2802 | ||
2822 | newLeafNode(otherlv_4, grammarAccess.getAtomAccess().getCommaKeyword_3_1_0()); | 2803 | newLeafNode(otherlv_4, grammarAccess.getAtomAccess().getCommaKeyword_3_1_0()); |
2823 | 2804 | ||
@@ -2867,7 +2848,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
2867 | 2848 | ||
2868 | } | 2849 | } |
2869 | 2850 | ||
2870 | otherlv_6=(Token)match(input,30,FOLLOW_2); | 2851 | otherlv_6=(Token)match(input,31,FOLLOW_2); |
2871 | 2852 | ||
2872 | newLeafNode(otherlv_6, grammarAccess.getAtomAccess().getRightParenthesisKeyword_4()); | 2853 | newLeafNode(otherlv_6, grammarAccess.getAtomAccess().getRightParenthesisKeyword_4()); |
2873 | 2854 | ||
@@ -2950,10 +2931,10 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
2950 | int alt29=2; | 2931 | int alt29=2; |
2951 | int LA29_0 = input.LA(1); | 2932 | int LA29_0 = input.LA(1); |
2952 | 2933 | ||
2953 | if ( (LA29_0==RULE_ID||LA29_0==RULE_QUOTED_ID||(LA29_0>=41 && LA29_0<=44)) ) { | 2934 | if ( (LA29_0==RULE_ID||LA29_0==RULE_QUOTED_ID||(LA29_0>=42 && LA29_0<=43)) ) { |
2954 | alt29=1; | 2935 | alt29=1; |
2955 | } | 2936 | } |
2956 | else if ( (LA29_0==RULE_STRING||LA29_0==RULE_INT||LA29_0==45) ) { | 2937 | else if ( (LA29_0==RULE_STRING||LA29_0==RULE_INT||LA29_0==RULE_EXPONENTIAL||LA29_0==44) ) { |
2957 | alt29=2; | 2938 | alt29=2; |
2958 | } | 2939 | } |
2959 | else { | 2940 | else { |
@@ -3327,7 +3308,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
3327 | 3308 | ||
3328 | } | 3309 | } |
3329 | 3310 | ||
3330 | otherlv_1=(Token)match(input,29,FOLLOW_29); | 3311 | otherlv_1=(Token)match(input,30,FOLLOW_29); |
3331 | 3312 | ||
3332 | newLeafNode(otherlv_1, grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_0_1()); | 3313 | newLeafNode(otherlv_1, grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_0_1()); |
3333 | 3314 | ||
@@ -3335,7 +3316,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
3335 | int alt31=2; | 3316 | int alt31=2; |
3336 | int LA31_0 = input.LA(1); | 3317 | int LA31_0 = input.LA(1); |
3337 | 3318 | ||
3338 | if ( ((LA31_0>=RULE_STRING && LA31_0<=RULE_QUOTED_ID)||(LA31_0>=41 && LA31_0<=45)) ) { | 3319 | if ( ((LA31_0>=RULE_STRING && LA31_0<=RULE_EXPONENTIAL)||(LA31_0>=42 && LA31_0<=44)) ) { |
3339 | alt31=1; | 3320 | alt31=1; |
3340 | } | 3321 | } |
3341 | switch (alt31) { | 3322 | switch (alt31) { |
@@ -3379,7 +3360,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
3379 | int alt30=2; | 3360 | int alt30=2; |
3380 | int LA30_0 = input.LA(1); | 3361 | int LA30_0 = input.LA(1); |
3381 | 3362 | ||
3382 | if ( (LA30_0==17) ) { | 3363 | if ( (LA30_0==18) ) { |
3383 | alt30=1; | 3364 | alt30=1; |
3384 | } | 3365 | } |
3385 | 3366 | ||
@@ -3388,7 +3369,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
3388 | case 1 : | 3369 | case 1 : |
3389 | // InternalProblem.g:1262:7: otherlv_3= ',' ( (lv_arguments_4_0= ruleAssertionArgument ) ) | 3370 | // InternalProblem.g:1262:7: otherlv_3= ',' ( (lv_arguments_4_0= ruleAssertionArgument ) ) |
3390 | { | 3371 | { |
3391 | otherlv_3=(Token)match(input,17,FOLLOW_30); | 3372 | otherlv_3=(Token)match(input,18,FOLLOW_30); |
3392 | 3373 | ||
3393 | newLeafNode(otherlv_3, grammarAccess.getAssertionAccess().getCommaKeyword_0_0_2_1_0()); | 3374 | newLeafNode(otherlv_3, grammarAccess.getAssertionAccess().getCommaKeyword_0_0_2_1_0()); |
3394 | 3375 | ||
@@ -3438,11 +3419,11 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
3438 | 3419 | ||
3439 | } | 3420 | } |
3440 | 3421 | ||
3441 | otherlv_5=(Token)match(input,30,FOLLOW_31); | 3422 | otherlv_5=(Token)match(input,31,FOLLOW_31); |
3442 | 3423 | ||
3443 | newLeafNode(otherlv_5, grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_0_3()); | 3424 | newLeafNode(otherlv_5, grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_0_3()); |
3444 | 3425 | ||
3445 | otherlv_6=(Token)match(input,34,FOLLOW_32); | 3426 | otherlv_6=(Token)match(input,35,FOLLOW_32); |
3446 | 3427 | ||
3447 | newLeafNode(otherlv_6, grammarAccess.getAssertionAccess().getColonKeyword_0_0_4()); | 3428 | newLeafNode(otherlv_6, grammarAccess.getAssertionAccess().getColonKeyword_0_0_4()); |
3448 | 3429 | ||
@@ -3493,7 +3474,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
3493 | int alt32=2; | 3474 | int alt32=2; |
3494 | int LA32_0 = input.LA(1); | 3475 | int LA32_0 = input.LA(1); |
3495 | 3476 | ||
3496 | if ( (LA32_0==32||LA32_0==47) ) { | 3477 | if ( (LA32_0==33||LA32_0==46) ) { |
3497 | alt32=1; | 3478 | alt32=1; |
3498 | } | 3479 | } |
3499 | switch (alt32) { | 3480 | switch (alt32) { |
@@ -3559,7 +3540,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
3559 | 3540 | ||
3560 | } | 3541 | } |
3561 | 3542 | ||
3562 | otherlv_10=(Token)match(input,29,FOLLOW_29); | 3543 | otherlv_10=(Token)match(input,30,FOLLOW_29); |
3563 | 3544 | ||
3564 | newLeafNode(otherlv_10, grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_1_2()); | 3545 | newLeafNode(otherlv_10, grammarAccess.getAssertionAccess().getLeftParenthesisKeyword_0_1_2()); |
3565 | 3546 | ||
@@ -3567,7 +3548,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
3567 | int alt34=2; | 3548 | int alt34=2; |
3568 | int LA34_0 = input.LA(1); | 3549 | int LA34_0 = input.LA(1); |
3569 | 3550 | ||
3570 | if ( ((LA34_0>=RULE_STRING && LA34_0<=RULE_QUOTED_ID)||(LA34_0>=41 && LA34_0<=45)) ) { | 3551 | if ( ((LA34_0>=RULE_STRING && LA34_0<=RULE_EXPONENTIAL)||(LA34_0>=42 && LA34_0<=44)) ) { |
3571 | alt34=1; | 3552 | alt34=1; |
3572 | } | 3553 | } |
3573 | switch (alt34) { | 3554 | switch (alt34) { |
@@ -3611,7 +3592,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
3611 | int alt33=2; | 3592 | int alt33=2; |
3612 | int LA33_0 = input.LA(1); | 3593 | int LA33_0 = input.LA(1); |
3613 | 3594 | ||
3614 | if ( (LA33_0==17) ) { | 3595 | if ( (LA33_0==18) ) { |
3615 | alt33=1; | 3596 | alt33=1; |
3616 | } | 3597 | } |
3617 | 3598 | ||
@@ -3620,7 +3601,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
3620 | case 1 : | 3601 | case 1 : |
3621 | // InternalProblem.g:1377:7: otherlv_12= ',' ( (lv_arguments_13_0= ruleAssertionArgument ) ) | 3602 | // InternalProblem.g:1377:7: otherlv_12= ',' ( (lv_arguments_13_0= ruleAssertionArgument ) ) |
3622 | { | 3603 | { |
3623 | otherlv_12=(Token)match(input,17,FOLLOW_30); | 3604 | otherlv_12=(Token)match(input,18,FOLLOW_30); |
3624 | 3605 | ||
3625 | newLeafNode(otherlv_12, grammarAccess.getAssertionAccess().getCommaKeyword_0_1_3_1_0()); | 3606 | newLeafNode(otherlv_12, grammarAccess.getAssertionAccess().getCommaKeyword_0_1_3_1_0()); |
3626 | 3607 | ||
@@ -3670,7 +3651,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
3670 | 3651 | ||
3671 | } | 3652 | } |
3672 | 3653 | ||
3673 | otherlv_14=(Token)match(input,30,FOLLOW_4); | 3654 | otherlv_14=(Token)match(input,31,FOLLOW_4); |
3674 | 3655 | ||
3675 | newLeafNode(otherlv_14, grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_1_4()); | 3656 | newLeafNode(otherlv_14, grammarAccess.getAssertionAccess().getRightParenthesisKeyword_0_1_4()); |
3676 | 3657 | ||
@@ -3683,7 +3664,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
3683 | 3664 | ||
3684 | } | 3665 | } |
3685 | 3666 | ||
3686 | otherlv_15=(Token)match(input,13,FOLLOW_2); | 3667 | otherlv_15=(Token)match(input,14,FOLLOW_2); |
3687 | 3668 | ||
3688 | newLeafNode(otherlv_15, grammarAccess.getAssertionAccess().getFullStopKeyword_1()); | 3669 | newLeafNode(otherlv_15, grammarAccess.getAssertionAccess().getFullStopKeyword_1()); |
3689 | 3670 | ||
@@ -3766,10 +3747,10 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
3766 | int alt36=2; | 3747 | int alt36=2; |
3767 | int LA36_0 = input.LA(1); | 3748 | int LA36_0 = input.LA(1); |
3768 | 3749 | ||
3769 | if ( (LA36_0==RULE_ID||LA36_0==RULE_QUOTED_ID||(LA36_0>=41 && LA36_0<=44)) ) { | 3750 | if ( (LA36_0==RULE_ID||LA36_0==RULE_QUOTED_ID||(LA36_0>=42 && LA36_0<=43)) ) { |
3770 | alt36=1; | 3751 | alt36=1; |
3771 | } | 3752 | } |
3772 | else if ( (LA36_0==RULE_STRING||LA36_0==RULE_INT||LA36_0==45) ) { | 3753 | else if ( (LA36_0==RULE_STRING||LA36_0==RULE_INT||LA36_0==RULE_EXPONENTIAL||LA36_0==44) ) { |
3773 | alt36=2; | 3754 | alt36=2; |
3774 | } | 3755 | } |
3775 | else { | 3756 | else { |
@@ -4117,7 +4098,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
4117 | 4098 | ||
4118 | } | 4099 | } |
4119 | 4100 | ||
4120 | otherlv_1=(Token)match(input,34,FOLLOW_30); | 4101 | otherlv_1=(Token)match(input,35,FOLLOW_30); |
4121 | 4102 | ||
4122 | newLeafNode(otherlv_1, grammarAccess.getNodeValueAssertionAccess().getColonKeyword_1()); | 4103 | newLeafNode(otherlv_1, grammarAccess.getNodeValueAssertionAccess().getColonKeyword_1()); |
4123 | 4104 | ||
@@ -4152,7 +4133,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
4152 | 4133 | ||
4153 | } | 4134 | } |
4154 | 4135 | ||
4155 | otherlv_3=(Token)match(input,13,FOLLOW_2); | 4136 | otherlv_3=(Token)match(input,14,FOLLOW_2); |
4156 | 4137 | ||
4157 | newLeafNode(otherlv_3, grammarAccess.getNodeValueAssertionAccess().getFullStopKeyword_3()); | 4138 | newLeafNode(otherlv_3, grammarAccess.getNodeValueAssertionAccess().getFullStopKeyword_3()); |
4158 | 4139 | ||
@@ -4215,13 +4196,13 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
4215 | 4196 | ||
4216 | 4197 | ||
4217 | // $ANTLR start "ruleConstant" | 4198 | // $ANTLR start "ruleConstant" |
4218 | // InternalProblem.g:1590:1: ruleConstant returns [EObject current=null] : (this_IntConstant_0= ruleIntConstant | this_RealConstant_1= ruleRealConstant | this_StringConstant_2= ruleStringConstant ) ; | 4199 | // InternalProblem.g:1590:1: ruleConstant returns [EObject current=null] : (this_RealConstant_0= ruleRealConstant | this_IntConstant_1= ruleIntConstant | this_StringConstant_2= ruleStringConstant ) ; |
4219 | public final EObject ruleConstant() throws RecognitionException { | 4200 | public final EObject ruleConstant() throws RecognitionException { |
4220 | EObject current = null; | 4201 | EObject current = null; |
4221 | 4202 | ||
4222 | EObject this_IntConstant_0 = null; | 4203 | EObject this_RealConstant_0 = null; |
4223 | 4204 | ||
4224 | EObject this_RealConstant_1 = null; | 4205 | EObject this_IntConstant_1 = null; |
4225 | 4206 | ||
4226 | EObject this_StringConstant_2 = null; | 4207 | EObject this_StringConstant_2 = null; |
4227 | 4208 | ||
@@ -4230,56 +4211,47 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
4230 | enterRule(); | 4211 | enterRule(); |
4231 | 4212 | ||
4232 | try { | 4213 | try { |
4233 | // InternalProblem.g:1596:2: ( (this_IntConstant_0= ruleIntConstant | this_RealConstant_1= ruleRealConstant | this_StringConstant_2= ruleStringConstant ) ) | 4214 | // InternalProblem.g:1596:2: ( (this_RealConstant_0= ruleRealConstant | this_IntConstant_1= ruleIntConstant | this_StringConstant_2= ruleStringConstant ) ) |
4234 | // InternalProblem.g:1597:2: (this_IntConstant_0= ruleIntConstant | this_RealConstant_1= ruleRealConstant | this_StringConstant_2= ruleStringConstant ) | 4215 | // InternalProblem.g:1597:2: (this_RealConstant_0= ruleRealConstant | this_IntConstant_1= ruleIntConstant | this_StringConstant_2= ruleStringConstant ) |
4235 | { | 4216 | { |
4236 | // InternalProblem.g:1597:2: (this_IntConstant_0= ruleIntConstant | this_RealConstant_1= ruleRealConstant | this_StringConstant_2= ruleStringConstant ) | 4217 | // InternalProblem.g:1597:2: (this_RealConstant_0= ruleRealConstant | this_IntConstant_1= ruleIntConstant | this_StringConstant_2= ruleStringConstant ) |
4237 | int alt37=3; | 4218 | int alt37=3; |
4238 | switch ( input.LA(1) ) { | 4219 | switch ( input.LA(1) ) { |
4239 | case 45: | 4220 | case 44: |
4240 | { | 4221 | { |
4241 | int LA37_1 = input.LA(2); | 4222 | int LA37_1 = input.LA(2); |
4242 | 4223 | ||
4243 | if ( (LA37_1==RULE_INT) ) { | 4224 | if ( (LA37_1==RULE_INT) ) { |
4244 | switch ( input.LA(3) ) { | 4225 | int LA37_3 = input.LA(3); |
4245 | case EOF: | 4226 | |
4246 | case 17: | 4227 | if ( (LA37_3==14) ) { |
4247 | case 30: | ||
4248 | { | ||
4249 | alt37=1; | ||
4250 | } | ||
4251 | break; | ||
4252 | case 13: | ||
4253 | { | ||
4254 | int LA37_5 = input.LA(4); | 4228 | int LA37_5 = input.LA(4); |
4255 | 4229 | ||
4256 | if ( (LA37_5==EOF||LA37_5==RULE_ID||LA37_5==RULE_QUOTED_ID||(LA37_5>=14 && LA37_5<=15)||LA37_5==21||(LA37_5>=27 && LA37_5<=28)||LA37_5==32||LA37_5==35||(LA37_5>=41 && LA37_5<=44)||LA37_5==47) ) { | 4230 | if ( (LA37_5==EOF||LA37_5==RULE_ID||LA37_5==RULE_QUOTED_ID||(LA37_5>=15 && LA37_5<=16)||LA37_5==22||(LA37_5>=28 && LA37_5<=29)||LA37_5==33||LA37_5==36||(LA37_5>=42 && LA37_5<=43)||LA37_5==46) ) { |
4257 | alt37=1; | ||
4258 | } | ||
4259 | else if ( (LA37_5==RULE_INT) ) { | ||
4260 | alt37=2; | 4231 | alt37=2; |
4261 | } | 4232 | } |
4233 | else if ( (LA37_5==RULE_INT||LA37_5==RULE_EXPONENTIAL) ) { | ||
4234 | alt37=1; | ||
4235 | } | ||
4262 | else { | 4236 | else { |
4263 | NoViableAltException nvae = | 4237 | NoViableAltException nvae = |
4264 | new NoViableAltException("", 37, 5, input); | 4238 | new NoViableAltException("", 37, 5, input); |
4265 | 4239 | ||
4266 | throw nvae; | 4240 | throw nvae; |
4267 | } | 4241 | } |
4268 | } | 4242 | } |
4269 | break; | 4243 | else if ( (LA37_3==EOF||LA37_3==18||LA37_3==31) ) { |
4270 | case 43: | ||
4271 | case 44: | ||
4272 | { | ||
4273 | alt37=2; | 4244 | alt37=2; |
4274 | } | 4245 | } |
4275 | break; | 4246 | else { |
4276 | default: | ||
4277 | NoViableAltException nvae = | 4247 | NoViableAltException nvae = |
4278 | new NoViableAltException("", 37, 2, input); | 4248 | new NoViableAltException("", 37, 3, input); |
4279 | 4249 | ||
4280 | throw nvae; | 4250 | throw nvae; |
4281 | } | 4251 | } |
4282 | 4252 | } | |
4253 | else if ( (LA37_1==RULE_EXPONENTIAL) ) { | ||
4254 | alt37=1; | ||
4283 | } | 4255 | } |
4284 | else { | 4256 | else { |
4285 | NoViableAltException nvae = | 4257 | NoViableAltException nvae = |
@@ -4289,47 +4261,40 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
4289 | } | 4261 | } |
4290 | } | 4262 | } |
4291 | break; | 4263 | break; |
4264 | case RULE_EXPONENTIAL: | ||
4265 | { | ||
4266 | alt37=1; | ||
4267 | } | ||
4268 | break; | ||
4292 | case RULE_INT: | 4269 | case RULE_INT: |
4293 | { | 4270 | { |
4294 | switch ( input.LA(2) ) { | 4271 | int LA37_3 = input.LA(2); |
4295 | case EOF: | 4272 | |
4296 | case 17: | 4273 | if ( (LA37_3==14) ) { |
4297 | case 30: | ||
4298 | { | ||
4299 | alt37=1; | ||
4300 | } | ||
4301 | break; | ||
4302 | case 13: | ||
4303 | { | ||
4304 | int LA37_5 = input.LA(3); | 4274 | int LA37_5 = input.LA(3); |
4305 | 4275 | ||
4306 | if ( (LA37_5==EOF||LA37_5==RULE_ID||LA37_5==RULE_QUOTED_ID||(LA37_5>=14 && LA37_5<=15)||LA37_5==21||(LA37_5>=27 && LA37_5<=28)||LA37_5==32||LA37_5==35||(LA37_5>=41 && LA37_5<=44)||LA37_5==47) ) { | 4276 | if ( (LA37_5==EOF||LA37_5==RULE_ID||LA37_5==RULE_QUOTED_ID||(LA37_5>=15 && LA37_5<=16)||LA37_5==22||(LA37_5>=28 && LA37_5<=29)||LA37_5==33||LA37_5==36||(LA37_5>=42 && LA37_5<=43)||LA37_5==46) ) { |
4307 | alt37=1; | ||
4308 | } | ||
4309 | else if ( (LA37_5==RULE_INT) ) { | ||
4310 | alt37=2; | 4277 | alt37=2; |
4311 | } | 4278 | } |
4279 | else if ( (LA37_5==RULE_INT||LA37_5==RULE_EXPONENTIAL) ) { | ||
4280 | alt37=1; | ||
4281 | } | ||
4312 | else { | 4282 | else { |
4313 | NoViableAltException nvae = | 4283 | NoViableAltException nvae = |
4314 | new NoViableAltException("", 37, 5, input); | 4284 | new NoViableAltException("", 37, 5, input); |
4315 | 4285 | ||
4316 | throw nvae; | 4286 | throw nvae; |
4317 | } | 4287 | } |
4318 | } | 4288 | } |
4319 | break; | 4289 | else if ( (LA37_3==EOF||LA37_3==18||LA37_3==31) ) { |
4320 | case 43: | ||
4321 | case 44: | ||
4322 | { | ||
4323 | alt37=2; | 4290 | alt37=2; |
4324 | } | 4291 | } |
4325 | break; | 4292 | else { |
4326 | default: | ||
4327 | NoViableAltException nvae = | 4293 | NoViableAltException nvae = |
4328 | new NoViableAltException("", 37, 2, input); | 4294 | new NoViableAltException("", 37, 3, input); |
4329 | 4295 | ||
4330 | throw nvae; | 4296 | throw nvae; |
4331 | } | 4297 | } |
4332 | |||
4333 | } | 4298 | } |
4334 | break; | 4299 | break; |
4335 | case RULE_STRING: | 4300 | case RULE_STRING: |
@@ -4346,36 +4311,36 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
4346 | 4311 | ||
4347 | switch (alt37) { | 4312 | switch (alt37) { |
4348 | case 1 : | 4313 | case 1 : |
4349 | // InternalProblem.g:1598:3: this_IntConstant_0= ruleIntConstant | 4314 | // InternalProblem.g:1598:3: this_RealConstant_0= ruleRealConstant |
4350 | { | 4315 | { |
4351 | 4316 | ||
4352 | newCompositeNode(grammarAccess.getConstantAccess().getIntConstantParserRuleCall_0()); | 4317 | newCompositeNode(grammarAccess.getConstantAccess().getRealConstantParserRuleCall_0()); |
4353 | 4318 | ||
4354 | pushFollow(FOLLOW_2); | 4319 | pushFollow(FOLLOW_2); |
4355 | this_IntConstant_0=ruleIntConstant(); | 4320 | this_RealConstant_0=ruleRealConstant(); |
4356 | 4321 | ||
4357 | state._fsp--; | 4322 | state._fsp--; |
4358 | 4323 | ||
4359 | 4324 | ||
4360 | current = this_IntConstant_0; | 4325 | current = this_RealConstant_0; |
4361 | afterParserOrEnumRuleCall(); | 4326 | afterParserOrEnumRuleCall(); |
4362 | 4327 | ||
4363 | 4328 | ||
4364 | } | 4329 | } |
4365 | break; | 4330 | break; |
4366 | case 2 : | 4331 | case 2 : |
4367 | // InternalProblem.g:1607:3: this_RealConstant_1= ruleRealConstant | 4332 | // InternalProblem.g:1607:3: this_IntConstant_1= ruleIntConstant |
4368 | { | 4333 | { |
4369 | 4334 | ||
4370 | newCompositeNode(grammarAccess.getConstantAccess().getRealConstantParserRuleCall_1()); | 4335 | newCompositeNode(grammarAccess.getConstantAccess().getIntConstantParserRuleCall_1()); |
4371 | 4336 | ||
4372 | pushFollow(FOLLOW_2); | 4337 | pushFollow(FOLLOW_2); |
4373 | this_RealConstant_1=ruleRealConstant(); | 4338 | this_IntConstant_1=ruleIntConstant(); |
4374 | 4339 | ||
4375 | state._fsp--; | 4340 | state._fsp--; |
4376 | 4341 | ||
4377 | 4342 | ||
4378 | current = this_RealConstant_1; | 4343 | current = this_IntConstant_1; |
4379 | afterParserOrEnumRuleCall(); | 4344 | afterParserOrEnumRuleCall(); |
4380 | 4345 | ||
4381 | 4346 | ||
@@ -4777,7 +4742,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
4777 | // InternalProblem.g:1749:2: (otherlv_0= 'scope' ( (lv_typeScopes_1_0= ruleTypeScope ) ) (otherlv_2= ',' ( (lv_typeScopes_3_0= ruleTypeScope ) ) )* otherlv_4= '.' ) | 4742 | // InternalProblem.g:1749:2: (otherlv_0= 'scope' ( (lv_typeScopes_1_0= ruleTypeScope ) ) (otherlv_2= ',' ( (lv_typeScopes_3_0= ruleTypeScope ) ) )* otherlv_4= '.' ) |
4778 | // InternalProblem.g:1750:3: otherlv_0= 'scope' ( (lv_typeScopes_1_0= ruleTypeScope ) ) (otherlv_2= ',' ( (lv_typeScopes_3_0= ruleTypeScope ) ) )* otherlv_4= '.' | 4743 | // InternalProblem.g:1750:3: otherlv_0= 'scope' ( (lv_typeScopes_1_0= ruleTypeScope ) ) (otherlv_2= ',' ( (lv_typeScopes_3_0= ruleTypeScope ) ) )* otherlv_4= '.' |
4779 | { | 4744 | { |
4780 | otherlv_0=(Token)match(input,35,FOLLOW_33); | 4745 | otherlv_0=(Token)match(input,36,FOLLOW_33); |
4781 | 4746 | ||
4782 | newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); | 4747 | newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); |
4783 | 4748 | ||
@@ -4818,7 +4783,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
4818 | int alt38=2; | 4783 | int alt38=2; |
4819 | int LA38_0 = input.LA(1); | 4784 | int LA38_0 = input.LA(1); |
4820 | 4785 | ||
4821 | if ( (LA38_0==17) ) { | 4786 | if ( (LA38_0==18) ) { |
4822 | alt38=1; | 4787 | alt38=1; |
4823 | } | 4788 | } |
4824 | 4789 | ||
@@ -4827,7 +4792,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
4827 | case 1 : | 4792 | case 1 : |
4828 | // InternalProblem.g:1774:4: otherlv_2= ',' ( (lv_typeScopes_3_0= ruleTypeScope ) ) | 4793 | // InternalProblem.g:1774:4: otherlv_2= ',' ( (lv_typeScopes_3_0= ruleTypeScope ) ) |
4829 | { | 4794 | { |
4830 | otherlv_2=(Token)match(input,17,FOLLOW_33); | 4795 | otherlv_2=(Token)match(input,18,FOLLOW_33); |
4831 | 4796 | ||
4832 | newLeafNode(otherlv_2, grammarAccess.getScopeDeclarationAccess().getCommaKeyword_2_0()); | 4797 | newLeafNode(otherlv_2, grammarAccess.getScopeDeclarationAccess().getCommaKeyword_2_0()); |
4833 | 4798 | ||
@@ -4871,7 +4836,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
4871 | } | 4836 | } |
4872 | } while (true); | 4837 | } while (true); |
4873 | 4838 | ||
4874 | otherlv_4=(Token)match(input,13,FOLLOW_2); | 4839 | otherlv_4=(Token)match(input,14,FOLLOW_2); |
4875 | 4840 | ||
4876 | newLeafNode(otherlv_4, grammarAccess.getScopeDeclarationAccess().getFullStopKeyword_3()); | 4841 | newLeafNode(otherlv_4, grammarAccess.getScopeDeclarationAccess().getFullStopKeyword_3()); |
4877 | 4842 | ||
@@ -4979,10 +4944,10 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
4979 | int alt39=2; | 4944 | int alt39=2; |
4980 | int LA39_0 = input.LA(1); | 4945 | int LA39_0 = input.LA(1); |
4981 | 4946 | ||
4982 | if ( (LA39_0==36) ) { | 4947 | if ( (LA39_0==37) ) { |
4983 | alt39=1; | 4948 | alt39=1; |
4984 | } | 4949 | } |
4985 | else if ( (LA39_0==37) ) { | 4950 | else if ( (LA39_0==38) ) { |
4986 | alt39=2; | 4951 | alt39=2; |
4987 | } | 4952 | } |
4988 | else { | 4953 | else { |
@@ -5001,7 +4966,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
5001 | // InternalProblem.g:1836:5: (lv_increment_1_0= '+=' ) | 4966 | // InternalProblem.g:1836:5: (lv_increment_1_0= '+=' ) |
5002 | // InternalProblem.g:1837:6: lv_increment_1_0= '+=' | 4967 | // InternalProblem.g:1837:6: lv_increment_1_0= '+=' |
5003 | { | 4968 | { |
5004 | lv_increment_1_0=(Token)match(input,36,FOLLOW_17); | 4969 | lv_increment_1_0=(Token)match(input,37,FOLLOW_17); |
5005 | 4970 | ||
5006 | newLeafNode(lv_increment_1_0, grammarAccess.getTypeScopeAccess().getIncrementPlusSignEqualsSignKeyword_1_0_0()); | 4971 | newLeafNode(lv_increment_1_0, grammarAccess.getTypeScopeAccess().getIncrementPlusSignEqualsSignKeyword_1_0_0()); |
5007 | 4972 | ||
@@ -5023,7 +4988,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
5023 | case 2 : | 4988 | case 2 : |
5024 | // InternalProblem.g:1850:4: otherlv_2= '=' | 4989 | // InternalProblem.g:1850:4: otherlv_2= '=' |
5025 | { | 4990 | { |
5026 | otherlv_2=(Token)match(input,37,FOLLOW_17); | 4991 | otherlv_2=(Token)match(input,38,FOLLOW_17); |
5027 | 4992 | ||
5028 | newLeafNode(otherlv_2, grammarAccess.getTypeScopeAccess().getEqualsSignKeyword_1_1()); | 4993 | newLeafNode(otherlv_2, grammarAccess.getTypeScopeAccess().getEqualsSignKeyword_1_1()); |
5029 | 4994 | ||
@@ -5143,7 +5108,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
5143 | int alt40=2; | 5108 | int alt40=2; |
5144 | int LA40_0 = input.LA(1); | 5109 | int LA40_0 = input.LA(1); |
5145 | 5110 | ||
5146 | if ( (LA40_0==EOF||LA40_0==25) ) { | 5111 | if ( (LA40_0==EOF||LA40_0==26) ) { |
5147 | alt40=1; | 5112 | alt40=1; |
5148 | } | 5113 | } |
5149 | else if ( (LA40_0==RULE_INT) ) { | 5114 | else if ( (LA40_0==RULE_INT) ) { |
@@ -5274,10 +5239,10 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
5274 | if ( (LA41_0==RULE_INT) ) { | 5239 | if ( (LA41_0==RULE_INT) ) { |
5275 | int LA41_1 = input.LA(2); | 5240 | int LA41_1 = input.LA(2); |
5276 | 5241 | ||
5277 | if ( (LA41_1==38) ) { | 5242 | if ( (LA41_1==39) ) { |
5278 | alt41=1; | 5243 | alt41=1; |
5279 | } | 5244 | } |
5280 | else if ( (LA41_1==EOF||LA41_1==13||LA41_1==17||LA41_1==25) ) { | 5245 | else if ( (LA41_1==EOF||LA41_1==14||LA41_1==18||LA41_1==26) ) { |
5281 | alt41=2; | 5246 | alt41=2; |
5282 | } | 5247 | } |
5283 | else { | 5248 | else { |
@@ -5507,7 +5472,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
5507 | 5472 | ||
5508 | } | 5473 | } |
5509 | 5474 | ||
5510 | otherlv_1=(Token)match(input,38,FOLLOW_37); | 5475 | otherlv_1=(Token)match(input,39,FOLLOW_37); |
5511 | 5476 | ||
5512 | newLeafNode(otherlv_1, grammarAccess.getRangeMultiplicityAccess().getFullStopFullStopKeyword_1()); | 5477 | newLeafNode(otherlv_1, grammarAccess.getRangeMultiplicityAccess().getFullStopFullStopKeyword_1()); |
5513 | 5478 | ||
@@ -5717,7 +5682,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
5717 | if ( (LA42_0==RULE_INT) ) { | 5682 | if ( (LA42_0==RULE_INT) ) { |
5718 | alt42=1; | 5683 | alt42=1; |
5719 | } | 5684 | } |
5720 | else if ( (LA42_0==39) ) { | 5685 | else if ( (LA42_0==40) ) { |
5721 | alt42=2; | 5686 | alt42=2; |
5722 | } | 5687 | } |
5723 | else { | 5688 | else { |
@@ -5743,7 +5708,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
5743 | case 2 : | 5708 | case 2 : |
5744 | // InternalProblem.g:2092:3: kw= '*' | 5709 | // InternalProblem.g:2092:3: kw= '*' |
5745 | { | 5710 | { |
5746 | kw=(Token)match(input,39,FOLLOW_2); | 5711 | kw=(Token)match(input,40,FOLLOW_2); |
5747 | 5712 | ||
5748 | current.merge(kw); | 5713 | current.merge(kw); |
5749 | newLeafNode(kw, grammarAccess.getUpperBoundAccess().getAsteriskKeyword_1()); | 5714 | newLeafNode(kw, grammarAccess.getUpperBoundAccess().getAsteriskKeyword_1()); |
@@ -5842,7 +5807,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
5842 | if ( (LA44_0==RULE_QUOTED_ID) ) { | 5807 | if ( (LA44_0==RULE_QUOTED_ID) ) { |
5843 | alt44=1; | 5808 | alt44=1; |
5844 | } | 5809 | } |
5845 | else if ( (LA44_0==RULE_ID||(LA44_0>=41 && LA44_0<=44)) ) { | 5810 | else if ( (LA44_0==RULE_ID||(LA44_0>=42 && LA44_0<=43)) ) { |
5846 | alt44=2; | 5811 | alt44=2; |
5847 | } | 5812 | } |
5848 | else { | 5813 | else { |
@@ -5891,7 +5856,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
5891 | int alt43=2; | 5856 | int alt43=2; |
5892 | int LA43_0 = input.LA(1); | 5857 | int LA43_0 = input.LA(1); |
5893 | 5858 | ||
5894 | if ( (LA43_0==40) ) { | 5859 | if ( (LA43_0==41) ) { |
5895 | alt43=1; | 5860 | alt43=1; |
5896 | } | 5861 | } |
5897 | 5862 | ||
@@ -5900,7 +5865,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
5900 | case 1 : | 5865 | case 1 : |
5901 | // InternalProblem.g:2142:5: kw= '::' this_Identifier_3= ruleIdentifier | 5866 | // InternalProblem.g:2142:5: kw= '::' this_Identifier_3= ruleIdentifier |
5902 | { | 5867 | { |
5903 | kw=(Token)match(input,40,FOLLOW_3); | 5868 | kw=(Token)match(input,41,FOLLOW_3); |
5904 | 5869 | ||
5905 | current.merge(kw); | 5870 | current.merge(kw); |
5906 | newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1_1_0()); | 5871 | newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getColonColonKeyword_1_1_0()); |
@@ -5996,7 +5961,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
5996 | 5961 | ||
5997 | 5962 | ||
5998 | // $ANTLR start "ruleIdentifier" | 5963 | // $ANTLR start "ruleIdentifier" |
5999 | // InternalProblem.g:2173:1: ruleIdentifier returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID | kw= 'true' | kw= 'false' | kw= 'e' | kw= 'E' ) ; | 5964 | // InternalProblem.g:2173:1: ruleIdentifier returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID | kw= 'true' | kw= 'false' ) ; |
6000 | public final AntlrDatatypeRuleToken ruleIdentifier() throws RecognitionException { | 5965 | public final AntlrDatatypeRuleToken ruleIdentifier() throws RecognitionException { |
6001 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); | 5966 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
6002 | 5967 | ||
@@ -6007,35 +5972,25 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6007 | enterRule(); | 5972 | enterRule(); |
6008 | 5973 | ||
6009 | try { | 5974 | try { |
6010 | // InternalProblem.g:2179:2: ( (this_ID_0= RULE_ID | kw= 'true' | kw= 'false' | kw= 'e' | kw= 'E' ) ) | 5975 | // InternalProblem.g:2179:2: ( (this_ID_0= RULE_ID | kw= 'true' | kw= 'false' ) ) |
6011 | // InternalProblem.g:2180:2: (this_ID_0= RULE_ID | kw= 'true' | kw= 'false' | kw= 'e' | kw= 'E' ) | 5976 | // InternalProblem.g:2180:2: (this_ID_0= RULE_ID | kw= 'true' | kw= 'false' ) |
6012 | { | 5977 | { |
6013 | // InternalProblem.g:2180:2: (this_ID_0= RULE_ID | kw= 'true' | kw= 'false' | kw= 'e' | kw= 'E' ) | 5978 | // InternalProblem.g:2180:2: (this_ID_0= RULE_ID | kw= 'true' | kw= 'false' ) |
6014 | int alt45=5; | 5979 | int alt45=3; |
6015 | switch ( input.LA(1) ) { | 5980 | switch ( input.LA(1) ) { |
6016 | case RULE_ID: | 5981 | case RULE_ID: |
6017 | { | 5982 | { |
6018 | alt45=1; | 5983 | alt45=1; |
6019 | } | 5984 | } |
6020 | break; | 5985 | break; |
6021 | case 41: | ||
6022 | { | ||
6023 | alt45=2; | ||
6024 | } | ||
6025 | break; | ||
6026 | case 42: | 5986 | case 42: |
6027 | { | 5987 | { |
6028 | alt45=3; | 5988 | alt45=2; |
6029 | } | 5989 | } |
6030 | break; | 5990 | break; |
6031 | case 43: | 5991 | case 43: |
6032 | { | 5992 | { |
6033 | alt45=4; | 5993 | alt45=3; |
6034 | } | ||
6035 | break; | ||
6036 | case 44: | ||
6037 | { | ||
6038 | alt45=5; | ||
6039 | } | 5994 | } |
6040 | break; | 5995 | break; |
6041 | default: | 5996 | default: |
@@ -6062,7 +6017,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6062 | case 2 : | 6017 | case 2 : |
6063 | // InternalProblem.g:2189:3: kw= 'true' | 6018 | // InternalProblem.g:2189:3: kw= 'true' |
6064 | { | 6019 | { |
6065 | kw=(Token)match(input,41,FOLLOW_2); | 6020 | kw=(Token)match(input,42,FOLLOW_2); |
6066 | 6021 | ||
6067 | current.merge(kw); | 6022 | current.merge(kw); |
6068 | newLeafNode(kw, grammarAccess.getIdentifierAccess().getTrueKeyword_1()); | 6023 | newLeafNode(kw, grammarAccess.getIdentifierAccess().getTrueKeyword_1()); |
@@ -6073,32 +6028,10 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6073 | case 3 : | 6028 | case 3 : |
6074 | // InternalProblem.g:2195:3: kw= 'false' | 6029 | // InternalProblem.g:2195:3: kw= 'false' |
6075 | { | 6030 | { |
6076 | kw=(Token)match(input,42,FOLLOW_2); | ||
6077 | |||
6078 | current.merge(kw); | ||
6079 | newLeafNode(kw, grammarAccess.getIdentifierAccess().getFalseKeyword_2()); | ||
6080 | |||
6081 | |||
6082 | } | ||
6083 | break; | ||
6084 | case 4 : | ||
6085 | // InternalProblem.g:2201:3: kw= 'e' | ||
6086 | { | ||
6087 | kw=(Token)match(input,43,FOLLOW_2); | 6031 | kw=(Token)match(input,43,FOLLOW_2); |
6088 | 6032 | ||
6089 | current.merge(kw); | 6033 | current.merge(kw); |
6090 | newLeafNode(kw, grammarAccess.getIdentifierAccess().getEKeyword_3()); | 6034 | newLeafNode(kw, grammarAccess.getIdentifierAccess().getFalseKeyword_2()); |
6091 | |||
6092 | |||
6093 | } | ||
6094 | break; | ||
6095 | case 5 : | ||
6096 | // InternalProblem.g:2207:3: kw= 'E' | ||
6097 | { | ||
6098 | kw=(Token)match(input,44,FOLLOW_2); | ||
6099 | |||
6100 | current.merge(kw); | ||
6101 | newLeafNode(kw, grammarAccess.getIdentifierAccess().getEKeyword_4()); | ||
6102 | 6035 | ||
6103 | 6036 | ||
6104 | } | 6037 | } |
@@ -6126,7 +6059,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6126 | 6059 | ||
6127 | 6060 | ||
6128 | // $ANTLR start "entryRuleInteger" | 6061 | // $ANTLR start "entryRuleInteger" |
6129 | // InternalProblem.g:2216:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ; | 6062 | // InternalProblem.g:2204:1: entryRuleInteger returns [String current=null] : iv_ruleInteger= ruleInteger EOF ; |
6130 | public final String entryRuleInteger() throws RecognitionException { | 6063 | public final String entryRuleInteger() throws RecognitionException { |
6131 | String current = null; | 6064 | String current = null; |
6132 | 6065 | ||
@@ -6137,8 +6070,8 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6137 | HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); | 6070 | HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); |
6138 | 6071 | ||
6139 | try { | 6072 | try { |
6140 | // InternalProblem.g:2218:2: (iv_ruleInteger= ruleInteger EOF ) | 6073 | // InternalProblem.g:2206:2: (iv_ruleInteger= ruleInteger EOF ) |
6141 | // InternalProblem.g:2219:2: iv_ruleInteger= ruleInteger EOF | 6074 | // InternalProblem.g:2207:2: iv_ruleInteger= ruleInteger EOF |
6142 | { | 6075 | { |
6143 | newCompositeNode(grammarAccess.getIntegerRule()); | 6076 | newCompositeNode(grammarAccess.getIntegerRule()); |
6144 | pushFollow(FOLLOW_1); | 6077 | pushFollow(FOLLOW_1); |
@@ -6168,7 +6101,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6168 | 6101 | ||
6169 | 6102 | ||
6170 | // $ANTLR start "ruleInteger" | 6103 | // $ANTLR start "ruleInteger" |
6171 | // InternalProblem.g:2228:1: ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ) ; | 6104 | // InternalProblem.g:2216:1: ruleInteger returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ) ; |
6172 | public final AntlrDatatypeRuleToken ruleInteger() throws RecognitionException { | 6105 | public final AntlrDatatypeRuleToken ruleInteger() throws RecognitionException { |
6173 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); | 6106 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
6174 | 6107 | ||
@@ -6180,24 +6113,24 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6180 | HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); | 6113 | HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); |
6181 | 6114 | ||
6182 | try { | 6115 | try { |
6183 | // InternalProblem.g:2235:2: ( ( (kw= '-' )? this_INT_1= RULE_INT ) ) | 6116 | // InternalProblem.g:2223:2: ( ( (kw= '-' )? this_INT_1= RULE_INT ) ) |
6184 | // InternalProblem.g:2236:2: ( (kw= '-' )? this_INT_1= RULE_INT ) | 6117 | // InternalProblem.g:2224:2: ( (kw= '-' )? this_INT_1= RULE_INT ) |
6185 | { | 6118 | { |
6186 | // InternalProblem.g:2236:2: ( (kw= '-' )? this_INT_1= RULE_INT ) | 6119 | // InternalProblem.g:2224:2: ( (kw= '-' )? this_INT_1= RULE_INT ) |
6187 | // InternalProblem.g:2237:3: (kw= '-' )? this_INT_1= RULE_INT | 6120 | // InternalProblem.g:2225:3: (kw= '-' )? this_INT_1= RULE_INT |
6188 | { | 6121 | { |
6189 | // InternalProblem.g:2237:3: (kw= '-' )? | 6122 | // InternalProblem.g:2225:3: (kw= '-' )? |
6190 | int alt46=2; | 6123 | int alt46=2; |
6191 | int LA46_0 = input.LA(1); | 6124 | int LA46_0 = input.LA(1); |
6192 | 6125 | ||
6193 | if ( (LA46_0==45) ) { | 6126 | if ( (LA46_0==44) ) { |
6194 | alt46=1; | 6127 | alt46=1; |
6195 | } | 6128 | } |
6196 | switch (alt46) { | 6129 | switch (alt46) { |
6197 | case 1 : | 6130 | case 1 : |
6198 | // InternalProblem.g:2238:4: kw= '-' | 6131 | // InternalProblem.g:2226:4: kw= '-' |
6199 | { | 6132 | { |
6200 | kw=(Token)match(input,45,FOLLOW_17); | 6133 | kw=(Token)match(input,44,FOLLOW_17); |
6201 | 6134 | ||
6202 | current.merge(kw); | 6135 | current.merge(kw); |
6203 | newLeafNode(kw, grammarAccess.getIntegerAccess().getHyphenMinusKeyword_0()); | 6136 | newLeafNode(kw, grammarAccess.getIntegerAccess().getHyphenMinusKeyword_0()); |
@@ -6241,19 +6174,16 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6241 | 6174 | ||
6242 | 6175 | ||
6243 | // $ANTLR start "entryRuleReal" | 6176 | // $ANTLR start "entryRuleReal" |
6244 | // InternalProblem.g:2258:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ; | 6177 | // InternalProblem.g:2246:1: entryRuleReal returns [String current=null] : iv_ruleReal= ruleReal EOF ; |
6245 | public final String entryRuleReal() throws RecognitionException { | 6178 | public final String entryRuleReal() throws RecognitionException { |
6246 | String current = null; | 6179 | String current = null; |
6247 | 6180 | ||
6248 | AntlrDatatypeRuleToken iv_ruleReal = null; | 6181 | AntlrDatatypeRuleToken iv_ruleReal = null; |
6249 | 6182 | ||
6250 | 6183 | ||
6251 | |||
6252 | HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); | ||
6253 | |||
6254 | try { | 6184 | try { |
6255 | // InternalProblem.g:2260:2: (iv_ruleReal= ruleReal EOF ) | 6185 | // InternalProblem.g:2246:44: (iv_ruleReal= ruleReal EOF ) |
6256 | // InternalProblem.g:2261:2: iv_ruleReal= ruleReal EOF | 6186 | // InternalProblem.g:2247:2: iv_ruleReal= ruleReal EOF |
6257 | { | 6187 | { |
6258 | newCompositeNode(grammarAccess.getRealRule()); | 6188 | newCompositeNode(grammarAccess.getRealRule()); |
6259 | pushFollow(FOLLOW_1); | 6189 | pushFollow(FOLLOW_1); |
@@ -6273,9 +6203,6 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6273 | appendSkippedTokens(); | 6203 | appendSkippedTokens(); |
6274 | } | 6204 | } |
6275 | finally { | 6205 | finally { |
6276 | |||
6277 | myHiddenTokenState.restore(); | ||
6278 | |||
6279 | } | 6206 | } |
6280 | return current; | 6207 | return current; |
6281 | } | 6208 | } |
@@ -6283,39 +6210,38 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6283 | 6210 | ||
6284 | 6211 | ||
6285 | // $ANTLR start "ruleReal" | 6212 | // $ANTLR start "ruleReal" |
6286 | // InternalProblem.g:2270:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ( (kw= '.' this_INT_3= RULE_INT ) | ( (kw= '.' this_INT_5= RULE_INT )? (kw= 'e' | kw= 'E' ) (kw= '-' | kw= '+' )? this_INT_10= RULE_INT ) ) ) ; | 6213 | // InternalProblem.g:2253:1: ruleReal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? (this_EXPONENTIAL_1= RULE_EXPONENTIAL | (this_INT_2= RULE_INT kw= '.' (this_INT_4= RULE_INT | this_EXPONENTIAL_5= RULE_EXPONENTIAL ) ) ) ) ; |
6287 | public final AntlrDatatypeRuleToken ruleReal() throws RecognitionException { | 6214 | public final AntlrDatatypeRuleToken ruleReal() throws RecognitionException { |
6288 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); | 6215 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
6289 | 6216 | ||
6290 | Token kw=null; | 6217 | Token kw=null; |
6291 | Token this_INT_1=null; | 6218 | Token this_EXPONENTIAL_1=null; |
6292 | Token this_INT_3=null; | 6219 | Token this_INT_2=null; |
6293 | Token this_INT_5=null; | 6220 | Token this_INT_4=null; |
6294 | Token this_INT_10=null; | 6221 | Token this_EXPONENTIAL_5=null; |
6295 | 6222 | ||
6296 | 6223 | ||
6297 | enterRule(); | 6224 | enterRule(); |
6298 | HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); | ||
6299 | 6225 | ||
6300 | try { | 6226 | try { |
6301 | // InternalProblem.g:2277:2: ( ( (kw= '-' )? this_INT_1= RULE_INT ( (kw= '.' this_INT_3= RULE_INT ) | ( (kw= '.' this_INT_5= RULE_INT )? (kw= 'e' | kw= 'E' ) (kw= '-' | kw= '+' )? this_INT_10= RULE_INT ) ) ) ) | 6227 | // InternalProblem.g:2259:2: ( ( (kw= '-' )? (this_EXPONENTIAL_1= RULE_EXPONENTIAL | (this_INT_2= RULE_INT kw= '.' (this_INT_4= RULE_INT | this_EXPONENTIAL_5= RULE_EXPONENTIAL ) ) ) ) ) |
6302 | // InternalProblem.g:2278:2: ( (kw= '-' )? this_INT_1= RULE_INT ( (kw= '.' this_INT_3= RULE_INT ) | ( (kw= '.' this_INT_5= RULE_INT )? (kw= 'e' | kw= 'E' ) (kw= '-' | kw= '+' )? this_INT_10= RULE_INT ) ) ) | 6228 | // InternalProblem.g:2260:2: ( (kw= '-' )? (this_EXPONENTIAL_1= RULE_EXPONENTIAL | (this_INT_2= RULE_INT kw= '.' (this_INT_4= RULE_INT | this_EXPONENTIAL_5= RULE_EXPONENTIAL ) ) ) ) |
6303 | { | 6229 | { |
6304 | // InternalProblem.g:2278:2: ( (kw= '-' )? this_INT_1= RULE_INT ( (kw= '.' this_INT_3= RULE_INT ) | ( (kw= '.' this_INT_5= RULE_INT )? (kw= 'e' | kw= 'E' ) (kw= '-' | kw= '+' )? this_INT_10= RULE_INT ) ) ) | 6230 | // InternalProblem.g:2260:2: ( (kw= '-' )? (this_EXPONENTIAL_1= RULE_EXPONENTIAL | (this_INT_2= RULE_INT kw= '.' (this_INT_4= RULE_INT | this_EXPONENTIAL_5= RULE_EXPONENTIAL ) ) ) ) |
6305 | // InternalProblem.g:2279:3: (kw= '-' )? this_INT_1= RULE_INT ( (kw= '.' this_INT_3= RULE_INT ) | ( (kw= '.' this_INT_5= RULE_INT )? (kw= 'e' | kw= 'E' ) (kw= '-' | kw= '+' )? this_INT_10= RULE_INT ) ) | 6231 | // InternalProblem.g:2261:3: (kw= '-' )? (this_EXPONENTIAL_1= RULE_EXPONENTIAL | (this_INT_2= RULE_INT kw= '.' (this_INT_4= RULE_INT | this_EXPONENTIAL_5= RULE_EXPONENTIAL ) ) ) |
6306 | { | 6232 | { |
6307 | // InternalProblem.g:2279:3: (kw= '-' )? | 6233 | // InternalProblem.g:2261:3: (kw= '-' )? |
6308 | int alt47=2; | 6234 | int alt47=2; |
6309 | int LA47_0 = input.LA(1); | 6235 | int LA47_0 = input.LA(1); |
6310 | 6236 | ||
6311 | if ( (LA47_0==45) ) { | 6237 | if ( (LA47_0==44) ) { |
6312 | alt47=1; | 6238 | alt47=1; |
6313 | } | 6239 | } |
6314 | switch (alt47) { | 6240 | switch (alt47) { |
6315 | case 1 : | 6241 | case 1 : |
6316 | // InternalProblem.g:2280:4: kw= '-' | 6242 | // InternalProblem.g:2262:4: kw= '-' |
6317 | { | 6243 | { |
6318 | kw=(Token)match(input,45,FOLLOW_17); | 6244 | kw=(Token)match(input,44,FOLLOW_39); |
6319 | 6245 | ||
6320 | current.merge(kw); | 6246 | current.merge(kw); |
6321 | newLeafNode(kw, grammarAccess.getRealAccess().getHyphenMinusKeyword_0()); | 6247 | newLeafNode(kw, grammarAccess.getRealAccess().getHyphenMinusKeyword_0()); |
@@ -6326,183 +6252,93 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6326 | 6252 | ||
6327 | } | 6253 | } |
6328 | 6254 | ||
6329 | this_INT_1=(Token)match(input,RULE_INT,FOLLOW_39); | 6255 | // InternalProblem.g:2268:3: (this_EXPONENTIAL_1= RULE_EXPONENTIAL | (this_INT_2= RULE_INT kw= '.' (this_INT_4= RULE_INT | this_EXPONENTIAL_5= RULE_EXPONENTIAL ) ) ) |
6256 | int alt49=2; | ||
6257 | int LA49_0 = input.LA(1); | ||
6330 | 6258 | ||
6331 | current.merge(this_INT_1); | 6259 | if ( (LA49_0==RULE_EXPONENTIAL) ) { |
6332 | 6260 | alt49=1; | |
6333 | |||
6334 | newLeafNode(this_INT_1, grammarAccess.getRealAccess().getINTTerminalRuleCall_1()); | ||
6335 | |||
6336 | // InternalProblem.g:2293:3: ( (kw= '.' this_INT_3= RULE_INT ) | ( (kw= '.' this_INT_5= RULE_INT )? (kw= 'e' | kw= 'E' ) (kw= '-' | kw= '+' )? this_INT_10= RULE_INT ) ) | ||
6337 | int alt51=2; | ||
6338 | int LA51_0 = input.LA(1); | ||
6339 | |||
6340 | if ( (LA51_0==13) ) { | ||
6341 | int LA51_1 = input.LA(2); | ||
6342 | |||
6343 | if ( (LA51_1==RULE_INT) ) { | ||
6344 | int LA51_3 = input.LA(3); | ||
6345 | |||
6346 | if ( (LA51_3==EOF||LA51_3==13||LA51_3==17||LA51_3==30) ) { | ||
6347 | alt51=1; | ||
6348 | } | ||
6349 | else if ( ((LA51_3>=43 && LA51_3<=44)) ) { | ||
6350 | alt51=2; | ||
6351 | } | ||
6352 | else { | ||
6353 | NoViableAltException nvae = | ||
6354 | new NoViableAltException("", 51, 3, input); | ||
6355 | |||
6356 | throw nvae; | ||
6357 | } | ||
6358 | } | ||
6359 | else { | ||
6360 | NoViableAltException nvae = | ||
6361 | new NoViableAltException("", 51, 1, input); | ||
6362 | |||
6363 | throw nvae; | ||
6364 | } | ||
6365 | } | 6261 | } |
6366 | else if ( ((LA51_0>=43 && LA51_0<=44)) ) { | 6262 | else if ( (LA49_0==RULE_INT) ) { |
6367 | alt51=2; | 6263 | alt49=2; |
6368 | } | 6264 | } |
6369 | else { | 6265 | else { |
6370 | NoViableAltException nvae = | 6266 | NoViableAltException nvae = |
6371 | new NoViableAltException("", 51, 0, input); | 6267 | new NoViableAltException("", 49, 0, input); |
6372 | 6268 | ||
6373 | throw nvae; | 6269 | throw nvae; |
6374 | } | 6270 | } |
6375 | switch (alt51) { | 6271 | switch (alt49) { |
6376 | case 1 : | 6272 | case 1 : |
6377 | // InternalProblem.g:2294:4: (kw= '.' this_INT_3= RULE_INT ) | 6273 | // InternalProblem.g:2269:4: this_EXPONENTIAL_1= RULE_EXPONENTIAL |
6378 | { | ||
6379 | // InternalProblem.g:2294:4: (kw= '.' this_INT_3= RULE_INT ) | ||
6380 | // InternalProblem.g:2295:5: kw= '.' this_INT_3= RULE_INT | ||
6381 | { | 6274 | { |
6382 | kw=(Token)match(input,13,FOLLOW_17); | 6275 | this_EXPONENTIAL_1=(Token)match(input,RULE_EXPONENTIAL,FOLLOW_2); |
6383 | |||
6384 | current.merge(kw); | ||
6385 | newLeafNode(kw, grammarAccess.getRealAccess().getFullStopKeyword_2_0_0()); | ||
6386 | |||
6387 | this_INT_3=(Token)match(input,RULE_INT,FOLLOW_2); | ||
6388 | |||
6389 | current.merge(this_INT_3); | ||
6390 | |||
6391 | |||
6392 | newLeafNode(this_INT_3, grammarAccess.getRealAccess().getINTTerminalRuleCall_2_0_1()); | ||
6393 | |||
6394 | 6276 | ||
6395 | } | 6277 | current.merge(this_EXPONENTIAL_1); |
6278 | |||
6396 | 6279 | ||
6280 | newLeafNode(this_EXPONENTIAL_1, grammarAccess.getRealAccess().getEXPONENTIALTerminalRuleCall_1_0()); | ||
6281 | |||
6397 | 6282 | ||
6398 | } | 6283 | } |
6399 | break; | 6284 | break; |
6400 | case 2 : | 6285 | case 2 : |
6401 | // InternalProblem.g:2309:4: ( (kw= '.' this_INT_5= RULE_INT )? (kw= 'e' | kw= 'E' ) (kw= '-' | kw= '+' )? this_INT_10= RULE_INT ) | 6286 | // InternalProblem.g:2277:4: (this_INT_2= RULE_INT kw= '.' (this_INT_4= RULE_INT | this_EXPONENTIAL_5= RULE_EXPONENTIAL ) ) |
6402 | { | 6287 | { |
6403 | // InternalProblem.g:2309:4: ( (kw= '.' this_INT_5= RULE_INT )? (kw= 'e' | kw= 'E' ) (kw= '-' | kw= '+' )? this_INT_10= RULE_INT ) | 6288 | // InternalProblem.g:2277:4: (this_INT_2= RULE_INT kw= '.' (this_INT_4= RULE_INT | this_EXPONENTIAL_5= RULE_EXPONENTIAL ) ) |
6404 | // InternalProblem.g:2310:5: (kw= '.' this_INT_5= RULE_INT )? (kw= 'e' | kw= 'E' ) (kw= '-' | kw= '+' )? this_INT_10= RULE_INT | 6289 | // InternalProblem.g:2278:5: this_INT_2= RULE_INT kw= '.' (this_INT_4= RULE_INT | this_EXPONENTIAL_5= RULE_EXPONENTIAL ) |
6405 | { | 6290 | { |
6406 | // InternalProblem.g:2310:5: (kw= '.' this_INT_5= RULE_INT )? | 6291 | this_INT_2=(Token)match(input,RULE_INT,FOLLOW_4); |
6407 | int alt48=2; | ||
6408 | int LA48_0 = input.LA(1); | ||
6409 | |||
6410 | if ( (LA48_0==13) ) { | ||
6411 | alt48=1; | ||
6412 | } | ||
6413 | switch (alt48) { | ||
6414 | case 1 : | ||
6415 | // InternalProblem.g:2311:6: kw= '.' this_INT_5= RULE_INT | ||
6416 | { | ||
6417 | kw=(Token)match(input,13,FOLLOW_17); | ||
6418 | |||
6419 | current.merge(kw); | ||
6420 | newLeafNode(kw, grammarAccess.getRealAccess().getFullStopKeyword_2_1_0_0()); | ||
6421 | |||
6422 | this_INT_5=(Token)match(input,RULE_INT,FOLLOW_40); | ||
6423 | |||
6424 | current.merge(this_INT_5); | ||
6425 | |||
6426 | 6292 | ||
6427 | newLeafNode(this_INT_5, grammarAccess.getRealAccess().getINTTerminalRuleCall_2_1_0_1()); | 6293 | current.merge(this_INT_2); |
6428 | 6294 | ||
6429 | |||
6430 | } | ||
6431 | break; | ||
6432 | 6295 | ||
6433 | } | 6296 | newLeafNode(this_INT_2, grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1_0()); |
6297 | |||
6298 | kw=(Token)match(input,14,FOLLOW_39); | ||
6434 | 6299 | ||
6435 | // InternalProblem.g:2324:5: (kw= 'e' | kw= 'E' ) | 6300 | current.merge(kw); |
6436 | int alt49=2; | 6301 | newLeafNode(kw, grammarAccess.getRealAccess().getFullStopKeyword_1_1_1()); |
6437 | int LA49_0 = input.LA(1); | 6302 | |
6303 | // InternalProblem.g:2290:5: (this_INT_4= RULE_INT | this_EXPONENTIAL_5= RULE_EXPONENTIAL ) | ||
6304 | int alt48=2; | ||
6305 | int LA48_0 = input.LA(1); | ||
6438 | 6306 | ||
6439 | if ( (LA49_0==43) ) { | 6307 | if ( (LA48_0==RULE_INT) ) { |
6440 | alt49=1; | 6308 | alt48=1; |
6441 | } | 6309 | } |
6442 | else if ( (LA49_0==44) ) { | 6310 | else if ( (LA48_0==RULE_EXPONENTIAL) ) { |
6443 | alt49=2; | 6311 | alt48=2; |
6444 | } | 6312 | } |
6445 | else { | 6313 | else { |
6446 | NoViableAltException nvae = | 6314 | NoViableAltException nvae = |
6447 | new NoViableAltException("", 49, 0, input); | 6315 | new NoViableAltException("", 48, 0, input); |
6448 | 6316 | ||
6449 | throw nvae; | 6317 | throw nvae; |
6450 | } | 6318 | } |
6451 | switch (alt49) { | 6319 | switch (alt48) { |
6452 | case 1 : | 6320 | case 1 : |
6453 | // InternalProblem.g:2325:6: kw= 'e' | 6321 | // InternalProblem.g:2291:6: this_INT_4= RULE_INT |
6454 | { | 6322 | { |
6455 | kw=(Token)match(input,43,FOLLOW_41); | 6323 | this_INT_4=(Token)match(input,RULE_INT,FOLLOW_2); |
6456 | 6324 | ||
6457 | current.merge(kw); | 6325 | current.merge(this_INT_4); |
6458 | newLeafNode(kw, grammarAccess.getRealAccess().getEKeyword_2_1_1_0()); | ||
6459 | 6326 | ||
6460 | 6327 | ||
6461 | } | 6328 | newLeafNode(this_INT_4, grammarAccess.getRealAccess().getINTTerminalRuleCall_1_1_2_0()); |
6462 | break; | ||
6463 | case 2 : | ||
6464 | // InternalProblem.g:2331:6: kw= 'E' | ||
6465 | { | ||
6466 | kw=(Token)match(input,44,FOLLOW_41); | ||
6467 | |||
6468 | current.merge(kw); | ||
6469 | newLeafNode(kw, grammarAccess.getRealAccess().getEKeyword_2_1_1_1()); | ||
6470 | 6329 | ||
6471 | 6330 | ||
6472 | } | 6331 | } |
6473 | break; | 6332 | break; |
6474 | 6333 | case 2 : | |
6475 | } | 6334 | // InternalProblem.g:2299:6: this_EXPONENTIAL_5= RULE_EXPONENTIAL |
6476 | |||
6477 | // InternalProblem.g:2337:5: (kw= '-' | kw= '+' )? | ||
6478 | int alt50=3; | ||
6479 | int LA50_0 = input.LA(1); | ||
6480 | |||
6481 | if ( (LA50_0==45) ) { | ||
6482 | alt50=1; | ||
6483 | } | ||
6484 | else if ( (LA50_0==33) ) { | ||
6485 | alt50=2; | ||
6486 | } | ||
6487 | switch (alt50) { | ||
6488 | case 1 : | ||
6489 | // InternalProblem.g:2338:6: kw= '-' | ||
6490 | { | 6335 | { |
6491 | kw=(Token)match(input,45,FOLLOW_17); | 6336 | this_EXPONENTIAL_5=(Token)match(input,RULE_EXPONENTIAL,FOLLOW_2); |
6492 | 6337 | ||
6493 | current.merge(kw); | 6338 | current.merge(this_EXPONENTIAL_5); |
6494 | newLeafNode(kw, grammarAccess.getRealAccess().getHyphenMinusKeyword_2_1_2_0()); | ||
6495 | 6339 | ||
6496 | 6340 | ||
6497 | } | 6341 | newLeafNode(this_EXPONENTIAL_5, grammarAccess.getRealAccess().getEXPONENTIALTerminalRuleCall_1_1_2_1()); |
6498 | break; | ||
6499 | case 2 : | ||
6500 | // InternalProblem.g:2344:6: kw= '+' | ||
6501 | { | ||
6502 | kw=(Token)match(input,33,FOLLOW_17); | ||
6503 | |||
6504 | current.merge(kw); | ||
6505 | newLeafNode(kw, grammarAccess.getRealAccess().getPlusSignKeyword_2_1_2_1()); | ||
6506 | 6342 | ||
6507 | 6343 | ||
6508 | } | 6344 | } |
@@ -6510,13 +6346,6 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6510 | 6346 | ||
6511 | } | 6347 | } |
6512 | 6348 | ||
6513 | this_INT_10=(Token)match(input,RULE_INT,FOLLOW_2); | ||
6514 | |||
6515 | current.merge(this_INT_10); | ||
6516 | |||
6517 | |||
6518 | newLeafNode(this_INT_10, grammarAccess.getRealAccess().getINTTerminalRuleCall_2_1_3()); | ||
6519 | |||
6520 | 6349 | ||
6521 | } | 6350 | } |
6522 | 6351 | ||
@@ -6542,9 +6371,6 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6542 | appendSkippedTokens(); | 6371 | appendSkippedTokens(); |
6543 | } | 6372 | } |
6544 | finally { | 6373 | finally { |
6545 | |||
6546 | myHiddenTokenState.restore(); | ||
6547 | |||
6548 | } | 6374 | } |
6549 | return current; | 6375 | return current; |
6550 | } | 6376 | } |
@@ -6552,7 +6378,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6552 | 6378 | ||
6553 | 6379 | ||
6554 | // $ANTLR start "ruleLogicValue" | 6380 | // $ANTLR start "ruleLogicValue" |
6555 | // InternalProblem.g:2366:1: ruleLogicValue returns [Enumerator current=null] : ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) | (enumLiteral_2= 'unknown' ) ) ; | 6381 | // InternalProblem.g:2313:1: ruleLogicValue returns [Enumerator current=null] : ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) | (enumLiteral_2= 'unknown' ) ) ; |
6556 | public final Enumerator ruleLogicValue() throws RecognitionException { | 6382 | public final Enumerator ruleLogicValue() throws RecognitionException { |
6557 | Enumerator current = null; | 6383 | Enumerator current = null; |
6558 | 6384 | ||
@@ -6564,42 +6390,42 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6564 | enterRule(); | 6390 | enterRule(); |
6565 | 6391 | ||
6566 | try { | 6392 | try { |
6567 | // InternalProblem.g:2372:2: ( ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) | (enumLiteral_2= 'unknown' ) ) ) | 6393 | // InternalProblem.g:2319:2: ( ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) | (enumLiteral_2= 'unknown' ) ) ) |
6568 | // InternalProblem.g:2373:2: ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) | (enumLiteral_2= 'unknown' ) ) | 6394 | // InternalProblem.g:2320:2: ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) | (enumLiteral_2= 'unknown' ) ) |
6569 | { | 6395 | { |
6570 | // InternalProblem.g:2373:2: ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) | (enumLiteral_2= 'unknown' ) ) | 6396 | // InternalProblem.g:2320:2: ( (enumLiteral_0= 'true' ) | (enumLiteral_1= 'false' ) | (enumLiteral_2= 'unknown' ) ) |
6571 | int alt52=3; | 6397 | int alt50=3; |
6572 | switch ( input.LA(1) ) { | 6398 | switch ( input.LA(1) ) { |
6573 | case 41: | 6399 | case 42: |
6574 | { | 6400 | { |
6575 | alt52=1; | 6401 | alt50=1; |
6576 | } | 6402 | } |
6577 | break; | 6403 | break; |
6578 | case 42: | 6404 | case 43: |
6579 | { | 6405 | { |
6580 | alt52=2; | 6406 | alt50=2; |
6581 | } | 6407 | } |
6582 | break; | 6408 | break; |
6583 | case 46: | 6409 | case 45: |
6584 | { | 6410 | { |
6585 | alt52=3; | 6411 | alt50=3; |
6586 | } | 6412 | } |
6587 | break; | 6413 | break; |
6588 | default: | 6414 | default: |
6589 | NoViableAltException nvae = | 6415 | NoViableAltException nvae = |
6590 | new NoViableAltException("", 52, 0, input); | 6416 | new NoViableAltException("", 50, 0, input); |
6591 | 6417 | ||
6592 | throw nvae; | 6418 | throw nvae; |
6593 | } | 6419 | } |
6594 | 6420 | ||
6595 | switch (alt52) { | 6421 | switch (alt50) { |
6596 | case 1 : | 6422 | case 1 : |
6597 | // InternalProblem.g:2374:3: (enumLiteral_0= 'true' ) | 6423 | // InternalProblem.g:2321:3: (enumLiteral_0= 'true' ) |
6598 | { | 6424 | { |
6599 | // InternalProblem.g:2374:3: (enumLiteral_0= 'true' ) | 6425 | // InternalProblem.g:2321:3: (enumLiteral_0= 'true' ) |
6600 | // InternalProblem.g:2375:4: enumLiteral_0= 'true' | 6426 | // InternalProblem.g:2322:4: enumLiteral_0= 'true' |
6601 | { | 6427 | { |
6602 | enumLiteral_0=(Token)match(input,41,FOLLOW_2); | 6428 | enumLiteral_0=(Token)match(input,42,FOLLOW_2); |
6603 | 6429 | ||
6604 | current = grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); | 6430 | current = grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); |
6605 | newLeafNode(enumLiteral_0, grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); | 6431 | newLeafNode(enumLiteral_0, grammarAccess.getLogicValueAccess().getTRUEEnumLiteralDeclaration_0()); |
@@ -6611,12 +6437,12 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6611 | } | 6437 | } |
6612 | break; | 6438 | break; |
6613 | case 2 : | 6439 | case 2 : |
6614 | // InternalProblem.g:2382:3: (enumLiteral_1= 'false' ) | 6440 | // InternalProblem.g:2329:3: (enumLiteral_1= 'false' ) |
6615 | { | 6441 | { |
6616 | // InternalProblem.g:2382:3: (enumLiteral_1= 'false' ) | 6442 | // InternalProblem.g:2329:3: (enumLiteral_1= 'false' ) |
6617 | // InternalProblem.g:2383:4: enumLiteral_1= 'false' | 6443 | // InternalProblem.g:2330:4: enumLiteral_1= 'false' |
6618 | { | 6444 | { |
6619 | enumLiteral_1=(Token)match(input,42,FOLLOW_2); | 6445 | enumLiteral_1=(Token)match(input,43,FOLLOW_2); |
6620 | 6446 | ||
6621 | current = grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); | 6447 | current = grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); |
6622 | newLeafNode(enumLiteral_1, grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); | 6448 | newLeafNode(enumLiteral_1, grammarAccess.getLogicValueAccess().getFALSEEnumLiteralDeclaration_1()); |
@@ -6628,12 +6454,12 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6628 | } | 6454 | } |
6629 | break; | 6455 | break; |
6630 | case 3 : | 6456 | case 3 : |
6631 | // InternalProblem.g:2390:3: (enumLiteral_2= 'unknown' ) | 6457 | // InternalProblem.g:2337:3: (enumLiteral_2= 'unknown' ) |
6632 | { | 6458 | { |
6633 | // InternalProblem.g:2390:3: (enumLiteral_2= 'unknown' ) | 6459 | // InternalProblem.g:2337:3: (enumLiteral_2= 'unknown' ) |
6634 | // InternalProblem.g:2391:4: enumLiteral_2= 'unknown' | 6460 | // InternalProblem.g:2338:4: enumLiteral_2= 'unknown' |
6635 | { | 6461 | { |
6636 | enumLiteral_2=(Token)match(input,46,FOLLOW_2); | 6462 | enumLiteral_2=(Token)match(input,45,FOLLOW_2); |
6637 | 6463 | ||
6638 | current = grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); | 6464 | current = grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); |
6639 | newLeafNode(enumLiteral_2, grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); | 6465 | newLeafNode(enumLiteral_2, grammarAccess.getLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_2()); |
@@ -6667,7 +6493,7 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6667 | 6493 | ||
6668 | 6494 | ||
6669 | // $ANTLR start "ruleShortLogicValue" | 6495 | // $ANTLR start "ruleShortLogicValue" |
6670 | // InternalProblem.g:2401:1: ruleShortLogicValue returns [Enumerator current=null] : ( (enumLiteral_0= '!' ) | (enumLiteral_1= '?' ) ) ; | 6496 | // InternalProblem.g:2348:1: ruleShortLogicValue returns [Enumerator current=null] : ( (enumLiteral_0= '!' ) | (enumLiteral_1= '?' ) ) ; |
6671 | public final Enumerator ruleShortLogicValue() throws RecognitionException { | 6497 | public final Enumerator ruleShortLogicValue() throws RecognitionException { |
6672 | Enumerator current = null; | 6498 | Enumerator current = null; |
6673 | 6499 | ||
@@ -6678,33 +6504,33 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6678 | enterRule(); | 6504 | enterRule(); |
6679 | 6505 | ||
6680 | try { | 6506 | try { |
6681 | // InternalProblem.g:2407:2: ( ( (enumLiteral_0= '!' ) | (enumLiteral_1= '?' ) ) ) | 6507 | // InternalProblem.g:2354:2: ( ( (enumLiteral_0= '!' ) | (enumLiteral_1= '?' ) ) ) |
6682 | // InternalProblem.g:2408:2: ( (enumLiteral_0= '!' ) | (enumLiteral_1= '?' ) ) | 6508 | // InternalProblem.g:2355:2: ( (enumLiteral_0= '!' ) | (enumLiteral_1= '?' ) ) |
6683 | { | 6509 | { |
6684 | // InternalProblem.g:2408:2: ( (enumLiteral_0= '!' ) | (enumLiteral_1= '?' ) ) | 6510 | // InternalProblem.g:2355:2: ( (enumLiteral_0= '!' ) | (enumLiteral_1= '?' ) ) |
6685 | int alt53=2; | 6511 | int alt51=2; |
6686 | int LA53_0 = input.LA(1); | 6512 | int LA51_0 = input.LA(1); |
6687 | 6513 | ||
6688 | if ( (LA53_0==32) ) { | 6514 | if ( (LA51_0==33) ) { |
6689 | alt53=1; | 6515 | alt51=1; |
6690 | } | 6516 | } |
6691 | else if ( (LA53_0==47) ) { | 6517 | else if ( (LA51_0==46) ) { |
6692 | alt53=2; | 6518 | alt51=2; |
6693 | } | 6519 | } |
6694 | else { | 6520 | else { |
6695 | NoViableAltException nvae = | 6521 | NoViableAltException nvae = |
6696 | new NoViableAltException("", 53, 0, input); | 6522 | new NoViableAltException("", 51, 0, input); |
6697 | 6523 | ||
6698 | throw nvae; | 6524 | throw nvae; |
6699 | } | 6525 | } |
6700 | switch (alt53) { | 6526 | switch (alt51) { |
6701 | case 1 : | 6527 | case 1 : |
6702 | // InternalProblem.g:2409:3: (enumLiteral_0= '!' ) | 6528 | // InternalProblem.g:2356:3: (enumLiteral_0= '!' ) |
6703 | { | 6529 | { |
6704 | // InternalProblem.g:2409:3: (enumLiteral_0= '!' ) | 6530 | // InternalProblem.g:2356:3: (enumLiteral_0= '!' ) |
6705 | // InternalProblem.g:2410:4: enumLiteral_0= '!' | 6531 | // InternalProblem.g:2357:4: enumLiteral_0= '!' |
6706 | { | 6532 | { |
6707 | enumLiteral_0=(Token)match(input,32,FOLLOW_2); | 6533 | enumLiteral_0=(Token)match(input,33,FOLLOW_2); |
6708 | 6534 | ||
6709 | current = grammarAccess.getShortLogicValueAccess().getFALSEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); | 6535 | current = grammarAccess.getShortLogicValueAccess().getFALSEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); |
6710 | newLeafNode(enumLiteral_0, grammarAccess.getShortLogicValueAccess().getFALSEEnumLiteralDeclaration_0()); | 6536 | newLeafNode(enumLiteral_0, grammarAccess.getShortLogicValueAccess().getFALSEEnumLiteralDeclaration_0()); |
@@ -6716,12 +6542,12 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6716 | } | 6542 | } |
6717 | break; | 6543 | break; |
6718 | case 2 : | 6544 | case 2 : |
6719 | // InternalProblem.g:2417:3: (enumLiteral_1= '?' ) | 6545 | // InternalProblem.g:2364:3: (enumLiteral_1= '?' ) |
6720 | { | 6546 | { |
6721 | // InternalProblem.g:2417:3: (enumLiteral_1= '?' ) | 6547 | // InternalProblem.g:2364:3: (enumLiteral_1= '?' ) |
6722 | // InternalProblem.g:2418:4: enumLiteral_1= '?' | 6548 | // InternalProblem.g:2365:4: enumLiteral_1= '?' |
6723 | { | 6549 | { |
6724 | enumLiteral_1=(Token)match(input,47,FOLLOW_2); | 6550 | enumLiteral_1=(Token)match(input,46,FOLLOW_2); |
6725 | 6551 | ||
6726 | current = grammarAccess.getShortLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); | 6552 | current = grammarAccess.getShortLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); |
6727 | newLeafNode(enumLiteral_1, grammarAccess.getShortLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_1()); | 6553 | newLeafNode(enumLiteral_1, grammarAccess.getShortLogicValueAccess().getUNKNOWNEnumLiteralDeclaration_1()); |
@@ -6758,31 +6584,27 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6758 | 6584 | ||
6759 | protected DFA3 dfa3 = new DFA3(this); | 6585 | protected DFA3 dfa3 = new DFA3(this); |
6760 | protected DFA35 dfa35 = new DFA35(this); | 6586 | protected DFA35 dfa35 = new DFA35(this); |
6761 | static final String dfa_1s = "\23\uffff"; | 6587 | static final String dfa_1s = "\17\uffff"; |
6762 | static final String dfa_2s = "\1\5\3\uffff\6\35\3\uffff\1\5\5\35"; | 6588 | static final String dfa_2s = "\1\5\3\uffff\4\36\3\uffff\1\5\3\36"; |
6763 | static final String dfa_3s = "\1\57\3\uffff\1\42\5\50\3\uffff\1\54\5\50"; | 6589 | static final String dfa_3s = "\1\56\3\uffff\1\43\3\51\3\uffff\1\53\3\51"; |
6764 | static final String dfa_4s = "\1\uffff\1\1\1\2\1\3\6\uffff\1\4\1\6\1\5\6\uffff"; | 6590 | static final String dfa_4s = "\1\uffff\1\1\1\2\1\3\4\uffff\1\4\1\6\1\5\4\uffff"; |
6765 | static final String dfa_5s = "\23\uffff}>"; | 6591 | static final String dfa_5s = "\17\uffff}>"; |
6766 | static final String[] dfa_6s = { | 6592 | static final String[] dfa_6s = { |
6767 | "\1\5\1\uffff\1\4\6\uffff\2\1\5\uffff\1\2\5\uffff\2\3\3\uffff\1\12\2\uffff\1\13\5\uffff\1\6\1\7\1\10\1\11\2\uffff\1\12", | 6593 | "\1\5\1\uffff\1\4\7\uffff\2\1\5\uffff\1\2\5\uffff\2\3\3\uffff\1\10\2\uffff\1\11\5\uffff\1\6\1\7\2\uffff\1\10", |
6768 | "", | 6594 | "", |
6769 | "", | 6595 | "", |
6770 | "", | 6596 | "", |
6771 | "\1\12\4\uffff\1\14", | 6597 | "\1\10\4\uffff\1\12", |
6772 | "\1\12\4\uffff\1\14\5\uffff\1\15", | 6598 | "\1\10\4\uffff\1\12\5\uffff\1\13", |
6773 | "\1\12\4\uffff\1\14\5\uffff\1\15", | 6599 | "\1\10\4\uffff\1\12\5\uffff\1\13", |
6774 | "\1\12\4\uffff\1\14\5\uffff\1\15", | 6600 | "\1\10\4\uffff\1\12\5\uffff\1\13", |
6775 | "\1\12\4\uffff\1\14\5\uffff\1\15", | ||
6776 | "\1\12\4\uffff\1\14\5\uffff\1\15", | ||
6777 | "", | 6601 | "", |
6778 | "", | 6602 | "", |
6779 | "", | 6603 | "", |
6780 | "\1\16\43\uffff\1\17\1\20\1\21\1\22", | 6604 | "\1\14\44\uffff\1\15\1\16", |
6781 | "\1\12\4\uffff\1\14\5\uffff\1\15", | 6605 | "\1\10\4\uffff\1\12\5\uffff\1\13", |
6782 | "\1\12\4\uffff\1\14\5\uffff\1\15", | 6606 | "\1\10\4\uffff\1\12\5\uffff\1\13", |
6783 | "\1\12\4\uffff\1\14\5\uffff\1\15", | 6607 | "\1\10\4\uffff\1\12\5\uffff\1\13" |
6784 | "\1\12\4\uffff\1\14\5\uffff\1\15", | ||
6785 | "\1\12\4\uffff\1\14\5\uffff\1\15" | ||
6786 | }; | 6608 | }; |
6787 | 6609 | ||
6788 | static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); | 6610 | static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); |
@@ -6809,74 +6631,56 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6809 | return "146:2: (this_ClassDeclaration_0= ruleClassDeclaration | this_EnumDeclaration_1= ruleEnumDeclaration | this_PredicateDefinition_2= rulePredicateDefinition | this_Assertion_3= ruleAssertion | this_NodeValueAssertion_4= ruleNodeValueAssertion | this_ScopeDeclaration_5= ruleScopeDeclaration )"; | 6631 | return "146:2: (this_ClassDeclaration_0= ruleClassDeclaration | this_EnumDeclaration_1= ruleEnumDeclaration | this_PredicateDefinition_2= rulePredicateDefinition | this_Assertion_3= ruleAssertion | this_NodeValueAssertion_4= ruleNodeValueAssertion | this_ScopeDeclaration_5= ruleScopeDeclaration )"; |
6810 | } | 6632 | } |
6811 | } | 6633 | } |
6812 | static final String dfa_7s = "\76\uffff"; | 6634 | static final String dfa_7s = "\54\uffff"; |
6813 | static final String dfa_8s = "\1\5\6\35\1\uffff\1\4\1\5\6\21\1\6\1\15\1\21\1\15\5\35\1\4\1\5\3\6\1\uffff\6\21\1\6\1\15\7\21\2\6\1\21\1\5\3\6\6\21\2\6\1\21"; | 6635 | static final String dfa_8s = "\1\5\4\36\1\uffff\1\4\1\5\4\22\1\6\1\22\1\16\1\22\1\16\3\36\1\4\1\5\1\6\1\uffff\4\22\1\6\1\22\1\16\6\22\1\5\1\6\5\22"; |
6814 | static final String dfa_9s = "\1\57\1\35\5\50\1\uffff\1\55\1\54\1\36\5\50\1\6\1\54\1\36\1\42\5\50\1\55\1\54\1\6\2\55\1\uffff\1\36\5\50\1\6\1\54\1\36\5\50\1\54\2\6\1\36\1\54\1\6\2\55\5\50\1\54\2\6\1\36"; | 6636 | static final String dfa_9s = "\1\56\1\36\3\51\1\uffff\1\54\1\53\1\37\3\51\1\10\3\37\1\43\3\51\1\54\1\53\1\10\1\uffff\1\37\3\51\1\10\3\37\3\51\2\37\1\53\1\10\3\51\2\37"; |
6815 | static final String dfa_10s = "\7\uffff\1\2\26\uffff\1\1\37\uffff"; | 6637 | static final String dfa_10s = "\5\uffff\1\2\21\uffff\1\1\24\uffff"; |
6816 | static final String dfa_11s = "\76\uffff}>"; | 6638 | static final String dfa_11s = "\54\uffff}>"; |
6817 | static final String[] dfa_12s = { | 6639 | static final String[] dfa_12s = { |
6818 | "\1\2\1\uffff\1\1\30\uffff\1\7\10\uffff\1\3\1\4\1\5\1\6\2\uffff\1\7", | 6640 | "\1\2\1\uffff\1\1\31\uffff\1\5\10\uffff\1\3\1\4\2\uffff\1\5", |
6819 | "\1\10", | 6641 | "\1\6", |
6820 | "\1\10\12\uffff\1\11", | 6642 | "\1\6\12\uffff\1\7", |
6821 | "\1\10\12\uffff\1\11", | 6643 | "\1\6\12\uffff\1\7", |
6822 | "\1\10\12\uffff\1\11", | 6644 | "\1\6\12\uffff\1\7", |
6823 | "\1\10\12\uffff\1\11", | ||
6824 | "\1\10\12\uffff\1\11", | ||
6825 | "", | 6645 | "", |
6826 | "\1\22\1\13\1\21\1\12\26\uffff\1\23\12\uffff\1\14\1\15\1\16\1\17\1\20", | 6646 | "\1\17\1\11\1\16\1\10\1\15\26\uffff\1\20\12\uffff\1\12\1\13\1\14", |
6827 | "\1\24\43\uffff\1\25\1\26\1\27\1\30", | 6647 | "\1\21\44\uffff\1\22\1\23", |
6828 | "\1\31\14\uffff\1\23", | 6648 | "\1\24\14\uffff\1\20", |
6829 | "\1\31\14\uffff\1\23\11\uffff\1\32", | 6649 | "\1\24\14\uffff\1\20\11\uffff\1\25", |
6830 | "\1\31\14\uffff\1\23\11\uffff\1\32", | 6650 | "\1\24\14\uffff\1\20\11\uffff\1\25", |
6831 | "\1\31\14\uffff\1\23\11\uffff\1\32", | 6651 | "\1\24\14\uffff\1\20\11\uffff\1\25", |
6832 | "\1\31\14\uffff\1\23\11\uffff\1\32", | 6652 | "\1\16\1\uffff\1\15", |
6833 | "\1\31\14\uffff\1\23\11\uffff\1\32", | 6653 | "\1\24\14\uffff\1\20", |
6834 | "\1\21", | 6654 | "\1\26\3\uffff\1\24\14\uffff\1\20", |
6835 | "\1\33\3\uffff\1\31\14\uffff\1\23\14\uffff\1\34\1\35", | 6655 | "\1\24\14\uffff\1\20", |
6836 | "\1\31\14\uffff\1\23", | 6656 | "\1\5\24\uffff\1\27", |
6837 | "\1\7\24\uffff\1\36", | 6657 | "\1\6\12\uffff\1\7", |
6838 | "\1\10\12\uffff\1\11", | 6658 | "\1\6\12\uffff\1\7", |
6839 | "\1\10\12\uffff\1\11", | 6659 | "\1\6\12\uffff\1\7", |
6840 | "\1\10\12\uffff\1\11", | 6660 | "\1\37\1\31\1\36\1\30\1\35\41\uffff\1\32\1\33\1\34", |
6841 | "\1\10\12\uffff\1\11", | 6661 | "\1\40\44\uffff\1\41\1\42", |
6842 | "\1\10\12\uffff\1\11", | 6662 | "\1\43\1\uffff\1\44", |
6843 | "\1\47\1\40\1\46\1\37\41\uffff\1\41\1\42\1\43\1\44\1\45", | ||
6844 | "\1\50\43\uffff\1\51\1\52\1\53\1\54", | ||
6845 | "\1\55", | ||
6846 | "\1\60\32\uffff\1\57\13\uffff\1\56", | ||
6847 | "\1\60\32\uffff\1\57\13\uffff\1\56", | ||
6848 | "", | 6663 | "", |
6849 | "\1\31\14\uffff\1\23", | 6664 | "\1\24\14\uffff\1\20", |
6850 | "\1\31\14\uffff\1\23\11\uffff\1\61", | 6665 | "\1\24\14\uffff\1\20\11\uffff\1\45", |
6851 | "\1\31\14\uffff\1\23\11\uffff\1\61", | 6666 | "\1\24\14\uffff\1\20\11\uffff\1\45", |
6852 | "\1\31\14\uffff\1\23\11\uffff\1\61", | 6667 | "\1\24\14\uffff\1\20\11\uffff\1\45", |
6853 | "\1\31\14\uffff\1\23\11\uffff\1\61", | 6668 | "\1\36\1\uffff\1\35", |
6854 | "\1\31\14\uffff\1\23\11\uffff\1\61", | 6669 | "\1\24\14\uffff\1\20", |
6855 | "\1\46", | 6670 | "\1\46\3\uffff\1\24\14\uffff\1\20", |
6856 | "\1\62\3\uffff\1\31\14\uffff\1\23\14\uffff\1\63\1\64", | 6671 | "\1\24\14\uffff\1\20", |
6857 | "\1\31\14\uffff\1\23", | 6672 | "\1\24\14\uffff\1\20\11\uffff\1\25", |
6858 | "\1\31\14\uffff\1\23\11\uffff\1\32", | 6673 | "\1\24\14\uffff\1\20\11\uffff\1\25", |
6859 | "\1\31\14\uffff\1\23\11\uffff\1\32", | 6674 | "\1\24\14\uffff\1\20\11\uffff\1\25", |
6860 | "\1\31\14\uffff\1\23\11\uffff\1\32", | 6675 | "\1\24\14\uffff\1\20", |
6861 | "\1\31\14\uffff\1\23\11\uffff\1\32", | 6676 | "\1\24\14\uffff\1\20", |
6862 | "\1\31\14\uffff\1\23\11\uffff\1\32", | 6677 | "\1\47\44\uffff\1\50\1\51", |
6863 | "\1\31\14\uffff\1\23\14\uffff\1\34\1\35", | 6678 | "\1\52\1\uffff\1\53", |
6864 | "\1\60", | 6679 | "\1\24\14\uffff\1\20\11\uffff\1\45", |
6865 | "\1\60", | 6680 | "\1\24\14\uffff\1\20\11\uffff\1\45", |
6866 | "\1\31\14\uffff\1\23", | 6681 | "\1\24\14\uffff\1\20\11\uffff\1\45", |
6867 | "\1\65\43\uffff\1\66\1\67\1\70\1\71", | 6682 | "\1\24\14\uffff\1\20", |
6868 | "\1\72", | 6683 | "\1\24\14\uffff\1\20" |
6869 | "\1\75\32\uffff\1\74\13\uffff\1\73", | ||
6870 | "\1\75\32\uffff\1\74\13\uffff\1\73", | ||
6871 | "\1\31\14\uffff\1\23\11\uffff\1\61", | ||
6872 | "\1\31\14\uffff\1\23\11\uffff\1\61", | ||
6873 | "\1\31\14\uffff\1\23\11\uffff\1\61", | ||
6874 | "\1\31\14\uffff\1\23\11\uffff\1\61", | ||
6875 | "\1\31\14\uffff\1\23\11\uffff\1\61", | ||
6876 | "\1\31\14\uffff\1\23\14\uffff\1\63\1\64", | ||
6877 | "\1\75", | ||
6878 | "\1\75", | ||
6879 | "\1\31\14\uffff\1\23" | ||
6880 | }; | 6684 | }; |
6881 | 6685 | ||
6882 | static final short[] dfa_7 = DFA.unpackEncodedString(dfa_7s); | 6686 | static final short[] dfa_7 = DFA.unpackEncodedString(dfa_7s); |
@@ -6907,44 +6711,42 @@ public class InternalProblemParser extends AbstractInternalAntlrParser { | |||
6907 | 6711 | ||
6908 | public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); | 6712 | public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); |
6909 | public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); | 6713 | public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); |
6910 | public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x00001E0000000020L}); | 6714 | public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x00000C0000000020L}); |
6911 | public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000002000L}); | 6715 | public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000004000L}); |
6912 | public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x00009E091820C0A2L}); | 6716 | public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x00004C12304180A2L}); |
6913 | public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000008000L}); | 6717 | public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000010000L}); |
6914 | public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000052000L}); | 6718 | public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x00000000000A4000L}); |
6915 | public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x00001E00000000A0L}); | 6719 | public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x00000C00000000A0L}); |
6916 | public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000062000L}); | 6720 | public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x00000000000C4000L}); |
6917 | public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x00001E0000D000A0L}); | 6721 | public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x00000C0001A000A0L}); |
6918 | public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x00001E0000D800A0L}); | 6722 | public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x00000C0001B000A0L}); |
6919 | public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000042000L}); | 6723 | public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000084000L}); |
6920 | public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x00001E0000100020L}); | 6724 | public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x00000C0000200020L}); |
6921 | public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x00000000001A0000L}); | 6725 | public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000340000L}); |
6922 | public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000100000L}); | 6726 | public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000200000L}); |
6923 | public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x00001E0001000020L}); | 6727 | public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x00000C0002000020L}); |
6924 | public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000000040L}); | 6728 | public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000000040L}); |
6925 | public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000002000000L}); | 6729 | public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000004000000L}); |
6926 | public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000004000002L}); | 6730 | public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000008000002L}); |
6927 | public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x00001E0010000020L}); | 6731 | public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x00000C0020000020L}); |
6928 | public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000020000000L}); | 6732 | public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000040000000L}); |
6929 | public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x00001E00400000A0L}); | 6733 | public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x00000C00800000A0L}); |
6930 | public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000040020000L}); | 6734 | public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000080040000L}); |
6931 | public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000080002000L}); | 6735 | public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000100004000L}); |
6932 | public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x00001E01000000A0L}); | 6736 | public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x00000C02000000A0L}); |
6933 | public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000082000L}); | 6737 | public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000104000L}); |
6934 | public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000000020002L}); | 6738 | public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000000040002L}); |
6935 | public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000220000000L}); | 6739 | public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000440000000L}); |
6936 | public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x00003E00400000F0L}); | 6740 | public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x00001C00800001F0L}); |
6937 | public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x00003E00000000F0L}); | 6741 | public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x00001C00000001F0L}); |
6938 | public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000400000000L}); | 6742 | public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000800000000L}); |
6939 | public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0000460000000000L}); | 6743 | public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x00002C0000000000L}); |
6940 | public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000000000020L}); | 6744 | public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000000000000020L}); |
6941 | public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000000022000L}); | 6745 | public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000000000044000L}); |
6942 | public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000003000000000L}); | 6746 | public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000006000000000L}); |
6943 | public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000004000000000L}); | 6747 | public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000008000000000L}); |
6944 | public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000008000000040L}); | 6748 | public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000010000000040L}); |
6945 | public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000010000000002L}); | 6749 | public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000020000000002L}); |
6946 | public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000180000002000L}); | 6750 | public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000000000000140L}); |
6947 | public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0000180000000000L}); | ||
6948 | public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0000200200000040L}); | ||
6949 | 6751 | ||
6950 | } \ No newline at end of file | 6752 | } \ No newline at end of file |