diff options
author | OszkarSemerath <oszkar.semerath@gmail.com> | 2018-01-30 01:27:48 +0100 |
---|---|---|
committer | OszkarSemerath <oszkar.semerath@gmail.com> | 2018-01-30 01:27:48 +0100 |
commit | 777d5ecc6031f02ad3757db1c9736b6aad5ac6f5 (patch) | |
tree | c80be670a4d3dc519837c575338cde6c73b17b3e /Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf | |
parent | Loading services (diff) | |
download | VIATRA-Generator-777d5ecc6031f02ad3757db1c9736b6aad5ac6f5.tar.gz VIATRA-Generator-777d5ecc6031f02ad3757db1c9736b6aad5ac6f5.tar.zst VIATRA-Generator-777d5ecc6031f02ad3757db1c9736b6aad5ac6f5.zip |
Scoping + Linking services fixed
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf')
6 files changed, 2650 insertions, 3593 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.xtextbin b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.xtextbin index cf190ec9..73402e2a 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.xtextbin +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.xtextbin | |||
Binary files differ | |||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g index 652983a6..695b7acf 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g | |||
@@ -178,14 +178,11 @@ ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleT | |||
178 | newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); | 178 | newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); |
179 | } | 179 | } |
180 | ( | 180 | ( |
181 | ( | 181 | kw='.' |
182 | ('.')=> | 182 | { |
183 | kw='.' | 183 | $current.merge(kw); |
184 | { | 184 | newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); |
185 | $current.merge(kw); | 185 | } |
186 | newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); | ||
187 | } | ||
188 | ) | ||
189 | this_ID_2=RULE_ID | 186 | this_ID_2=RULE_ID |
190 | { | 187 | { |
191 | $current.merge(this_ID_2); | 188 | $current.merge(this_ID_2); |
@@ -2315,9 +2312,9 @@ ruleObjectReference returns [EObject current=null] | |||
2315 | $current); | 2312 | $current); |
2316 | } | 2313 | } |
2317 | ) | 2314 | ) |
2318 | otherlv_1='Object' | 2315 | otherlv_1='node' |
2319 | { | 2316 | { |
2320 | newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getObjectKeyword_1()); | 2317 | newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); |
2321 | } | 2318 | } |
2322 | ) | 2319 | ) |
2323 | ; | 2320 | ; |
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens index 989df9b4..783a9243 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens | |||
@@ -7,7 +7,6 @@ | |||
7 | '::'=22 | 7 | '::'=22 |
8 | '='=16 | 8 | '='=16 |
9 | 'AlloySolver'=49 | 9 | 'AlloySolver'=49 |
10 | 'Object'=34 | ||
11 | 'SMTSolver'=48 | 10 | 'SMTSolver'=48 |
12 | 'ViatraSolver'=50 | 11 | 'ViatraSolver'=50 |
13 | '['=32 | 12 | '['=32 |
@@ -24,6 +23,7 @@ | |||
24 | 'log'=46 | 23 | 'log'=46 |
25 | 'metamodel'=23 | 24 | 'metamodel'=23 |
26 | 'models'=25 | 25 | 'models'=25 |
26 | 'node'=34 | ||
27 | 'number'=41 | 27 | 'number'=41 |
28 | 'output'=44 | 28 | 'output'=44 |
29 | 'package'=20 | 29 | 'package'=20 |
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java index d93c5bbe..d885919c 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java | |||
@@ -553,10 +553,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
553 | try { | 553 | try { |
554 | int _type = T__34; | 554 | int _type = T__34; |
555 | int _channel = DEFAULT_TOKEN_CHANNEL; | 555 | int _channel = DEFAULT_TOKEN_CHANNEL; |
556 | // InternalApplicationConfiguration.g:34:7: ( 'Object' ) | 556 | // InternalApplicationConfiguration.g:34:7: ( 'node' ) |
557 | // InternalApplicationConfiguration.g:34:9: 'Object' | 557 | // InternalApplicationConfiguration.g:34:9: 'node' |
558 | { | 558 | { |
559 | match("Object"); | 559 | match("node"); |
560 | 560 | ||
561 | 561 | ||
562 | } | 562 | } |
@@ -910,10 +910,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
910 | try { | 910 | try { |
911 | int _type = RULE_ID; | 911 | int _type = RULE_ID; |
912 | int _channel = DEFAULT_TOKEN_CHANNEL; | 912 | int _channel = DEFAULT_TOKEN_CHANNEL; |
913 | // InternalApplicationConfiguration.g:3107:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) | 913 | // InternalApplicationConfiguration.g:3104:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) |
914 | // InternalApplicationConfiguration.g:3107:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | 914 | // InternalApplicationConfiguration.g:3104:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* |
915 | { | 915 | { |
916 | // InternalApplicationConfiguration.g:3107:11: ( '^' )? | 916 | // InternalApplicationConfiguration.g:3104:11: ( '^' )? |
917 | int alt1=2; | 917 | int alt1=2; |
918 | int LA1_0 = input.LA(1); | 918 | int LA1_0 = input.LA(1); |
919 | 919 | ||
@@ -922,7 +922,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
922 | } | 922 | } |
923 | switch (alt1) { | 923 | switch (alt1) { |
924 | case 1 : | 924 | case 1 : |
925 | // InternalApplicationConfiguration.g:3107:11: '^' | 925 | // InternalApplicationConfiguration.g:3104:11: '^' |
926 | { | 926 | { |
927 | match('^'); | 927 | match('^'); |
928 | 928 | ||
@@ -940,7 +940,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
940 | recover(mse); | 940 | recover(mse); |
941 | throw mse;} | 941 | throw mse;} |
942 | 942 | ||
943 | // InternalApplicationConfiguration.g:3107:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | 943 | // InternalApplicationConfiguration.g:3104:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* |
944 | loop2: | 944 | loop2: |
945 | do { | 945 | do { |
946 | int alt2=2; | 946 | int alt2=2; |
@@ -989,10 +989,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
989 | try { | 989 | try { |
990 | int _type = RULE_INT; | 990 | int _type = RULE_INT; |
991 | int _channel = DEFAULT_TOKEN_CHANNEL; | 991 | int _channel = DEFAULT_TOKEN_CHANNEL; |
992 | // InternalApplicationConfiguration.g:3109:10: ( ( '0' .. '9' )+ ) | 992 | // InternalApplicationConfiguration.g:3106:10: ( ( '0' .. '9' )+ ) |
993 | // InternalApplicationConfiguration.g:3109:12: ( '0' .. '9' )+ | 993 | // InternalApplicationConfiguration.g:3106:12: ( '0' .. '9' )+ |
994 | { | 994 | { |
995 | // InternalApplicationConfiguration.g:3109:12: ( '0' .. '9' )+ | 995 | // InternalApplicationConfiguration.g:3106:12: ( '0' .. '9' )+ |
996 | int cnt3=0; | 996 | int cnt3=0; |
997 | loop3: | 997 | loop3: |
998 | do { | 998 | do { |
@@ -1006,7 +1006,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1006 | 1006 | ||
1007 | switch (alt3) { | 1007 | switch (alt3) { |
1008 | case 1 : | 1008 | case 1 : |
1009 | // InternalApplicationConfiguration.g:3109:13: '0' .. '9' | 1009 | // InternalApplicationConfiguration.g:3106:13: '0' .. '9' |
1010 | { | 1010 | { |
1011 | matchRange('0','9'); | 1011 | matchRange('0','9'); |
1012 | 1012 | ||
@@ -1038,10 +1038,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1038 | try { | 1038 | try { |
1039 | int _type = RULE_STRING; | 1039 | int _type = RULE_STRING; |
1040 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1040 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1041 | // InternalApplicationConfiguration.g:3111:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) | 1041 | // InternalApplicationConfiguration.g:3108:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) |
1042 | // InternalApplicationConfiguration.g:3111:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) | 1042 | // InternalApplicationConfiguration.g:3108:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) |
1043 | { | 1043 | { |
1044 | // InternalApplicationConfiguration.g:3111:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) | 1044 | // InternalApplicationConfiguration.g:3108:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) |
1045 | int alt6=2; | 1045 | int alt6=2; |
1046 | int LA6_0 = input.LA(1); | 1046 | int LA6_0 = input.LA(1); |
1047 | 1047 | ||
@@ -1059,10 +1059,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1059 | } | 1059 | } |
1060 | switch (alt6) { | 1060 | switch (alt6) { |
1061 | case 1 : | 1061 | case 1 : |
1062 | // InternalApplicationConfiguration.g:3111:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | 1062 | // InternalApplicationConfiguration.g:3108:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' |
1063 | { | 1063 | { |
1064 | match('\"'); | 1064 | match('\"'); |
1065 | // InternalApplicationConfiguration.g:3111:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* | 1065 | // InternalApplicationConfiguration.g:3108:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* |
1066 | loop4: | 1066 | loop4: |
1067 | do { | 1067 | do { |
1068 | int alt4=3; | 1068 | int alt4=3; |
@@ -1078,7 +1078,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1078 | 1078 | ||
1079 | switch (alt4) { | 1079 | switch (alt4) { |
1080 | case 1 : | 1080 | case 1 : |
1081 | // InternalApplicationConfiguration.g:3111:21: '\\\\' . | 1081 | // InternalApplicationConfiguration.g:3108:21: '\\\\' . |
1082 | { | 1082 | { |
1083 | match('\\'); | 1083 | match('\\'); |
1084 | matchAny(); | 1084 | matchAny(); |
@@ -1086,7 +1086,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1086 | } | 1086 | } |
1087 | break; | 1087 | break; |
1088 | case 2 : | 1088 | case 2 : |
1089 | // InternalApplicationConfiguration.g:3111:28: ~ ( ( '\\\\' | '\"' ) ) | 1089 | // InternalApplicationConfiguration.g:3108:28: ~ ( ( '\\\\' | '\"' ) ) |
1090 | { | 1090 | { |
1091 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | 1091 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
1092 | input.consume(); | 1092 | input.consume(); |
@@ -1111,10 +1111,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1111 | } | 1111 | } |
1112 | break; | 1112 | break; |
1113 | case 2 : | 1113 | case 2 : |
1114 | // InternalApplicationConfiguration.g:3111:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' | 1114 | // InternalApplicationConfiguration.g:3108:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' |
1115 | { | 1115 | { |
1116 | match('\''); | 1116 | match('\''); |
1117 | // InternalApplicationConfiguration.g:3111:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* | 1117 | // InternalApplicationConfiguration.g:3108:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* |
1118 | loop5: | 1118 | loop5: |
1119 | do { | 1119 | do { |
1120 | int alt5=3; | 1120 | int alt5=3; |
@@ -1130,7 +1130,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1130 | 1130 | ||
1131 | switch (alt5) { | 1131 | switch (alt5) { |
1132 | case 1 : | 1132 | case 1 : |
1133 | // InternalApplicationConfiguration.g:3111:54: '\\\\' . | 1133 | // InternalApplicationConfiguration.g:3108:54: '\\\\' . |
1134 | { | 1134 | { |
1135 | match('\\'); | 1135 | match('\\'); |
1136 | matchAny(); | 1136 | matchAny(); |
@@ -1138,7 +1138,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1138 | } | 1138 | } |
1139 | break; | 1139 | break; |
1140 | case 2 : | 1140 | case 2 : |
1141 | // InternalApplicationConfiguration.g:3111:61: ~ ( ( '\\\\' | '\\'' ) ) | 1141 | // InternalApplicationConfiguration.g:3108:61: ~ ( ( '\\\\' | '\\'' ) ) |
1142 | { | 1142 | { |
1143 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | 1143 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
1144 | input.consume(); | 1144 | input.consume(); |
@@ -1181,12 +1181,12 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1181 | try { | 1181 | try { |
1182 | int _type = RULE_ML_COMMENT; | 1182 | int _type = RULE_ML_COMMENT; |
1183 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1183 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1184 | // InternalApplicationConfiguration.g:3113:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) | 1184 | // InternalApplicationConfiguration.g:3110:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) |
1185 | // InternalApplicationConfiguration.g:3113:19: '/*' ( options {greedy=false; } : . )* '*/' | 1185 | // InternalApplicationConfiguration.g:3110:19: '/*' ( options {greedy=false; } : . )* '*/' |
1186 | { | 1186 | { |
1187 | match("/*"); | 1187 | match("/*"); |
1188 | 1188 | ||
1189 | // InternalApplicationConfiguration.g:3113:24: ( options {greedy=false; } : . )* | 1189 | // InternalApplicationConfiguration.g:3110:24: ( options {greedy=false; } : . )* |
1190 | loop7: | 1190 | loop7: |
1191 | do { | 1191 | do { |
1192 | int alt7=2; | 1192 | int alt7=2; |
@@ -1211,7 +1211,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1211 | 1211 | ||
1212 | switch (alt7) { | 1212 | switch (alt7) { |
1213 | case 1 : | 1213 | case 1 : |
1214 | // InternalApplicationConfiguration.g:3113:52: . | 1214 | // InternalApplicationConfiguration.g:3110:52: . |
1215 | { | 1215 | { |
1216 | matchAny(); | 1216 | matchAny(); |
1217 | 1217 | ||
@@ -1241,12 +1241,12 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1241 | try { | 1241 | try { |
1242 | int _type = RULE_SL_COMMENT; | 1242 | int _type = RULE_SL_COMMENT; |
1243 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1243 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1244 | // InternalApplicationConfiguration.g:3115:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) | 1244 | // InternalApplicationConfiguration.g:3112:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) |
1245 | // InternalApplicationConfiguration.g:3115:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? | 1245 | // InternalApplicationConfiguration.g:3112:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? |
1246 | { | 1246 | { |
1247 | match("//"); | 1247 | match("//"); |
1248 | 1248 | ||
1249 | // InternalApplicationConfiguration.g:3115:24: (~ ( ( '\\n' | '\\r' ) ) )* | 1249 | // InternalApplicationConfiguration.g:3112:24: (~ ( ( '\\n' | '\\r' ) ) )* |
1250 | loop8: | 1250 | loop8: |
1251 | do { | 1251 | do { |
1252 | int alt8=2; | 1252 | int alt8=2; |
@@ -1259,7 +1259,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1259 | 1259 | ||
1260 | switch (alt8) { | 1260 | switch (alt8) { |
1261 | case 1 : | 1261 | case 1 : |
1262 | // InternalApplicationConfiguration.g:3115:24: ~ ( ( '\\n' | '\\r' ) ) | 1262 | // InternalApplicationConfiguration.g:3112:24: ~ ( ( '\\n' | '\\r' ) ) |
1263 | { | 1263 | { |
1264 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { | 1264 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { |
1265 | input.consume(); | 1265 | input.consume(); |
@@ -1279,7 +1279,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1279 | } | 1279 | } |
1280 | } while (true); | 1280 | } while (true); |
1281 | 1281 | ||
1282 | // InternalApplicationConfiguration.g:3115:40: ( ( '\\r' )? '\\n' )? | 1282 | // InternalApplicationConfiguration.g:3112:40: ( ( '\\r' )? '\\n' )? |
1283 | int alt10=2; | 1283 | int alt10=2; |
1284 | int LA10_0 = input.LA(1); | 1284 | int LA10_0 = input.LA(1); |
1285 | 1285 | ||
@@ -1288,9 +1288,9 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1288 | } | 1288 | } |
1289 | switch (alt10) { | 1289 | switch (alt10) { |
1290 | case 1 : | 1290 | case 1 : |
1291 | // InternalApplicationConfiguration.g:3115:41: ( '\\r' )? '\\n' | 1291 | // InternalApplicationConfiguration.g:3112:41: ( '\\r' )? '\\n' |
1292 | { | 1292 | { |
1293 | // InternalApplicationConfiguration.g:3115:41: ( '\\r' )? | 1293 | // InternalApplicationConfiguration.g:3112:41: ( '\\r' )? |
1294 | int alt9=2; | 1294 | int alt9=2; |
1295 | int LA9_0 = input.LA(1); | 1295 | int LA9_0 = input.LA(1); |
1296 | 1296 | ||
@@ -1299,7 +1299,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1299 | } | 1299 | } |
1300 | switch (alt9) { | 1300 | switch (alt9) { |
1301 | case 1 : | 1301 | case 1 : |
1302 | // InternalApplicationConfiguration.g:3115:41: '\\r' | 1302 | // InternalApplicationConfiguration.g:3112:41: '\\r' |
1303 | { | 1303 | { |
1304 | match('\r'); | 1304 | match('\r'); |
1305 | 1305 | ||
@@ -1331,10 +1331,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1331 | try { | 1331 | try { |
1332 | int _type = RULE_WS; | 1332 | int _type = RULE_WS; |
1333 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1333 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1334 | // InternalApplicationConfiguration.g:3117:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) | 1334 | // InternalApplicationConfiguration.g:3114:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) |
1335 | // InternalApplicationConfiguration.g:3117:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ | 1335 | // InternalApplicationConfiguration.g:3114:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ |
1336 | { | 1336 | { |
1337 | // InternalApplicationConfiguration.g:3117:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ | 1337 | // InternalApplicationConfiguration.g:3114:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ |
1338 | int cnt11=0; | 1338 | int cnt11=0; |
1339 | loop11: | 1339 | loop11: |
1340 | do { | 1340 | do { |
@@ -1388,8 +1388,8 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1388 | try { | 1388 | try { |
1389 | int _type = RULE_ANY_OTHER; | 1389 | int _type = RULE_ANY_OTHER; |
1390 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1390 | int _channel = DEFAULT_TOKEN_CHANNEL; |
1391 | // InternalApplicationConfiguration.g:3119:16: ( . ) | 1391 | // InternalApplicationConfiguration.g:3116:16: ( . ) |
1392 | // InternalApplicationConfiguration.g:3119:18: . | 1392 | // InternalApplicationConfiguration.g:3116:18: . |
1393 | { | 1393 | { |
1394 | matchAny(); | 1394 | matchAny(); |
1395 | 1395 | ||
@@ -1745,38 +1745,38 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1745 | 1745 | ||
1746 | protected DFA12 dfa12 = new DFA12(this); | 1746 | protected DFA12 dfa12 = new DFA12(this); |
1747 | static final String DFA12_eotS = | 1747 | static final String DFA12_eotS = |
1748 | "\1\uffff\1\47\4\52\4\uffff\1\52\1\45\2\52\1\uffff\1\45\3\uffff\13\52\1\45\2\uffff\3\45\4\uffff\2\52\1\uffff\5\52\4\uffff\1\52\1\uffff\3\52\5\uffff\16\52\5\uffff\1\52\1\156\26\52\1\u0085\4\52\1\uffff\3\52\1\u008d\10\52\1\u0096\1\u0097\10\52\1\uffff\7\52\1\uffff\10\52\2\uffff\2\52\1\u00b1\4\52\1\u00b6\3\52\1\u00ba\2\52\1\u00bd\1\u00be\4\52\1\u00c3\1\u00c4\1\u00c5\1\u00c6\1\52\1\uffff\1\u00c8\1\52\1\u00ca\1\u00cb\1\uffff\3\52\1\uffff\2\52\2\uffff\1\u00d1\3\52\4\uffff\1\52\1\uffff\1\52\2\uffff\3\52\1\u00da\1\52\1\uffff\1\u00dc\1\uffff\2\52\1\u00df\3\52\1\uffff\1\u00e3\1\uffff\1\u00e4\1\52\1\uffff\1\u00e6\2\52\2\uffff\1\u00e9\1\uffff\2\52\1\uffff\1\u00ec\1\52\1\uffff\1\u00ee\1\uffff"; | 1748 | "\1\uffff\1\46\4\51\4\uffff\1\51\1\44\2\51\1\uffff\1\44\3\uffff\12\51\1\44\2\uffff\3\44\4\uffff\2\51\1\uffff\5\51\4\uffff\1\51\1\uffff\3\51\5\uffff\16\51\5\uffff\1\51\1\155\26\51\1\u0084\4\51\1\uffff\3\51\1\u008c\7\51\1\u0094\1\51\1\u0096\1\u0097\7\51\1\uffff\7\51\1\uffff\7\51\1\uffff\1\51\2\uffff\2\51\1\u00b0\3\51\1\u00b4\3\51\1\u00b8\2\51\1\u00bb\1\u00bc\4\51\1\u00c1\1\u00c2\1\u00c3\1\u00c4\1\51\1\uffff\1\u00c6\1\51\1\u00c8\1\uffff\3\51\1\uffff\2\51\2\uffff\1\u00ce\3\51\4\uffff\1\51\1\uffff\1\51\1\uffff\3\51\1\u00d7\1\51\1\uffff\1\u00d9\1\uffff\2\51\1\u00dc\3\51\1\uffff\1\u00e0\1\uffff\1\u00e1\1\51\1\uffff\1\u00e3\2\51\2\uffff\1\u00e6\1\uffff\2\51\1\uffff\1\u00e9\1\51\1\uffff\1\u00eb\1\uffff"; |
1749 | static final String DFA12_eofS = | 1749 | static final String DFA12_eofS = |
1750 | "\u00ef\uffff"; | 1750 | "\u00ec\uffff"; |
1751 | static final String DFA12_minS = | 1751 | static final String DFA12_minS = |
1752 | "\1\0\1\56\1\155\1\160\2\151\4\uffff\1\141\1\72\1\145\1\157\1\uffff\1\75\3\uffff\1\142\1\145\1\143\1\145\2\165\1\145\1\157\1\115\1\154\1\151\1\101\2\uffff\2\0\1\52\4\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\2\154\4\uffff\1\143\1\uffff\1\164\1\144\1\156\5\uffff\1\152\1\141\1\156\1\141\1\157\1\154\1\156\1\155\1\164\1\142\1\147\1\124\1\154\1\141\5\uffff\1\157\1\60\1\143\1\154\1\164\1\145\1\144\1\153\2\164\1\141\1\145\1\146\1\145\1\154\1\163\1\151\1\164\1\160\1\166\1\145\1\142\1\160\1\165\1\60\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\60\1\145\1\141\1\145\1\151\1\155\1\154\1\151\1\143\2\60\1\156\1\151\2\145\1\162\1\145\1\165\1\147\1\uffff\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\147\1\162\1\141\1\157\1\163\1\147\1\164\2\uffff\1\147\1\163\1\60\1\162\1\141\1\162\1\164\1\60\1\154\1\123\1\141\1\60\1\147\1\151\2\60\1\145\1\156\1\154\1\144\4\60\1\164\1\uffff\1\60\1\164\2\60\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\60\1\163\1\55\1\145\4\uffff\1\151\1\uffff\1\145\2\uffff\1\145\1\154\1\157\1\60\1\147\1\uffff\1\60\1\uffff\1\154\1\143\1\60\1\162\1\166\1\154\1\uffff\1\60\1\uffff\1\60\1\163\1\uffff\1\60\1\145\1\166\2\uffff\1\60\1\uffff\1\162\1\145\1\uffff\1\60\1\162\1\uffff\1\60\1\uffff"; | 1752 | "\1\0\1\56\1\155\1\160\2\151\4\uffff\1\141\1\72\1\145\1\157\1\uffff\1\75\3\uffff\1\157\1\145\1\143\1\145\1\165\1\145\1\157\1\115\1\154\1\151\1\101\2\uffff\2\0\1\52\4\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\2\154\4\uffff\1\143\1\uffff\1\164\1\144\1\156\5\uffff\1\144\1\155\1\141\1\156\1\141\1\157\1\154\1\156\1\164\1\142\1\147\1\124\1\154\1\141\5\uffff\1\157\1\60\1\143\1\154\1\164\1\145\1\144\1\153\2\164\1\141\1\145\1\146\1\145\1\142\1\154\1\163\1\151\1\164\1\160\1\166\1\145\1\160\1\165\1\60\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\60\1\145\1\141\1\145\1\151\1\155\1\154\1\151\1\60\1\145\2\60\1\156\1\151\2\145\1\162\1\165\1\147\1\uffff\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\147\1\162\1\141\1\157\1\163\1\147\1\uffff\1\162\2\uffff\1\147\1\163\1\60\1\162\1\141\1\164\1\60\1\154\1\123\1\141\1\60\1\147\1\151\2\60\1\145\1\156\1\154\1\144\4\60\1\164\1\uffff\1\60\1\164\1\60\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\60\1\163\1\55\1\145\4\uffff\1\151\1\uffff\1\145\1\uffff\1\145\1\154\1\157\1\60\1\147\1\uffff\1\60\1\uffff\1\154\1\143\1\60\1\162\1\166\1\154\1\uffff\1\60\1\uffff\1\60\1\163\1\uffff\1\60\1\145\1\166\2\uffff\1\60\1\uffff\1\162\1\145\1\uffff\1\60\1\162\1\uffff\1\60\1\uffff"; |
1753 | static final String DFA12_maxS = | 1753 | static final String DFA12_maxS = |
1754 | "\1\uffff\1\56\1\156\1\170\1\151\1\157\4\uffff\1\141\1\72\2\157\1\uffff\1\75\3\uffff\1\142\1\165\1\164\1\145\2\165\1\145\1\157\1\115\1\154\1\151\1\172\2\uffff\2\uffff\1\57\4\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\2\154\4\uffff\1\164\1\uffff\1\164\1\144\1\156\5\uffff\1\152\1\141\1\156\1\162\1\157\1\154\1\156\1\155\1\164\1\142\1\147\1\124\1\154\1\141\5\uffff\1\157\1\172\1\143\1\154\1\164\1\145\1\144\1\153\2\164\1\141\1\145\1\146\1\145\1\154\1\163\1\151\1\164\1\160\1\166\1\145\1\142\1\160\1\165\1\172\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\172\1\145\1\141\1\145\1\151\1\155\1\154\1\151\1\143\2\172\1\156\1\151\2\145\1\162\1\145\1\165\1\147\1\uffff\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\147\1\162\1\141\1\157\1\163\1\147\1\164\2\uffff\1\147\1\163\1\172\1\162\1\141\1\162\1\164\1\172\1\154\1\123\1\141\1\172\1\147\1\151\2\172\1\145\1\156\1\154\1\144\4\172\1\164\1\uffff\1\172\1\164\2\172\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\172\1\163\1\55\1\145\4\uffff\1\151\1\uffff\1\145\2\uffff\1\145\1\154\1\157\1\172\1\147\1\uffff\1\172\1\uffff\1\154\1\143\1\172\1\162\1\166\1\154\1\uffff\1\172\1\uffff\1\172\1\163\1\uffff\1\172\1\145\1\166\2\uffff\1\172\1\uffff\1\162\1\145\1\uffff\1\172\1\162\1\uffff\1\172\1\uffff"; | 1754 | "\1\uffff\1\56\1\156\1\170\1\151\1\157\4\uffff\1\141\1\72\2\157\1\uffff\1\75\3\uffff\2\165\1\164\1\145\1\165\1\145\1\157\1\115\1\154\1\151\1\172\2\uffff\2\uffff\1\57\4\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\2\154\4\uffff\1\164\1\uffff\1\164\1\144\1\156\5\uffff\1\144\1\155\1\141\1\156\1\162\1\157\1\154\1\156\1\164\1\142\1\147\1\124\1\154\1\141\5\uffff\1\157\1\172\1\143\1\154\1\164\1\145\1\144\1\153\2\164\1\141\1\145\1\146\1\145\1\142\1\154\1\163\1\151\1\164\1\160\1\166\1\145\1\160\1\165\1\172\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\172\1\145\1\141\1\145\1\151\1\155\1\154\1\151\1\172\1\145\2\172\1\156\1\151\2\145\1\162\1\165\1\147\1\uffff\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\147\1\162\1\141\1\157\1\163\1\147\1\uffff\1\162\2\uffff\1\147\1\163\1\172\1\162\1\141\1\164\1\172\1\154\1\123\1\141\1\172\1\147\1\151\2\172\1\145\1\156\1\154\1\144\4\172\1\164\1\uffff\1\172\1\164\1\172\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\172\1\163\1\55\1\145\4\uffff\1\151\1\uffff\1\145\1\uffff\1\145\1\154\1\157\1\172\1\147\1\uffff\1\172\1\uffff\1\154\1\143\1\172\1\162\1\166\1\154\1\uffff\1\172\1\uffff\1\172\1\163\1\uffff\1\172\1\145\1\166\2\uffff\1\172\1\uffff\1\162\1\145\1\uffff\1\172\1\162\1\uffff\1\172\1\uffff"; |
1755 | static final String DFA12_acceptS = | 1755 | static final String DFA12_acceptS = |
1756 | "\6\uffff\1\6\1\7\1\10\1\11\4\uffff\1\22\1\uffff\1\25\1\26\1\27\14\uffff\1\51\1\52\3\uffff\1\56\1\57\1\24\1\1\2\uffff\1\51\5\uffff\1\6\1\7\1\10\1\11\1\uffff\1\14\3\uffff\1\22\1\23\1\25\1\26\1\27\16\uffff\1\52\1\53\1\54\1\55\1\56\35\uffff\1\31\26\uffff\1\44\7\uffff\1\5\10\uffff\1\32\1\40\31\uffff\1\34\4\uffff\1\43\3\uffff\1\2\2\uffff\1\4\1\16\4\uffff\1\17\1\21\1\30\1\33\1\uffff\1\41\1\uffff\1\37\1\42\5\uffff\1\12\1\uffff\1\36\6\uffff\1\3\1\uffff\1\20\2\uffff\1\35\3\uffff\1\13\1\15\1\uffff\1\46\2\uffff\1\45\2\uffff\1\47\1\uffff\1\50"; | 1756 | "\6\uffff\1\6\1\7\1\10\1\11\4\uffff\1\22\1\uffff\1\25\1\26\1\27\13\uffff\1\51\1\52\3\uffff\1\56\1\57\1\24\1\1\2\uffff\1\51\5\uffff\1\6\1\7\1\10\1\11\1\uffff\1\14\3\uffff\1\22\1\23\1\25\1\26\1\27\16\uffff\1\52\1\53\1\54\1\55\1\56\35\uffff\1\31\26\uffff\1\44\7\uffff\1\5\7\uffff\1\30\1\uffff\1\32\1\40\30\uffff\1\34\3\uffff\1\43\3\uffff\1\2\2\uffff\1\4\1\16\4\uffff\1\17\1\21\1\37\1\33\1\uffff\1\41\1\uffff\1\42\5\uffff\1\12\1\uffff\1\36\6\uffff\1\3\1\uffff\1\20\2\uffff\1\35\3\uffff\1\13\1\15\1\uffff\1\46\2\uffff\1\45\2\uffff\1\47\1\uffff\1\50"; |
1757 | static final String DFA12_specialS = | 1757 | static final String DFA12_specialS = |
1758 | "\1\2\40\uffff\1\0\1\1\u00cc\uffff}>"; | 1758 | "\1\1\37\uffff\1\0\1\2\u00ca\uffff}>"; |
1759 | static final String[] DFA12_transitionS = { | 1759 | static final String[] DFA12_transitionS = { |
1760 | "\11\45\2\44\2\45\1\44\22\45\1\44\1\45\1\41\1\16\3\45\1\42\2\45\1\20\1\17\1\10\1\45\1\1\1\43\12\40\1\13\2\45\1\6\3\45\1\34\15\37\1\23\3\37\1\33\2\37\1\35\4\37\1\21\1\45\1\22\1\36\1\37\1\45\2\37\1\15\1\31\1\3\1\5\1\26\1\37\1\2\2\37\1\32\1\14\1\27\1\30\1\12\1\37\1\24\1\25\2\37\1\4\4\37\1\7\1\45\1\11\uff82\45", | 1760 | "\11\44\2\43\2\44\1\43\22\44\1\43\1\44\1\40\1\16\3\44\1\41\2\44\1\20\1\17\1\10\1\44\1\1\1\42\12\37\1\13\2\44\1\6\3\44\1\33\21\36\1\32\2\36\1\34\4\36\1\21\1\44\1\22\1\35\1\36\1\44\2\36\1\15\1\30\1\3\1\5\1\26\1\36\1\2\2\36\1\31\1\14\1\23\1\27\1\12\1\36\1\24\1\25\2\36\1\4\4\36\1\7\1\44\1\11\uff82\44", |
1761 | "\1\46", | 1761 | "\1\45", |
1762 | "\1\50\1\51", | 1762 | "\1\47\1\50", |
1763 | "\1\53\7\uffff\1\54", | 1763 | "\1\52\7\uffff\1\53", |
1764 | "\1\55", | 1764 | "\1\54", |
1765 | "\1\56\5\uffff\1\57", | 1765 | "\1\55\5\uffff\1\56", |
1766 | "", | 1766 | "", |
1767 | "", | 1767 | "", |
1768 | "", | 1768 | "", |
1769 | "", | 1769 | "", |
1770 | "\1\63", | ||
1770 | "\1\64", | 1771 | "\1\64", |
1771 | "\1\65", | 1772 | "\1\65\11\uffff\1\66", |
1772 | "\1\66\11\uffff\1\67", | 1773 | "\1\67", |
1773 | "\1\70", | ||
1774 | "", | 1774 | "", |
1775 | "\1\72", | 1775 | "\1\71", |
1776 | "", | 1776 | "", |
1777 | "", | 1777 | "", |
1778 | "", | 1778 | "", |
1779 | "\1\76", | 1779 | "\1\75\5\uffff\1\76", |
1780 | "\1\77\17\uffff\1\100", | 1780 | "\1\77\17\uffff\1\100", |
1781 | "\1\102\13\uffff\1\103\4\uffff\1\101", | 1781 | "\1\102\13\uffff\1\103\4\uffff\1\101", |
1782 | "\1\104", | 1782 | "\1\104", |
@@ -1786,39 +1786,39 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1786 | "\1\110", | 1786 | "\1\110", |
1787 | "\1\111", | 1787 | "\1\111", |
1788 | "\1\112", | 1788 | "\1\112", |
1789 | "\1\113", | 1789 | "\32\51\4\uffff\1\51\1\uffff\32\51", |
1790 | "\32\52\4\uffff\1\52\1\uffff\32\52", | ||
1791 | "", | 1790 | "", |
1792 | "", | 1791 | "", |
1793 | "\0\115", | 1792 | "\0\114", |
1794 | "\0\115", | 1793 | "\0\114", |
1795 | "\1\116\4\uffff\1\117", | 1794 | "\1\115\4\uffff\1\116", |
1796 | "", | 1795 | "", |
1797 | "", | 1796 | "", |
1798 | "", | 1797 | "", |
1799 | "", | 1798 | "", |
1799 | "\1\120", | ||
1800 | "\1\121", | 1800 | "\1\121", |
1801 | "\1\122", | ||
1802 | "", | 1801 | "", |
1802 | "\1\122", | ||
1803 | "\1\123", | 1803 | "\1\123", |
1804 | "\1\124", | 1804 | "\1\124", |
1805 | "\1\125", | 1805 | "\1\125", |
1806 | "\1\126", | 1806 | "\1\126", |
1807 | "\1\127", | ||
1808 | "", | 1807 | "", |
1809 | "", | 1808 | "", |
1810 | "", | 1809 | "", |
1811 | "", | 1810 | "", |
1812 | "\1\130\16\uffff\1\132\1\uffff\1\131", | 1811 | "\1\127\16\uffff\1\131\1\uffff\1\130", |
1813 | "", | 1812 | "", |
1813 | "\1\132", | ||
1814 | "\1\133", | 1814 | "\1\133", |
1815 | "\1\134", | 1815 | "\1\134", |
1816 | "\1\135", | ||
1817 | "", | 1816 | "", |
1818 | "", | 1817 | "", |
1819 | "", | 1818 | "", |
1820 | "", | 1819 | "", |
1821 | "", | 1820 | "", |
1821 | "\1\135", | ||
1822 | "\1\136", | 1822 | "\1\136", |
1823 | "\1\137", | 1823 | "\1\137", |
1824 | "\1\140", | 1824 | "\1\140", |
@@ -1832,14 +1832,14 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1832 | "\1\151", | 1832 | "\1\151", |
1833 | "\1\152", | 1833 | "\1\152", |
1834 | "\1\153", | 1834 | "\1\153", |
1835 | "\1\154", | ||
1836 | "", | 1835 | "", |
1837 | "", | 1836 | "", |
1838 | "", | 1837 | "", |
1839 | "", | 1838 | "", |
1840 | "", | 1839 | "", |
1841 | "\1\155", | 1840 | "\1\154", |
1842 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | 1841 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", |
1842 | "\1\156", | ||
1843 | "\1\157", | 1843 | "\1\157", |
1844 | "\1\160", | 1844 | "\1\160", |
1845 | "\1\161", | 1845 | "\1\161", |
@@ -1861,27 +1861,27 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1861 | "\1\u0081", | 1861 | "\1\u0081", |
1862 | "\1\u0082", | 1862 | "\1\u0082", |
1863 | "\1\u0083", | 1863 | "\1\u0083", |
1864 | "\1\u0084", | 1864 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", |
1865 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | 1865 | "\1\u0085", |
1866 | "\1\u0086", | 1866 | "\1\u0086", |
1867 | "\1\u0087", | 1867 | "\1\u0087", |
1868 | "\1\u0088", | 1868 | "\1\u0088", |
1869 | "\1\u0089", | ||
1870 | "", | 1869 | "", |
1870 | "\1\u0089", | ||
1871 | "\1\u008a", | 1871 | "\1\u008a", |
1872 | "\1\u008b", | 1872 | "\1\u008b", |
1873 | "\1\u008c", | 1873 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", |
1874 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | 1874 | "\1\u008d", |
1875 | "\1\u008e", | 1875 | "\1\u008e", |
1876 | "\1\u008f", | 1876 | "\1\u008f", |
1877 | "\1\u0090", | 1877 | "\1\u0090", |
1878 | "\1\u0091", | 1878 | "\1\u0091", |
1879 | "\1\u0092", | 1879 | "\1\u0092", |
1880 | "\1\u0093", | 1880 | "\1\u0093", |
1881 | "\1\u0094", | 1881 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", |
1882 | "\1\u0095", | 1882 | "\1\u0095", |
1883 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | 1883 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", |
1884 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | 1884 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", |
1885 | "\1\u0098", | 1885 | "\1\u0098", |
1886 | "\1\u0099", | 1886 | "\1\u0099", |
1887 | "\1\u009a", | 1887 | "\1\u009a", |
@@ -1889,112 +1889,109 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1889 | "\1\u009c", | 1889 | "\1\u009c", |
1890 | "\1\u009d", | 1890 | "\1\u009d", |
1891 | "\1\u009e", | 1891 | "\1\u009e", |
1892 | "\1\u009f", | ||
1893 | "", | 1892 | "", |
1893 | "\1\u009f", | ||
1894 | "\1\u00a0", | 1894 | "\1\u00a0", |
1895 | "\1\u00a1", | 1895 | "\1\u00a1", |
1896 | "\1\u00a2", | 1896 | "\1\u00a2", |
1897 | "\1\u00a3", | 1897 | "\1\u00a3", |
1898 | "\1\u00a4", | 1898 | "\1\u00a4", |
1899 | "\1\u00a5", | 1899 | "\1\u00a5", |
1900 | "\1\u00a6", | ||
1901 | "", | 1900 | "", |
1901 | "\1\u00a6", | ||
1902 | "\1\u00a7", | 1902 | "\1\u00a7", |
1903 | "\1\u00a8", | 1903 | "\1\u00a8", |
1904 | "\1\u00a9", | 1904 | "\1\u00a9", |
1905 | "\1\u00aa", | 1905 | "\1\u00aa", |
1906 | "\1\u00ab", | 1906 | "\1\u00ab", |
1907 | "\1\u00ac", | 1907 | "\1\u00ac", |
1908 | "", | ||
1908 | "\1\u00ad", | 1909 | "\1\u00ad", |
1909 | "\1\u00ae", | ||
1910 | "", | 1910 | "", |
1911 | "", | 1911 | "", |
1912 | "\1\u00ae", | ||
1912 | "\1\u00af", | 1913 | "\1\u00af", |
1913 | "\1\u00b0", | 1914 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", |
1914 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | 1915 | "\1\u00b1", |
1915 | "\1\u00b2", | 1916 | "\1\u00b2", |
1916 | "\1\u00b3", | 1917 | "\1\u00b3", |
1917 | "\1\u00b4", | 1918 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", |
1918 | "\1\u00b5", | 1919 | "\1\u00b5", |
1919 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | 1920 | "\1\u00b6", |
1920 | "\1\u00b7", | 1921 | "\1\u00b7", |
1921 | "\1\u00b8", | 1922 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", |
1922 | "\1\u00b9", | 1923 | "\1\u00b9", |
1923 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | 1924 | "\1\u00ba", |
1924 | "\1\u00bb", | 1925 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", |
1925 | "\1\u00bc", | 1926 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", |
1926 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | 1927 | "\1\u00bd", |
1927 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | 1928 | "\1\u00be", |
1928 | "\1\u00bf", | 1929 | "\1\u00bf", |
1929 | "\1\u00c0", | 1930 | "\1\u00c0", |
1930 | "\1\u00c1", | 1931 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", |
1931 | "\1\u00c2", | 1932 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", |
1932 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | 1933 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", |
1933 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | 1934 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", |
1934 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | 1935 | "\1\u00c5", |
1935 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | 1936 | "", |
1937 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", | ||
1936 | "\1\u00c7", | 1938 | "\1\u00c7", |
1939 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", | ||
1937 | "", | 1940 | "", |
1938 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | ||
1939 | "\1\u00c9", | 1941 | "\1\u00c9", |
1940 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | 1942 | "\1\u00ca", |
1941 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | 1943 | "\1\u00cb", |
1942 | "", | 1944 | "", |
1943 | "\1\u00cc", | 1945 | "\1\u00cc", |
1944 | "\1\u00cd", | 1946 | "\1\u00cd", |
1945 | "\1\u00ce", | ||
1946 | "", | 1947 | "", |
1948 | "", | ||
1949 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", | ||
1947 | "\1\u00cf", | 1950 | "\1\u00cf", |
1948 | "\1\u00d0", | 1951 | "\1\u00d0", |
1952 | "\1\u00d1", | ||
1949 | "", | 1953 | "", |
1950 | "", | 1954 | "", |
1951 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | ||
1952 | "\1\u00d2", | ||
1953 | "\1\u00d3", | ||
1954 | "\1\u00d4", | ||
1955 | "", | 1955 | "", |
1956 | "", | 1956 | "", |
1957 | "\1\u00d2", | ||
1957 | "", | 1958 | "", |
1959 | "\1\u00d3", | ||
1958 | "", | 1960 | "", |
1961 | "\1\u00d4", | ||
1959 | "\1\u00d5", | 1962 | "\1\u00d5", |
1960 | "", | ||
1961 | "\1\u00d6", | 1963 | "\1\u00d6", |
1962 | "", | 1964 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", |
1963 | "", | ||
1964 | "\1\u00d7", | ||
1965 | "\1\u00d8", | 1965 | "\1\u00d8", |
1966 | "\1\u00d9", | ||
1967 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | ||
1968 | "\1\u00db", | ||
1969 | "", | 1966 | "", |
1970 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | 1967 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", |
1971 | "", | 1968 | "", |
1969 | "\1\u00da", | ||
1970 | "\1\u00db", | ||
1971 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", | ||
1972 | "\1\u00dd", | 1972 | "\1\u00dd", |
1973 | "\1\u00de", | 1973 | "\1\u00de", |
1974 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | 1974 | "\1\u00df", |
1975 | "\1\u00e0", | ||
1976 | "\1\u00e1", | ||
1977 | "\1\u00e2", | ||
1978 | "", | 1975 | "", |
1979 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | 1976 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", |
1980 | "", | 1977 | "", |
1981 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | 1978 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", |
1979 | "\1\u00e2", | ||
1980 | "", | ||
1981 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", | ||
1982 | "\1\u00e4", | ||
1982 | "\1\u00e5", | 1983 | "\1\u00e5", |
1983 | "", | 1984 | "", |
1984 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | ||
1985 | "\1\u00e7", | ||
1986 | "\1\u00e8", | ||
1987 | "", | 1985 | "", |
1986 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", | ||
1988 | "", | 1987 | "", |
1989 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | 1988 | "\1\u00e7", |
1989 | "\1\u00e8", | ||
1990 | "", | 1990 | "", |
1991 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", | ||
1991 | "\1\u00ea", | 1992 | "\1\u00ea", |
1992 | "\1\u00eb", | ||
1993 | "", | ||
1994 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | ||
1995 | "\1\u00ed", | ||
1996 | "", | 1993 | "", |
1997 | "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", | 1994 | "\12\51\7\uffff\32\51\4\uffff\1\51\1\uffff\32\51", |
1998 | "" | 1995 | "" |
1999 | }; | 1996 | }; |
2000 | 1997 | ||
@@ -2035,26 +2032,16 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
2035 | int _s = s; | 2032 | int _s = s; |
2036 | switch ( s ) { | 2033 | switch ( s ) { |
2037 | case 0 : | 2034 | case 0 : |
2038 | int LA12_33 = input.LA(1); | 2035 | int LA12_32 = input.LA(1); |
2039 | 2036 | ||
2040 | s = -1; | 2037 | s = -1; |
2041 | if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 77;} | 2038 | if ( ((LA12_32>='\u0000' && LA12_32<='\uFFFF')) ) {s = 76;} |
2042 | 2039 | ||
2043 | else s = 37; | 2040 | else s = 36; |
2044 | 2041 | ||
2045 | if ( s>=0 ) return s; | 2042 | if ( s>=0 ) return s; |
2046 | break; | 2043 | break; |
2047 | case 1 : | 2044 | case 1 : |
2048 | int LA12_34 = input.LA(1); | ||
2049 | |||
2050 | s = -1; | ||
2051 | if ( ((LA12_34>='\u0000' && LA12_34<='\uFFFF')) ) {s = 77;} | ||
2052 | |||
2053 | else s = 37; | ||
2054 | |||
2055 | if ( s>=0 ) return s; | ||
2056 | break; | ||
2057 | case 2 : | ||
2058 | int LA12_0 = input.LA(1); | 2045 | int LA12_0 = input.LA(1); |
2059 | 2046 | ||
2060 | s = -1; | 2047 | s = -1; |
@@ -2094,7 +2081,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
2094 | 2081 | ||
2095 | else if ( (LA12_0==']') ) {s = 18;} | 2082 | else if ( (LA12_0==']') ) {s = 18;} |
2096 | 2083 | ||
2097 | else if ( (LA12_0=='O') ) {s = 19;} | 2084 | else if ( (LA12_0=='n') ) {s = 19;} |
2098 | 2085 | ||
2099 | else if ( (LA12_0=='r') ) {s = 20;} | 2086 | else if ( (LA12_0=='r') ) {s = 20;} |
2100 | 2087 | ||
@@ -2102,35 +2089,43 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
2102 | 2089 | ||
2103 | else if ( (LA12_0=='g') ) {s = 22;} | 2090 | else if ( (LA12_0=='g') ) {s = 22;} |
2104 | 2091 | ||
2105 | else if ( (LA12_0=='n') ) {s = 23;} | 2092 | else if ( (LA12_0=='o') ) {s = 23;} |
2093 | |||
2094 | else if ( (LA12_0=='d') ) {s = 24;} | ||
2106 | 2095 | ||
2107 | else if ( (LA12_0=='o') ) {s = 24;} | 2096 | else if ( (LA12_0=='l') ) {s = 25;} |
2108 | 2097 | ||
2109 | else if ( (LA12_0=='d') ) {s = 25;} | 2098 | else if ( (LA12_0=='S') ) {s = 26;} |
2110 | 2099 | ||
2111 | else if ( (LA12_0=='l') ) {s = 26;} | 2100 | else if ( (LA12_0=='A') ) {s = 27;} |
2112 | 2101 | ||
2113 | else if ( (LA12_0=='S') ) {s = 27;} | 2102 | else if ( (LA12_0=='V') ) {s = 28;} |
2114 | 2103 | ||
2115 | else if ( (LA12_0=='A') ) {s = 28;} | 2104 | else if ( (LA12_0=='^') ) {s = 29;} |
2116 | 2105 | ||
2117 | else if ( (LA12_0=='V') ) {s = 29;} | 2106 | else if ( ((LA12_0>='B' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='U')||(LA12_0>='W' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='b')||LA12_0=='h'||(LA12_0>='j' && LA12_0<='k')||LA12_0=='q'||(LA12_0>='t' && LA12_0<='u')||(LA12_0>='w' && LA12_0<='z')) ) {s = 30;} |
2118 | 2107 | ||
2119 | else if ( (LA12_0=='^') ) {s = 30;} | 2108 | else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 31;} |
2120 | 2109 | ||
2121 | else if ( ((LA12_0>='B' && LA12_0<='N')||(LA12_0>='P' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='U')||(LA12_0>='W' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='b')||LA12_0=='h'||(LA12_0>='j' && LA12_0<='k')||LA12_0=='q'||(LA12_0>='t' && LA12_0<='u')||(LA12_0>='w' && LA12_0<='z')) ) {s = 31;} | 2110 | else if ( (LA12_0=='\"') ) {s = 32;} |
2122 | 2111 | ||
2123 | else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 32;} | 2112 | else if ( (LA12_0=='\'') ) {s = 33;} |
2124 | 2113 | ||
2125 | else if ( (LA12_0=='\"') ) {s = 33;} | 2114 | else if ( (LA12_0=='/') ) {s = 34;} |
2126 | 2115 | ||
2127 | else if ( (LA12_0=='\'') ) {s = 34;} | 2116 | else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 35;} |
2128 | 2117 | ||
2129 | else if ( (LA12_0=='/') ) {s = 35;} | 2118 | else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='$' && LA12_0<='&')||(LA12_0>='(' && LA12_0<=')')||LA12_0=='-'||(LA12_0>=';' && LA12_0<='<')||(LA12_0>='>' && LA12_0<='@')||LA12_0=='\\'||LA12_0=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 36;} |
2130 | 2119 | ||
2131 | else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 36;} | 2120 | if ( s>=0 ) return s; |
2121 | break; | ||
2122 | case 2 : | ||
2123 | int LA12_33 = input.LA(1); | ||
2124 | |||
2125 | s = -1; | ||
2126 | if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 76;} | ||
2132 | 2127 | ||
2133 | else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='$' && LA12_0<='&')||(LA12_0>='(' && LA12_0<=')')||LA12_0=='-'||(LA12_0>=';' && LA12_0<='<')||(LA12_0>='>' && LA12_0<='@')||LA12_0=='\\'||LA12_0=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 37;} | 2128 | else s = 36; |
2134 | 2129 | ||
2135 | if ( s>=0 ) return s; | 2130 | if ( s>=0 ) return s; |
2136 | break; | 2131 | break; |
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java index be068326..ce82fe1d 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java | |||
@@ -18,12 +18,11 @@ import org.antlr.runtime.*; | |||
18 | import java.util.Stack; | 18 | import java.util.Stack; |
19 | import java.util.List; | 19 | import java.util.List; |
20 | import java.util.ArrayList; | 20 | import java.util.ArrayList; |
21 | import java.util.Map; | 21 | |
22 | import java.util.HashMap; | ||
23 | @SuppressWarnings("all") | 22 | @SuppressWarnings("all") |
24 | public class InternalApplicationConfigurationParser extends AbstractInternalAntlrParser { | 23 | public class InternalApplicationConfigurationParser extends AbstractInternalAntlrParser { |
25 | public static final String[] tokenNames = new String[] { | 24 | public static final String[] tokenNames = new String[] { |
26 | "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'.'", "'import'", "'epackage'", "'viatra'", "'file'", "'='", "'{'", "','", "'}'", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'patterns'", "'config'", "'#'", "'+='", "'..'", "'*'", "'['", "']'", "'Object'", "'int'", "'real'", "'string'", "'scope'", "'generate'", "'partial-model'", "'number'", "'runs'", "'solver'", "'output'", "'debug'", "'log'", "'statistics'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'" | 25 | "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'.'", "'import'", "'epackage'", "'viatra'", "'file'", "'='", "'{'", "','", "'}'", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'patterns'", "'config'", "'#'", "'+='", "'..'", "'*'", "'['", "']'", "'node'", "'int'", "'real'", "'string'", "'scope'", "'generate'", "'partial-model'", "'number'", "'runs'", "'solver'", "'output'", "'debug'", "'log'", "'statistics'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'" |
27 | }; | 26 | }; |
28 | public static final int T__50=50; | 27 | public static final int T__50=50; |
29 | public static final int T__19=19; | 28 | public static final int T__19=19; |
@@ -125,18 +124,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
125 | // InternalApplicationConfiguration.g:65:60: (iv_ruleConfigurationScript= ruleConfigurationScript EOF ) | 124 | // InternalApplicationConfiguration.g:65:60: (iv_ruleConfigurationScript= ruleConfigurationScript EOF ) |
126 | // InternalApplicationConfiguration.g:66:2: iv_ruleConfigurationScript= ruleConfigurationScript EOF | 125 | // InternalApplicationConfiguration.g:66:2: iv_ruleConfigurationScript= ruleConfigurationScript EOF |
127 | { | 126 | { |
128 | if ( state.backtracking==0 ) { | 127 | newCompositeNode(grammarAccess.getConfigurationScriptRule()); |
129 | newCompositeNode(grammarAccess.getConfigurationScriptRule()); | ||
130 | } | ||
131 | pushFollow(FOLLOW_1); | 128 | pushFollow(FOLLOW_1); |
132 | iv_ruleConfigurationScript=ruleConfigurationScript(); | 129 | iv_ruleConfigurationScript=ruleConfigurationScript(); |
133 | 130 | ||
134 | state._fsp--; | 131 | state._fsp--; |
135 | if (state.failed) return current; | 132 | |
136 | if ( state.backtracking==0 ) { | 133 | current =iv_ruleConfigurationScript; |
137 | current =iv_ruleConfigurationScript; | 134 | match(input,EOF,FOLLOW_2); |
138 | } | ||
139 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
140 | 135 | ||
141 | } | 136 | } |
142 | 137 | ||
@@ -191,29 +186,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
191 | // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport ) | 186 | // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport ) |
192 | // InternalApplicationConfiguration.g:82:5: lv_imports_0_0= ruleImport | 187 | // InternalApplicationConfiguration.g:82:5: lv_imports_0_0= ruleImport |
193 | { | 188 | { |
194 | if ( state.backtracking==0 ) { | ||
195 | 189 | ||
196 | newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); | 190 | newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); |
197 | 191 | ||
198 | } | ||
199 | pushFollow(FOLLOW_3); | 192 | pushFollow(FOLLOW_3); |
200 | lv_imports_0_0=ruleImport(); | 193 | lv_imports_0_0=ruleImport(); |
201 | 194 | ||
202 | state._fsp--; | 195 | state._fsp--; |
203 | if (state.failed) return current; | 196 | |
204 | if ( state.backtracking==0 ) { | 197 | |
205 | 198 | if (current==null) { | |
206 | if (current==null) { | 199 | current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); |
207 | current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); | 200 | } |
208 | } | 201 | add( |
209 | add( | 202 | current, |
210 | current, | 203 | "imports", |
211 | "imports", | 204 | lv_imports_0_0, |
212 | lv_imports_0_0, | 205 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); |
213 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); | 206 | afterParserOrEnumRuleCall(); |
214 | afterParserOrEnumRuleCall(); | 207 | |
215 | |||
216 | } | ||
217 | 208 | ||
218 | } | 209 | } |
219 | 210 | ||
@@ -244,29 +235,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
244 | // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand ) | 235 | // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand ) |
245 | // InternalApplicationConfiguration.g:101:5: lv_commands_1_0= ruleCommand | 236 | // InternalApplicationConfiguration.g:101:5: lv_commands_1_0= ruleCommand |
246 | { | 237 | { |
247 | if ( state.backtracking==0 ) { | ||
248 | 238 | ||
249 | newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); | 239 | newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); |
250 | 240 | ||
251 | } | ||
252 | pushFollow(FOLLOW_4); | 241 | pushFollow(FOLLOW_4); |
253 | lv_commands_1_0=ruleCommand(); | 242 | lv_commands_1_0=ruleCommand(); |
254 | 243 | ||
255 | state._fsp--; | 244 | state._fsp--; |
256 | if (state.failed) return current; | 245 | |
257 | if ( state.backtracking==0 ) { | 246 | |
258 | 247 | if (current==null) { | |
259 | if (current==null) { | 248 | current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); |
260 | current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); | 249 | } |
261 | } | 250 | add( |
262 | add( | 251 | current, |
263 | current, | 252 | "commands", |
264 | "commands", | 253 | lv_commands_1_0, |
265 | lv_commands_1_0, | 254 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); |
266 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); | 255 | afterParserOrEnumRuleCall(); |
267 | afterParserOrEnumRuleCall(); | 256 | |
268 | |||
269 | } | ||
270 | 257 | ||
271 | } | 258 | } |
272 | 259 | ||
@@ -285,11 +272,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
285 | 272 | ||
286 | } | 273 | } |
287 | 274 | ||
288 | if ( state.backtracking==0 ) { | ||
289 | 275 | ||
290 | leaveRule(); | 276 | leaveRule(); |
291 | 277 | ||
292 | } | ||
293 | } | 278 | } |
294 | 279 | ||
295 | catch (RecognitionException re) { | 280 | catch (RecognitionException re) { |
@@ -315,18 +300,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
315 | // InternalApplicationConfiguration.g:122:48: (iv_ruleCommand= ruleCommand EOF ) | 300 | // InternalApplicationConfiguration.g:122:48: (iv_ruleCommand= ruleCommand EOF ) |
316 | // InternalApplicationConfiguration.g:123:2: iv_ruleCommand= ruleCommand EOF | 301 | // InternalApplicationConfiguration.g:123:2: iv_ruleCommand= ruleCommand EOF |
317 | { | 302 | { |
318 | if ( state.backtracking==0 ) { | 303 | newCompositeNode(grammarAccess.getCommandRule()); |
319 | newCompositeNode(grammarAccess.getCommandRule()); | ||
320 | } | ||
321 | pushFollow(FOLLOW_1); | 304 | pushFollow(FOLLOW_1); |
322 | iv_ruleCommand=ruleCommand(); | 305 | iv_ruleCommand=ruleCommand(); |
323 | 306 | ||
324 | state._fsp--; | 307 | state._fsp--; |
325 | if (state.failed) return current; | 308 | |
326 | if ( state.backtracking==0 ) { | 309 | current =iv_ruleCommand; |
327 | current =iv_ruleCommand; | 310 | match(input,EOF,FOLLOW_2); |
328 | } | ||
329 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
330 | 311 | ||
331 | } | 312 | } |
332 | 313 | ||
@@ -371,7 +352,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
371 | alt3=2; | 352 | alt3=2; |
372 | } | 353 | } |
373 | else { | 354 | else { |
374 | if (state.backtracking>0) {state.failed=true; return current;} | ||
375 | NoViableAltException nvae = | 355 | NoViableAltException nvae = |
376 | new NoViableAltException("", 3, 0, input); | 356 | new NoViableAltException("", 3, 0, input); |
377 | 357 | ||
@@ -381,44 +361,36 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
381 | case 1 : | 361 | case 1 : |
382 | // InternalApplicationConfiguration.g:137:3: this_Declaration_0= ruleDeclaration | 362 | // InternalApplicationConfiguration.g:137:3: this_Declaration_0= ruleDeclaration |
383 | { | 363 | { |
384 | if ( state.backtracking==0 ) { | ||
385 | 364 | ||
386 | newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); | 365 | newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); |
387 | 366 | ||
388 | } | ||
389 | pushFollow(FOLLOW_2); | 367 | pushFollow(FOLLOW_2); |
390 | this_Declaration_0=ruleDeclaration(); | 368 | this_Declaration_0=ruleDeclaration(); |
391 | 369 | ||
392 | state._fsp--; | 370 | state._fsp--; |
393 | if (state.failed) return current; | ||
394 | if ( state.backtracking==0 ) { | ||
395 | 371 | ||
396 | current = this_Declaration_0; | 372 | |
397 | afterParserOrEnumRuleCall(); | 373 | current = this_Declaration_0; |
398 | 374 | afterParserOrEnumRuleCall(); | |
399 | } | 375 | |
400 | 376 | ||
401 | } | 377 | } |
402 | break; | 378 | break; |
403 | case 2 : | 379 | case 2 : |
404 | // InternalApplicationConfiguration.g:146:3: this_Task_1= ruleTask | 380 | // InternalApplicationConfiguration.g:146:3: this_Task_1= ruleTask |
405 | { | 381 | { |
406 | if ( state.backtracking==0 ) { | ||
407 | 382 | ||
408 | newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); | 383 | newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); |
409 | 384 | ||
410 | } | ||
411 | pushFollow(FOLLOW_2); | 385 | pushFollow(FOLLOW_2); |
412 | this_Task_1=ruleTask(); | 386 | this_Task_1=ruleTask(); |
413 | 387 | ||
414 | state._fsp--; | 388 | state._fsp--; |
415 | if (state.failed) return current; | ||
416 | if ( state.backtracking==0 ) { | ||
417 | 389 | ||
418 | current = this_Task_1; | 390 | |
419 | afterParserOrEnumRuleCall(); | 391 | current = this_Task_1; |
420 | 392 | afterParserOrEnumRuleCall(); | |
421 | } | 393 | |
422 | 394 | ||
423 | } | 395 | } |
424 | break; | 396 | break; |
@@ -428,11 +400,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
428 | 400 | ||
429 | } | 401 | } |
430 | 402 | ||
431 | if ( state.backtracking==0 ) { | ||
432 | 403 | ||
433 | leaveRule(); | 404 | leaveRule(); |
434 | 405 | ||
435 | } | ||
436 | } | 406 | } |
437 | 407 | ||
438 | catch (RecognitionException re) { | 408 | catch (RecognitionException re) { |
@@ -458,18 +428,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
458 | // InternalApplicationConfiguration.g:158:53: (iv_ruleQualifiedName= ruleQualifiedName EOF ) | 428 | // InternalApplicationConfiguration.g:158:53: (iv_ruleQualifiedName= ruleQualifiedName EOF ) |
459 | // InternalApplicationConfiguration.g:159:2: iv_ruleQualifiedName= ruleQualifiedName EOF | 429 | // InternalApplicationConfiguration.g:159:2: iv_ruleQualifiedName= ruleQualifiedName EOF |
460 | { | 430 | { |
461 | if ( state.backtracking==0 ) { | 431 | newCompositeNode(grammarAccess.getQualifiedNameRule()); |
462 | newCompositeNode(grammarAccess.getQualifiedNameRule()); | ||
463 | } | ||
464 | pushFollow(FOLLOW_1); | 432 | pushFollow(FOLLOW_1); |
465 | iv_ruleQualifiedName=ruleQualifiedName(); | 433 | iv_ruleQualifiedName=ruleQualifiedName(); |
466 | 434 | ||
467 | state._fsp--; | 435 | state._fsp--; |
468 | if (state.failed) return current; | 436 | |
469 | if ( state.backtracking==0 ) { | 437 | current =iv_ruleQualifiedName.getText(); |
470 | current =iv_ruleQualifiedName.getText(); | 438 | match(input,EOF,FOLLOW_2); |
471 | } | ||
472 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
473 | 439 | ||
474 | } | 440 | } |
475 | 441 | ||
@@ -487,7 +453,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
487 | 453 | ||
488 | 454 | ||
489 | // $ANTLR start "ruleQualifiedName" | 455 | // $ANTLR start "ruleQualifiedName" |
490 | // InternalApplicationConfiguration.g:165:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )* ) ; | 456 | // InternalApplicationConfiguration.g:165:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ; |
491 | public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException { | 457 | public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException { |
492 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); | 458 | AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
493 | 459 | ||
@@ -499,62 +465,46 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
499 | enterRule(); | 465 | enterRule(); |
500 | 466 | ||
501 | try { | 467 | try { |
502 | // InternalApplicationConfiguration.g:171:2: ( (this_ID_0= RULE_ID ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )* ) ) | 468 | // InternalApplicationConfiguration.g:171:2: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) |
503 | // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )* ) | 469 | // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) |
504 | { | 470 | { |
505 | // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )* ) | 471 | // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) |
506 | // InternalApplicationConfiguration.g:173:3: this_ID_0= RULE_ID ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )* | 472 | // InternalApplicationConfiguration.g:173:3: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* |
507 | { | 473 | { |
508 | this_ID_0=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current; | 474 | this_ID_0=(Token)match(input,RULE_ID,FOLLOW_5); |
509 | if ( state.backtracking==0 ) { | ||
510 | 475 | ||
511 | current.merge(this_ID_0); | 476 | current.merge(this_ID_0); |
512 | 477 | ||
513 | } | ||
514 | if ( state.backtracking==0 ) { | ||
515 | 478 | ||
516 | newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); | 479 | newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); |
517 | 480 | ||
518 | } | 481 | // InternalApplicationConfiguration.g:180:3: (kw= '.' this_ID_2= RULE_ID )* |
519 | // InternalApplicationConfiguration.g:180:3: ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )* | ||
520 | loop4: | 482 | loop4: |
521 | do { | 483 | do { |
522 | int alt4=2; | 484 | int alt4=2; |
523 | int LA4_0 = input.LA(1); | 485 | int LA4_0 = input.LA(1); |
524 | 486 | ||
525 | if ( (LA4_0==11) && (synpred1_InternalApplicationConfiguration())) { | 487 | if ( (LA4_0==11) ) { |
526 | alt4=1; | 488 | alt4=1; |
527 | } | 489 | } |
528 | 490 | ||
529 | 491 | ||
530 | switch (alt4) { | 492 | switch (alt4) { |
531 | case 1 : | 493 | case 1 : |
532 | // InternalApplicationConfiguration.g:181:4: ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID | 494 | // InternalApplicationConfiguration.g:181:4: kw= '.' this_ID_2= RULE_ID |
533 | { | 495 | { |
534 | // InternalApplicationConfiguration.g:181:4: ( ( '.' )=>kw= '.' ) | 496 | kw=(Token)match(input,11,FOLLOW_6); |
535 | // InternalApplicationConfiguration.g:182:5: ( '.' )=>kw= '.' | ||
536 | { | ||
537 | kw=(Token)match(input,11,FOLLOW_6); if (state.failed) return current; | ||
538 | if ( state.backtracking==0 ) { | ||
539 | |||
540 | current.merge(kw); | ||
541 | newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); | ||
542 | |||
543 | } | ||
544 | 497 | ||
545 | } | 498 | current.merge(kw); |
499 | newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); | ||
500 | |||
501 | this_ID_2=(Token)match(input,RULE_ID,FOLLOW_5); | ||
546 | 502 | ||
547 | this_ID_2=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current; | 503 | current.merge(this_ID_2); |
548 | if ( state.backtracking==0 ) { | 504 | |
549 | 505 | ||
550 | current.merge(this_ID_2); | 506 | newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); |
551 | 507 | ||
552 | } | ||
553 | if ( state.backtracking==0 ) { | ||
554 | |||
555 | newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); | ||
556 | |||
557 | } | ||
558 | 508 | ||
559 | } | 509 | } |
560 | break; | 510 | break; |
@@ -570,11 +520,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
570 | 520 | ||
571 | } | 521 | } |
572 | 522 | ||
573 | if ( state.backtracking==0 ) { | ||
574 | 523 | ||
575 | leaveRule(); | 524 | leaveRule(); |
576 | 525 | ||
577 | } | ||
578 | } | 526 | } |
579 | 527 | ||
580 | catch (RecognitionException re) { | 528 | catch (RecognitionException re) { |
@@ -589,7 +537,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
589 | 537 | ||
590 | 538 | ||
591 | // $ANTLR start "entryRuleImport" | 539 | // $ANTLR start "entryRuleImport" |
592 | // InternalApplicationConfiguration.g:201:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; | 540 | // InternalApplicationConfiguration.g:198:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; |
593 | public final EObject entryRuleImport() throws RecognitionException { | 541 | public final EObject entryRuleImport() throws RecognitionException { |
594 | EObject current = null; | 542 | EObject current = null; |
595 | 543 | ||
@@ -597,21 +545,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
597 | 545 | ||
598 | 546 | ||
599 | try { | 547 | try { |
600 | // InternalApplicationConfiguration.g:201:47: (iv_ruleImport= ruleImport EOF ) | 548 | // InternalApplicationConfiguration.g:198:47: (iv_ruleImport= ruleImport EOF ) |
601 | // InternalApplicationConfiguration.g:202:2: iv_ruleImport= ruleImport EOF | 549 | // InternalApplicationConfiguration.g:199:2: iv_ruleImport= ruleImport EOF |
602 | { | 550 | { |
603 | if ( state.backtracking==0 ) { | 551 | newCompositeNode(grammarAccess.getImportRule()); |
604 | newCompositeNode(grammarAccess.getImportRule()); | ||
605 | } | ||
606 | pushFollow(FOLLOW_1); | 552 | pushFollow(FOLLOW_1); |
607 | iv_ruleImport=ruleImport(); | 553 | iv_ruleImport=ruleImport(); |
608 | 554 | ||
609 | state._fsp--; | 555 | state._fsp--; |
610 | if (state.failed) return current; | 556 | |
611 | if ( state.backtracking==0 ) { | 557 | current =iv_ruleImport; |
612 | current =iv_ruleImport; | 558 | match(input,EOF,FOLLOW_2); |
613 | } | ||
614 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
615 | 559 | ||
616 | } | 560 | } |
617 | 561 | ||
@@ -629,7 +573,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
629 | 573 | ||
630 | 574 | ||
631 | // $ANTLR start "ruleImport" | 575 | // $ANTLR start "ruleImport" |
632 | // InternalApplicationConfiguration.g:208:1: ruleImport returns [EObject current=null] : (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ; | 576 | // InternalApplicationConfiguration.g:205:1: ruleImport returns [EObject current=null] : (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ; |
633 | public final EObject ruleImport() throws RecognitionException { | 577 | public final EObject ruleImport() throws RecognitionException { |
634 | EObject current = null; | 578 | EObject current = null; |
635 | 579 | ||
@@ -642,10 +586,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
642 | enterRule(); | 586 | enterRule(); |
643 | 587 | ||
644 | try { | 588 | try { |
645 | // InternalApplicationConfiguration.g:214:2: ( (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ) | 589 | // InternalApplicationConfiguration.g:211:2: ( (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ) |
646 | // InternalApplicationConfiguration.g:215:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) | 590 | // InternalApplicationConfiguration.g:212:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) |
647 | { | 591 | { |
648 | // InternalApplicationConfiguration.g:215:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) | 592 | // InternalApplicationConfiguration.g:212:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) |
649 | int alt5=2; | 593 | int alt5=2; |
650 | int LA5_0 = input.LA(1); | 594 | int LA5_0 = input.LA(1); |
651 | 595 | ||
@@ -659,7 +603,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
659 | alt5=2; | 603 | alt5=2; |
660 | } | 604 | } |
661 | else { | 605 | else { |
662 | if (state.backtracking>0) {state.failed=true; return current;} | ||
663 | NoViableAltException nvae = | 606 | NoViableAltException nvae = |
664 | new NoViableAltException("", 5, 1, input); | 607 | new NoViableAltException("", 5, 1, input); |
665 | 608 | ||
@@ -667,7 +610,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
667 | } | 610 | } |
668 | } | 611 | } |
669 | else { | 612 | else { |
670 | if (state.backtracking>0) {state.failed=true; return current;} | ||
671 | NoViableAltException nvae = | 613 | NoViableAltException nvae = |
672 | new NoViableAltException("", 5, 0, input); | 614 | new NoViableAltException("", 5, 0, input); |
673 | 615 | ||
@@ -675,46 +617,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
675 | } | 617 | } |
676 | switch (alt5) { | 618 | switch (alt5) { |
677 | case 1 : | 619 | case 1 : |
678 | // InternalApplicationConfiguration.g:216:3: this_EPackageImport_0= ruleEPackageImport | 620 | // InternalApplicationConfiguration.g:213:3: this_EPackageImport_0= ruleEPackageImport |
679 | { | 621 | { |
680 | if ( state.backtracking==0 ) { | ||
681 | 622 | ||
682 | newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); | 623 | newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); |
683 | 624 | ||
684 | } | ||
685 | pushFollow(FOLLOW_2); | 625 | pushFollow(FOLLOW_2); |
686 | this_EPackageImport_0=ruleEPackageImport(); | 626 | this_EPackageImport_0=ruleEPackageImport(); |
687 | 627 | ||
688 | state._fsp--; | 628 | state._fsp--; |
689 | if (state.failed) return current; | ||
690 | if ( state.backtracking==0 ) { | ||
691 | 629 | ||
692 | current = this_EPackageImport_0; | 630 | |
693 | afterParserOrEnumRuleCall(); | 631 | current = this_EPackageImport_0; |
694 | 632 | afterParserOrEnumRuleCall(); | |
695 | } | 633 | |
696 | 634 | ||
697 | } | 635 | } |
698 | break; | 636 | break; |
699 | case 2 : | 637 | case 2 : |
700 | // InternalApplicationConfiguration.g:225:3: this_ViatraImport_1= ruleViatraImport | 638 | // InternalApplicationConfiguration.g:222:3: this_ViatraImport_1= ruleViatraImport |
701 | { | 639 | { |
702 | if ( state.backtracking==0 ) { | ||
703 | 640 | ||
704 | newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); | 641 | newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); |
705 | 642 | ||
706 | } | ||
707 | pushFollow(FOLLOW_2); | 643 | pushFollow(FOLLOW_2); |
708 | this_ViatraImport_1=ruleViatraImport(); | 644 | this_ViatraImport_1=ruleViatraImport(); |
709 | 645 | ||
710 | state._fsp--; | 646 | state._fsp--; |
711 | if (state.failed) return current; | ||
712 | if ( state.backtracking==0 ) { | ||
713 | 647 | ||
714 | current = this_ViatraImport_1; | 648 | |
715 | afterParserOrEnumRuleCall(); | 649 | current = this_ViatraImport_1; |
716 | 650 | afterParserOrEnumRuleCall(); | |
717 | } | 651 | |
718 | 652 | ||
719 | } | 653 | } |
720 | break; | 654 | break; |
@@ -724,11 +658,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
724 | 658 | ||
725 | } | 659 | } |
726 | 660 | ||
727 | if ( state.backtracking==0 ) { | ||
728 | 661 | ||
729 | leaveRule(); | 662 | leaveRule(); |
730 | 663 | ||
731 | } | ||
732 | } | 664 | } |
733 | 665 | ||
734 | catch (RecognitionException re) { | 666 | catch (RecognitionException re) { |
@@ -743,7 +675,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
743 | 675 | ||
744 | 676 | ||
745 | // $ANTLR start "entryRuleEPackageImport" | 677 | // $ANTLR start "entryRuleEPackageImport" |
746 | // InternalApplicationConfiguration.g:237:1: entryRuleEPackageImport returns [EObject current=null] : iv_ruleEPackageImport= ruleEPackageImport EOF ; | 678 | // InternalApplicationConfiguration.g:234:1: entryRuleEPackageImport returns [EObject current=null] : iv_ruleEPackageImport= ruleEPackageImport EOF ; |
747 | public final EObject entryRuleEPackageImport() throws RecognitionException { | 679 | public final EObject entryRuleEPackageImport() throws RecognitionException { |
748 | EObject current = null; | 680 | EObject current = null; |
749 | 681 | ||
@@ -751,21 +683,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
751 | 683 | ||
752 | 684 | ||
753 | try { | 685 | try { |
754 | // InternalApplicationConfiguration.g:237:55: (iv_ruleEPackageImport= ruleEPackageImport EOF ) | 686 | // InternalApplicationConfiguration.g:234:55: (iv_ruleEPackageImport= ruleEPackageImport EOF ) |
755 | // InternalApplicationConfiguration.g:238:2: iv_ruleEPackageImport= ruleEPackageImport EOF | 687 | // InternalApplicationConfiguration.g:235:2: iv_ruleEPackageImport= ruleEPackageImport EOF |
756 | { | 688 | { |
757 | if ( state.backtracking==0 ) { | 689 | newCompositeNode(grammarAccess.getEPackageImportRule()); |
758 | newCompositeNode(grammarAccess.getEPackageImportRule()); | ||
759 | } | ||
760 | pushFollow(FOLLOW_1); | 690 | pushFollow(FOLLOW_1); |
761 | iv_ruleEPackageImport=ruleEPackageImport(); | 691 | iv_ruleEPackageImport=ruleEPackageImport(); |
762 | 692 | ||
763 | state._fsp--; | 693 | state._fsp--; |
764 | if (state.failed) return current; | 694 | |
765 | if ( state.backtracking==0 ) { | 695 | current =iv_ruleEPackageImport; |
766 | current =iv_ruleEPackageImport; | 696 | match(input,EOF,FOLLOW_2); |
767 | } | ||
768 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
769 | 697 | ||
770 | } | 698 | } |
771 | 699 | ||
@@ -783,7 +711,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
783 | 711 | ||
784 | 712 | ||
785 | // $ANTLR start "ruleEPackageImport" | 713 | // $ANTLR start "ruleEPackageImport" |
786 | // InternalApplicationConfiguration.g:244:1: ruleEPackageImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ; | 714 | // InternalApplicationConfiguration.g:241:1: ruleEPackageImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ; |
787 | public final EObject ruleEPackageImport() throws RecognitionException { | 715 | public final EObject ruleEPackageImport() throws RecognitionException { |
788 | EObject current = null; | 716 | EObject current = null; |
789 | 717 | ||
@@ -795,43 +723,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
795 | enterRule(); | 723 | enterRule(); |
796 | 724 | ||
797 | try { | 725 | try { |
798 | // InternalApplicationConfiguration.g:250:2: ( (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ) | 726 | // InternalApplicationConfiguration.g:247:2: ( (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ) |
799 | // InternalApplicationConfiguration.g:251:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) | 727 | // InternalApplicationConfiguration.g:248:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) |
800 | { | 728 | { |
801 | // InternalApplicationConfiguration.g:251:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) | 729 | // InternalApplicationConfiguration.g:248:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) |
802 | // InternalApplicationConfiguration.g:252:3: otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) | 730 | // InternalApplicationConfiguration.g:249:3: otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) |
803 | { | 731 | { |
804 | otherlv_0=(Token)match(input,12,FOLLOW_7); if (state.failed) return current; | 732 | otherlv_0=(Token)match(input,12,FOLLOW_7); |
805 | if ( state.backtracking==0 ) { | ||
806 | 733 | ||
807 | newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0()); | 734 | newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0()); |
808 | 735 | ||
809 | } | 736 | otherlv_1=(Token)match(input,13,FOLLOW_8); |
810 | otherlv_1=(Token)match(input,13,FOLLOW_8); if (state.failed) return current; | ||
811 | if ( state.backtracking==0 ) { | ||
812 | 737 | ||
813 | newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); | 738 | newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); |
814 | 739 | ||
815 | } | 740 | // InternalApplicationConfiguration.g:257:3: ( (otherlv_2= RULE_STRING ) ) |
816 | // InternalApplicationConfiguration.g:260:3: ( (otherlv_2= RULE_STRING ) ) | 741 | // InternalApplicationConfiguration.g:258:4: (otherlv_2= RULE_STRING ) |
817 | // InternalApplicationConfiguration.g:261:4: (otherlv_2= RULE_STRING ) | ||
818 | { | 742 | { |
819 | // InternalApplicationConfiguration.g:261:4: (otherlv_2= RULE_STRING ) | 743 | // InternalApplicationConfiguration.g:258:4: (otherlv_2= RULE_STRING ) |
820 | // InternalApplicationConfiguration.g:262:5: otherlv_2= RULE_STRING | 744 | // InternalApplicationConfiguration.g:259:5: otherlv_2= RULE_STRING |
821 | { | 745 | { |
822 | if ( state.backtracking==0 ) { | ||
823 | 746 | ||
824 | if (current==null) { | 747 | if (current==null) { |
825 | current = createModelElement(grammarAccess.getEPackageImportRule()); | 748 | current = createModelElement(grammarAccess.getEPackageImportRule()); |
826 | } | 749 | } |
827 | 750 | ||
828 | } | 751 | otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); |
829 | otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current; | ||
830 | if ( state.backtracking==0 ) { | ||
831 | 752 | ||
832 | newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); | 753 | newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); |
833 | 754 | ||
834 | } | ||
835 | 755 | ||
836 | } | 756 | } |
837 | 757 | ||
@@ -844,11 +764,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
844 | 764 | ||
845 | } | 765 | } |
846 | 766 | ||
847 | if ( state.backtracking==0 ) { | ||
848 | 767 | ||
849 | leaveRule(); | 768 | leaveRule(); |
850 | 769 | ||
851 | } | ||
852 | } | 770 | } |
853 | 771 | ||
854 | catch (RecognitionException re) { | 772 | catch (RecognitionException re) { |
@@ -863,7 +781,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
863 | 781 | ||
864 | 782 | ||
865 | // $ANTLR start "entryRuleViatraImport" | 783 | // $ANTLR start "entryRuleViatraImport" |
866 | // InternalApplicationConfiguration.g:277:1: entryRuleViatraImport returns [EObject current=null] : iv_ruleViatraImport= ruleViatraImport EOF ; | 784 | // InternalApplicationConfiguration.g:274:1: entryRuleViatraImport returns [EObject current=null] : iv_ruleViatraImport= ruleViatraImport EOF ; |
867 | public final EObject entryRuleViatraImport() throws RecognitionException { | 785 | public final EObject entryRuleViatraImport() throws RecognitionException { |
868 | EObject current = null; | 786 | EObject current = null; |
869 | 787 | ||
@@ -871,21 +789,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
871 | 789 | ||
872 | 790 | ||
873 | try { | 791 | try { |
874 | // InternalApplicationConfiguration.g:277:53: (iv_ruleViatraImport= ruleViatraImport EOF ) | 792 | // InternalApplicationConfiguration.g:274:53: (iv_ruleViatraImport= ruleViatraImport EOF ) |
875 | // InternalApplicationConfiguration.g:278:2: iv_ruleViatraImport= ruleViatraImport EOF | 793 | // InternalApplicationConfiguration.g:275:2: iv_ruleViatraImport= ruleViatraImport EOF |
876 | { | 794 | { |
877 | if ( state.backtracking==0 ) { | 795 | newCompositeNode(grammarAccess.getViatraImportRule()); |
878 | newCompositeNode(grammarAccess.getViatraImportRule()); | ||
879 | } | ||
880 | pushFollow(FOLLOW_1); | 796 | pushFollow(FOLLOW_1); |
881 | iv_ruleViatraImport=ruleViatraImport(); | 797 | iv_ruleViatraImport=ruleViatraImport(); |
882 | 798 | ||
883 | state._fsp--; | 799 | state._fsp--; |
884 | if (state.failed) return current; | 800 | |
885 | if ( state.backtracking==0 ) { | 801 | current =iv_ruleViatraImport; |
886 | current =iv_ruleViatraImport; | 802 | match(input,EOF,FOLLOW_2); |
887 | } | ||
888 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
889 | 803 | ||
890 | } | 804 | } |
891 | 805 | ||
@@ -903,7 +817,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
903 | 817 | ||
904 | 818 | ||
905 | // $ANTLR start "ruleViatraImport" | 819 | // $ANTLR start "ruleViatraImport" |
906 | // InternalApplicationConfiguration.g:284:1: ruleViatraImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ; | 820 | // InternalApplicationConfiguration.g:281:1: ruleViatraImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ; |
907 | public final EObject ruleViatraImport() throws RecognitionException { | 821 | public final EObject ruleViatraImport() throws RecognitionException { |
908 | EObject current = null; | 822 | EObject current = null; |
909 | 823 | ||
@@ -915,43 +829,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
915 | enterRule(); | 829 | enterRule(); |
916 | 830 | ||
917 | try { | 831 | try { |
918 | // InternalApplicationConfiguration.g:290:2: ( (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ) | 832 | // InternalApplicationConfiguration.g:287:2: ( (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ) |
919 | // InternalApplicationConfiguration.g:291:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) | 833 | // InternalApplicationConfiguration.g:288:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) |
920 | { | 834 | { |
921 | // InternalApplicationConfiguration.g:291:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) | 835 | // InternalApplicationConfiguration.g:288:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) |
922 | // InternalApplicationConfiguration.g:292:3: otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) | 836 | // InternalApplicationConfiguration.g:289:3: otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) |
923 | { | 837 | { |
924 | otherlv_0=(Token)match(input,12,FOLLOW_9); if (state.failed) return current; | 838 | otherlv_0=(Token)match(input,12,FOLLOW_9); |
925 | if ( state.backtracking==0 ) { | ||
926 | 839 | ||
927 | newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0()); | 840 | newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0()); |
928 | 841 | ||
929 | } | 842 | otherlv_1=(Token)match(input,14,FOLLOW_8); |
930 | otherlv_1=(Token)match(input,14,FOLLOW_8); if (state.failed) return current; | ||
931 | if ( state.backtracking==0 ) { | ||
932 | 843 | ||
933 | newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1()); | 844 | newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1()); |
934 | 845 | ||
935 | } | 846 | // InternalApplicationConfiguration.g:297:3: ( (otherlv_2= RULE_STRING ) ) |
936 | // InternalApplicationConfiguration.g:300:3: ( (otherlv_2= RULE_STRING ) ) | 847 | // InternalApplicationConfiguration.g:298:4: (otherlv_2= RULE_STRING ) |
937 | // InternalApplicationConfiguration.g:301:4: (otherlv_2= RULE_STRING ) | ||
938 | { | 848 | { |
939 | // InternalApplicationConfiguration.g:301:4: (otherlv_2= RULE_STRING ) | 849 | // InternalApplicationConfiguration.g:298:4: (otherlv_2= RULE_STRING ) |
940 | // InternalApplicationConfiguration.g:302:5: otherlv_2= RULE_STRING | 850 | // InternalApplicationConfiguration.g:299:5: otherlv_2= RULE_STRING |
941 | { | 851 | { |
942 | if ( state.backtracking==0 ) { | ||
943 | 852 | ||
944 | if (current==null) { | 853 | if (current==null) { |
945 | current = createModelElement(grammarAccess.getViatraImportRule()); | 854 | current = createModelElement(grammarAccess.getViatraImportRule()); |
946 | } | 855 | } |
947 | 856 | ||
948 | } | 857 | otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); |
949 | otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current; | ||
950 | if ( state.backtracking==0 ) { | ||
951 | 858 | ||
952 | newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); | 859 | newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); |
953 | 860 | ||
954 | } | ||
955 | 861 | ||
956 | } | 862 | } |
957 | 863 | ||
@@ -964,11 +870,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
964 | 870 | ||
965 | } | 871 | } |
966 | 872 | ||
967 | if ( state.backtracking==0 ) { | ||
968 | 873 | ||
969 | leaveRule(); | 874 | leaveRule(); |
970 | 875 | ||
971 | } | ||
972 | } | 876 | } |
973 | 877 | ||
974 | catch (RecognitionException re) { | 878 | catch (RecognitionException re) { |
@@ -983,7 +887,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
983 | 887 | ||
984 | 888 | ||
985 | // $ANTLR start "entryRuleDeclaration" | 889 | // $ANTLR start "entryRuleDeclaration" |
986 | // InternalApplicationConfiguration.g:317:1: entryRuleDeclaration returns [EObject current=null] : iv_ruleDeclaration= ruleDeclaration EOF ; | 890 | // InternalApplicationConfiguration.g:314:1: entryRuleDeclaration returns [EObject current=null] : iv_ruleDeclaration= ruleDeclaration EOF ; |
987 | public final EObject entryRuleDeclaration() throws RecognitionException { | 891 | public final EObject entryRuleDeclaration() throws RecognitionException { |
988 | EObject current = null; | 892 | EObject current = null; |
989 | 893 | ||
@@ -991,21 +895,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
991 | 895 | ||
992 | 896 | ||
993 | try { | 897 | try { |
994 | // InternalApplicationConfiguration.g:317:52: (iv_ruleDeclaration= ruleDeclaration EOF ) | 898 | // InternalApplicationConfiguration.g:314:52: (iv_ruleDeclaration= ruleDeclaration EOF ) |
995 | // InternalApplicationConfiguration.g:318:2: iv_ruleDeclaration= ruleDeclaration EOF | 899 | // InternalApplicationConfiguration.g:315:2: iv_ruleDeclaration= ruleDeclaration EOF |
996 | { | 900 | { |
997 | if ( state.backtracking==0 ) { | 901 | newCompositeNode(grammarAccess.getDeclarationRule()); |
998 | newCompositeNode(grammarAccess.getDeclarationRule()); | ||
999 | } | ||
1000 | pushFollow(FOLLOW_1); | 902 | pushFollow(FOLLOW_1); |
1001 | iv_ruleDeclaration=ruleDeclaration(); | 903 | iv_ruleDeclaration=ruleDeclaration(); |
1002 | 904 | ||
1003 | state._fsp--; | 905 | state._fsp--; |
1004 | if (state.failed) return current; | 906 | |
1005 | if ( state.backtracking==0 ) { | 907 | current =iv_ruleDeclaration; |
1006 | current =iv_ruleDeclaration; | 908 | match(input,EOF,FOLLOW_2); |
1007 | } | ||
1008 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
1009 | 909 | ||
1010 | } | 910 | } |
1011 | 911 | ||
@@ -1023,7 +923,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1023 | 923 | ||
1024 | 924 | ||
1025 | // $ANTLR start "ruleDeclaration" | 925 | // $ANTLR start "ruleDeclaration" |
1026 | // InternalApplicationConfiguration.g:324:1: ruleDeclaration returns [EObject current=null] : (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) ; | 926 | // InternalApplicationConfiguration.g:321:1: ruleDeclaration returns [EObject current=null] : (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) ; |
1027 | public final EObject ruleDeclaration() throws RecognitionException { | 927 | public final EObject ruleDeclaration() throws RecognitionException { |
1028 | EObject current = null; | 928 | EObject current = null; |
1029 | 929 | ||
@@ -1044,10 +944,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1044 | enterRule(); | 944 | enterRule(); |
1045 | 945 | ||
1046 | try { | 946 | try { |
1047 | // InternalApplicationConfiguration.g:330:2: ( (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) ) | 947 | // InternalApplicationConfiguration.g:327:2: ( (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) ) |
1048 | // InternalApplicationConfiguration.g:331:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) | 948 | // InternalApplicationConfiguration.g:328:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) |
1049 | { | 949 | { |
1050 | // InternalApplicationConfiguration.g:331:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) | 950 | // InternalApplicationConfiguration.g:328:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) |
1051 | int alt6=6; | 951 | int alt6=6; |
1052 | switch ( input.LA(1) ) { | 952 | switch ( input.LA(1) ) { |
1053 | case 15: | 953 | case 15: |
@@ -1081,7 +981,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1081 | } | 981 | } |
1082 | break; | 982 | break; |
1083 | default: | 983 | default: |
1084 | if (state.backtracking>0) {state.failed=true; return current;} | ||
1085 | NoViableAltException nvae = | 984 | NoViableAltException nvae = |
1086 | new NoViableAltException("", 6, 0, input); | 985 | new NoViableAltException("", 6, 0, input); |
1087 | 986 | ||
@@ -1090,134 +989,110 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1090 | 989 | ||
1091 | switch (alt6) { | 990 | switch (alt6) { |
1092 | case 1 : | 991 | case 1 : |
1093 | // InternalApplicationConfiguration.g:332:3: this_FileDeclaration_0= ruleFileDeclaration | 992 | // InternalApplicationConfiguration.g:329:3: this_FileDeclaration_0= ruleFileDeclaration |
1094 | { | 993 | { |
1095 | if ( state.backtracking==0 ) { | ||
1096 | 994 | ||
1097 | newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); | 995 | newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); |
1098 | 996 | ||
1099 | } | ||
1100 | pushFollow(FOLLOW_2); | 997 | pushFollow(FOLLOW_2); |
1101 | this_FileDeclaration_0=ruleFileDeclaration(); | 998 | this_FileDeclaration_0=ruleFileDeclaration(); |
1102 | 999 | ||
1103 | state._fsp--; | 1000 | state._fsp--; |
1104 | if (state.failed) return current; | ||
1105 | if ( state.backtracking==0 ) { | ||
1106 | 1001 | ||
1107 | current = this_FileDeclaration_0; | 1002 | |
1108 | afterParserOrEnumRuleCall(); | 1003 | current = this_FileDeclaration_0; |
1109 | 1004 | afterParserOrEnumRuleCall(); | |
1110 | } | 1005 | |
1111 | 1006 | ||
1112 | } | 1007 | } |
1113 | break; | 1008 | break; |
1114 | case 2 : | 1009 | case 2 : |
1115 | // InternalApplicationConfiguration.g:341:3: this_MetamodelDeclaration_1= ruleMetamodelDeclaration | 1010 | // InternalApplicationConfiguration.g:338:3: this_MetamodelDeclaration_1= ruleMetamodelDeclaration |
1116 | { | 1011 | { |
1117 | if ( state.backtracking==0 ) { | ||
1118 | 1012 | ||
1119 | newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); | 1013 | newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); |
1120 | 1014 | ||
1121 | } | ||
1122 | pushFollow(FOLLOW_2); | 1015 | pushFollow(FOLLOW_2); |
1123 | this_MetamodelDeclaration_1=ruleMetamodelDeclaration(); | 1016 | this_MetamodelDeclaration_1=ruleMetamodelDeclaration(); |
1124 | 1017 | ||
1125 | state._fsp--; | 1018 | state._fsp--; |
1126 | if (state.failed) return current; | ||
1127 | if ( state.backtracking==0 ) { | ||
1128 | 1019 | ||
1129 | current = this_MetamodelDeclaration_1; | 1020 | |
1130 | afterParserOrEnumRuleCall(); | 1021 | current = this_MetamodelDeclaration_1; |
1131 | 1022 | afterParserOrEnumRuleCall(); | |
1132 | } | 1023 | |
1133 | 1024 | ||
1134 | } | 1025 | } |
1135 | break; | 1026 | break; |
1136 | case 3 : | 1027 | case 3 : |
1137 | // InternalApplicationConfiguration.g:350:3: this_PartialModelDeclaration_2= rulePartialModelDeclaration | 1028 | // InternalApplicationConfiguration.g:347:3: this_PartialModelDeclaration_2= rulePartialModelDeclaration |
1138 | { | 1029 | { |
1139 | if ( state.backtracking==0 ) { | ||
1140 | 1030 | ||
1141 | newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); | 1031 | newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); |
1142 | 1032 | ||
1143 | } | ||
1144 | pushFollow(FOLLOW_2); | 1033 | pushFollow(FOLLOW_2); |
1145 | this_PartialModelDeclaration_2=rulePartialModelDeclaration(); | 1034 | this_PartialModelDeclaration_2=rulePartialModelDeclaration(); |
1146 | 1035 | ||
1147 | state._fsp--; | 1036 | state._fsp--; |
1148 | if (state.failed) return current; | ||
1149 | if ( state.backtracking==0 ) { | ||
1150 | 1037 | ||
1151 | current = this_PartialModelDeclaration_2; | 1038 | |
1152 | afterParserOrEnumRuleCall(); | 1039 | current = this_PartialModelDeclaration_2; |
1153 | 1040 | afterParserOrEnumRuleCall(); | |
1154 | } | 1041 | |
1155 | 1042 | ||
1156 | } | 1043 | } |
1157 | break; | 1044 | break; |
1158 | case 4 : | 1045 | case 4 : |
1159 | // InternalApplicationConfiguration.g:359:3: this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | 1046 | // InternalApplicationConfiguration.g:356:3: this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration |
1160 | { | 1047 | { |
1161 | if ( state.backtracking==0 ) { | ||
1162 | 1048 | ||
1163 | newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); | 1049 | newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); |
1164 | 1050 | ||
1165 | } | ||
1166 | pushFollow(FOLLOW_2); | 1051 | pushFollow(FOLLOW_2); |
1167 | this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration(); | 1052 | this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration(); |
1168 | 1053 | ||
1169 | state._fsp--; | 1054 | state._fsp--; |
1170 | if (state.failed) return current; | ||
1171 | if ( state.backtracking==0 ) { | ||
1172 | 1055 | ||
1173 | current = this_GraphPatternDeclaration_3; | 1056 | |
1174 | afterParserOrEnumRuleCall(); | 1057 | current = this_GraphPatternDeclaration_3; |
1175 | 1058 | afterParserOrEnumRuleCall(); | |
1176 | } | 1059 | |
1177 | 1060 | ||
1178 | } | 1061 | } |
1179 | break; | 1062 | break; |
1180 | case 5 : | 1063 | case 5 : |
1181 | // InternalApplicationConfiguration.g:368:3: this_ConfigDeclaration_4= ruleConfigDeclaration | 1064 | // InternalApplicationConfiguration.g:365:3: this_ConfigDeclaration_4= ruleConfigDeclaration |
1182 | { | 1065 | { |
1183 | if ( state.backtracking==0 ) { | ||
1184 | 1066 | ||
1185 | newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); | 1067 | newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); |
1186 | 1068 | ||
1187 | } | ||
1188 | pushFollow(FOLLOW_2); | 1069 | pushFollow(FOLLOW_2); |
1189 | this_ConfigDeclaration_4=ruleConfigDeclaration(); | 1070 | this_ConfigDeclaration_4=ruleConfigDeclaration(); |
1190 | 1071 | ||
1191 | state._fsp--; | 1072 | state._fsp--; |
1192 | if (state.failed) return current; | ||
1193 | if ( state.backtracking==0 ) { | ||
1194 | 1073 | ||
1195 | current = this_ConfigDeclaration_4; | 1074 | |
1196 | afterParserOrEnumRuleCall(); | 1075 | current = this_ConfigDeclaration_4; |
1197 | 1076 | afterParserOrEnumRuleCall(); | |
1198 | } | 1077 | |
1199 | 1078 | ||
1200 | } | 1079 | } |
1201 | break; | 1080 | break; |
1202 | case 6 : | 1081 | case 6 : |
1203 | // InternalApplicationConfiguration.g:377:3: this_ScopeDeclaration_5= ruleScopeDeclaration | 1082 | // InternalApplicationConfiguration.g:374:3: this_ScopeDeclaration_5= ruleScopeDeclaration |
1204 | { | 1083 | { |
1205 | if ( state.backtracking==0 ) { | ||
1206 | 1084 | ||
1207 | newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); | 1085 | newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); |
1208 | 1086 | ||
1209 | } | ||
1210 | pushFollow(FOLLOW_2); | 1087 | pushFollow(FOLLOW_2); |
1211 | this_ScopeDeclaration_5=ruleScopeDeclaration(); | 1088 | this_ScopeDeclaration_5=ruleScopeDeclaration(); |
1212 | 1089 | ||
1213 | state._fsp--; | 1090 | state._fsp--; |
1214 | if (state.failed) return current; | ||
1215 | if ( state.backtracking==0 ) { | ||
1216 | 1091 | ||
1217 | current = this_ScopeDeclaration_5; | 1092 | |
1218 | afterParserOrEnumRuleCall(); | 1093 | current = this_ScopeDeclaration_5; |
1219 | 1094 | afterParserOrEnumRuleCall(); | |
1220 | } | 1095 | |
1221 | 1096 | ||
1222 | } | 1097 | } |
1223 | break; | 1098 | break; |
@@ -1227,11 +1102,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1227 | 1102 | ||
1228 | } | 1103 | } |
1229 | 1104 | ||
1230 | if ( state.backtracking==0 ) { | ||
1231 | 1105 | ||
1232 | leaveRule(); | 1106 | leaveRule(); |
1233 | 1107 | ||
1234 | } | ||
1235 | } | 1108 | } |
1236 | 1109 | ||
1237 | catch (RecognitionException re) { | 1110 | catch (RecognitionException re) { |
@@ -1246,7 +1119,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1246 | 1119 | ||
1247 | 1120 | ||
1248 | // $ANTLR start "entryRuleFileSpecification" | 1121 | // $ANTLR start "entryRuleFileSpecification" |
1249 | // InternalApplicationConfiguration.g:389:1: entryRuleFileSpecification returns [EObject current=null] : iv_ruleFileSpecification= ruleFileSpecification EOF ; | 1122 | // InternalApplicationConfiguration.g:386:1: entryRuleFileSpecification returns [EObject current=null] : iv_ruleFileSpecification= ruleFileSpecification EOF ; |
1250 | public final EObject entryRuleFileSpecification() throws RecognitionException { | 1123 | public final EObject entryRuleFileSpecification() throws RecognitionException { |
1251 | EObject current = null; | 1124 | EObject current = null; |
1252 | 1125 | ||
@@ -1254,21 +1127,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1254 | 1127 | ||
1255 | 1128 | ||
1256 | try { | 1129 | try { |
1257 | // InternalApplicationConfiguration.g:389:58: (iv_ruleFileSpecification= ruleFileSpecification EOF ) | 1130 | // InternalApplicationConfiguration.g:386:58: (iv_ruleFileSpecification= ruleFileSpecification EOF ) |
1258 | // InternalApplicationConfiguration.g:390:2: iv_ruleFileSpecification= ruleFileSpecification EOF | 1131 | // InternalApplicationConfiguration.g:387:2: iv_ruleFileSpecification= ruleFileSpecification EOF |
1259 | { | 1132 | { |
1260 | if ( state.backtracking==0 ) { | 1133 | newCompositeNode(grammarAccess.getFileSpecificationRule()); |
1261 | newCompositeNode(grammarAccess.getFileSpecificationRule()); | ||
1262 | } | ||
1263 | pushFollow(FOLLOW_1); | 1134 | pushFollow(FOLLOW_1); |
1264 | iv_ruleFileSpecification=ruleFileSpecification(); | 1135 | iv_ruleFileSpecification=ruleFileSpecification(); |
1265 | 1136 | ||
1266 | state._fsp--; | 1137 | state._fsp--; |
1267 | if (state.failed) return current; | 1138 | |
1268 | if ( state.backtracking==0 ) { | 1139 | current =iv_ruleFileSpecification; |
1269 | current =iv_ruleFileSpecification; | 1140 | match(input,EOF,FOLLOW_2); |
1270 | } | ||
1271 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
1272 | 1141 | ||
1273 | } | 1142 | } |
1274 | 1143 | ||
@@ -1286,7 +1155,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1286 | 1155 | ||
1287 | 1156 | ||
1288 | // $ANTLR start "ruleFileSpecification" | 1157 | // $ANTLR start "ruleFileSpecification" |
1289 | // InternalApplicationConfiguration.g:396:1: ruleFileSpecification returns [EObject current=null] : ( (lv_path_0_0= RULE_STRING ) ) ; | 1158 | // InternalApplicationConfiguration.g:393:1: ruleFileSpecification returns [EObject current=null] : ( (lv_path_0_0= RULE_STRING ) ) ; |
1290 | public final EObject ruleFileSpecification() throws RecognitionException { | 1159 | public final EObject ruleFileSpecification() throws RecognitionException { |
1291 | EObject current = null; | 1160 | EObject current = null; |
1292 | 1161 | ||
@@ -1296,33 +1165,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1296 | enterRule(); | 1165 | enterRule(); |
1297 | 1166 | ||
1298 | try { | 1167 | try { |
1299 | // InternalApplicationConfiguration.g:402:2: ( ( (lv_path_0_0= RULE_STRING ) ) ) | 1168 | // InternalApplicationConfiguration.g:399:2: ( ( (lv_path_0_0= RULE_STRING ) ) ) |
1300 | // InternalApplicationConfiguration.g:403:2: ( (lv_path_0_0= RULE_STRING ) ) | 1169 | // InternalApplicationConfiguration.g:400:2: ( (lv_path_0_0= RULE_STRING ) ) |
1301 | { | 1170 | { |
1302 | // InternalApplicationConfiguration.g:403:2: ( (lv_path_0_0= RULE_STRING ) ) | 1171 | // InternalApplicationConfiguration.g:400:2: ( (lv_path_0_0= RULE_STRING ) ) |
1303 | // InternalApplicationConfiguration.g:404:3: (lv_path_0_0= RULE_STRING ) | 1172 | // InternalApplicationConfiguration.g:401:3: (lv_path_0_0= RULE_STRING ) |
1304 | { | 1173 | { |
1305 | // InternalApplicationConfiguration.g:404:3: (lv_path_0_0= RULE_STRING ) | 1174 | // InternalApplicationConfiguration.g:401:3: (lv_path_0_0= RULE_STRING ) |
1306 | // InternalApplicationConfiguration.g:405:4: lv_path_0_0= RULE_STRING | 1175 | // InternalApplicationConfiguration.g:402:4: lv_path_0_0= RULE_STRING |
1307 | { | 1176 | { |
1308 | lv_path_0_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current; | 1177 | lv_path_0_0=(Token)match(input,RULE_STRING,FOLLOW_2); |
1309 | if ( state.backtracking==0 ) { | ||
1310 | 1178 | ||
1311 | newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); | 1179 | newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); |
1312 | 1180 | ||
1313 | } | ||
1314 | if ( state.backtracking==0 ) { | ||
1315 | 1181 | ||
1316 | if (current==null) { | 1182 | if (current==null) { |
1317 | current = createModelElement(grammarAccess.getFileSpecificationRule()); | 1183 | current = createModelElement(grammarAccess.getFileSpecificationRule()); |
1318 | } | 1184 | } |
1319 | setWithLastConsumed( | 1185 | setWithLastConsumed( |
1320 | current, | 1186 | current, |
1321 | "path", | 1187 | "path", |
1322 | lv_path_0_0, | 1188 | lv_path_0_0, |
1323 | "org.eclipse.xtext.common.Terminals.STRING"); | 1189 | "org.eclipse.xtext.common.Terminals.STRING"); |
1324 | 1190 | ||
1325 | } | ||
1326 | 1191 | ||
1327 | } | 1192 | } |
1328 | 1193 | ||
@@ -1332,11 +1197,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1332 | 1197 | ||
1333 | } | 1198 | } |
1334 | 1199 | ||
1335 | if ( state.backtracking==0 ) { | ||
1336 | 1200 | ||
1337 | leaveRule(); | 1201 | leaveRule(); |
1338 | 1202 | ||
1339 | } | ||
1340 | } | 1203 | } |
1341 | 1204 | ||
1342 | catch (RecognitionException re) { | 1205 | catch (RecognitionException re) { |
@@ -1351,7 +1214,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1351 | 1214 | ||
1352 | 1215 | ||
1353 | // $ANTLR start "entryRuleFileDeclaration" | 1216 | // $ANTLR start "entryRuleFileDeclaration" |
1354 | // InternalApplicationConfiguration.g:424:1: entryRuleFileDeclaration returns [EObject current=null] : iv_ruleFileDeclaration= ruleFileDeclaration EOF ; | 1217 | // InternalApplicationConfiguration.g:421:1: entryRuleFileDeclaration returns [EObject current=null] : iv_ruleFileDeclaration= ruleFileDeclaration EOF ; |
1355 | public final EObject entryRuleFileDeclaration() throws RecognitionException { | 1218 | public final EObject entryRuleFileDeclaration() throws RecognitionException { |
1356 | EObject current = null; | 1219 | EObject current = null; |
1357 | 1220 | ||
@@ -1359,21 +1222,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1359 | 1222 | ||
1360 | 1223 | ||
1361 | try { | 1224 | try { |
1362 | // InternalApplicationConfiguration.g:424:56: (iv_ruleFileDeclaration= ruleFileDeclaration EOF ) | 1225 | // InternalApplicationConfiguration.g:421:56: (iv_ruleFileDeclaration= ruleFileDeclaration EOF ) |
1363 | // InternalApplicationConfiguration.g:425:2: iv_ruleFileDeclaration= ruleFileDeclaration EOF | 1226 | // InternalApplicationConfiguration.g:422:2: iv_ruleFileDeclaration= ruleFileDeclaration EOF |
1364 | { | 1227 | { |
1365 | if ( state.backtracking==0 ) { | 1228 | newCompositeNode(grammarAccess.getFileDeclarationRule()); |
1366 | newCompositeNode(grammarAccess.getFileDeclarationRule()); | ||
1367 | } | ||
1368 | pushFollow(FOLLOW_1); | 1229 | pushFollow(FOLLOW_1); |
1369 | iv_ruleFileDeclaration=ruleFileDeclaration(); | 1230 | iv_ruleFileDeclaration=ruleFileDeclaration(); |
1370 | 1231 | ||
1371 | state._fsp--; | 1232 | state._fsp--; |
1372 | if (state.failed) return current; | 1233 | |
1373 | if ( state.backtracking==0 ) { | 1234 | current =iv_ruleFileDeclaration; |
1374 | current =iv_ruleFileDeclaration; | 1235 | match(input,EOF,FOLLOW_2); |
1375 | } | ||
1376 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
1377 | 1236 | ||
1378 | } | 1237 | } |
1379 | 1238 | ||
@@ -1391,7 +1250,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1391 | 1250 | ||
1392 | 1251 | ||
1393 | // $ANTLR start "ruleFileDeclaration" | 1252 | // $ANTLR start "ruleFileDeclaration" |
1394 | // InternalApplicationConfiguration.g:431:1: ruleFileDeclaration returns [EObject current=null] : (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ; | 1253 | // InternalApplicationConfiguration.g:428:1: ruleFileDeclaration returns [EObject current=null] : (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ; |
1395 | public final EObject ruleFileDeclaration() throws RecognitionException { | 1254 | public final EObject ruleFileDeclaration() throws RecognitionException { |
1396 | EObject current = null; | 1255 | EObject current = null; |
1397 | 1256 | ||
@@ -1405,83 +1264,71 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1405 | enterRule(); | 1264 | enterRule(); |
1406 | 1265 | ||
1407 | try { | 1266 | try { |
1408 | // InternalApplicationConfiguration.g:437:2: ( (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ) | 1267 | // InternalApplicationConfiguration.g:434:2: ( (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ) |
1409 | // InternalApplicationConfiguration.g:438:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) | 1268 | // InternalApplicationConfiguration.g:435:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) |
1410 | { | 1269 | { |
1411 | // InternalApplicationConfiguration.g:438:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) | 1270 | // InternalApplicationConfiguration.g:435:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) |
1412 | // InternalApplicationConfiguration.g:439:3: otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) | 1271 | // InternalApplicationConfiguration.g:436:3: otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) |
1413 | { | 1272 | { |
1414 | otherlv_0=(Token)match(input,15,FOLLOW_6); if (state.failed) return current; | 1273 | otherlv_0=(Token)match(input,15,FOLLOW_6); |
1415 | if ( state.backtracking==0 ) { | ||
1416 | 1274 | ||
1417 | newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); | 1275 | newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); |
1418 | 1276 | ||
1419 | } | 1277 | // InternalApplicationConfiguration.g:440:3: ( (lv_name_1_0= RULE_ID ) ) |
1420 | // InternalApplicationConfiguration.g:443:3: ( (lv_name_1_0= RULE_ID ) ) | 1278 | // InternalApplicationConfiguration.g:441:4: (lv_name_1_0= RULE_ID ) |
1421 | // InternalApplicationConfiguration.g:444:4: (lv_name_1_0= RULE_ID ) | ||
1422 | { | 1279 | { |
1423 | // InternalApplicationConfiguration.g:444:4: (lv_name_1_0= RULE_ID ) | 1280 | // InternalApplicationConfiguration.g:441:4: (lv_name_1_0= RULE_ID ) |
1424 | // InternalApplicationConfiguration.g:445:5: lv_name_1_0= RULE_ID | 1281 | // InternalApplicationConfiguration.g:442:5: lv_name_1_0= RULE_ID |
1425 | { | 1282 | { |
1426 | lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_10); if (state.failed) return current; | 1283 | lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_10); |
1427 | if ( state.backtracking==0 ) { | ||
1428 | 1284 | ||
1429 | newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); | 1285 | newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); |
1430 | 1286 | ||
1431 | } | ||
1432 | if ( state.backtracking==0 ) { | ||
1433 | 1287 | ||
1434 | if (current==null) { | 1288 | if (current==null) { |
1435 | current = createModelElement(grammarAccess.getFileDeclarationRule()); | 1289 | current = createModelElement(grammarAccess.getFileDeclarationRule()); |
1436 | } | 1290 | } |
1437 | setWithLastConsumed( | 1291 | setWithLastConsumed( |
1438 | current, | 1292 | current, |
1439 | "name", | 1293 | "name", |
1440 | lv_name_1_0, | 1294 | lv_name_1_0, |
1441 | "org.eclipse.xtext.common.Terminals.ID"); | 1295 | "org.eclipse.xtext.common.Terminals.ID"); |
1442 | 1296 | ||
1443 | } | ||
1444 | 1297 | ||
1445 | } | 1298 | } |
1446 | 1299 | ||
1447 | 1300 | ||
1448 | } | 1301 | } |
1449 | 1302 | ||
1450 | otherlv_2=(Token)match(input,16,FOLLOW_8); if (state.failed) return current; | 1303 | otherlv_2=(Token)match(input,16,FOLLOW_8); |
1451 | if ( state.backtracking==0 ) { | ||
1452 | 1304 | ||
1453 | newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); | 1305 | newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); |
1454 | 1306 | ||
1455 | } | 1307 | // InternalApplicationConfiguration.g:462:3: ( (lv_specification_3_0= ruleFileSpecification ) ) |
1456 | // InternalApplicationConfiguration.g:465:3: ( (lv_specification_3_0= ruleFileSpecification ) ) | 1308 | // InternalApplicationConfiguration.g:463:4: (lv_specification_3_0= ruleFileSpecification ) |
1457 | // InternalApplicationConfiguration.g:466:4: (lv_specification_3_0= ruleFileSpecification ) | ||
1458 | { | 1309 | { |
1459 | // InternalApplicationConfiguration.g:466:4: (lv_specification_3_0= ruleFileSpecification ) | 1310 | // InternalApplicationConfiguration.g:463:4: (lv_specification_3_0= ruleFileSpecification ) |
1460 | // InternalApplicationConfiguration.g:467:5: lv_specification_3_0= ruleFileSpecification | 1311 | // InternalApplicationConfiguration.g:464:5: lv_specification_3_0= ruleFileSpecification |
1461 | { | 1312 | { |
1462 | if ( state.backtracking==0 ) { | ||
1463 | 1313 | ||
1464 | newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); | 1314 | newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); |
1465 | 1315 | ||
1466 | } | ||
1467 | pushFollow(FOLLOW_2); | 1316 | pushFollow(FOLLOW_2); |
1468 | lv_specification_3_0=ruleFileSpecification(); | 1317 | lv_specification_3_0=ruleFileSpecification(); |
1469 | 1318 | ||
1470 | state._fsp--; | 1319 | state._fsp--; |
1471 | if (state.failed) return current; | ||
1472 | if ( state.backtracking==0 ) { | ||
1473 | 1320 | ||
1474 | if (current==null) { | 1321 | |
1475 | current = createModelElementForParent(grammarAccess.getFileDeclarationRule()); | 1322 | if (current==null) { |
1476 | } | 1323 | current = createModelElementForParent(grammarAccess.getFileDeclarationRule()); |
1477 | set( | 1324 | } |
1478 | current, | 1325 | set( |
1479 | "specification", | 1326 | current, |
1480 | lv_specification_3_0, | 1327 | "specification", |
1481 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); | 1328 | lv_specification_3_0, |
1482 | afterParserOrEnumRuleCall(); | 1329 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); |
1483 | 1330 | afterParserOrEnumRuleCall(); | |
1484 | } | 1331 | |
1485 | 1332 | ||
1486 | } | 1333 | } |
1487 | 1334 | ||
@@ -1494,11 +1341,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1494 | 1341 | ||
1495 | } | 1342 | } |
1496 | 1343 | ||
1497 | if ( state.backtracking==0 ) { | ||
1498 | 1344 | ||
1499 | leaveRule(); | 1345 | leaveRule(); |
1500 | 1346 | ||
1501 | } | ||
1502 | } | 1347 | } |
1503 | 1348 | ||
1504 | catch (RecognitionException re) { | 1349 | catch (RecognitionException re) { |
@@ -1513,7 +1358,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1513 | 1358 | ||
1514 | 1359 | ||
1515 | // $ANTLR start "entryRuleFileReference" | 1360 | // $ANTLR start "entryRuleFileReference" |
1516 | // InternalApplicationConfiguration.g:488:1: entryRuleFileReference returns [EObject current=null] : iv_ruleFileReference= ruleFileReference EOF ; | 1361 | // InternalApplicationConfiguration.g:485:1: entryRuleFileReference returns [EObject current=null] : iv_ruleFileReference= ruleFileReference EOF ; |
1517 | public final EObject entryRuleFileReference() throws RecognitionException { | 1362 | public final EObject entryRuleFileReference() throws RecognitionException { |
1518 | EObject current = null; | 1363 | EObject current = null; |
1519 | 1364 | ||
@@ -1521,21 +1366,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1521 | 1366 | ||
1522 | 1367 | ||
1523 | try { | 1368 | try { |
1524 | // InternalApplicationConfiguration.g:488:54: (iv_ruleFileReference= ruleFileReference EOF ) | 1369 | // InternalApplicationConfiguration.g:485:54: (iv_ruleFileReference= ruleFileReference EOF ) |
1525 | // InternalApplicationConfiguration.g:489:2: iv_ruleFileReference= ruleFileReference EOF | 1370 | // InternalApplicationConfiguration.g:486:2: iv_ruleFileReference= ruleFileReference EOF |
1526 | { | 1371 | { |
1527 | if ( state.backtracking==0 ) { | 1372 | newCompositeNode(grammarAccess.getFileReferenceRule()); |
1528 | newCompositeNode(grammarAccess.getFileReferenceRule()); | ||
1529 | } | ||
1530 | pushFollow(FOLLOW_1); | 1373 | pushFollow(FOLLOW_1); |
1531 | iv_ruleFileReference=ruleFileReference(); | 1374 | iv_ruleFileReference=ruleFileReference(); |
1532 | 1375 | ||
1533 | state._fsp--; | 1376 | state._fsp--; |
1534 | if (state.failed) return current; | 1377 | |
1535 | if ( state.backtracking==0 ) { | 1378 | current =iv_ruleFileReference; |
1536 | current =iv_ruleFileReference; | 1379 | match(input,EOF,FOLLOW_2); |
1537 | } | ||
1538 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
1539 | 1380 | ||
1540 | } | 1381 | } |
1541 | 1382 | ||
@@ -1553,7 +1394,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1553 | 1394 | ||
1554 | 1395 | ||
1555 | // $ANTLR start "ruleFileReference" | 1396 | // $ANTLR start "ruleFileReference" |
1556 | // InternalApplicationConfiguration.g:495:1: ruleFileReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; | 1397 | // InternalApplicationConfiguration.g:492:1: ruleFileReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; |
1557 | public final EObject ruleFileReference() throws RecognitionException { | 1398 | public final EObject ruleFileReference() throws RecognitionException { |
1558 | EObject current = null; | 1399 | EObject current = null; |
1559 | 1400 | ||
@@ -1563,28 +1404,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1563 | enterRule(); | 1404 | enterRule(); |
1564 | 1405 | ||
1565 | try { | 1406 | try { |
1566 | // InternalApplicationConfiguration.g:501:2: ( ( (otherlv_0= RULE_ID ) ) ) | 1407 | // InternalApplicationConfiguration.g:498:2: ( ( (otherlv_0= RULE_ID ) ) ) |
1567 | // InternalApplicationConfiguration.g:502:2: ( (otherlv_0= RULE_ID ) ) | 1408 | // InternalApplicationConfiguration.g:499:2: ( (otherlv_0= RULE_ID ) ) |
1568 | { | 1409 | { |
1569 | // InternalApplicationConfiguration.g:502:2: ( (otherlv_0= RULE_ID ) ) | 1410 | // InternalApplicationConfiguration.g:499:2: ( (otherlv_0= RULE_ID ) ) |
1570 | // InternalApplicationConfiguration.g:503:3: (otherlv_0= RULE_ID ) | 1411 | // InternalApplicationConfiguration.g:500:3: (otherlv_0= RULE_ID ) |
1571 | { | 1412 | { |
1572 | // InternalApplicationConfiguration.g:503:3: (otherlv_0= RULE_ID ) | 1413 | // InternalApplicationConfiguration.g:500:3: (otherlv_0= RULE_ID ) |
1573 | // InternalApplicationConfiguration.g:504:4: otherlv_0= RULE_ID | 1414 | // InternalApplicationConfiguration.g:501:4: otherlv_0= RULE_ID |
1574 | { | 1415 | { |
1575 | if ( state.backtracking==0 ) { | ||
1576 | 1416 | ||
1577 | if (current==null) { | 1417 | if (current==null) { |
1578 | current = createModelElement(grammarAccess.getFileReferenceRule()); | 1418 | current = createModelElement(grammarAccess.getFileReferenceRule()); |
1579 | } | 1419 | } |
1580 | 1420 | ||
1581 | } | 1421 | otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); |
1582 | otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; | ||
1583 | if ( state.backtracking==0 ) { | ||
1584 | 1422 | ||
1585 | newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); | 1423 | newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); |
1586 | 1424 | ||
1587 | } | ||
1588 | 1425 | ||
1589 | } | 1426 | } |
1590 | 1427 | ||
@@ -1594,11 +1431,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1594 | 1431 | ||
1595 | } | 1432 | } |
1596 | 1433 | ||
1597 | if ( state.backtracking==0 ) { | ||
1598 | 1434 | ||
1599 | leaveRule(); | 1435 | leaveRule(); |
1600 | 1436 | ||
1601 | } | ||
1602 | } | 1437 | } |
1603 | 1438 | ||
1604 | catch (RecognitionException re) { | 1439 | catch (RecognitionException re) { |
@@ -1613,7 +1448,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1613 | 1448 | ||
1614 | 1449 | ||
1615 | // $ANTLR start "entryRuleFile" | 1450 | // $ANTLR start "entryRuleFile" |
1616 | // InternalApplicationConfiguration.g:518:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ; | 1451 | // InternalApplicationConfiguration.g:515:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ; |
1617 | public final EObject entryRuleFile() throws RecognitionException { | 1452 | public final EObject entryRuleFile() throws RecognitionException { |
1618 | EObject current = null; | 1453 | EObject current = null; |
1619 | 1454 | ||
@@ -1621,21 +1456,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1621 | 1456 | ||
1622 | 1457 | ||
1623 | try { | 1458 | try { |
1624 | // InternalApplicationConfiguration.g:518:45: (iv_ruleFile= ruleFile EOF ) | 1459 | // InternalApplicationConfiguration.g:515:45: (iv_ruleFile= ruleFile EOF ) |
1625 | // InternalApplicationConfiguration.g:519:2: iv_ruleFile= ruleFile EOF | 1460 | // InternalApplicationConfiguration.g:516:2: iv_ruleFile= ruleFile EOF |
1626 | { | 1461 | { |
1627 | if ( state.backtracking==0 ) { | 1462 | newCompositeNode(grammarAccess.getFileRule()); |
1628 | newCompositeNode(grammarAccess.getFileRule()); | ||
1629 | } | ||
1630 | pushFollow(FOLLOW_1); | 1463 | pushFollow(FOLLOW_1); |
1631 | iv_ruleFile=ruleFile(); | 1464 | iv_ruleFile=ruleFile(); |
1632 | 1465 | ||
1633 | state._fsp--; | 1466 | state._fsp--; |
1634 | if (state.failed) return current; | 1467 | |
1635 | if ( state.backtracking==0 ) { | 1468 | current =iv_ruleFile; |
1636 | current =iv_ruleFile; | 1469 | match(input,EOF,FOLLOW_2); |
1637 | } | ||
1638 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
1639 | 1470 | ||
1640 | } | 1471 | } |
1641 | 1472 | ||
@@ -1653,7 +1484,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1653 | 1484 | ||
1654 | 1485 | ||
1655 | // $ANTLR start "ruleFile" | 1486 | // $ANTLR start "ruleFile" |
1656 | // InternalApplicationConfiguration.g:525:1: ruleFile returns [EObject current=null] : (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ; | 1487 | // InternalApplicationConfiguration.g:522:1: ruleFile returns [EObject current=null] : (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ; |
1657 | public final EObject ruleFile() throws RecognitionException { | 1488 | public final EObject ruleFile() throws RecognitionException { |
1658 | EObject current = null; | 1489 | EObject current = null; |
1659 | 1490 | ||
@@ -1666,10 +1497,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1666 | enterRule(); | 1497 | enterRule(); |
1667 | 1498 | ||
1668 | try { | 1499 | try { |
1669 | // InternalApplicationConfiguration.g:531:2: ( (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ) | 1500 | // InternalApplicationConfiguration.g:528:2: ( (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ) |
1670 | // InternalApplicationConfiguration.g:532:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) | 1501 | // InternalApplicationConfiguration.g:529:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) |
1671 | { | 1502 | { |
1672 | // InternalApplicationConfiguration.g:532:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) | 1503 | // InternalApplicationConfiguration.g:529:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) |
1673 | int alt7=2; | 1504 | int alt7=2; |
1674 | int LA7_0 = input.LA(1); | 1505 | int LA7_0 = input.LA(1); |
1675 | 1506 | ||
@@ -1680,7 +1511,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1680 | alt7=2; | 1511 | alt7=2; |
1681 | } | 1512 | } |
1682 | else { | 1513 | else { |
1683 | if (state.backtracking>0) {state.failed=true; return current;} | ||
1684 | NoViableAltException nvae = | 1514 | NoViableAltException nvae = |
1685 | new NoViableAltException("", 7, 0, input); | 1515 | new NoViableAltException("", 7, 0, input); |
1686 | 1516 | ||
@@ -1688,46 +1518,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1688 | } | 1518 | } |
1689 | switch (alt7) { | 1519 | switch (alt7) { |
1690 | case 1 : | 1520 | case 1 : |
1691 | // InternalApplicationConfiguration.g:533:3: this_FileSpecification_0= ruleFileSpecification | 1521 | // InternalApplicationConfiguration.g:530:3: this_FileSpecification_0= ruleFileSpecification |
1692 | { | 1522 | { |
1693 | if ( state.backtracking==0 ) { | ||
1694 | 1523 | ||
1695 | newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); | 1524 | newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); |
1696 | 1525 | ||
1697 | } | ||
1698 | pushFollow(FOLLOW_2); | 1526 | pushFollow(FOLLOW_2); |
1699 | this_FileSpecification_0=ruleFileSpecification(); | 1527 | this_FileSpecification_0=ruleFileSpecification(); |
1700 | 1528 | ||
1701 | state._fsp--; | 1529 | state._fsp--; |
1702 | if (state.failed) return current; | ||
1703 | if ( state.backtracking==0 ) { | ||
1704 | 1530 | ||
1705 | current = this_FileSpecification_0; | 1531 | |
1706 | afterParserOrEnumRuleCall(); | 1532 | current = this_FileSpecification_0; |
1707 | 1533 | afterParserOrEnumRuleCall(); | |
1708 | } | 1534 | |
1709 | 1535 | ||
1710 | } | 1536 | } |
1711 | break; | 1537 | break; |
1712 | case 2 : | 1538 | case 2 : |
1713 | // InternalApplicationConfiguration.g:542:3: this_FileReference_1= ruleFileReference | 1539 | // InternalApplicationConfiguration.g:539:3: this_FileReference_1= ruleFileReference |
1714 | { | 1540 | { |
1715 | if ( state.backtracking==0 ) { | ||
1716 | 1541 | ||
1717 | newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); | 1542 | newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); |
1718 | 1543 | ||
1719 | } | ||
1720 | pushFollow(FOLLOW_2); | 1544 | pushFollow(FOLLOW_2); |
1721 | this_FileReference_1=ruleFileReference(); | 1545 | this_FileReference_1=ruleFileReference(); |
1722 | 1546 | ||
1723 | state._fsp--; | 1547 | state._fsp--; |
1724 | if (state.failed) return current; | ||
1725 | if ( state.backtracking==0 ) { | ||
1726 | 1548 | ||
1727 | current = this_FileReference_1; | 1549 | |
1728 | afterParserOrEnumRuleCall(); | 1550 | current = this_FileReference_1; |
1729 | 1551 | afterParserOrEnumRuleCall(); | |
1730 | } | 1552 | |
1731 | 1553 | ||
1732 | } | 1554 | } |
1733 | break; | 1555 | break; |
@@ -1737,11 +1559,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1737 | 1559 | ||
1738 | } | 1560 | } |
1739 | 1561 | ||
1740 | if ( state.backtracking==0 ) { | ||
1741 | 1562 | ||
1742 | leaveRule(); | 1563 | leaveRule(); |
1743 | 1564 | ||
1744 | } | ||
1745 | } | 1565 | } |
1746 | 1566 | ||
1747 | catch (RecognitionException re) { | 1567 | catch (RecognitionException re) { |
@@ -1756,7 +1576,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1756 | 1576 | ||
1757 | 1577 | ||
1758 | // $ANTLR start "entryRuleMetamodelSpecification" | 1578 | // $ANTLR start "entryRuleMetamodelSpecification" |
1759 | // InternalApplicationConfiguration.g:554:1: entryRuleMetamodelSpecification returns [EObject current=null] : iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ; | 1579 | // InternalApplicationConfiguration.g:551:1: entryRuleMetamodelSpecification returns [EObject current=null] : iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ; |
1760 | public final EObject entryRuleMetamodelSpecification() throws RecognitionException { | 1580 | public final EObject entryRuleMetamodelSpecification() throws RecognitionException { |
1761 | EObject current = null; | 1581 | EObject current = null; |
1762 | 1582 | ||
@@ -1764,21 +1584,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1764 | 1584 | ||
1765 | 1585 | ||
1766 | try { | 1586 | try { |
1767 | // InternalApplicationConfiguration.g:554:63: (iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ) | 1587 | // InternalApplicationConfiguration.g:551:63: (iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ) |
1768 | // InternalApplicationConfiguration.g:555:2: iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF | 1588 | // InternalApplicationConfiguration.g:552:2: iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF |
1769 | { | 1589 | { |
1770 | if ( state.backtracking==0 ) { | 1590 | newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); |
1771 | newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); | ||
1772 | } | ||
1773 | pushFollow(FOLLOW_1); | 1591 | pushFollow(FOLLOW_1); |
1774 | iv_ruleMetamodelSpecification=ruleMetamodelSpecification(); | 1592 | iv_ruleMetamodelSpecification=ruleMetamodelSpecification(); |
1775 | 1593 | ||
1776 | state._fsp--; | 1594 | state._fsp--; |
1777 | if (state.failed) return current; | 1595 | |
1778 | if ( state.backtracking==0 ) { | 1596 | current =iv_ruleMetamodelSpecification; |
1779 | current =iv_ruleMetamodelSpecification; | 1597 | match(input,EOF,FOLLOW_2); |
1780 | } | ||
1781 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
1782 | 1598 | ||
1783 | } | 1599 | } |
1784 | 1600 | ||
@@ -1796,7 +1612,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1796 | 1612 | ||
1797 | 1613 | ||
1798 | // $ANTLR start "ruleMetamodelSpecification" | 1614 | // $ANTLR start "ruleMetamodelSpecification" |
1799 | // InternalApplicationConfiguration.g:561:1: ruleMetamodelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ; | 1615 | // InternalApplicationConfiguration.g:558:1: ruleMetamodelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ; |
1800 | public final EObject ruleMetamodelSpecification() throws RecognitionException { | 1616 | public final EObject ruleMetamodelSpecification() throws RecognitionException { |
1801 | EObject current = null; | 1617 | EObject current = null; |
1802 | 1618 | ||
@@ -1812,54 +1628,48 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1812 | enterRule(); | 1628 | enterRule(); |
1813 | 1629 | ||
1814 | try { | 1630 | try { |
1815 | // InternalApplicationConfiguration.g:567:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ) | 1631 | // InternalApplicationConfiguration.g:564:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ) |
1816 | // InternalApplicationConfiguration.g:568:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) | 1632 | // InternalApplicationConfiguration.g:565:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) |
1817 | { | 1633 | { |
1818 | // InternalApplicationConfiguration.g:568:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) | 1634 | // InternalApplicationConfiguration.g:565:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) |
1819 | // InternalApplicationConfiguration.g:569:3: otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' | 1635 | // InternalApplicationConfiguration.g:566:3: otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' |
1820 | { | 1636 | { |
1821 | otherlv_0=(Token)match(input,17,FOLLOW_11); if (state.failed) return current; | 1637 | otherlv_0=(Token)match(input,17,FOLLOW_11); |
1822 | if ( state.backtracking==0 ) { | ||
1823 | 1638 | ||
1824 | newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); | 1639 | newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); |
1825 | 1640 | ||
1826 | } | 1641 | // InternalApplicationConfiguration.g:570:3: ( (lv_entries_1_0= ruleMetamodelEntry ) ) |
1827 | // InternalApplicationConfiguration.g:573:3: ( (lv_entries_1_0= ruleMetamodelEntry ) ) | 1642 | // InternalApplicationConfiguration.g:571:4: (lv_entries_1_0= ruleMetamodelEntry ) |
1828 | // InternalApplicationConfiguration.g:574:4: (lv_entries_1_0= ruleMetamodelEntry ) | ||
1829 | { | 1643 | { |
1830 | // InternalApplicationConfiguration.g:574:4: (lv_entries_1_0= ruleMetamodelEntry ) | 1644 | // InternalApplicationConfiguration.g:571:4: (lv_entries_1_0= ruleMetamodelEntry ) |
1831 | // InternalApplicationConfiguration.g:575:5: lv_entries_1_0= ruleMetamodelEntry | 1645 | // InternalApplicationConfiguration.g:572:5: lv_entries_1_0= ruleMetamodelEntry |
1832 | { | 1646 | { |
1833 | if ( state.backtracking==0 ) { | ||
1834 | 1647 | ||
1835 | newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); | 1648 | newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); |
1836 | 1649 | ||
1837 | } | ||
1838 | pushFollow(FOLLOW_12); | 1650 | pushFollow(FOLLOW_12); |
1839 | lv_entries_1_0=ruleMetamodelEntry(); | 1651 | lv_entries_1_0=ruleMetamodelEntry(); |
1840 | 1652 | ||
1841 | state._fsp--; | 1653 | state._fsp--; |
1842 | if (state.failed) return current; | ||
1843 | if ( state.backtracking==0 ) { | ||
1844 | 1654 | ||
1845 | if (current==null) { | 1655 | |
1846 | current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); | 1656 | if (current==null) { |
1847 | } | 1657 | current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); |
1848 | add( | 1658 | } |
1849 | current, | 1659 | add( |
1850 | "entries", | 1660 | current, |
1851 | lv_entries_1_0, | 1661 | "entries", |
1852 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); | 1662 | lv_entries_1_0, |
1853 | afterParserOrEnumRuleCall(); | 1663 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); |
1854 | 1664 | afterParserOrEnumRuleCall(); | |
1855 | } | 1665 | |
1856 | 1666 | ||
1857 | } | 1667 | } |
1858 | 1668 | ||
1859 | 1669 | ||
1860 | } | 1670 | } |
1861 | 1671 | ||
1862 | // InternalApplicationConfiguration.g:592:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* | 1672 | // InternalApplicationConfiguration.g:589:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* |
1863 | loop8: | 1673 | loop8: |
1864 | do { | 1674 | do { |
1865 | int alt8=2; | 1675 | int alt8=2; |
@@ -1872,43 +1682,37 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1872 | 1682 | ||
1873 | switch (alt8) { | 1683 | switch (alt8) { |
1874 | case 1 : | 1684 | case 1 : |
1875 | // InternalApplicationConfiguration.g:593:4: otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) | 1685 | // InternalApplicationConfiguration.g:590:4: otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) |
1876 | { | 1686 | { |
1877 | otherlv_2=(Token)match(input,18,FOLLOW_11); if (state.failed) return current; | 1687 | otherlv_2=(Token)match(input,18,FOLLOW_11); |
1878 | if ( state.backtracking==0 ) { | ||
1879 | 1688 | ||
1880 | newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); | 1689 | newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); |
1881 | 1690 | ||
1882 | } | 1691 | // InternalApplicationConfiguration.g:594:4: ( (lv_entries_3_0= ruleMetamodelEntry ) ) |
1883 | // InternalApplicationConfiguration.g:597:4: ( (lv_entries_3_0= ruleMetamodelEntry ) ) | 1692 | // InternalApplicationConfiguration.g:595:5: (lv_entries_3_0= ruleMetamodelEntry ) |
1884 | // InternalApplicationConfiguration.g:598:5: (lv_entries_3_0= ruleMetamodelEntry ) | ||
1885 | { | 1693 | { |
1886 | // InternalApplicationConfiguration.g:598:5: (lv_entries_3_0= ruleMetamodelEntry ) | 1694 | // InternalApplicationConfiguration.g:595:5: (lv_entries_3_0= ruleMetamodelEntry ) |
1887 | // InternalApplicationConfiguration.g:599:6: lv_entries_3_0= ruleMetamodelEntry | 1695 | // InternalApplicationConfiguration.g:596:6: lv_entries_3_0= ruleMetamodelEntry |
1888 | { | 1696 | { |
1889 | if ( state.backtracking==0 ) { | ||
1890 | 1697 | ||
1891 | newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); | 1698 | newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); |
1892 | 1699 | ||
1893 | } | ||
1894 | pushFollow(FOLLOW_12); | 1700 | pushFollow(FOLLOW_12); |
1895 | lv_entries_3_0=ruleMetamodelEntry(); | 1701 | lv_entries_3_0=ruleMetamodelEntry(); |
1896 | 1702 | ||
1897 | state._fsp--; | 1703 | state._fsp--; |
1898 | if (state.failed) return current; | 1704 | |
1899 | if ( state.backtracking==0 ) { | 1705 | |
1900 | 1706 | if (current==null) { | |
1901 | if (current==null) { | 1707 | current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); |
1902 | current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); | 1708 | } |
1903 | } | 1709 | add( |
1904 | add( | 1710 | current, |
1905 | current, | 1711 | "entries", |
1906 | "entries", | 1712 | lv_entries_3_0, |
1907 | lv_entries_3_0, | 1713 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); |
1908 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); | 1714 | afterParserOrEnumRuleCall(); |
1909 | afterParserOrEnumRuleCall(); | 1715 | |
1910 | |||
1911 | } | ||
1912 | 1716 | ||
1913 | } | 1717 | } |
1914 | 1718 | ||
@@ -1924,23 +1728,19 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1924 | } | 1728 | } |
1925 | } while (true); | 1729 | } while (true); |
1926 | 1730 | ||
1927 | otherlv_4=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; | 1731 | otherlv_4=(Token)match(input,19,FOLLOW_2); |
1928 | if ( state.backtracking==0 ) { | ||
1929 | 1732 | ||
1930 | newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); | 1733 | newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); |
1931 | 1734 | ||
1932 | } | ||
1933 | 1735 | ||
1934 | } | 1736 | } |
1935 | 1737 | ||
1936 | 1738 | ||
1937 | } | 1739 | } |
1938 | 1740 | ||
1939 | if ( state.backtracking==0 ) { | ||
1940 | 1741 | ||
1941 | leaveRule(); | 1742 | leaveRule(); |
1942 | 1743 | ||
1943 | } | ||
1944 | } | 1744 | } |
1945 | 1745 | ||
1946 | catch (RecognitionException re) { | 1746 | catch (RecognitionException re) { |
@@ -1955,7 +1755,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1955 | 1755 | ||
1956 | 1756 | ||
1957 | // $ANTLR start "entryRuleMetamodelEntry" | 1757 | // $ANTLR start "entryRuleMetamodelEntry" |
1958 | // InternalApplicationConfiguration.g:625:1: entryRuleMetamodelEntry returns [EObject current=null] : iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ; | 1758 | // InternalApplicationConfiguration.g:622:1: entryRuleMetamodelEntry returns [EObject current=null] : iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ; |
1959 | public final EObject entryRuleMetamodelEntry() throws RecognitionException { | 1759 | public final EObject entryRuleMetamodelEntry() throws RecognitionException { |
1960 | EObject current = null; | 1760 | EObject current = null; |
1961 | 1761 | ||
@@ -1963,21 +1763,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1963 | 1763 | ||
1964 | 1764 | ||
1965 | try { | 1765 | try { |
1966 | // InternalApplicationConfiguration.g:625:55: (iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ) | 1766 | // InternalApplicationConfiguration.g:622:55: (iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ) |
1967 | // InternalApplicationConfiguration.g:626:2: iv_ruleMetamodelEntry= ruleMetamodelEntry EOF | 1767 | // InternalApplicationConfiguration.g:623:2: iv_ruleMetamodelEntry= ruleMetamodelEntry EOF |
1968 | { | 1768 | { |
1969 | if ( state.backtracking==0 ) { | 1769 | newCompositeNode(grammarAccess.getMetamodelEntryRule()); |
1970 | newCompositeNode(grammarAccess.getMetamodelEntryRule()); | ||
1971 | } | ||
1972 | pushFollow(FOLLOW_1); | 1770 | pushFollow(FOLLOW_1); |
1973 | iv_ruleMetamodelEntry=ruleMetamodelEntry(); | 1771 | iv_ruleMetamodelEntry=ruleMetamodelEntry(); |
1974 | 1772 | ||
1975 | state._fsp--; | 1773 | state._fsp--; |
1976 | if (state.failed) return current; | 1774 | |
1977 | if ( state.backtracking==0 ) { | 1775 | current =iv_ruleMetamodelEntry; |
1978 | current =iv_ruleMetamodelEntry; | 1776 | match(input,EOF,FOLLOW_2); |
1979 | } | ||
1980 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
1981 | 1777 | ||
1982 | } | 1778 | } |
1983 | 1779 | ||
@@ -1995,7 +1791,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
1995 | 1791 | ||
1996 | 1792 | ||
1997 | // $ANTLR start "ruleMetamodelEntry" | 1793 | // $ANTLR start "ruleMetamodelEntry" |
1998 | // InternalApplicationConfiguration.g:632:1: ruleMetamodelEntry returns [EObject current=null] : (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ; | 1794 | // InternalApplicationConfiguration.g:629:1: ruleMetamodelEntry returns [EObject current=null] : (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ; |
1999 | public final EObject ruleMetamodelEntry() throws RecognitionException { | 1795 | public final EObject ruleMetamodelEntry() throws RecognitionException { |
2000 | EObject current = null; | 1796 | EObject current = null; |
2001 | 1797 | ||
@@ -2008,10 +1804,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2008 | enterRule(); | 1804 | enterRule(); |
2009 | 1805 | ||
2010 | try { | 1806 | try { |
2011 | // InternalApplicationConfiguration.g:638:2: ( (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ) | 1807 | // InternalApplicationConfiguration.g:635:2: ( (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ) |
2012 | // InternalApplicationConfiguration.g:639:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) | 1808 | // InternalApplicationConfiguration.g:636:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) |
2013 | { | 1809 | { |
2014 | // InternalApplicationConfiguration.g:639:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) | 1810 | // InternalApplicationConfiguration.g:636:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) |
2015 | int alt9=2; | 1811 | int alt9=2; |
2016 | int LA9_0 = input.LA(1); | 1812 | int LA9_0 = input.LA(1); |
2017 | 1813 | ||
@@ -2022,7 +1818,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2022 | alt9=2; | 1818 | alt9=2; |
2023 | } | 1819 | } |
2024 | else { | 1820 | else { |
2025 | if (state.backtracking>0) {state.failed=true; return current;} | ||
2026 | NoViableAltException nvae = | 1821 | NoViableAltException nvae = |
2027 | new NoViableAltException("", 9, 0, input); | 1822 | new NoViableAltException("", 9, 0, input); |
2028 | 1823 | ||
@@ -2030,46 +1825,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2030 | } | 1825 | } |
2031 | switch (alt9) { | 1826 | switch (alt9) { |
2032 | case 1 : | 1827 | case 1 : |
2033 | // InternalApplicationConfiguration.g:640:3: this_MetamodelElement_0= ruleMetamodelElement | 1828 | // InternalApplicationConfiguration.g:637:3: this_MetamodelElement_0= ruleMetamodelElement |
2034 | { | 1829 | { |
2035 | if ( state.backtracking==0 ) { | ||
2036 | 1830 | ||
2037 | newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); | 1831 | newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); |
2038 | 1832 | ||
2039 | } | ||
2040 | pushFollow(FOLLOW_2); | 1833 | pushFollow(FOLLOW_2); |
2041 | this_MetamodelElement_0=ruleMetamodelElement(); | 1834 | this_MetamodelElement_0=ruleMetamodelElement(); |
2042 | 1835 | ||
2043 | state._fsp--; | 1836 | state._fsp--; |
2044 | if (state.failed) return current; | ||
2045 | if ( state.backtracking==0 ) { | ||
2046 | 1837 | ||
2047 | current = this_MetamodelElement_0; | 1838 | |
2048 | afterParserOrEnumRuleCall(); | 1839 | current = this_MetamodelElement_0; |
2049 | 1840 | afterParserOrEnumRuleCall(); | |
2050 | } | 1841 | |
2051 | 1842 | ||
2052 | } | 1843 | } |
2053 | break; | 1844 | break; |
2054 | case 2 : | 1845 | case 2 : |
2055 | // InternalApplicationConfiguration.g:649:3: this_AllPackageEntry_1= ruleAllPackageEntry | 1846 | // InternalApplicationConfiguration.g:646:3: this_AllPackageEntry_1= ruleAllPackageEntry |
2056 | { | 1847 | { |
2057 | if ( state.backtracking==0 ) { | ||
2058 | 1848 | ||
2059 | newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); | 1849 | newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); |
2060 | 1850 | ||
2061 | } | ||
2062 | pushFollow(FOLLOW_2); | 1851 | pushFollow(FOLLOW_2); |
2063 | this_AllPackageEntry_1=ruleAllPackageEntry(); | 1852 | this_AllPackageEntry_1=ruleAllPackageEntry(); |
2064 | 1853 | ||
2065 | state._fsp--; | 1854 | state._fsp--; |
2066 | if (state.failed) return current; | ||
2067 | if ( state.backtracking==0 ) { | ||
2068 | 1855 | ||
2069 | current = this_AllPackageEntry_1; | 1856 | |
2070 | afterParserOrEnumRuleCall(); | 1857 | current = this_AllPackageEntry_1; |
2071 | 1858 | afterParserOrEnumRuleCall(); | |
2072 | } | 1859 | |
2073 | 1860 | ||
2074 | } | 1861 | } |
2075 | break; | 1862 | break; |
@@ -2079,11 +1866,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2079 | 1866 | ||
2080 | } | 1867 | } |
2081 | 1868 | ||
2082 | if ( state.backtracking==0 ) { | ||
2083 | 1869 | ||
2084 | leaveRule(); | 1870 | leaveRule(); |
2085 | 1871 | ||
2086 | } | ||
2087 | } | 1872 | } |
2088 | 1873 | ||
2089 | catch (RecognitionException re) { | 1874 | catch (RecognitionException re) { |
@@ -2098,7 +1883,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2098 | 1883 | ||
2099 | 1884 | ||
2100 | // $ANTLR start "entryRuleAllPackageEntry" | 1885 | // $ANTLR start "entryRuleAllPackageEntry" |
2101 | // InternalApplicationConfiguration.g:661:1: entryRuleAllPackageEntry returns [EObject current=null] : iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ; | 1886 | // InternalApplicationConfiguration.g:658:1: entryRuleAllPackageEntry returns [EObject current=null] : iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ; |
2102 | public final EObject entryRuleAllPackageEntry() throws RecognitionException { | 1887 | public final EObject entryRuleAllPackageEntry() throws RecognitionException { |
2103 | EObject current = null; | 1888 | EObject current = null; |
2104 | 1889 | ||
@@ -2106,21 +1891,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2106 | 1891 | ||
2107 | 1892 | ||
2108 | try { | 1893 | try { |
2109 | // InternalApplicationConfiguration.g:661:56: (iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ) | 1894 | // InternalApplicationConfiguration.g:658:56: (iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ) |
2110 | // InternalApplicationConfiguration.g:662:2: iv_ruleAllPackageEntry= ruleAllPackageEntry EOF | 1895 | // InternalApplicationConfiguration.g:659:2: iv_ruleAllPackageEntry= ruleAllPackageEntry EOF |
2111 | { | 1896 | { |
2112 | if ( state.backtracking==0 ) { | 1897 | newCompositeNode(grammarAccess.getAllPackageEntryRule()); |
2113 | newCompositeNode(grammarAccess.getAllPackageEntryRule()); | ||
2114 | } | ||
2115 | pushFollow(FOLLOW_1); | 1898 | pushFollow(FOLLOW_1); |
2116 | iv_ruleAllPackageEntry=ruleAllPackageEntry(); | 1899 | iv_ruleAllPackageEntry=ruleAllPackageEntry(); |
2117 | 1900 | ||
2118 | state._fsp--; | 1901 | state._fsp--; |
2119 | if (state.failed) return current; | 1902 | |
2120 | if ( state.backtracking==0 ) { | 1903 | current =iv_ruleAllPackageEntry; |
2121 | current =iv_ruleAllPackageEntry; | 1904 | match(input,EOF,FOLLOW_2); |
2122 | } | ||
2123 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
2124 | 1905 | ||
2125 | } | 1906 | } |
2126 | 1907 | ||
@@ -2138,7 +1919,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2138 | 1919 | ||
2139 | 1920 | ||
2140 | // $ANTLR start "ruleAllPackageEntry" | 1921 | // $ANTLR start "ruleAllPackageEntry" |
2141 | // InternalApplicationConfiguration.g:668:1: ruleAllPackageEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ; | 1922 | // InternalApplicationConfiguration.g:665:1: ruleAllPackageEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ; |
2142 | public final EObject ruleAllPackageEntry() throws RecognitionException { | 1923 | public final EObject ruleAllPackageEntry() throws RecognitionException { |
2143 | EObject current = null; | 1924 | EObject current = null; |
2144 | 1925 | ||
@@ -2156,53 +1937,45 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2156 | enterRule(); | 1937 | enterRule(); |
2157 | 1938 | ||
2158 | try { | 1939 | try { |
2159 | // InternalApplicationConfiguration.g:674:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ) | 1940 | // InternalApplicationConfiguration.g:671:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ) |
2160 | // InternalApplicationConfiguration.g:675:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) | 1941 | // InternalApplicationConfiguration.g:672:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) |
2161 | { | 1942 | { |
2162 | // InternalApplicationConfiguration.g:675:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) | 1943 | // InternalApplicationConfiguration.g:672:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) |
2163 | // InternalApplicationConfiguration.g:676:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? | 1944 | // InternalApplicationConfiguration.g:673:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? |
2164 | { | 1945 | { |
2165 | otherlv_0=(Token)match(input,20,FOLLOW_6); if (state.failed) return current; | 1946 | otherlv_0=(Token)match(input,20,FOLLOW_6); |
2166 | if ( state.backtracking==0 ) { | ||
2167 | 1947 | ||
2168 | newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); | 1948 | newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); |
2169 | 1949 | ||
2170 | } | 1950 | // InternalApplicationConfiguration.g:677:3: ( ( ruleQualifiedName ) ) |
2171 | // InternalApplicationConfiguration.g:680:3: ( ( ruleQualifiedName ) ) | 1951 | // InternalApplicationConfiguration.g:678:4: ( ruleQualifiedName ) |
2172 | // InternalApplicationConfiguration.g:681:4: ( ruleQualifiedName ) | ||
2173 | { | 1952 | { |
2174 | // InternalApplicationConfiguration.g:681:4: ( ruleQualifiedName ) | 1953 | // InternalApplicationConfiguration.g:678:4: ( ruleQualifiedName ) |
2175 | // InternalApplicationConfiguration.g:682:5: ruleQualifiedName | 1954 | // InternalApplicationConfiguration.g:679:5: ruleQualifiedName |
2176 | { | 1955 | { |
2177 | if ( state.backtracking==0 ) { | ||
2178 | 1956 | ||
2179 | if (current==null) { | 1957 | if (current==null) { |
2180 | current = createModelElement(grammarAccess.getAllPackageEntryRule()); | 1958 | current = createModelElement(grammarAccess.getAllPackageEntryRule()); |
2181 | } | 1959 | } |
2182 | 1960 | ||
2183 | } | ||
2184 | if ( state.backtracking==0 ) { | ||
2185 | 1961 | ||
2186 | newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); | 1962 | newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); |
2187 | 1963 | ||
2188 | } | ||
2189 | pushFollow(FOLLOW_13); | 1964 | pushFollow(FOLLOW_13); |
2190 | ruleQualifiedName(); | 1965 | ruleQualifiedName(); |
2191 | 1966 | ||
2192 | state._fsp--; | 1967 | state._fsp--; |
2193 | if (state.failed) return current; | ||
2194 | if ( state.backtracking==0 ) { | ||
2195 | 1968 | ||
2196 | afterParserOrEnumRuleCall(); | 1969 | |
2197 | 1970 | afterParserOrEnumRuleCall(); | |
2198 | } | 1971 | |
2199 | 1972 | ||
2200 | } | 1973 | } |
2201 | 1974 | ||
2202 | 1975 | ||
2203 | } | 1976 | } |
2204 | 1977 | ||
2205 | // InternalApplicationConfiguration.g:696:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? | 1978 | // InternalApplicationConfiguration.g:693:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? |
2206 | int alt11=2; | 1979 | int alt11=2; |
2207 | int LA11_0 = input.LA(1); | 1980 | int LA11_0 = input.LA(1); |
2208 | 1981 | ||
@@ -2211,56 +1984,48 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2211 | } | 1984 | } |
2212 | switch (alt11) { | 1985 | switch (alt11) { |
2213 | case 1 : | 1986 | case 1 : |
2214 | // InternalApplicationConfiguration.g:697:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' | 1987 | // InternalApplicationConfiguration.g:694:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' |
2215 | { | 1988 | { |
2216 | otherlv_2=(Token)match(input,21,FOLLOW_14); if (state.failed) return current; | 1989 | otherlv_2=(Token)match(input,21,FOLLOW_14); |
2217 | if ( state.backtracking==0 ) { | ||
2218 | 1990 | ||
2219 | newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); | 1991 | newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); |
2220 | 1992 | ||
2221 | } | 1993 | otherlv_3=(Token)match(input,17,FOLLOW_6); |
2222 | otherlv_3=(Token)match(input,17,FOLLOW_6); if (state.failed) return current; | ||
2223 | if ( state.backtracking==0 ) { | ||
2224 | 1994 | ||
2225 | newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); | 1995 | newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); |
2226 | 1996 | ||
2227 | } | 1997 | // InternalApplicationConfiguration.g:702:4: ( (lv_exclusion_4_0= ruleMetamodelElement ) ) |
2228 | // InternalApplicationConfiguration.g:705:4: ( (lv_exclusion_4_0= ruleMetamodelElement ) ) | 1998 | // InternalApplicationConfiguration.g:703:5: (lv_exclusion_4_0= ruleMetamodelElement ) |
2229 | // InternalApplicationConfiguration.g:706:5: (lv_exclusion_4_0= ruleMetamodelElement ) | ||
2230 | { | 1999 | { |
2231 | // InternalApplicationConfiguration.g:706:5: (lv_exclusion_4_0= ruleMetamodelElement ) | 2000 | // InternalApplicationConfiguration.g:703:5: (lv_exclusion_4_0= ruleMetamodelElement ) |
2232 | // InternalApplicationConfiguration.g:707:6: lv_exclusion_4_0= ruleMetamodelElement | 2001 | // InternalApplicationConfiguration.g:704:6: lv_exclusion_4_0= ruleMetamodelElement |
2233 | { | 2002 | { |
2234 | if ( state.backtracking==0 ) { | ||
2235 | 2003 | ||
2236 | newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); | 2004 | newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); |
2237 | 2005 | ||
2238 | } | ||
2239 | pushFollow(FOLLOW_12); | 2006 | pushFollow(FOLLOW_12); |
2240 | lv_exclusion_4_0=ruleMetamodelElement(); | 2007 | lv_exclusion_4_0=ruleMetamodelElement(); |
2241 | 2008 | ||
2242 | state._fsp--; | 2009 | state._fsp--; |
2243 | if (state.failed) return current; | 2010 | |
2244 | if ( state.backtracking==0 ) { | 2011 | |
2245 | 2012 | if (current==null) { | |
2246 | if (current==null) { | 2013 | current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); |
2247 | current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); | 2014 | } |
2248 | } | 2015 | add( |
2249 | add( | 2016 | current, |
2250 | current, | 2017 | "exclusion", |
2251 | "exclusion", | 2018 | lv_exclusion_4_0, |
2252 | lv_exclusion_4_0, | 2019 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); |
2253 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); | 2020 | afterParserOrEnumRuleCall(); |
2254 | afterParserOrEnumRuleCall(); | 2021 | |
2255 | |||
2256 | } | ||
2257 | 2022 | ||
2258 | } | 2023 | } |
2259 | 2024 | ||
2260 | 2025 | ||
2261 | } | 2026 | } |
2262 | 2027 | ||
2263 | // InternalApplicationConfiguration.g:724:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* | 2028 | // InternalApplicationConfiguration.g:721:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* |
2264 | loop10: | 2029 | loop10: |
2265 | do { | 2030 | do { |
2266 | int alt10=2; | 2031 | int alt10=2; |
@@ -2273,43 +2038,37 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2273 | 2038 | ||
2274 | switch (alt10) { | 2039 | switch (alt10) { |
2275 | case 1 : | 2040 | case 1 : |
2276 | // InternalApplicationConfiguration.g:725:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) | 2041 | // InternalApplicationConfiguration.g:722:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) |
2277 | { | 2042 | { |
2278 | otherlv_5=(Token)match(input,18,FOLLOW_6); if (state.failed) return current; | 2043 | otherlv_5=(Token)match(input,18,FOLLOW_6); |
2279 | if ( state.backtracking==0 ) { | ||
2280 | 2044 | ||
2281 | newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); | 2045 | newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); |
2282 | 2046 | ||
2283 | } | 2047 | // InternalApplicationConfiguration.g:726:5: ( (lv_exclusion_6_0= ruleMetamodelElement ) ) |
2284 | // InternalApplicationConfiguration.g:729:5: ( (lv_exclusion_6_0= ruleMetamodelElement ) ) | 2048 | // InternalApplicationConfiguration.g:727:6: (lv_exclusion_6_0= ruleMetamodelElement ) |
2285 | // InternalApplicationConfiguration.g:730:6: (lv_exclusion_6_0= ruleMetamodelElement ) | ||
2286 | { | 2049 | { |
2287 | // InternalApplicationConfiguration.g:730:6: (lv_exclusion_6_0= ruleMetamodelElement ) | 2050 | // InternalApplicationConfiguration.g:727:6: (lv_exclusion_6_0= ruleMetamodelElement ) |
2288 | // InternalApplicationConfiguration.g:731:7: lv_exclusion_6_0= ruleMetamodelElement | 2051 | // InternalApplicationConfiguration.g:728:7: lv_exclusion_6_0= ruleMetamodelElement |
2289 | { | 2052 | { |
2290 | if ( state.backtracking==0 ) { | ||
2291 | 2053 | ||
2292 | newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); | 2054 | newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); |
2293 | 2055 | ||
2294 | } | ||
2295 | pushFollow(FOLLOW_12); | 2056 | pushFollow(FOLLOW_12); |
2296 | lv_exclusion_6_0=ruleMetamodelElement(); | 2057 | lv_exclusion_6_0=ruleMetamodelElement(); |
2297 | 2058 | ||
2298 | state._fsp--; | 2059 | state._fsp--; |
2299 | if (state.failed) return current; | 2060 | |
2300 | if ( state.backtracking==0 ) { | 2061 | |
2301 | 2062 | if (current==null) { | |
2302 | if (current==null) { | 2063 | current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); |
2303 | current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); | 2064 | } |
2304 | } | 2065 | add( |
2305 | add( | 2066 | current, |
2306 | current, | 2067 | "exclusion", |
2307 | "exclusion", | 2068 | lv_exclusion_6_0, |
2308 | lv_exclusion_6_0, | 2069 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); |
2309 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); | 2070 | afterParserOrEnumRuleCall(); |
2310 | afterParserOrEnumRuleCall(); | 2071 | |
2311 | |||
2312 | } | ||
2313 | 2072 | ||
2314 | } | 2073 | } |
2315 | 2074 | ||
@@ -2325,12 +2084,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2325 | } | 2084 | } |
2326 | } while (true); | 2085 | } while (true); |
2327 | 2086 | ||
2328 | otherlv_7=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; | 2087 | otherlv_7=(Token)match(input,19,FOLLOW_2); |
2329 | if ( state.backtracking==0 ) { | ||
2330 | 2088 | ||
2331 | newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); | 2089 | newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); |
2332 | 2090 | ||
2333 | } | ||
2334 | 2091 | ||
2335 | } | 2092 | } |
2336 | break; | 2093 | break; |
@@ -2343,11 +2100,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2343 | 2100 | ||
2344 | } | 2101 | } |
2345 | 2102 | ||
2346 | if ( state.backtracking==0 ) { | ||
2347 | 2103 | ||
2348 | leaveRule(); | 2104 | leaveRule(); |
2349 | 2105 | ||
2350 | } | ||
2351 | } | 2106 | } |
2352 | 2107 | ||
2353 | catch (RecognitionException re) { | 2108 | catch (RecognitionException re) { |
@@ -2362,7 +2117,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2362 | 2117 | ||
2363 | 2118 | ||
2364 | // $ANTLR start "entryRuleMetamodelElement" | 2119 | // $ANTLR start "entryRuleMetamodelElement" |
2365 | // InternalApplicationConfiguration.g:758:1: entryRuleMetamodelElement returns [EObject current=null] : iv_ruleMetamodelElement= ruleMetamodelElement EOF ; | 2120 | // InternalApplicationConfiguration.g:755:1: entryRuleMetamodelElement returns [EObject current=null] : iv_ruleMetamodelElement= ruleMetamodelElement EOF ; |
2366 | public final EObject entryRuleMetamodelElement() throws RecognitionException { | 2121 | public final EObject entryRuleMetamodelElement() throws RecognitionException { |
2367 | EObject current = null; | 2122 | EObject current = null; |
2368 | 2123 | ||
@@ -2370,21 +2125,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2370 | 2125 | ||
2371 | 2126 | ||
2372 | try { | 2127 | try { |
2373 | // InternalApplicationConfiguration.g:758:57: (iv_ruleMetamodelElement= ruleMetamodelElement EOF ) | 2128 | // InternalApplicationConfiguration.g:755:57: (iv_ruleMetamodelElement= ruleMetamodelElement EOF ) |
2374 | // InternalApplicationConfiguration.g:759:2: iv_ruleMetamodelElement= ruleMetamodelElement EOF | 2129 | // InternalApplicationConfiguration.g:756:2: iv_ruleMetamodelElement= ruleMetamodelElement EOF |
2375 | { | 2130 | { |
2376 | if ( state.backtracking==0 ) { | 2131 | newCompositeNode(grammarAccess.getMetamodelElementRule()); |
2377 | newCompositeNode(grammarAccess.getMetamodelElementRule()); | ||
2378 | } | ||
2379 | pushFollow(FOLLOW_1); | 2132 | pushFollow(FOLLOW_1); |
2380 | iv_ruleMetamodelElement=ruleMetamodelElement(); | 2133 | iv_ruleMetamodelElement=ruleMetamodelElement(); |
2381 | 2134 | ||
2382 | state._fsp--; | 2135 | state._fsp--; |
2383 | if (state.failed) return current; | 2136 | |
2384 | if ( state.backtracking==0 ) { | 2137 | current =iv_ruleMetamodelElement; |
2385 | current =iv_ruleMetamodelElement; | 2138 | match(input,EOF,FOLLOW_2); |
2386 | } | ||
2387 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
2388 | 2139 | ||
2389 | } | 2140 | } |
2390 | 2141 | ||
@@ -2402,7 +2153,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2402 | 2153 | ||
2403 | 2154 | ||
2404 | // $ANTLR start "ruleMetamodelElement" | 2155 | // $ANTLR start "ruleMetamodelElement" |
2405 | // InternalApplicationConfiguration.g:765:1: ruleMetamodelElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ; | 2156 | // InternalApplicationConfiguration.g:762:1: ruleMetamodelElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ; |
2406 | public final EObject ruleMetamodelElement() throws RecognitionException { | 2157 | public final EObject ruleMetamodelElement() throws RecognitionException { |
2407 | EObject current = null; | 2158 | EObject current = null; |
2408 | 2159 | ||
@@ -2415,13 +2166,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2415 | enterRule(); | 2166 | enterRule(); |
2416 | 2167 | ||
2417 | try { | 2168 | try { |
2418 | // InternalApplicationConfiguration.g:771:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ) | 2169 | // InternalApplicationConfiguration.g:768:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ) |
2419 | // InternalApplicationConfiguration.g:772:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) | 2170 | // InternalApplicationConfiguration.g:769:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) |
2420 | { | 2171 | { |
2421 | // InternalApplicationConfiguration.g:772:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) | 2172 | // InternalApplicationConfiguration.g:769:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) |
2422 | // InternalApplicationConfiguration.g:773:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? | 2173 | // InternalApplicationConfiguration.g:770:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? |
2423 | { | 2174 | { |
2424 | // InternalApplicationConfiguration.g:773:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? | 2175 | // InternalApplicationConfiguration.g:770:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? |
2425 | int alt12=2; | 2176 | int alt12=2; |
2426 | int LA12_0 = input.LA(1); | 2177 | int LA12_0 = input.LA(1); |
2427 | 2178 | ||
@@ -2445,80 +2196,68 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2445 | } | 2196 | } |
2446 | switch (alt12) { | 2197 | switch (alt12) { |
2447 | case 1 : | 2198 | case 1 : |
2448 | // InternalApplicationConfiguration.g:774:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' | 2199 | // InternalApplicationConfiguration.g:771:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' |
2449 | { | 2200 | { |
2450 | // InternalApplicationConfiguration.g:774:4: ( ( ruleQualifiedName ) ) | 2201 | // InternalApplicationConfiguration.g:771:4: ( ( ruleQualifiedName ) ) |
2451 | // InternalApplicationConfiguration.g:775:5: ( ruleQualifiedName ) | 2202 | // InternalApplicationConfiguration.g:772:5: ( ruleQualifiedName ) |
2452 | { | 2203 | { |
2453 | // InternalApplicationConfiguration.g:775:5: ( ruleQualifiedName ) | 2204 | // InternalApplicationConfiguration.g:772:5: ( ruleQualifiedName ) |
2454 | // InternalApplicationConfiguration.g:776:6: ruleQualifiedName | 2205 | // InternalApplicationConfiguration.g:773:6: ruleQualifiedName |
2455 | { | 2206 | { |
2456 | if ( state.backtracking==0 ) { | ||
2457 | 2207 | ||
2458 | if (current==null) { | 2208 | if (current==null) { |
2459 | current = createModelElement(grammarAccess.getMetamodelElementRule()); | 2209 | current = createModelElement(grammarAccess.getMetamodelElementRule()); |
2460 | } | 2210 | } |
2461 | 2211 | ||
2462 | } | ||
2463 | if ( state.backtracking==0 ) { | ||
2464 | 2212 | ||
2465 | newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); | 2213 | newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); |
2466 | 2214 | ||
2467 | } | ||
2468 | pushFollow(FOLLOW_15); | 2215 | pushFollow(FOLLOW_15); |
2469 | ruleQualifiedName(); | 2216 | ruleQualifiedName(); |
2470 | 2217 | ||
2471 | state._fsp--; | 2218 | state._fsp--; |
2472 | if (state.failed) return current; | ||
2473 | if ( state.backtracking==0 ) { | ||
2474 | 2219 | ||
2475 | afterParserOrEnumRuleCall(); | 2220 | |
2476 | 2221 | afterParserOrEnumRuleCall(); | |
2477 | } | 2222 | |
2478 | 2223 | ||
2479 | } | 2224 | } |
2480 | 2225 | ||
2481 | 2226 | ||
2482 | } | 2227 | } |
2483 | 2228 | ||
2484 | otherlv_1=(Token)match(input,22,FOLLOW_6); if (state.failed) return current; | 2229 | otherlv_1=(Token)match(input,22,FOLLOW_6); |
2485 | if ( state.backtracking==0 ) { | ||
2486 | 2230 | ||
2487 | newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); | 2231 | newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); |
2488 | 2232 | ||
2489 | } | ||
2490 | 2233 | ||
2491 | } | 2234 | } |
2492 | break; | 2235 | break; |
2493 | 2236 | ||
2494 | } | 2237 | } |
2495 | 2238 | ||
2496 | // InternalApplicationConfiguration.g:795:3: ( (otherlv_2= RULE_ID ) ) | 2239 | // InternalApplicationConfiguration.g:792:3: ( (otherlv_2= RULE_ID ) ) |
2497 | // InternalApplicationConfiguration.g:796:4: (otherlv_2= RULE_ID ) | 2240 | // InternalApplicationConfiguration.g:793:4: (otherlv_2= RULE_ID ) |
2498 | { | 2241 | { |
2499 | // InternalApplicationConfiguration.g:796:4: (otherlv_2= RULE_ID ) | 2242 | // InternalApplicationConfiguration.g:793:4: (otherlv_2= RULE_ID ) |
2500 | // InternalApplicationConfiguration.g:797:5: otherlv_2= RULE_ID | 2243 | // InternalApplicationConfiguration.g:794:5: otherlv_2= RULE_ID |
2501 | { | 2244 | { |
2502 | if ( state.backtracking==0 ) { | ||
2503 | 2245 | ||
2504 | if (current==null) { | 2246 | if (current==null) { |
2505 | current = createModelElement(grammarAccess.getMetamodelElementRule()); | 2247 | current = createModelElement(grammarAccess.getMetamodelElementRule()); |
2506 | } | 2248 | } |
2507 | 2249 | ||
2508 | } | 2250 | otherlv_2=(Token)match(input,RULE_ID,FOLLOW_5); |
2509 | otherlv_2=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current; | ||
2510 | if ( state.backtracking==0 ) { | ||
2511 | 2251 | ||
2512 | newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); | 2252 | newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); |
2513 | 2253 | ||
2514 | } | ||
2515 | 2254 | ||
2516 | } | 2255 | } |
2517 | 2256 | ||
2518 | 2257 | ||
2519 | } | 2258 | } |
2520 | 2259 | ||
2521 | // InternalApplicationConfiguration.g:808:3: (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? | 2260 | // InternalApplicationConfiguration.g:805:3: (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? |
2522 | int alt13=2; | 2261 | int alt13=2; |
2523 | int LA13_0 = input.LA(1); | 2262 | int LA13_0 = input.LA(1); |
2524 | 2263 | ||
@@ -2527,33 +2266,27 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2527 | } | 2266 | } |
2528 | switch (alt13) { | 2267 | switch (alt13) { |
2529 | case 1 : | 2268 | case 1 : |
2530 | // InternalApplicationConfiguration.g:809:4: otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) | 2269 | // InternalApplicationConfiguration.g:806:4: otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) |
2531 | { | 2270 | { |
2532 | otherlv_3=(Token)match(input,11,FOLLOW_6); if (state.failed) return current; | 2271 | otherlv_3=(Token)match(input,11,FOLLOW_6); |
2533 | if ( state.backtracking==0 ) { | ||
2534 | 2272 | ||
2535 | newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); | 2273 | newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); |
2536 | 2274 | ||
2537 | } | 2275 | // InternalApplicationConfiguration.g:810:4: ( (otherlv_4= RULE_ID ) ) |
2538 | // InternalApplicationConfiguration.g:813:4: ( (otherlv_4= RULE_ID ) ) | 2276 | // InternalApplicationConfiguration.g:811:5: (otherlv_4= RULE_ID ) |
2539 | // InternalApplicationConfiguration.g:814:5: (otherlv_4= RULE_ID ) | ||
2540 | { | 2277 | { |
2541 | // InternalApplicationConfiguration.g:814:5: (otherlv_4= RULE_ID ) | 2278 | // InternalApplicationConfiguration.g:811:5: (otherlv_4= RULE_ID ) |
2542 | // InternalApplicationConfiguration.g:815:6: otherlv_4= RULE_ID | 2279 | // InternalApplicationConfiguration.g:812:6: otherlv_4= RULE_ID |
2543 | { | 2280 | { |
2544 | if ( state.backtracking==0 ) { | ||
2545 | 2281 | ||
2546 | if (current==null) { | 2282 | if (current==null) { |
2547 | current = createModelElement(grammarAccess.getMetamodelElementRule()); | 2283 | current = createModelElement(grammarAccess.getMetamodelElementRule()); |
2548 | } | 2284 | } |
2549 | 2285 | ||
2550 | } | 2286 | otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2); |
2551 | otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; | ||
2552 | if ( state.backtracking==0 ) { | ||
2553 | 2287 | ||
2554 | newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); | 2288 | newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); |
2555 | 2289 | ||
2556 | } | ||
2557 | 2290 | ||
2558 | } | 2291 | } |
2559 | 2292 | ||
@@ -2572,11 +2305,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2572 | 2305 | ||
2573 | } | 2306 | } |
2574 | 2307 | ||
2575 | if ( state.backtracking==0 ) { | ||
2576 | 2308 | ||
2577 | leaveRule(); | 2309 | leaveRule(); |
2578 | 2310 | ||
2579 | } | ||
2580 | } | 2311 | } |
2581 | 2312 | ||
2582 | catch (RecognitionException re) { | 2313 | catch (RecognitionException re) { |
@@ -2591,7 +2322,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2591 | 2322 | ||
2592 | 2323 | ||
2593 | // $ANTLR start "entryRuleMetamodelDeclaration" | 2324 | // $ANTLR start "entryRuleMetamodelDeclaration" |
2594 | // InternalApplicationConfiguration.g:831:1: entryRuleMetamodelDeclaration returns [EObject current=null] : iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ; | 2325 | // InternalApplicationConfiguration.g:828:1: entryRuleMetamodelDeclaration returns [EObject current=null] : iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ; |
2595 | public final EObject entryRuleMetamodelDeclaration() throws RecognitionException { | 2326 | public final EObject entryRuleMetamodelDeclaration() throws RecognitionException { |
2596 | EObject current = null; | 2327 | EObject current = null; |
2597 | 2328 | ||
@@ -2599,21 +2330,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2599 | 2330 | ||
2600 | 2331 | ||
2601 | try { | 2332 | try { |
2602 | // InternalApplicationConfiguration.g:831:61: (iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ) | 2333 | // InternalApplicationConfiguration.g:828:61: (iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ) |
2603 | // InternalApplicationConfiguration.g:832:2: iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF | 2334 | // InternalApplicationConfiguration.g:829:2: iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF |
2604 | { | 2335 | { |
2605 | if ( state.backtracking==0 ) { | 2336 | newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); |
2606 | newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); | ||
2607 | } | ||
2608 | pushFollow(FOLLOW_1); | 2337 | pushFollow(FOLLOW_1); |
2609 | iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration(); | 2338 | iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration(); |
2610 | 2339 | ||
2611 | state._fsp--; | 2340 | state._fsp--; |
2612 | if (state.failed) return current; | 2341 | |
2613 | if ( state.backtracking==0 ) { | 2342 | current =iv_ruleMetamodelDeclaration; |
2614 | current =iv_ruleMetamodelDeclaration; | 2343 | match(input,EOF,FOLLOW_2); |
2615 | } | ||
2616 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
2617 | 2344 | ||
2618 | } | 2345 | } |
2619 | 2346 | ||
@@ -2631,7 +2358,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2631 | 2358 | ||
2632 | 2359 | ||
2633 | // $ANTLR start "ruleMetamodelDeclaration" | 2360 | // $ANTLR start "ruleMetamodelDeclaration" |
2634 | // InternalApplicationConfiguration.g:838:1: ruleMetamodelDeclaration returns [EObject current=null] : (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ; | 2361 | // InternalApplicationConfiguration.g:835:1: ruleMetamodelDeclaration returns [EObject current=null] : (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ; |
2635 | public final EObject ruleMetamodelDeclaration() throws RecognitionException { | 2362 | public final EObject ruleMetamodelDeclaration() throws RecognitionException { |
2636 | EObject current = null; | 2363 | EObject current = null; |
2637 | 2364 | ||
@@ -2644,77 +2371,67 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2644 | enterRule(); | 2371 | enterRule(); |
2645 | 2372 | ||
2646 | try { | 2373 | try { |
2647 | // InternalApplicationConfiguration.g:844:2: ( (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ) | 2374 | // InternalApplicationConfiguration.g:841:2: ( (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ) |
2648 | // InternalApplicationConfiguration.g:845:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) | 2375 | // InternalApplicationConfiguration.g:842:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) |
2649 | { | 2376 | { |
2650 | // InternalApplicationConfiguration.g:845:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) | 2377 | // InternalApplicationConfiguration.g:842:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) |
2651 | // InternalApplicationConfiguration.g:846:3: otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) | 2378 | // InternalApplicationConfiguration.g:843:3: otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) |
2652 | { | 2379 | { |
2653 | otherlv_0=(Token)match(input,23,FOLLOW_6); if (state.failed) return current; | 2380 | otherlv_0=(Token)match(input,23,FOLLOW_6); |
2654 | if ( state.backtracking==0 ) { | ||
2655 | 2381 | ||
2656 | newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); | 2382 | newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); |
2657 | 2383 | ||
2658 | } | 2384 | // InternalApplicationConfiguration.g:847:3: ( (lv_name_1_0= RULE_ID ) ) |
2659 | // InternalApplicationConfiguration.g:850:3: ( (lv_name_1_0= RULE_ID ) ) | 2385 | // InternalApplicationConfiguration.g:848:4: (lv_name_1_0= RULE_ID ) |
2660 | // InternalApplicationConfiguration.g:851:4: (lv_name_1_0= RULE_ID ) | ||
2661 | { | 2386 | { |
2662 | // InternalApplicationConfiguration.g:851:4: (lv_name_1_0= RULE_ID ) | 2387 | // InternalApplicationConfiguration.g:848:4: (lv_name_1_0= RULE_ID ) |
2663 | // InternalApplicationConfiguration.g:852:5: lv_name_1_0= RULE_ID | 2388 | // InternalApplicationConfiguration.g:849:5: lv_name_1_0= RULE_ID |
2664 | { | 2389 | { |
2665 | lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current; | 2390 | lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); |
2666 | if ( state.backtracking==0 ) { | ||
2667 | 2391 | ||
2668 | newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); | 2392 | newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); |
2669 | 2393 | ||
2670 | } | ||
2671 | if ( state.backtracking==0 ) { | ||
2672 | 2394 | ||
2673 | if (current==null) { | 2395 | if (current==null) { |
2674 | current = createModelElement(grammarAccess.getMetamodelDeclarationRule()); | 2396 | current = createModelElement(grammarAccess.getMetamodelDeclarationRule()); |
2675 | } | 2397 | } |
2676 | setWithLastConsumed( | 2398 | setWithLastConsumed( |
2677 | current, | 2399 | current, |
2678 | "name", | 2400 | "name", |
2679 | lv_name_1_0, | 2401 | lv_name_1_0, |
2680 | "org.eclipse.xtext.common.Terminals.ID"); | 2402 | "org.eclipse.xtext.common.Terminals.ID"); |
2681 | 2403 | ||
2682 | } | ||
2683 | 2404 | ||
2684 | } | 2405 | } |
2685 | 2406 | ||
2686 | 2407 | ||
2687 | } | 2408 | } |
2688 | 2409 | ||
2689 | // InternalApplicationConfiguration.g:868:3: ( (lv_specification_2_0= ruleMetamodelSpecification ) ) | 2410 | // InternalApplicationConfiguration.g:865:3: ( (lv_specification_2_0= ruleMetamodelSpecification ) ) |
2690 | // InternalApplicationConfiguration.g:869:4: (lv_specification_2_0= ruleMetamodelSpecification ) | 2411 | // InternalApplicationConfiguration.g:866:4: (lv_specification_2_0= ruleMetamodelSpecification ) |
2691 | { | 2412 | { |
2692 | // InternalApplicationConfiguration.g:869:4: (lv_specification_2_0= ruleMetamodelSpecification ) | 2413 | // InternalApplicationConfiguration.g:866:4: (lv_specification_2_0= ruleMetamodelSpecification ) |
2693 | // InternalApplicationConfiguration.g:870:5: lv_specification_2_0= ruleMetamodelSpecification | 2414 | // InternalApplicationConfiguration.g:867:5: lv_specification_2_0= ruleMetamodelSpecification |
2694 | { | 2415 | { |
2695 | if ( state.backtracking==0 ) { | ||
2696 | 2416 | ||
2697 | newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); | 2417 | newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); |
2698 | 2418 | ||
2699 | } | ||
2700 | pushFollow(FOLLOW_2); | 2419 | pushFollow(FOLLOW_2); |
2701 | lv_specification_2_0=ruleMetamodelSpecification(); | 2420 | lv_specification_2_0=ruleMetamodelSpecification(); |
2702 | 2421 | ||
2703 | state._fsp--; | 2422 | state._fsp--; |
2704 | if (state.failed) return current; | ||
2705 | if ( state.backtracking==0 ) { | ||
2706 | 2423 | ||
2707 | if (current==null) { | 2424 | |
2708 | current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule()); | 2425 | if (current==null) { |
2709 | } | 2426 | current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule()); |
2710 | set( | 2427 | } |
2711 | current, | 2428 | set( |
2712 | "specification", | 2429 | current, |
2713 | lv_specification_2_0, | 2430 | "specification", |
2714 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); | 2431 | lv_specification_2_0, |
2715 | afterParserOrEnumRuleCall(); | 2432 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); |
2716 | 2433 | afterParserOrEnumRuleCall(); | |
2717 | } | 2434 | |
2718 | 2435 | ||
2719 | } | 2436 | } |
2720 | 2437 | ||
@@ -2727,11 +2444,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2727 | 2444 | ||
2728 | } | 2445 | } |
2729 | 2446 | ||
2730 | if ( state.backtracking==0 ) { | ||
2731 | 2447 | ||
2732 | leaveRule(); | 2448 | leaveRule(); |
2733 | 2449 | ||
2734 | } | ||
2735 | } | 2450 | } |
2736 | 2451 | ||
2737 | catch (RecognitionException re) { | 2452 | catch (RecognitionException re) { |
@@ -2746,7 +2461,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2746 | 2461 | ||
2747 | 2462 | ||
2748 | // $ANTLR start "entryRuleMetamodelReference" | 2463 | // $ANTLR start "entryRuleMetamodelReference" |
2749 | // InternalApplicationConfiguration.g:891:1: entryRuleMetamodelReference returns [EObject current=null] : iv_ruleMetamodelReference= ruleMetamodelReference EOF ; | 2464 | // InternalApplicationConfiguration.g:888:1: entryRuleMetamodelReference returns [EObject current=null] : iv_ruleMetamodelReference= ruleMetamodelReference EOF ; |
2750 | public final EObject entryRuleMetamodelReference() throws RecognitionException { | 2465 | public final EObject entryRuleMetamodelReference() throws RecognitionException { |
2751 | EObject current = null; | 2466 | EObject current = null; |
2752 | 2467 | ||
@@ -2754,21 +2469,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2754 | 2469 | ||
2755 | 2470 | ||
2756 | try { | 2471 | try { |
2757 | // InternalApplicationConfiguration.g:891:59: (iv_ruleMetamodelReference= ruleMetamodelReference EOF ) | 2472 | // InternalApplicationConfiguration.g:888:59: (iv_ruleMetamodelReference= ruleMetamodelReference EOF ) |
2758 | // InternalApplicationConfiguration.g:892:2: iv_ruleMetamodelReference= ruleMetamodelReference EOF | 2473 | // InternalApplicationConfiguration.g:889:2: iv_ruleMetamodelReference= ruleMetamodelReference EOF |
2759 | { | 2474 | { |
2760 | if ( state.backtracking==0 ) { | 2475 | newCompositeNode(grammarAccess.getMetamodelReferenceRule()); |
2761 | newCompositeNode(grammarAccess.getMetamodelReferenceRule()); | ||
2762 | } | ||
2763 | pushFollow(FOLLOW_1); | 2476 | pushFollow(FOLLOW_1); |
2764 | iv_ruleMetamodelReference=ruleMetamodelReference(); | 2477 | iv_ruleMetamodelReference=ruleMetamodelReference(); |
2765 | 2478 | ||
2766 | state._fsp--; | 2479 | state._fsp--; |
2767 | if (state.failed) return current; | 2480 | |
2768 | if ( state.backtracking==0 ) { | 2481 | current =iv_ruleMetamodelReference; |
2769 | current =iv_ruleMetamodelReference; | 2482 | match(input,EOF,FOLLOW_2); |
2770 | } | ||
2771 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
2772 | 2483 | ||
2773 | } | 2484 | } |
2774 | 2485 | ||
@@ -2786,7 +2497,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2786 | 2497 | ||
2787 | 2498 | ||
2788 | // $ANTLR start "ruleMetamodelReference" | 2499 | // $ANTLR start "ruleMetamodelReference" |
2789 | // InternalApplicationConfiguration.g:898:1: ruleMetamodelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; | 2500 | // InternalApplicationConfiguration.g:895:1: ruleMetamodelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; |
2790 | public final EObject ruleMetamodelReference() throws RecognitionException { | 2501 | public final EObject ruleMetamodelReference() throws RecognitionException { |
2791 | EObject current = null; | 2502 | EObject current = null; |
2792 | 2503 | ||
@@ -2796,28 +2507,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2796 | enterRule(); | 2507 | enterRule(); |
2797 | 2508 | ||
2798 | try { | 2509 | try { |
2799 | // InternalApplicationConfiguration.g:904:2: ( ( (otherlv_0= RULE_ID ) ) ) | 2510 | // InternalApplicationConfiguration.g:901:2: ( ( (otherlv_0= RULE_ID ) ) ) |
2800 | // InternalApplicationConfiguration.g:905:2: ( (otherlv_0= RULE_ID ) ) | 2511 | // InternalApplicationConfiguration.g:902:2: ( (otherlv_0= RULE_ID ) ) |
2801 | { | 2512 | { |
2802 | // InternalApplicationConfiguration.g:905:2: ( (otherlv_0= RULE_ID ) ) | 2513 | // InternalApplicationConfiguration.g:902:2: ( (otherlv_0= RULE_ID ) ) |
2803 | // InternalApplicationConfiguration.g:906:3: (otherlv_0= RULE_ID ) | 2514 | // InternalApplicationConfiguration.g:903:3: (otherlv_0= RULE_ID ) |
2804 | { | 2515 | { |
2805 | // InternalApplicationConfiguration.g:906:3: (otherlv_0= RULE_ID ) | 2516 | // InternalApplicationConfiguration.g:903:3: (otherlv_0= RULE_ID ) |
2806 | // InternalApplicationConfiguration.g:907:4: otherlv_0= RULE_ID | 2517 | // InternalApplicationConfiguration.g:904:4: otherlv_0= RULE_ID |
2807 | { | 2518 | { |
2808 | if ( state.backtracking==0 ) { | ||
2809 | 2519 | ||
2810 | if (current==null) { | 2520 | if (current==null) { |
2811 | current = createModelElement(grammarAccess.getMetamodelReferenceRule()); | 2521 | current = createModelElement(grammarAccess.getMetamodelReferenceRule()); |
2812 | } | 2522 | } |
2813 | 2523 | ||
2814 | } | 2524 | otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); |
2815 | otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; | ||
2816 | if ( state.backtracking==0 ) { | ||
2817 | 2525 | ||
2818 | newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); | 2526 | newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); |
2819 | 2527 | ||
2820 | } | ||
2821 | 2528 | ||
2822 | } | 2529 | } |
2823 | 2530 | ||
@@ -2827,11 +2534,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2827 | 2534 | ||
2828 | } | 2535 | } |
2829 | 2536 | ||
2830 | if ( state.backtracking==0 ) { | ||
2831 | 2537 | ||
2832 | leaveRule(); | 2538 | leaveRule(); |
2833 | 2539 | ||
2834 | } | ||
2835 | } | 2540 | } |
2836 | 2541 | ||
2837 | catch (RecognitionException re) { | 2542 | catch (RecognitionException re) { |
@@ -2846,7 +2551,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2846 | 2551 | ||
2847 | 2552 | ||
2848 | // $ANTLR start "entryRuleMetamodel" | 2553 | // $ANTLR start "entryRuleMetamodel" |
2849 | // InternalApplicationConfiguration.g:921:1: entryRuleMetamodel returns [EObject current=null] : iv_ruleMetamodel= ruleMetamodel EOF ; | 2554 | // InternalApplicationConfiguration.g:918:1: entryRuleMetamodel returns [EObject current=null] : iv_ruleMetamodel= ruleMetamodel EOF ; |
2850 | public final EObject entryRuleMetamodel() throws RecognitionException { | 2555 | public final EObject entryRuleMetamodel() throws RecognitionException { |
2851 | EObject current = null; | 2556 | EObject current = null; |
2852 | 2557 | ||
@@ -2854,21 +2559,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2854 | 2559 | ||
2855 | 2560 | ||
2856 | try { | 2561 | try { |
2857 | // InternalApplicationConfiguration.g:921:50: (iv_ruleMetamodel= ruleMetamodel EOF ) | 2562 | // InternalApplicationConfiguration.g:918:50: (iv_ruleMetamodel= ruleMetamodel EOF ) |
2858 | // InternalApplicationConfiguration.g:922:2: iv_ruleMetamodel= ruleMetamodel EOF | 2563 | // InternalApplicationConfiguration.g:919:2: iv_ruleMetamodel= ruleMetamodel EOF |
2859 | { | 2564 | { |
2860 | if ( state.backtracking==0 ) { | 2565 | newCompositeNode(grammarAccess.getMetamodelRule()); |
2861 | newCompositeNode(grammarAccess.getMetamodelRule()); | ||
2862 | } | ||
2863 | pushFollow(FOLLOW_1); | 2566 | pushFollow(FOLLOW_1); |
2864 | iv_ruleMetamodel=ruleMetamodel(); | 2567 | iv_ruleMetamodel=ruleMetamodel(); |
2865 | 2568 | ||
2866 | state._fsp--; | 2569 | state._fsp--; |
2867 | if (state.failed) return current; | 2570 | |
2868 | if ( state.backtracking==0 ) { | 2571 | current =iv_ruleMetamodel; |
2869 | current =iv_ruleMetamodel; | 2572 | match(input,EOF,FOLLOW_2); |
2870 | } | ||
2871 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
2872 | 2573 | ||
2873 | } | 2574 | } |
2874 | 2575 | ||
@@ -2886,7 +2587,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2886 | 2587 | ||
2887 | 2588 | ||
2888 | // $ANTLR start "ruleMetamodel" | 2589 | // $ANTLR start "ruleMetamodel" |
2889 | // InternalApplicationConfiguration.g:928:1: ruleMetamodel returns [EObject current=null] : (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ; | 2590 | // InternalApplicationConfiguration.g:925:1: ruleMetamodel returns [EObject current=null] : (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ; |
2890 | public final EObject ruleMetamodel() throws RecognitionException { | 2591 | public final EObject ruleMetamodel() throws RecognitionException { |
2891 | EObject current = null; | 2592 | EObject current = null; |
2892 | 2593 | ||
@@ -2899,10 +2600,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2899 | enterRule(); | 2600 | enterRule(); |
2900 | 2601 | ||
2901 | try { | 2602 | try { |
2902 | // InternalApplicationConfiguration.g:934:2: ( (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ) | 2603 | // InternalApplicationConfiguration.g:931:2: ( (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ) |
2903 | // InternalApplicationConfiguration.g:935:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) | 2604 | // InternalApplicationConfiguration.g:932:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) |
2904 | { | 2605 | { |
2905 | // InternalApplicationConfiguration.g:935:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) | 2606 | // InternalApplicationConfiguration.g:932:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) |
2906 | int alt14=2; | 2607 | int alt14=2; |
2907 | int LA14_0 = input.LA(1); | 2608 | int LA14_0 = input.LA(1); |
2908 | 2609 | ||
@@ -2913,7 +2614,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2913 | alt14=2; | 2614 | alt14=2; |
2914 | } | 2615 | } |
2915 | else { | 2616 | else { |
2916 | if (state.backtracking>0) {state.failed=true; return current;} | ||
2917 | NoViableAltException nvae = | 2617 | NoViableAltException nvae = |
2918 | new NoViableAltException("", 14, 0, input); | 2618 | new NoViableAltException("", 14, 0, input); |
2919 | 2619 | ||
@@ -2921,46 +2621,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2921 | } | 2621 | } |
2922 | switch (alt14) { | 2622 | switch (alt14) { |
2923 | case 1 : | 2623 | case 1 : |
2924 | // InternalApplicationConfiguration.g:936:3: this_MetamodelReference_0= ruleMetamodelReference | 2624 | // InternalApplicationConfiguration.g:933:3: this_MetamodelReference_0= ruleMetamodelReference |
2925 | { | 2625 | { |
2926 | if ( state.backtracking==0 ) { | ||
2927 | 2626 | ||
2928 | newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); | 2627 | newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); |
2929 | 2628 | ||
2930 | } | ||
2931 | pushFollow(FOLLOW_2); | 2629 | pushFollow(FOLLOW_2); |
2932 | this_MetamodelReference_0=ruleMetamodelReference(); | 2630 | this_MetamodelReference_0=ruleMetamodelReference(); |
2933 | 2631 | ||
2934 | state._fsp--; | 2632 | state._fsp--; |
2935 | if (state.failed) return current; | ||
2936 | if ( state.backtracking==0 ) { | ||
2937 | 2633 | ||
2938 | current = this_MetamodelReference_0; | 2634 | |
2939 | afterParserOrEnumRuleCall(); | 2635 | current = this_MetamodelReference_0; |
2940 | 2636 | afterParserOrEnumRuleCall(); | |
2941 | } | 2637 | |
2942 | 2638 | ||
2943 | } | 2639 | } |
2944 | break; | 2640 | break; |
2945 | case 2 : | 2641 | case 2 : |
2946 | // InternalApplicationConfiguration.g:945:3: this_MetamodelSpecification_1= ruleMetamodelSpecification | 2642 | // InternalApplicationConfiguration.g:942:3: this_MetamodelSpecification_1= ruleMetamodelSpecification |
2947 | { | 2643 | { |
2948 | if ( state.backtracking==0 ) { | ||
2949 | 2644 | ||
2950 | newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); | 2645 | newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); |
2951 | 2646 | ||
2952 | } | ||
2953 | pushFollow(FOLLOW_2); | 2647 | pushFollow(FOLLOW_2); |
2954 | this_MetamodelSpecification_1=ruleMetamodelSpecification(); | 2648 | this_MetamodelSpecification_1=ruleMetamodelSpecification(); |
2955 | 2649 | ||
2956 | state._fsp--; | 2650 | state._fsp--; |
2957 | if (state.failed) return current; | ||
2958 | if ( state.backtracking==0 ) { | ||
2959 | 2651 | ||
2960 | current = this_MetamodelSpecification_1; | 2652 | |
2961 | afterParserOrEnumRuleCall(); | 2653 | current = this_MetamodelSpecification_1; |
2962 | 2654 | afterParserOrEnumRuleCall(); | |
2963 | } | 2655 | |
2964 | 2656 | ||
2965 | } | 2657 | } |
2966 | break; | 2658 | break; |
@@ -2970,11 +2662,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2970 | 2662 | ||
2971 | } | 2663 | } |
2972 | 2664 | ||
2973 | if ( state.backtracking==0 ) { | ||
2974 | 2665 | ||
2975 | leaveRule(); | 2666 | leaveRule(); |
2976 | 2667 | ||
2977 | } | ||
2978 | } | 2668 | } |
2979 | 2669 | ||
2980 | catch (RecognitionException re) { | 2670 | catch (RecognitionException re) { |
@@ -2989,7 +2679,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2989 | 2679 | ||
2990 | 2680 | ||
2991 | // $ANTLR start "entryRulePartialModelSpecification" | 2681 | // $ANTLR start "entryRulePartialModelSpecification" |
2992 | // InternalApplicationConfiguration.g:957:1: entryRulePartialModelSpecification returns [EObject current=null] : iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ; | 2682 | // InternalApplicationConfiguration.g:954:1: entryRulePartialModelSpecification returns [EObject current=null] : iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ; |
2993 | public final EObject entryRulePartialModelSpecification() throws RecognitionException { | 2683 | public final EObject entryRulePartialModelSpecification() throws RecognitionException { |
2994 | EObject current = null; | 2684 | EObject current = null; |
2995 | 2685 | ||
@@ -2997,21 +2687,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
2997 | 2687 | ||
2998 | 2688 | ||
2999 | try { | 2689 | try { |
3000 | // InternalApplicationConfiguration.g:957:66: (iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ) | 2690 | // InternalApplicationConfiguration.g:954:66: (iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ) |
3001 | // InternalApplicationConfiguration.g:958:2: iv_rulePartialModelSpecification= rulePartialModelSpecification EOF | 2691 | // InternalApplicationConfiguration.g:955:2: iv_rulePartialModelSpecification= rulePartialModelSpecification EOF |
3002 | { | 2692 | { |
3003 | if ( state.backtracking==0 ) { | 2693 | newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); |
3004 | newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); | ||
3005 | } | ||
3006 | pushFollow(FOLLOW_1); | 2694 | pushFollow(FOLLOW_1); |
3007 | iv_rulePartialModelSpecification=rulePartialModelSpecification(); | 2695 | iv_rulePartialModelSpecification=rulePartialModelSpecification(); |
3008 | 2696 | ||
3009 | state._fsp--; | 2697 | state._fsp--; |
3010 | if (state.failed) return current; | 2698 | |
3011 | if ( state.backtracking==0 ) { | 2699 | current =iv_rulePartialModelSpecification; |
3012 | current =iv_rulePartialModelSpecification; | 2700 | match(input,EOF,FOLLOW_2); |
3013 | } | ||
3014 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
3015 | 2701 | ||
3016 | } | 2702 | } |
3017 | 2703 | ||
@@ -3029,7 +2715,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3029 | 2715 | ||
3030 | 2716 | ||
3031 | // $ANTLR start "rulePartialModelSpecification" | 2717 | // $ANTLR start "rulePartialModelSpecification" |
3032 | // InternalApplicationConfiguration.g:964:1: rulePartialModelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ; | 2718 | // InternalApplicationConfiguration.g:961:1: rulePartialModelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ; |
3033 | public final EObject rulePartialModelSpecification() throws RecognitionException { | 2719 | public final EObject rulePartialModelSpecification() throws RecognitionException { |
3034 | EObject current = null; | 2720 | EObject current = null; |
3035 | 2721 | ||
@@ -3045,54 +2731,48 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3045 | enterRule(); | 2731 | enterRule(); |
3046 | 2732 | ||
3047 | try { | 2733 | try { |
3048 | // InternalApplicationConfiguration.g:970:2: ( (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ) | 2734 | // InternalApplicationConfiguration.g:967:2: ( (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ) |
3049 | // InternalApplicationConfiguration.g:971:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) | 2735 | // InternalApplicationConfiguration.g:968:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) |
3050 | { | 2736 | { |
3051 | // InternalApplicationConfiguration.g:971:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) | 2737 | // InternalApplicationConfiguration.g:968:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) |
3052 | // InternalApplicationConfiguration.g:972:3: otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' | 2738 | // InternalApplicationConfiguration.g:969:3: otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' |
3053 | { | 2739 | { |
3054 | otherlv_0=(Token)match(input,17,FOLLOW_16); if (state.failed) return current; | 2740 | otherlv_0=(Token)match(input,17,FOLLOW_16); |
3055 | if ( state.backtracking==0 ) { | ||
3056 | 2741 | ||
3057 | newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); | 2742 | newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); |
3058 | 2743 | ||
3059 | } | 2744 | // InternalApplicationConfiguration.g:973:3: ( (lv_entry_1_0= rulePartialModelEntry ) ) |
3060 | // InternalApplicationConfiguration.g:976:3: ( (lv_entry_1_0= rulePartialModelEntry ) ) | 2745 | // InternalApplicationConfiguration.g:974:4: (lv_entry_1_0= rulePartialModelEntry ) |
3061 | // InternalApplicationConfiguration.g:977:4: (lv_entry_1_0= rulePartialModelEntry ) | ||
3062 | { | 2746 | { |
3063 | // InternalApplicationConfiguration.g:977:4: (lv_entry_1_0= rulePartialModelEntry ) | 2747 | // InternalApplicationConfiguration.g:974:4: (lv_entry_1_0= rulePartialModelEntry ) |
3064 | // InternalApplicationConfiguration.g:978:5: lv_entry_1_0= rulePartialModelEntry | 2748 | // InternalApplicationConfiguration.g:975:5: lv_entry_1_0= rulePartialModelEntry |
3065 | { | 2749 | { |
3066 | if ( state.backtracking==0 ) { | ||
3067 | 2750 | ||
3068 | newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); | 2751 | newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); |
3069 | 2752 | ||
3070 | } | ||
3071 | pushFollow(FOLLOW_12); | 2753 | pushFollow(FOLLOW_12); |
3072 | lv_entry_1_0=rulePartialModelEntry(); | 2754 | lv_entry_1_0=rulePartialModelEntry(); |
3073 | 2755 | ||
3074 | state._fsp--; | 2756 | state._fsp--; |
3075 | if (state.failed) return current; | ||
3076 | if ( state.backtracking==0 ) { | ||
3077 | 2757 | ||
3078 | if (current==null) { | 2758 | |
3079 | current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); | 2759 | if (current==null) { |
3080 | } | 2760 | current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); |
3081 | add( | 2761 | } |
3082 | current, | 2762 | add( |
3083 | "entry", | 2763 | current, |
3084 | lv_entry_1_0, | 2764 | "entry", |
3085 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); | 2765 | lv_entry_1_0, |
3086 | afterParserOrEnumRuleCall(); | 2766 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); |
3087 | 2767 | afterParserOrEnumRuleCall(); | |
3088 | } | 2768 | |
3089 | 2769 | ||
3090 | } | 2770 | } |
3091 | 2771 | ||
3092 | 2772 | ||
3093 | } | 2773 | } |
3094 | 2774 | ||
3095 | // InternalApplicationConfiguration.g:995:3: (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? | 2775 | // InternalApplicationConfiguration.g:992:3: (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? |
3096 | int alt15=2; | 2776 | int alt15=2; |
3097 | int LA15_0 = input.LA(1); | 2777 | int LA15_0 = input.LA(1); |
3098 | 2778 | ||
@@ -3101,43 +2781,37 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3101 | } | 2781 | } |
3102 | switch (alt15) { | 2782 | switch (alt15) { |
3103 | case 1 : | 2783 | case 1 : |
3104 | // InternalApplicationConfiguration.g:996:4: otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) | 2784 | // InternalApplicationConfiguration.g:993:4: otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) |
3105 | { | 2785 | { |
3106 | otherlv_2=(Token)match(input,18,FOLLOW_16); if (state.failed) return current; | 2786 | otherlv_2=(Token)match(input,18,FOLLOW_16); |
3107 | if ( state.backtracking==0 ) { | ||
3108 | 2787 | ||
3109 | newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); | 2788 | newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); |
3110 | 2789 | ||
3111 | } | 2790 | // InternalApplicationConfiguration.g:997:4: ( (lv_entry_3_0= rulePartialModelEntry ) ) |
3112 | // InternalApplicationConfiguration.g:1000:4: ( (lv_entry_3_0= rulePartialModelEntry ) ) | 2791 | // InternalApplicationConfiguration.g:998:5: (lv_entry_3_0= rulePartialModelEntry ) |
3113 | // InternalApplicationConfiguration.g:1001:5: (lv_entry_3_0= rulePartialModelEntry ) | ||
3114 | { | 2792 | { |
3115 | // InternalApplicationConfiguration.g:1001:5: (lv_entry_3_0= rulePartialModelEntry ) | 2793 | // InternalApplicationConfiguration.g:998:5: (lv_entry_3_0= rulePartialModelEntry ) |
3116 | // InternalApplicationConfiguration.g:1002:6: lv_entry_3_0= rulePartialModelEntry | 2794 | // InternalApplicationConfiguration.g:999:6: lv_entry_3_0= rulePartialModelEntry |
3117 | { | 2795 | { |
3118 | if ( state.backtracking==0 ) { | ||
3119 | 2796 | ||
3120 | newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); | 2797 | newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); |
3121 | 2798 | ||
3122 | } | ||
3123 | pushFollow(FOLLOW_17); | 2799 | pushFollow(FOLLOW_17); |
3124 | lv_entry_3_0=rulePartialModelEntry(); | 2800 | lv_entry_3_0=rulePartialModelEntry(); |
3125 | 2801 | ||
3126 | state._fsp--; | 2802 | state._fsp--; |
3127 | if (state.failed) return current; | 2803 | |
3128 | if ( state.backtracking==0 ) { | 2804 | |
3129 | 2805 | if (current==null) { | |
3130 | if (current==null) { | 2806 | current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); |
3131 | current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); | 2807 | } |
3132 | } | 2808 | add( |
3133 | add( | 2809 | current, |
3134 | current, | 2810 | "entry", |
3135 | "entry", | 2811 | lv_entry_3_0, |
3136 | lv_entry_3_0, | 2812 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); |
3137 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); | 2813 | afterParserOrEnumRuleCall(); |
3138 | afterParserOrEnumRuleCall(); | 2814 | |
3139 | |||
3140 | } | ||
3141 | 2815 | ||
3142 | } | 2816 | } |
3143 | 2817 | ||
@@ -3150,23 +2824,19 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3150 | 2824 | ||
3151 | } | 2825 | } |
3152 | 2826 | ||
3153 | otherlv_4=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; | 2827 | otherlv_4=(Token)match(input,19,FOLLOW_2); |
3154 | if ( state.backtracking==0 ) { | ||
3155 | 2828 | ||
3156 | newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); | 2829 | newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); |
3157 | 2830 | ||
3158 | } | ||
3159 | 2831 | ||
3160 | } | 2832 | } |
3161 | 2833 | ||
3162 | 2834 | ||
3163 | } | 2835 | } |
3164 | 2836 | ||
3165 | if ( state.backtracking==0 ) { | ||
3166 | 2837 | ||
3167 | leaveRule(); | 2838 | leaveRule(); |
3168 | 2839 | ||
3169 | } | ||
3170 | } | 2840 | } |
3171 | 2841 | ||
3172 | catch (RecognitionException re) { | 2842 | catch (RecognitionException re) { |
@@ -3181,7 +2851,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3181 | 2851 | ||
3182 | 2852 | ||
3183 | // $ANTLR start "entryRulePartialModelEntry" | 2853 | // $ANTLR start "entryRulePartialModelEntry" |
3184 | // InternalApplicationConfiguration.g:1028:1: entryRulePartialModelEntry returns [EObject current=null] : iv_rulePartialModelEntry= rulePartialModelEntry EOF ; | 2854 | // InternalApplicationConfiguration.g:1025:1: entryRulePartialModelEntry returns [EObject current=null] : iv_rulePartialModelEntry= rulePartialModelEntry EOF ; |
3185 | public final EObject entryRulePartialModelEntry() throws RecognitionException { | 2855 | public final EObject entryRulePartialModelEntry() throws RecognitionException { |
3186 | EObject current = null; | 2856 | EObject current = null; |
3187 | 2857 | ||
@@ -3189,21 +2859,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3189 | 2859 | ||
3190 | 2860 | ||
3191 | try { | 2861 | try { |
3192 | // InternalApplicationConfiguration.g:1028:58: (iv_rulePartialModelEntry= rulePartialModelEntry EOF ) | 2862 | // InternalApplicationConfiguration.g:1025:58: (iv_rulePartialModelEntry= rulePartialModelEntry EOF ) |
3193 | // InternalApplicationConfiguration.g:1029:2: iv_rulePartialModelEntry= rulePartialModelEntry EOF | 2863 | // InternalApplicationConfiguration.g:1026:2: iv_rulePartialModelEntry= rulePartialModelEntry EOF |
3194 | { | 2864 | { |
3195 | if ( state.backtracking==0 ) { | 2865 | newCompositeNode(grammarAccess.getPartialModelEntryRule()); |
3196 | newCompositeNode(grammarAccess.getPartialModelEntryRule()); | ||
3197 | } | ||
3198 | pushFollow(FOLLOW_1); | 2866 | pushFollow(FOLLOW_1); |
3199 | iv_rulePartialModelEntry=rulePartialModelEntry(); | 2867 | iv_rulePartialModelEntry=rulePartialModelEntry(); |
3200 | 2868 | ||
3201 | state._fsp--; | 2869 | state._fsp--; |
3202 | if (state.failed) return current; | 2870 | |
3203 | if ( state.backtracking==0 ) { | 2871 | current =iv_rulePartialModelEntry; |
3204 | current =iv_rulePartialModelEntry; | 2872 | match(input,EOF,FOLLOW_2); |
3205 | } | ||
3206 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
3207 | 2873 | ||
3208 | } | 2874 | } |
3209 | 2875 | ||
@@ -3221,7 +2887,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3221 | 2887 | ||
3222 | 2888 | ||
3223 | // $ANTLR start "rulePartialModelEntry" | 2889 | // $ANTLR start "rulePartialModelEntry" |
3224 | // InternalApplicationConfiguration.g:1035:1: rulePartialModelEntry returns [EObject current=null] : (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ; | 2890 | // InternalApplicationConfiguration.g:1032:1: rulePartialModelEntry returns [EObject current=null] : (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ; |
3225 | public final EObject rulePartialModelEntry() throws RecognitionException { | 2891 | public final EObject rulePartialModelEntry() throws RecognitionException { |
3226 | EObject current = null; | 2892 | EObject current = null; |
3227 | 2893 | ||
@@ -3234,10 +2900,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3234 | enterRule(); | 2900 | enterRule(); |
3235 | 2901 | ||
3236 | try { | 2902 | try { |
3237 | // InternalApplicationConfiguration.g:1041:2: ( (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ) | 2903 | // InternalApplicationConfiguration.g:1038:2: ( (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ) |
3238 | // InternalApplicationConfiguration.g:1042:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) | 2904 | // InternalApplicationConfiguration.g:1039:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) |
3239 | { | 2905 | { |
3240 | // InternalApplicationConfiguration.g:1042:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) | 2906 | // InternalApplicationConfiguration.g:1039:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) |
3241 | int alt16=2; | 2907 | int alt16=2; |
3242 | int LA16_0 = input.LA(1); | 2908 | int LA16_0 = input.LA(1); |
3243 | 2909 | ||
@@ -3248,7 +2914,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3248 | alt16=2; | 2914 | alt16=2; |
3249 | } | 2915 | } |
3250 | else { | 2916 | else { |
3251 | if (state.backtracking>0) {state.failed=true; return current;} | ||
3252 | NoViableAltException nvae = | 2917 | NoViableAltException nvae = |
3253 | new NoViableAltException("", 16, 0, input); | 2918 | new NoViableAltException("", 16, 0, input); |
3254 | 2919 | ||
@@ -3256,46 +2921,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3256 | } | 2921 | } |
3257 | switch (alt16) { | 2922 | switch (alt16) { |
3258 | case 1 : | 2923 | case 1 : |
3259 | // InternalApplicationConfiguration.g:1043:3: this_ModelEntry_0= ruleModelEntry | 2924 | // InternalApplicationConfiguration.g:1040:3: this_ModelEntry_0= ruleModelEntry |
3260 | { | 2925 | { |
3261 | if ( state.backtracking==0 ) { | ||
3262 | 2926 | ||
3263 | newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); | 2927 | newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); |
3264 | 2928 | ||
3265 | } | ||
3266 | pushFollow(FOLLOW_2); | 2929 | pushFollow(FOLLOW_2); |
3267 | this_ModelEntry_0=ruleModelEntry(); | 2930 | this_ModelEntry_0=ruleModelEntry(); |
3268 | 2931 | ||
3269 | state._fsp--; | 2932 | state._fsp--; |
3270 | if (state.failed) return current; | ||
3271 | if ( state.backtracking==0 ) { | ||
3272 | 2933 | ||
3273 | current = this_ModelEntry_0; | 2934 | |
3274 | afterParserOrEnumRuleCall(); | 2935 | current = this_ModelEntry_0; |
3275 | 2936 | afterParserOrEnumRuleCall(); | |
3276 | } | 2937 | |
3277 | 2938 | ||
3278 | } | 2939 | } |
3279 | break; | 2940 | break; |
3280 | case 2 : | 2941 | case 2 : |
3281 | // InternalApplicationConfiguration.g:1052:3: this_FolderEntry_1= ruleFolderEntry | 2942 | // InternalApplicationConfiguration.g:1049:3: this_FolderEntry_1= ruleFolderEntry |
3282 | { | 2943 | { |
3283 | if ( state.backtracking==0 ) { | ||
3284 | 2944 | ||
3285 | newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); | 2945 | newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); |
3286 | 2946 | ||
3287 | } | ||
3288 | pushFollow(FOLLOW_2); | 2947 | pushFollow(FOLLOW_2); |
3289 | this_FolderEntry_1=ruleFolderEntry(); | 2948 | this_FolderEntry_1=ruleFolderEntry(); |
3290 | 2949 | ||
3291 | state._fsp--; | 2950 | state._fsp--; |
3292 | if (state.failed) return current; | ||
3293 | if ( state.backtracking==0 ) { | ||
3294 | 2951 | ||
3295 | current = this_FolderEntry_1; | 2952 | |
3296 | afterParserOrEnumRuleCall(); | 2953 | current = this_FolderEntry_1; |
3297 | 2954 | afterParserOrEnumRuleCall(); | |
3298 | } | 2955 | |
3299 | 2956 | ||
3300 | } | 2957 | } |
3301 | break; | 2958 | break; |
@@ -3305,11 +2962,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3305 | 2962 | ||
3306 | } | 2963 | } |
3307 | 2964 | ||
3308 | if ( state.backtracking==0 ) { | ||
3309 | 2965 | ||
3310 | leaveRule(); | 2966 | leaveRule(); |
3311 | 2967 | ||
3312 | } | ||
3313 | } | 2968 | } |
3314 | 2969 | ||
3315 | catch (RecognitionException re) { | 2970 | catch (RecognitionException re) { |
@@ -3324,7 +2979,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3324 | 2979 | ||
3325 | 2980 | ||
3326 | // $ANTLR start "entryRuleModelEntry" | 2981 | // $ANTLR start "entryRuleModelEntry" |
3327 | // InternalApplicationConfiguration.g:1064:1: entryRuleModelEntry returns [EObject current=null] : iv_ruleModelEntry= ruleModelEntry EOF ; | 2982 | // InternalApplicationConfiguration.g:1061:1: entryRuleModelEntry returns [EObject current=null] : iv_ruleModelEntry= ruleModelEntry EOF ; |
3328 | public final EObject entryRuleModelEntry() throws RecognitionException { | 2983 | public final EObject entryRuleModelEntry() throws RecognitionException { |
3329 | EObject current = null; | 2984 | EObject current = null; |
3330 | 2985 | ||
@@ -3332,21 +2987,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3332 | 2987 | ||
3333 | 2988 | ||
3334 | try { | 2989 | try { |
3335 | // InternalApplicationConfiguration.g:1064:51: (iv_ruleModelEntry= ruleModelEntry EOF ) | 2990 | // InternalApplicationConfiguration.g:1061:51: (iv_ruleModelEntry= ruleModelEntry EOF ) |
3336 | // InternalApplicationConfiguration.g:1065:2: iv_ruleModelEntry= ruleModelEntry EOF | 2991 | // InternalApplicationConfiguration.g:1062:2: iv_ruleModelEntry= ruleModelEntry EOF |
3337 | { | 2992 | { |
3338 | if ( state.backtracking==0 ) { | 2993 | newCompositeNode(grammarAccess.getModelEntryRule()); |
3339 | newCompositeNode(grammarAccess.getModelEntryRule()); | ||
3340 | } | ||
3341 | pushFollow(FOLLOW_1); | 2994 | pushFollow(FOLLOW_1); |
3342 | iv_ruleModelEntry=ruleModelEntry(); | 2995 | iv_ruleModelEntry=ruleModelEntry(); |
3343 | 2996 | ||
3344 | state._fsp--; | 2997 | state._fsp--; |
3345 | if (state.failed) return current; | 2998 | |
3346 | if ( state.backtracking==0 ) { | 2999 | current =iv_ruleModelEntry; |
3347 | current =iv_ruleModelEntry; | 3000 | match(input,EOF,FOLLOW_2); |
3348 | } | ||
3349 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
3350 | 3001 | ||
3351 | } | 3002 | } |
3352 | 3003 | ||
@@ -3364,7 +3015,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3364 | 3015 | ||
3365 | 3016 | ||
3366 | // $ANTLR start "ruleModelEntry" | 3017 | // $ANTLR start "ruleModelEntry" |
3367 | // InternalApplicationConfiguration.g:1071:1: ruleModelEntry returns [EObject current=null] : ( (lv_path_0_0= ruleFile ) ) ; | 3018 | // InternalApplicationConfiguration.g:1068:1: ruleModelEntry returns [EObject current=null] : ( (lv_path_0_0= ruleFile ) ) ; |
3368 | public final EObject ruleModelEntry() throws RecognitionException { | 3019 | public final EObject ruleModelEntry() throws RecognitionException { |
3369 | EObject current = null; | 3020 | EObject current = null; |
3370 | 3021 | ||
@@ -3375,38 +3026,34 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3375 | enterRule(); | 3026 | enterRule(); |
3376 | 3027 | ||
3377 | try { | 3028 | try { |
3378 | // InternalApplicationConfiguration.g:1077:2: ( ( (lv_path_0_0= ruleFile ) ) ) | 3029 | // InternalApplicationConfiguration.g:1074:2: ( ( (lv_path_0_0= ruleFile ) ) ) |
3379 | // InternalApplicationConfiguration.g:1078:2: ( (lv_path_0_0= ruleFile ) ) | 3030 | // InternalApplicationConfiguration.g:1075:2: ( (lv_path_0_0= ruleFile ) ) |
3380 | { | 3031 | { |
3381 | // InternalApplicationConfiguration.g:1078:2: ( (lv_path_0_0= ruleFile ) ) | 3032 | // InternalApplicationConfiguration.g:1075:2: ( (lv_path_0_0= ruleFile ) ) |
3382 | // InternalApplicationConfiguration.g:1079:3: (lv_path_0_0= ruleFile ) | 3033 | // InternalApplicationConfiguration.g:1076:3: (lv_path_0_0= ruleFile ) |
3383 | { | 3034 | { |
3384 | // InternalApplicationConfiguration.g:1079:3: (lv_path_0_0= ruleFile ) | 3035 | // InternalApplicationConfiguration.g:1076:3: (lv_path_0_0= ruleFile ) |
3385 | // InternalApplicationConfiguration.g:1080:4: lv_path_0_0= ruleFile | 3036 | // InternalApplicationConfiguration.g:1077:4: lv_path_0_0= ruleFile |
3386 | { | 3037 | { |
3387 | if ( state.backtracking==0 ) { | ||
3388 | 3038 | ||
3389 | newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); | 3039 | newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); |
3390 | 3040 | ||
3391 | } | ||
3392 | pushFollow(FOLLOW_2); | 3041 | pushFollow(FOLLOW_2); |
3393 | lv_path_0_0=ruleFile(); | 3042 | lv_path_0_0=ruleFile(); |
3394 | 3043 | ||
3395 | state._fsp--; | 3044 | state._fsp--; |
3396 | if (state.failed) return current; | ||
3397 | if ( state.backtracking==0 ) { | ||
3398 | 3045 | ||
3399 | if (current==null) { | 3046 | |
3400 | current = createModelElementForParent(grammarAccess.getModelEntryRule()); | 3047 | if (current==null) { |
3401 | } | 3048 | current = createModelElementForParent(grammarAccess.getModelEntryRule()); |
3402 | set( | 3049 | } |
3403 | current, | 3050 | set( |
3404 | "path", | 3051 | current, |
3405 | lv_path_0_0, | 3052 | "path", |
3406 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); | 3053 | lv_path_0_0, |
3407 | afterParserOrEnumRuleCall(); | 3054 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); |
3408 | 3055 | afterParserOrEnumRuleCall(); | |
3409 | } | 3056 | |
3410 | 3057 | ||
3411 | } | 3058 | } |
3412 | 3059 | ||
@@ -3416,11 +3063,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3416 | 3063 | ||
3417 | } | 3064 | } |
3418 | 3065 | ||
3419 | if ( state.backtracking==0 ) { | ||
3420 | 3066 | ||
3421 | leaveRule(); | 3067 | leaveRule(); |
3422 | 3068 | ||
3423 | } | ||
3424 | } | 3069 | } |
3425 | 3070 | ||
3426 | catch (RecognitionException re) { | 3071 | catch (RecognitionException re) { |
@@ -3435,7 +3080,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3435 | 3080 | ||
3436 | 3081 | ||
3437 | // $ANTLR start "entryRuleFolderEntry" | 3082 | // $ANTLR start "entryRuleFolderEntry" |
3438 | // InternalApplicationConfiguration.g:1100:1: entryRuleFolderEntry returns [EObject current=null] : iv_ruleFolderEntry= ruleFolderEntry EOF ; | 3083 | // InternalApplicationConfiguration.g:1097:1: entryRuleFolderEntry returns [EObject current=null] : iv_ruleFolderEntry= ruleFolderEntry EOF ; |
3439 | public final EObject entryRuleFolderEntry() throws RecognitionException { | 3084 | public final EObject entryRuleFolderEntry() throws RecognitionException { |
3440 | EObject current = null; | 3085 | EObject current = null; |
3441 | 3086 | ||
@@ -3443,21 +3088,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3443 | 3088 | ||
3444 | 3089 | ||
3445 | try { | 3090 | try { |
3446 | // InternalApplicationConfiguration.g:1100:52: (iv_ruleFolderEntry= ruleFolderEntry EOF ) | 3091 | // InternalApplicationConfiguration.g:1097:52: (iv_ruleFolderEntry= ruleFolderEntry EOF ) |
3447 | // InternalApplicationConfiguration.g:1101:2: iv_ruleFolderEntry= ruleFolderEntry EOF | 3092 | // InternalApplicationConfiguration.g:1098:2: iv_ruleFolderEntry= ruleFolderEntry EOF |
3448 | { | 3093 | { |
3449 | if ( state.backtracking==0 ) { | 3094 | newCompositeNode(grammarAccess.getFolderEntryRule()); |
3450 | newCompositeNode(grammarAccess.getFolderEntryRule()); | ||
3451 | } | ||
3452 | pushFollow(FOLLOW_1); | 3095 | pushFollow(FOLLOW_1); |
3453 | iv_ruleFolderEntry=ruleFolderEntry(); | 3096 | iv_ruleFolderEntry=ruleFolderEntry(); |
3454 | 3097 | ||
3455 | state._fsp--; | 3098 | state._fsp--; |
3456 | if (state.failed) return current; | 3099 | |
3457 | if ( state.backtracking==0 ) { | 3100 | current =iv_ruleFolderEntry; |
3458 | current =iv_ruleFolderEntry; | 3101 | match(input,EOF,FOLLOW_2); |
3459 | } | ||
3460 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
3461 | 3102 | ||
3462 | } | 3103 | } |
3463 | 3104 | ||
@@ -3475,7 +3116,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3475 | 3116 | ||
3476 | 3117 | ||
3477 | // $ANTLR start "ruleFolderEntry" | 3118 | // $ANTLR start "ruleFolderEntry" |
3478 | // InternalApplicationConfiguration.g:1107:1: ruleFolderEntry returns [EObject current=null] : (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ; | 3119 | // InternalApplicationConfiguration.g:1104:1: ruleFolderEntry returns [EObject current=null] : (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ; |
3479 | public final EObject ruleFolderEntry() throws RecognitionException { | 3120 | public final EObject ruleFolderEntry() throws RecognitionException { |
3480 | EObject current = null; | 3121 | EObject current = null; |
3481 | 3122 | ||
@@ -3495,54 +3136,48 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3495 | enterRule(); | 3136 | enterRule(); |
3496 | 3137 | ||
3497 | try { | 3138 | try { |
3498 | // InternalApplicationConfiguration.g:1113:2: ( (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ) | 3139 | // InternalApplicationConfiguration.g:1110:2: ( (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ) |
3499 | // InternalApplicationConfiguration.g:1114:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) | 3140 | // InternalApplicationConfiguration.g:1111:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) |
3500 | { | 3141 | { |
3501 | // InternalApplicationConfiguration.g:1114:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) | 3142 | // InternalApplicationConfiguration.g:1111:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) |
3502 | // InternalApplicationConfiguration.g:1115:3: otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? | 3143 | // InternalApplicationConfiguration.g:1112:3: otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? |
3503 | { | 3144 | { |
3504 | otherlv_0=(Token)match(input,24,FOLLOW_18); if (state.failed) return current; | 3145 | otherlv_0=(Token)match(input,24,FOLLOW_18); |
3505 | if ( state.backtracking==0 ) { | ||
3506 | 3146 | ||
3507 | newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); | 3147 | newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); |
3508 | 3148 | ||
3509 | } | 3149 | // InternalApplicationConfiguration.g:1116:3: ( (lv_path_1_0= ruleFile ) ) |
3510 | // InternalApplicationConfiguration.g:1119:3: ( (lv_path_1_0= ruleFile ) ) | 3150 | // InternalApplicationConfiguration.g:1117:4: (lv_path_1_0= ruleFile ) |
3511 | // InternalApplicationConfiguration.g:1120:4: (lv_path_1_0= ruleFile ) | ||
3512 | { | 3151 | { |
3513 | // InternalApplicationConfiguration.g:1120:4: (lv_path_1_0= ruleFile ) | 3152 | // InternalApplicationConfiguration.g:1117:4: (lv_path_1_0= ruleFile ) |
3514 | // InternalApplicationConfiguration.g:1121:5: lv_path_1_0= ruleFile | 3153 | // InternalApplicationConfiguration.g:1118:5: lv_path_1_0= ruleFile |
3515 | { | 3154 | { |
3516 | if ( state.backtracking==0 ) { | ||
3517 | 3155 | ||
3518 | newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); | 3156 | newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); |
3519 | 3157 | ||
3520 | } | ||
3521 | pushFollow(FOLLOW_13); | 3158 | pushFollow(FOLLOW_13); |
3522 | lv_path_1_0=ruleFile(); | 3159 | lv_path_1_0=ruleFile(); |
3523 | 3160 | ||
3524 | state._fsp--; | 3161 | state._fsp--; |
3525 | if (state.failed) return current; | ||
3526 | if ( state.backtracking==0 ) { | ||
3527 | 3162 | ||
3528 | if (current==null) { | 3163 | |
3529 | current = createModelElementForParent(grammarAccess.getFolderEntryRule()); | 3164 | if (current==null) { |
3530 | } | 3165 | current = createModelElementForParent(grammarAccess.getFolderEntryRule()); |
3531 | set( | 3166 | } |
3532 | current, | 3167 | set( |
3533 | "path", | 3168 | current, |
3534 | lv_path_1_0, | 3169 | "path", |
3535 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); | 3170 | lv_path_1_0, |
3536 | afterParserOrEnumRuleCall(); | 3171 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); |
3537 | 3172 | afterParserOrEnumRuleCall(); | |
3538 | } | 3173 | |
3539 | 3174 | ||
3540 | } | 3175 | } |
3541 | 3176 | ||
3542 | 3177 | ||
3543 | } | 3178 | } |
3544 | 3179 | ||
3545 | // InternalApplicationConfiguration.g:1138:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? | 3180 | // InternalApplicationConfiguration.g:1135:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? |
3546 | int alt18=2; | 3181 | int alt18=2; |
3547 | int LA18_0 = input.LA(1); | 3182 | int LA18_0 = input.LA(1); |
3548 | 3183 | ||
@@ -3551,56 +3186,48 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3551 | } | 3186 | } |
3552 | switch (alt18) { | 3187 | switch (alt18) { |
3553 | case 1 : | 3188 | case 1 : |
3554 | // InternalApplicationConfiguration.g:1139:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' | 3189 | // InternalApplicationConfiguration.g:1136:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' |
3555 | { | 3190 | { |
3556 | otherlv_2=(Token)match(input,21,FOLLOW_14); if (state.failed) return current; | 3191 | otherlv_2=(Token)match(input,21,FOLLOW_14); |
3557 | if ( state.backtracking==0 ) { | ||
3558 | 3192 | ||
3559 | newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); | 3193 | newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); |
3560 | 3194 | ||
3561 | } | 3195 | otherlv_3=(Token)match(input,17,FOLLOW_18); |
3562 | otherlv_3=(Token)match(input,17,FOLLOW_18); if (state.failed) return current; | ||
3563 | if ( state.backtracking==0 ) { | ||
3564 | 3196 | ||
3565 | newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); | 3197 | newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); |
3566 | 3198 | ||
3567 | } | 3199 | // InternalApplicationConfiguration.g:1144:4: ( (lv_exclusion_4_0= ruleModelEntry ) ) |
3568 | // InternalApplicationConfiguration.g:1147:4: ( (lv_exclusion_4_0= ruleModelEntry ) ) | 3200 | // InternalApplicationConfiguration.g:1145:5: (lv_exclusion_4_0= ruleModelEntry ) |
3569 | // InternalApplicationConfiguration.g:1148:5: (lv_exclusion_4_0= ruleModelEntry ) | ||
3570 | { | 3201 | { |
3571 | // InternalApplicationConfiguration.g:1148:5: (lv_exclusion_4_0= ruleModelEntry ) | 3202 | // InternalApplicationConfiguration.g:1145:5: (lv_exclusion_4_0= ruleModelEntry ) |
3572 | // InternalApplicationConfiguration.g:1149:6: lv_exclusion_4_0= ruleModelEntry | 3203 | // InternalApplicationConfiguration.g:1146:6: lv_exclusion_4_0= ruleModelEntry |
3573 | { | 3204 | { |
3574 | if ( state.backtracking==0 ) { | ||
3575 | 3205 | ||
3576 | newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); | 3206 | newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); |
3577 | 3207 | ||
3578 | } | ||
3579 | pushFollow(FOLLOW_12); | 3208 | pushFollow(FOLLOW_12); |
3580 | lv_exclusion_4_0=ruleModelEntry(); | 3209 | lv_exclusion_4_0=ruleModelEntry(); |
3581 | 3210 | ||
3582 | state._fsp--; | 3211 | state._fsp--; |
3583 | if (state.failed) return current; | 3212 | |
3584 | if ( state.backtracking==0 ) { | 3213 | |
3585 | 3214 | if (current==null) { | |
3586 | if (current==null) { | 3215 | current = createModelElementForParent(grammarAccess.getFolderEntryRule()); |
3587 | current = createModelElementForParent(grammarAccess.getFolderEntryRule()); | 3216 | } |
3588 | } | 3217 | add( |
3589 | add( | 3218 | current, |
3590 | current, | 3219 | "exclusion", |
3591 | "exclusion", | 3220 | lv_exclusion_4_0, |
3592 | lv_exclusion_4_0, | 3221 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); |
3593 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); | 3222 | afterParserOrEnumRuleCall(); |
3594 | afterParserOrEnumRuleCall(); | 3223 | |
3595 | |||
3596 | } | ||
3597 | 3224 | ||
3598 | } | 3225 | } |
3599 | 3226 | ||
3600 | 3227 | ||
3601 | } | 3228 | } |
3602 | 3229 | ||
3603 | // InternalApplicationConfiguration.g:1166:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* | 3230 | // InternalApplicationConfiguration.g:1163:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* |
3604 | loop17: | 3231 | loop17: |
3605 | do { | 3232 | do { |
3606 | int alt17=2; | 3233 | int alt17=2; |
@@ -3613,43 +3240,37 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3613 | 3240 | ||
3614 | switch (alt17) { | 3241 | switch (alt17) { |
3615 | case 1 : | 3242 | case 1 : |
3616 | // InternalApplicationConfiguration.g:1167:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) | 3243 | // InternalApplicationConfiguration.g:1164:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) |
3617 | { | 3244 | { |
3618 | otherlv_5=(Token)match(input,18,FOLLOW_18); if (state.failed) return current; | 3245 | otherlv_5=(Token)match(input,18,FOLLOW_18); |
3619 | if ( state.backtracking==0 ) { | ||
3620 | 3246 | ||
3621 | newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); | 3247 | newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); |
3622 | 3248 | ||
3623 | } | 3249 | // InternalApplicationConfiguration.g:1168:5: ( (lv_exclusion_6_0= ruleModelEntry ) ) |
3624 | // InternalApplicationConfiguration.g:1171:5: ( (lv_exclusion_6_0= ruleModelEntry ) ) | 3250 | // InternalApplicationConfiguration.g:1169:6: (lv_exclusion_6_0= ruleModelEntry ) |
3625 | // InternalApplicationConfiguration.g:1172:6: (lv_exclusion_6_0= ruleModelEntry ) | ||
3626 | { | 3251 | { |
3627 | // InternalApplicationConfiguration.g:1172:6: (lv_exclusion_6_0= ruleModelEntry ) | 3252 | // InternalApplicationConfiguration.g:1169:6: (lv_exclusion_6_0= ruleModelEntry ) |
3628 | // InternalApplicationConfiguration.g:1173:7: lv_exclusion_6_0= ruleModelEntry | 3253 | // InternalApplicationConfiguration.g:1170:7: lv_exclusion_6_0= ruleModelEntry |
3629 | { | 3254 | { |
3630 | if ( state.backtracking==0 ) { | ||
3631 | 3255 | ||
3632 | newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); | 3256 | newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); |
3633 | 3257 | ||
3634 | } | ||
3635 | pushFollow(FOLLOW_12); | 3258 | pushFollow(FOLLOW_12); |
3636 | lv_exclusion_6_0=ruleModelEntry(); | 3259 | lv_exclusion_6_0=ruleModelEntry(); |
3637 | 3260 | ||
3638 | state._fsp--; | 3261 | state._fsp--; |
3639 | if (state.failed) return current; | 3262 | |
3640 | if ( state.backtracking==0 ) { | 3263 | |
3641 | 3264 | if (current==null) { | |
3642 | if (current==null) { | 3265 | current = createModelElementForParent(grammarAccess.getFolderEntryRule()); |
3643 | current = createModelElementForParent(grammarAccess.getFolderEntryRule()); | 3266 | } |
3644 | } | 3267 | add( |
3645 | add( | 3268 | current, |
3646 | current, | 3269 | "exclusion", |
3647 | "exclusion", | 3270 | lv_exclusion_6_0, |
3648 | lv_exclusion_6_0, | 3271 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); |
3649 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); | 3272 | afterParserOrEnumRuleCall(); |
3650 | afterParserOrEnumRuleCall(); | 3273 | |
3651 | |||
3652 | } | ||
3653 | 3274 | ||
3654 | } | 3275 | } |
3655 | 3276 | ||
@@ -3665,12 +3286,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3665 | } | 3286 | } |
3666 | } while (true); | 3287 | } while (true); |
3667 | 3288 | ||
3668 | otherlv_7=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; | 3289 | otherlv_7=(Token)match(input,19,FOLLOW_2); |
3669 | if ( state.backtracking==0 ) { | ||
3670 | 3290 | ||
3671 | newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); | 3291 | newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); |
3672 | 3292 | ||
3673 | } | ||
3674 | 3293 | ||
3675 | } | 3294 | } |
3676 | break; | 3295 | break; |
@@ -3683,11 +3302,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3683 | 3302 | ||
3684 | } | 3303 | } |
3685 | 3304 | ||
3686 | if ( state.backtracking==0 ) { | ||
3687 | 3305 | ||
3688 | leaveRule(); | 3306 | leaveRule(); |
3689 | 3307 | ||
3690 | } | ||
3691 | } | 3308 | } |
3692 | 3309 | ||
3693 | catch (RecognitionException re) { | 3310 | catch (RecognitionException re) { |
@@ -3702,7 +3319,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3702 | 3319 | ||
3703 | 3320 | ||
3704 | // $ANTLR start "entryRulePartialModelDeclaration" | 3321 | // $ANTLR start "entryRulePartialModelDeclaration" |
3705 | // InternalApplicationConfiguration.g:1200:1: entryRulePartialModelDeclaration returns [EObject current=null] : iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ; | 3322 | // InternalApplicationConfiguration.g:1197:1: entryRulePartialModelDeclaration returns [EObject current=null] : iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ; |
3706 | public final EObject entryRulePartialModelDeclaration() throws RecognitionException { | 3323 | public final EObject entryRulePartialModelDeclaration() throws RecognitionException { |
3707 | EObject current = null; | 3324 | EObject current = null; |
3708 | 3325 | ||
@@ -3710,21 +3327,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3710 | 3327 | ||
3711 | 3328 | ||
3712 | try { | 3329 | try { |
3713 | // InternalApplicationConfiguration.g:1200:64: (iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ) | 3330 | // InternalApplicationConfiguration.g:1197:64: (iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ) |
3714 | // InternalApplicationConfiguration.g:1201:2: iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF | 3331 | // InternalApplicationConfiguration.g:1198:2: iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF |
3715 | { | 3332 | { |
3716 | if ( state.backtracking==0 ) { | 3333 | newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); |
3717 | newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); | ||
3718 | } | ||
3719 | pushFollow(FOLLOW_1); | 3334 | pushFollow(FOLLOW_1); |
3720 | iv_rulePartialModelDeclaration=rulePartialModelDeclaration(); | 3335 | iv_rulePartialModelDeclaration=rulePartialModelDeclaration(); |
3721 | 3336 | ||
3722 | state._fsp--; | 3337 | state._fsp--; |
3723 | if (state.failed) return current; | 3338 | |
3724 | if ( state.backtracking==0 ) { | 3339 | current =iv_rulePartialModelDeclaration; |
3725 | current =iv_rulePartialModelDeclaration; | 3340 | match(input,EOF,FOLLOW_2); |
3726 | } | ||
3727 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
3728 | 3341 | ||
3729 | } | 3342 | } |
3730 | 3343 | ||
@@ -3742,7 +3355,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3742 | 3355 | ||
3743 | 3356 | ||
3744 | // $ANTLR start "rulePartialModelDeclaration" | 3357 | // $ANTLR start "rulePartialModelDeclaration" |
3745 | // InternalApplicationConfiguration.g:1207:1: rulePartialModelDeclaration returns [EObject current=null] : (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ; | 3358 | // InternalApplicationConfiguration.g:1204:1: rulePartialModelDeclaration returns [EObject current=null] : (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ; |
3746 | public final EObject rulePartialModelDeclaration() throws RecognitionException { | 3359 | public final EObject rulePartialModelDeclaration() throws RecognitionException { |
3747 | EObject current = null; | 3360 | EObject current = null; |
3748 | 3361 | ||
@@ -3755,77 +3368,67 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3755 | enterRule(); | 3368 | enterRule(); |
3756 | 3369 | ||
3757 | try { | 3370 | try { |
3758 | // InternalApplicationConfiguration.g:1213:2: ( (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ) | 3371 | // InternalApplicationConfiguration.g:1210:2: ( (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ) |
3759 | // InternalApplicationConfiguration.g:1214:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) | 3372 | // InternalApplicationConfiguration.g:1211:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) |
3760 | { | 3373 | { |
3761 | // InternalApplicationConfiguration.g:1214:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) | 3374 | // InternalApplicationConfiguration.g:1211:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) |
3762 | // InternalApplicationConfiguration.g:1215:3: otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) | 3375 | // InternalApplicationConfiguration.g:1212:3: otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) |
3763 | { | 3376 | { |
3764 | otherlv_0=(Token)match(input,25,FOLLOW_6); if (state.failed) return current; | 3377 | otherlv_0=(Token)match(input,25,FOLLOW_6); |
3765 | if ( state.backtracking==0 ) { | ||
3766 | 3378 | ||
3767 | newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); | 3379 | newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); |
3768 | 3380 | ||
3769 | } | 3381 | // InternalApplicationConfiguration.g:1216:3: ( (lv_name_1_0= RULE_ID ) ) |
3770 | // InternalApplicationConfiguration.g:1219:3: ( (lv_name_1_0= RULE_ID ) ) | 3382 | // InternalApplicationConfiguration.g:1217:4: (lv_name_1_0= RULE_ID ) |
3771 | // InternalApplicationConfiguration.g:1220:4: (lv_name_1_0= RULE_ID ) | ||
3772 | { | 3383 | { |
3773 | // InternalApplicationConfiguration.g:1220:4: (lv_name_1_0= RULE_ID ) | 3384 | // InternalApplicationConfiguration.g:1217:4: (lv_name_1_0= RULE_ID ) |
3774 | // InternalApplicationConfiguration.g:1221:5: lv_name_1_0= RULE_ID | 3385 | // InternalApplicationConfiguration.g:1218:5: lv_name_1_0= RULE_ID |
3775 | { | 3386 | { |
3776 | lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current; | 3387 | lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); |
3777 | if ( state.backtracking==0 ) { | ||
3778 | 3388 | ||
3779 | newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); | 3389 | newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); |
3780 | 3390 | ||
3781 | } | ||
3782 | if ( state.backtracking==0 ) { | ||
3783 | 3391 | ||
3784 | if (current==null) { | 3392 | if (current==null) { |
3785 | current = createModelElement(grammarAccess.getPartialModelDeclarationRule()); | 3393 | current = createModelElement(grammarAccess.getPartialModelDeclarationRule()); |
3786 | } | 3394 | } |
3787 | setWithLastConsumed( | 3395 | setWithLastConsumed( |
3788 | current, | 3396 | current, |
3789 | "name", | 3397 | "name", |
3790 | lv_name_1_0, | 3398 | lv_name_1_0, |
3791 | "org.eclipse.xtext.common.Terminals.ID"); | 3399 | "org.eclipse.xtext.common.Terminals.ID"); |
3792 | 3400 | ||
3793 | } | ||
3794 | 3401 | ||
3795 | } | 3402 | } |
3796 | 3403 | ||
3797 | 3404 | ||
3798 | } | 3405 | } |
3799 | 3406 | ||
3800 | // InternalApplicationConfiguration.g:1237:3: ( (lv_specification_2_0= rulePartialModelSpecification ) ) | 3407 | // InternalApplicationConfiguration.g:1234:3: ( (lv_specification_2_0= rulePartialModelSpecification ) ) |
3801 | // InternalApplicationConfiguration.g:1238:4: (lv_specification_2_0= rulePartialModelSpecification ) | 3408 | // InternalApplicationConfiguration.g:1235:4: (lv_specification_2_0= rulePartialModelSpecification ) |
3802 | { | 3409 | { |
3803 | // InternalApplicationConfiguration.g:1238:4: (lv_specification_2_0= rulePartialModelSpecification ) | 3410 | // InternalApplicationConfiguration.g:1235:4: (lv_specification_2_0= rulePartialModelSpecification ) |
3804 | // InternalApplicationConfiguration.g:1239:5: lv_specification_2_0= rulePartialModelSpecification | 3411 | // InternalApplicationConfiguration.g:1236:5: lv_specification_2_0= rulePartialModelSpecification |
3805 | { | 3412 | { |
3806 | if ( state.backtracking==0 ) { | ||
3807 | 3413 | ||
3808 | newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); | 3414 | newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); |
3809 | 3415 | ||
3810 | } | ||
3811 | pushFollow(FOLLOW_2); | 3416 | pushFollow(FOLLOW_2); |
3812 | lv_specification_2_0=rulePartialModelSpecification(); | 3417 | lv_specification_2_0=rulePartialModelSpecification(); |
3813 | 3418 | ||
3814 | state._fsp--; | 3419 | state._fsp--; |
3815 | if (state.failed) return current; | ||
3816 | if ( state.backtracking==0 ) { | ||
3817 | 3420 | ||
3818 | if (current==null) { | 3421 | |
3819 | current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule()); | 3422 | if (current==null) { |
3820 | } | 3423 | current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule()); |
3821 | set( | 3424 | } |
3822 | current, | 3425 | set( |
3823 | "specification", | 3426 | current, |
3824 | lv_specification_2_0, | 3427 | "specification", |
3825 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); | 3428 | lv_specification_2_0, |
3826 | afterParserOrEnumRuleCall(); | 3429 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); |
3827 | 3430 | afterParserOrEnumRuleCall(); | |
3828 | } | 3431 | |
3829 | 3432 | ||
3830 | } | 3433 | } |
3831 | 3434 | ||
@@ -3838,11 +3441,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3838 | 3441 | ||
3839 | } | 3442 | } |
3840 | 3443 | ||
3841 | if ( state.backtracking==0 ) { | ||
3842 | 3444 | ||
3843 | leaveRule(); | 3445 | leaveRule(); |
3844 | 3446 | ||
3845 | } | ||
3846 | } | 3447 | } |
3847 | 3448 | ||
3848 | catch (RecognitionException re) { | 3449 | catch (RecognitionException re) { |
@@ -3857,7 +3458,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3857 | 3458 | ||
3858 | 3459 | ||
3859 | // $ANTLR start "entryRulePartialModelReference" | 3460 | // $ANTLR start "entryRulePartialModelReference" |
3860 | // InternalApplicationConfiguration.g:1260:1: entryRulePartialModelReference returns [EObject current=null] : iv_rulePartialModelReference= rulePartialModelReference EOF ; | 3461 | // InternalApplicationConfiguration.g:1257:1: entryRulePartialModelReference returns [EObject current=null] : iv_rulePartialModelReference= rulePartialModelReference EOF ; |
3861 | public final EObject entryRulePartialModelReference() throws RecognitionException { | 3462 | public final EObject entryRulePartialModelReference() throws RecognitionException { |
3862 | EObject current = null; | 3463 | EObject current = null; |
3863 | 3464 | ||
@@ -3865,21 +3466,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3865 | 3466 | ||
3866 | 3467 | ||
3867 | try { | 3468 | try { |
3868 | // InternalApplicationConfiguration.g:1260:62: (iv_rulePartialModelReference= rulePartialModelReference EOF ) | 3469 | // InternalApplicationConfiguration.g:1257:62: (iv_rulePartialModelReference= rulePartialModelReference EOF ) |
3869 | // InternalApplicationConfiguration.g:1261:2: iv_rulePartialModelReference= rulePartialModelReference EOF | 3470 | // InternalApplicationConfiguration.g:1258:2: iv_rulePartialModelReference= rulePartialModelReference EOF |
3870 | { | 3471 | { |
3871 | if ( state.backtracking==0 ) { | 3472 | newCompositeNode(grammarAccess.getPartialModelReferenceRule()); |
3872 | newCompositeNode(grammarAccess.getPartialModelReferenceRule()); | ||
3873 | } | ||
3874 | pushFollow(FOLLOW_1); | 3473 | pushFollow(FOLLOW_1); |
3875 | iv_rulePartialModelReference=rulePartialModelReference(); | 3474 | iv_rulePartialModelReference=rulePartialModelReference(); |
3876 | 3475 | ||
3877 | state._fsp--; | 3476 | state._fsp--; |
3878 | if (state.failed) return current; | 3477 | |
3879 | if ( state.backtracking==0 ) { | 3478 | current =iv_rulePartialModelReference; |
3880 | current =iv_rulePartialModelReference; | 3479 | match(input,EOF,FOLLOW_2); |
3881 | } | ||
3882 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
3883 | 3480 | ||
3884 | } | 3481 | } |
3885 | 3482 | ||
@@ -3897,7 +3494,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3897 | 3494 | ||
3898 | 3495 | ||
3899 | // $ANTLR start "rulePartialModelReference" | 3496 | // $ANTLR start "rulePartialModelReference" |
3900 | // InternalApplicationConfiguration.g:1267:1: rulePartialModelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; | 3497 | // InternalApplicationConfiguration.g:1264:1: rulePartialModelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; |
3901 | public final EObject rulePartialModelReference() throws RecognitionException { | 3498 | public final EObject rulePartialModelReference() throws RecognitionException { |
3902 | EObject current = null; | 3499 | EObject current = null; |
3903 | 3500 | ||
@@ -3907,28 +3504,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3907 | enterRule(); | 3504 | enterRule(); |
3908 | 3505 | ||
3909 | try { | 3506 | try { |
3910 | // InternalApplicationConfiguration.g:1273:2: ( ( (otherlv_0= RULE_ID ) ) ) | 3507 | // InternalApplicationConfiguration.g:1270:2: ( ( (otherlv_0= RULE_ID ) ) ) |
3911 | // InternalApplicationConfiguration.g:1274:2: ( (otherlv_0= RULE_ID ) ) | 3508 | // InternalApplicationConfiguration.g:1271:2: ( (otherlv_0= RULE_ID ) ) |
3912 | { | 3509 | { |
3913 | // InternalApplicationConfiguration.g:1274:2: ( (otherlv_0= RULE_ID ) ) | 3510 | // InternalApplicationConfiguration.g:1271:2: ( (otherlv_0= RULE_ID ) ) |
3914 | // InternalApplicationConfiguration.g:1275:3: (otherlv_0= RULE_ID ) | 3511 | // InternalApplicationConfiguration.g:1272:3: (otherlv_0= RULE_ID ) |
3915 | { | 3512 | { |
3916 | // InternalApplicationConfiguration.g:1275:3: (otherlv_0= RULE_ID ) | 3513 | // InternalApplicationConfiguration.g:1272:3: (otherlv_0= RULE_ID ) |
3917 | // InternalApplicationConfiguration.g:1276:4: otherlv_0= RULE_ID | 3514 | // InternalApplicationConfiguration.g:1273:4: otherlv_0= RULE_ID |
3918 | { | 3515 | { |
3919 | if ( state.backtracking==0 ) { | ||
3920 | 3516 | ||
3921 | if (current==null) { | 3517 | if (current==null) { |
3922 | current = createModelElement(grammarAccess.getPartialModelReferenceRule()); | 3518 | current = createModelElement(grammarAccess.getPartialModelReferenceRule()); |
3923 | } | 3519 | } |
3924 | 3520 | ||
3925 | } | 3521 | otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); |
3926 | otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; | ||
3927 | if ( state.backtracking==0 ) { | ||
3928 | 3522 | ||
3929 | newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); | 3523 | newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); |
3930 | 3524 | ||
3931 | } | ||
3932 | 3525 | ||
3933 | } | 3526 | } |
3934 | 3527 | ||
@@ -3938,11 +3531,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3938 | 3531 | ||
3939 | } | 3532 | } |
3940 | 3533 | ||
3941 | if ( state.backtracking==0 ) { | ||
3942 | 3534 | ||
3943 | leaveRule(); | 3535 | leaveRule(); |
3944 | 3536 | ||
3945 | } | ||
3946 | } | 3537 | } |
3947 | 3538 | ||
3948 | catch (RecognitionException re) { | 3539 | catch (RecognitionException re) { |
@@ -3957,7 +3548,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3957 | 3548 | ||
3958 | 3549 | ||
3959 | // $ANTLR start "entryRulePartialModel" | 3550 | // $ANTLR start "entryRulePartialModel" |
3960 | // InternalApplicationConfiguration.g:1290:1: entryRulePartialModel returns [EObject current=null] : iv_rulePartialModel= rulePartialModel EOF ; | 3551 | // InternalApplicationConfiguration.g:1287:1: entryRulePartialModel returns [EObject current=null] : iv_rulePartialModel= rulePartialModel EOF ; |
3961 | public final EObject entryRulePartialModel() throws RecognitionException { | 3552 | public final EObject entryRulePartialModel() throws RecognitionException { |
3962 | EObject current = null; | 3553 | EObject current = null; |
3963 | 3554 | ||
@@ -3965,21 +3556,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3965 | 3556 | ||
3966 | 3557 | ||
3967 | try { | 3558 | try { |
3968 | // InternalApplicationConfiguration.g:1290:53: (iv_rulePartialModel= rulePartialModel EOF ) | 3559 | // InternalApplicationConfiguration.g:1287:53: (iv_rulePartialModel= rulePartialModel EOF ) |
3969 | // InternalApplicationConfiguration.g:1291:2: iv_rulePartialModel= rulePartialModel EOF | 3560 | // InternalApplicationConfiguration.g:1288:2: iv_rulePartialModel= rulePartialModel EOF |
3970 | { | 3561 | { |
3971 | if ( state.backtracking==0 ) { | 3562 | newCompositeNode(grammarAccess.getPartialModelRule()); |
3972 | newCompositeNode(grammarAccess.getPartialModelRule()); | ||
3973 | } | ||
3974 | pushFollow(FOLLOW_1); | 3563 | pushFollow(FOLLOW_1); |
3975 | iv_rulePartialModel=rulePartialModel(); | 3564 | iv_rulePartialModel=rulePartialModel(); |
3976 | 3565 | ||
3977 | state._fsp--; | 3566 | state._fsp--; |
3978 | if (state.failed) return current; | 3567 | |
3979 | if ( state.backtracking==0 ) { | 3568 | current =iv_rulePartialModel; |
3980 | current =iv_rulePartialModel; | 3569 | match(input,EOF,FOLLOW_2); |
3981 | } | ||
3982 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
3983 | 3570 | ||
3984 | } | 3571 | } |
3985 | 3572 | ||
@@ -3997,7 +3584,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
3997 | 3584 | ||
3998 | 3585 | ||
3999 | // $ANTLR start "rulePartialModel" | 3586 | // $ANTLR start "rulePartialModel" |
4000 | // InternalApplicationConfiguration.g:1297:1: rulePartialModel returns [EObject current=null] : (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ; | 3587 | // InternalApplicationConfiguration.g:1294:1: rulePartialModel returns [EObject current=null] : (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ; |
4001 | public final EObject rulePartialModel() throws RecognitionException { | 3588 | public final EObject rulePartialModel() throws RecognitionException { |
4002 | EObject current = null; | 3589 | EObject current = null; |
4003 | 3590 | ||
@@ -4010,10 +3597,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4010 | enterRule(); | 3597 | enterRule(); |
4011 | 3598 | ||
4012 | try { | 3599 | try { |
4013 | // InternalApplicationConfiguration.g:1303:2: ( (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ) | 3600 | // InternalApplicationConfiguration.g:1300:2: ( (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ) |
4014 | // InternalApplicationConfiguration.g:1304:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) | 3601 | // InternalApplicationConfiguration.g:1301:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) |
4015 | { | 3602 | { |
4016 | // InternalApplicationConfiguration.g:1304:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) | 3603 | // InternalApplicationConfiguration.g:1301:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) |
4017 | int alt19=2; | 3604 | int alt19=2; |
4018 | int LA19_0 = input.LA(1); | 3605 | int LA19_0 = input.LA(1); |
4019 | 3606 | ||
@@ -4024,7 +3611,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4024 | alt19=2; | 3611 | alt19=2; |
4025 | } | 3612 | } |
4026 | else { | 3613 | else { |
4027 | if (state.backtracking>0) {state.failed=true; return current;} | ||
4028 | NoViableAltException nvae = | 3614 | NoViableAltException nvae = |
4029 | new NoViableAltException("", 19, 0, input); | 3615 | new NoViableAltException("", 19, 0, input); |
4030 | 3616 | ||
@@ -4032,46 +3618,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4032 | } | 3618 | } |
4033 | switch (alt19) { | 3619 | switch (alt19) { |
4034 | case 1 : | 3620 | case 1 : |
4035 | // InternalApplicationConfiguration.g:1305:3: this_PartialModelSpecification_0= rulePartialModelSpecification | 3621 | // InternalApplicationConfiguration.g:1302:3: this_PartialModelSpecification_0= rulePartialModelSpecification |
4036 | { | 3622 | { |
4037 | if ( state.backtracking==0 ) { | ||
4038 | 3623 | ||
4039 | newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); | 3624 | newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); |
4040 | 3625 | ||
4041 | } | ||
4042 | pushFollow(FOLLOW_2); | 3626 | pushFollow(FOLLOW_2); |
4043 | this_PartialModelSpecification_0=rulePartialModelSpecification(); | 3627 | this_PartialModelSpecification_0=rulePartialModelSpecification(); |
4044 | 3628 | ||
4045 | state._fsp--; | 3629 | state._fsp--; |
4046 | if (state.failed) return current; | ||
4047 | if ( state.backtracking==0 ) { | ||
4048 | 3630 | ||
4049 | current = this_PartialModelSpecification_0; | 3631 | |
4050 | afterParserOrEnumRuleCall(); | 3632 | current = this_PartialModelSpecification_0; |
4051 | 3633 | afterParserOrEnumRuleCall(); | |
4052 | } | 3634 | |
4053 | 3635 | ||
4054 | } | 3636 | } |
4055 | break; | 3637 | break; |
4056 | case 2 : | 3638 | case 2 : |
4057 | // InternalApplicationConfiguration.g:1314:3: this_PartialModelReference_1= rulePartialModelReference | 3639 | // InternalApplicationConfiguration.g:1311:3: this_PartialModelReference_1= rulePartialModelReference |
4058 | { | 3640 | { |
4059 | if ( state.backtracking==0 ) { | ||
4060 | 3641 | ||
4061 | newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); | 3642 | newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); |
4062 | 3643 | ||
4063 | } | ||
4064 | pushFollow(FOLLOW_2); | 3644 | pushFollow(FOLLOW_2); |
4065 | this_PartialModelReference_1=rulePartialModelReference(); | 3645 | this_PartialModelReference_1=rulePartialModelReference(); |
4066 | 3646 | ||
4067 | state._fsp--; | 3647 | state._fsp--; |
4068 | if (state.failed) return current; | ||
4069 | if ( state.backtracking==0 ) { | ||
4070 | 3648 | ||
4071 | current = this_PartialModelReference_1; | 3649 | |
4072 | afterParserOrEnumRuleCall(); | 3650 | current = this_PartialModelReference_1; |
4073 | 3651 | afterParserOrEnumRuleCall(); | |
4074 | } | 3652 | |
4075 | 3653 | ||
4076 | } | 3654 | } |
4077 | break; | 3655 | break; |
@@ -4081,11 +3659,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4081 | 3659 | ||
4082 | } | 3660 | } |
4083 | 3661 | ||
4084 | if ( state.backtracking==0 ) { | ||
4085 | 3662 | ||
4086 | leaveRule(); | 3663 | leaveRule(); |
4087 | 3664 | ||
4088 | } | ||
4089 | } | 3665 | } |
4090 | 3666 | ||
4091 | catch (RecognitionException re) { | 3667 | catch (RecognitionException re) { |
@@ -4100,7 +3676,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4100 | 3676 | ||
4101 | 3677 | ||
4102 | // $ANTLR start "entryRulePatternSpecification" | 3678 | // $ANTLR start "entryRulePatternSpecification" |
4103 | // InternalApplicationConfiguration.g:1326:1: entryRulePatternSpecification returns [EObject current=null] : iv_rulePatternSpecification= rulePatternSpecification EOF ; | 3679 | // InternalApplicationConfiguration.g:1323:1: entryRulePatternSpecification returns [EObject current=null] : iv_rulePatternSpecification= rulePatternSpecification EOF ; |
4104 | public final EObject entryRulePatternSpecification() throws RecognitionException { | 3680 | public final EObject entryRulePatternSpecification() throws RecognitionException { |
4105 | EObject current = null; | 3681 | EObject current = null; |
4106 | 3682 | ||
@@ -4108,21 +3684,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4108 | 3684 | ||
4109 | 3685 | ||
4110 | try { | 3686 | try { |
4111 | // InternalApplicationConfiguration.g:1326:61: (iv_rulePatternSpecification= rulePatternSpecification EOF ) | 3687 | // InternalApplicationConfiguration.g:1323:61: (iv_rulePatternSpecification= rulePatternSpecification EOF ) |
4112 | // InternalApplicationConfiguration.g:1327:2: iv_rulePatternSpecification= rulePatternSpecification EOF | 3688 | // InternalApplicationConfiguration.g:1324:2: iv_rulePatternSpecification= rulePatternSpecification EOF |
4113 | { | 3689 | { |
4114 | if ( state.backtracking==0 ) { | 3690 | newCompositeNode(grammarAccess.getPatternSpecificationRule()); |
4115 | newCompositeNode(grammarAccess.getPatternSpecificationRule()); | ||
4116 | } | ||
4117 | pushFollow(FOLLOW_1); | 3691 | pushFollow(FOLLOW_1); |
4118 | iv_rulePatternSpecification=rulePatternSpecification(); | 3692 | iv_rulePatternSpecification=rulePatternSpecification(); |
4119 | 3693 | ||
4120 | state._fsp--; | 3694 | state._fsp--; |
4121 | if (state.failed) return current; | 3695 | |
4122 | if ( state.backtracking==0 ) { | 3696 | current =iv_rulePatternSpecification; |
4123 | current =iv_rulePatternSpecification; | 3697 | match(input,EOF,FOLLOW_2); |
4124 | } | ||
4125 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
4126 | 3698 | ||
4127 | } | 3699 | } |
4128 | 3700 | ||
@@ -4140,7 +3712,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4140 | 3712 | ||
4141 | 3713 | ||
4142 | // $ANTLR start "rulePatternSpecification" | 3714 | // $ANTLR start "rulePatternSpecification" |
4143 | // InternalApplicationConfiguration.g:1333:1: rulePatternSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ; | 3715 | // InternalApplicationConfiguration.g:1330:1: rulePatternSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ; |
4144 | public final EObject rulePatternSpecification() throws RecognitionException { | 3716 | public final EObject rulePatternSpecification() throws RecognitionException { |
4145 | EObject current = null; | 3717 | EObject current = null; |
4146 | 3718 | ||
@@ -4156,54 +3728,48 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4156 | enterRule(); | 3728 | enterRule(); |
4157 | 3729 | ||
4158 | try { | 3730 | try { |
4159 | // InternalApplicationConfiguration.g:1339:2: ( (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ) | 3731 | // InternalApplicationConfiguration.g:1336:2: ( (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ) |
4160 | // InternalApplicationConfiguration.g:1340:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) | 3732 | // InternalApplicationConfiguration.g:1337:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) |
4161 | { | 3733 | { |
4162 | // InternalApplicationConfiguration.g:1340:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) | 3734 | // InternalApplicationConfiguration.g:1337:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) |
4163 | // InternalApplicationConfiguration.g:1341:3: otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' | 3735 | // InternalApplicationConfiguration.g:1338:3: otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' |
4164 | { | 3736 | { |
4165 | otherlv_0=(Token)match(input,17,FOLLOW_11); if (state.failed) return current; | 3737 | otherlv_0=(Token)match(input,17,FOLLOW_11); |
4166 | if ( state.backtracking==0 ) { | ||
4167 | 3738 | ||
4168 | newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); | 3739 | newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); |
4169 | 3740 | ||
4170 | } | 3741 | // InternalApplicationConfiguration.g:1342:3: ( (lv_entries_1_0= rulePatternEntry ) ) |
4171 | // InternalApplicationConfiguration.g:1345:3: ( (lv_entries_1_0= rulePatternEntry ) ) | 3742 | // InternalApplicationConfiguration.g:1343:4: (lv_entries_1_0= rulePatternEntry ) |
4172 | // InternalApplicationConfiguration.g:1346:4: (lv_entries_1_0= rulePatternEntry ) | ||
4173 | { | 3743 | { |
4174 | // InternalApplicationConfiguration.g:1346:4: (lv_entries_1_0= rulePatternEntry ) | 3744 | // InternalApplicationConfiguration.g:1343:4: (lv_entries_1_0= rulePatternEntry ) |
4175 | // InternalApplicationConfiguration.g:1347:5: lv_entries_1_0= rulePatternEntry | 3745 | // InternalApplicationConfiguration.g:1344:5: lv_entries_1_0= rulePatternEntry |
4176 | { | 3746 | { |
4177 | if ( state.backtracking==0 ) { | ||
4178 | 3747 | ||
4179 | newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); | 3748 | newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); |
4180 | 3749 | ||
4181 | } | ||
4182 | pushFollow(FOLLOW_12); | 3750 | pushFollow(FOLLOW_12); |
4183 | lv_entries_1_0=rulePatternEntry(); | 3751 | lv_entries_1_0=rulePatternEntry(); |
4184 | 3752 | ||
4185 | state._fsp--; | 3753 | state._fsp--; |
4186 | if (state.failed) return current; | ||
4187 | if ( state.backtracking==0 ) { | ||
4188 | 3754 | ||
4189 | if (current==null) { | 3755 | |
4190 | current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); | 3756 | if (current==null) { |
4191 | } | 3757 | current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); |
4192 | add( | 3758 | } |
4193 | current, | 3759 | add( |
4194 | "entries", | 3760 | current, |
4195 | lv_entries_1_0, | 3761 | "entries", |
4196 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); | 3762 | lv_entries_1_0, |
4197 | afterParserOrEnumRuleCall(); | 3763 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); |
4198 | 3764 | afterParserOrEnumRuleCall(); | |
4199 | } | 3765 | |
4200 | 3766 | ||
4201 | } | 3767 | } |
4202 | 3768 | ||
4203 | 3769 | ||
4204 | } | 3770 | } |
4205 | 3771 | ||
4206 | // InternalApplicationConfiguration.g:1364:3: (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* | 3772 | // InternalApplicationConfiguration.g:1361:3: (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* |
4207 | loop20: | 3773 | loop20: |
4208 | do { | 3774 | do { |
4209 | int alt20=2; | 3775 | int alt20=2; |
@@ -4216,43 +3782,37 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4216 | 3782 | ||
4217 | switch (alt20) { | 3783 | switch (alt20) { |
4218 | case 1 : | 3784 | case 1 : |
4219 | // InternalApplicationConfiguration.g:1365:4: otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) | 3785 | // InternalApplicationConfiguration.g:1362:4: otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) |
4220 | { | 3786 | { |
4221 | otherlv_2=(Token)match(input,18,FOLLOW_11); if (state.failed) return current; | 3787 | otherlv_2=(Token)match(input,18,FOLLOW_11); |
4222 | if ( state.backtracking==0 ) { | ||
4223 | 3788 | ||
4224 | newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); | 3789 | newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); |
4225 | 3790 | ||
4226 | } | 3791 | // InternalApplicationConfiguration.g:1366:4: ( (lv_entries_3_0= rulePatternEntry ) ) |
4227 | // InternalApplicationConfiguration.g:1369:4: ( (lv_entries_3_0= rulePatternEntry ) ) | 3792 | // InternalApplicationConfiguration.g:1367:5: (lv_entries_3_0= rulePatternEntry ) |
4228 | // InternalApplicationConfiguration.g:1370:5: (lv_entries_3_0= rulePatternEntry ) | ||
4229 | { | 3793 | { |
4230 | // InternalApplicationConfiguration.g:1370:5: (lv_entries_3_0= rulePatternEntry ) | 3794 | // InternalApplicationConfiguration.g:1367:5: (lv_entries_3_0= rulePatternEntry ) |
4231 | // InternalApplicationConfiguration.g:1371:6: lv_entries_3_0= rulePatternEntry | 3795 | // InternalApplicationConfiguration.g:1368:6: lv_entries_3_0= rulePatternEntry |
4232 | { | 3796 | { |
4233 | if ( state.backtracking==0 ) { | ||
4234 | 3797 | ||
4235 | newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); | 3798 | newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); |
4236 | 3799 | ||
4237 | } | ||
4238 | pushFollow(FOLLOW_12); | 3800 | pushFollow(FOLLOW_12); |
4239 | lv_entries_3_0=rulePatternEntry(); | 3801 | lv_entries_3_0=rulePatternEntry(); |
4240 | 3802 | ||
4241 | state._fsp--; | 3803 | state._fsp--; |
4242 | if (state.failed) return current; | 3804 | |
4243 | if ( state.backtracking==0 ) { | 3805 | |
4244 | 3806 | if (current==null) { | |
4245 | if (current==null) { | 3807 | current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); |
4246 | current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); | 3808 | } |
4247 | } | 3809 | add( |
4248 | add( | 3810 | current, |
4249 | current, | 3811 | "entries", |
4250 | "entries", | 3812 | lv_entries_3_0, |
4251 | lv_entries_3_0, | 3813 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); |
4252 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); | 3814 | afterParserOrEnumRuleCall(); |
4253 | afterParserOrEnumRuleCall(); | 3815 | |
4254 | |||
4255 | } | ||
4256 | 3816 | ||
4257 | } | 3817 | } |
4258 | 3818 | ||
@@ -4268,23 +3828,19 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4268 | } | 3828 | } |
4269 | } while (true); | 3829 | } while (true); |
4270 | 3830 | ||
4271 | otherlv_4=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; | 3831 | otherlv_4=(Token)match(input,19,FOLLOW_2); |
4272 | if ( state.backtracking==0 ) { | ||
4273 | 3832 | ||
4274 | newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); | 3833 | newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); |
4275 | 3834 | ||
4276 | } | ||
4277 | 3835 | ||
4278 | } | 3836 | } |
4279 | 3837 | ||
4280 | 3838 | ||
4281 | } | 3839 | } |
4282 | 3840 | ||
4283 | if ( state.backtracking==0 ) { | ||
4284 | 3841 | ||
4285 | leaveRule(); | 3842 | leaveRule(); |
4286 | 3843 | ||
4287 | } | ||
4288 | } | 3844 | } |
4289 | 3845 | ||
4290 | catch (RecognitionException re) { | 3846 | catch (RecognitionException re) { |
@@ -4299,7 +3855,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4299 | 3855 | ||
4300 | 3856 | ||
4301 | // $ANTLR start "entryRulePatternEntry" | 3857 | // $ANTLR start "entryRulePatternEntry" |
4302 | // InternalApplicationConfiguration.g:1397:1: entryRulePatternEntry returns [EObject current=null] : iv_rulePatternEntry= rulePatternEntry EOF ; | 3858 | // InternalApplicationConfiguration.g:1394:1: entryRulePatternEntry returns [EObject current=null] : iv_rulePatternEntry= rulePatternEntry EOF ; |
4303 | public final EObject entryRulePatternEntry() throws RecognitionException { | 3859 | public final EObject entryRulePatternEntry() throws RecognitionException { |
4304 | EObject current = null; | 3860 | EObject current = null; |
4305 | 3861 | ||
@@ -4307,21 +3863,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4307 | 3863 | ||
4308 | 3864 | ||
4309 | try { | 3865 | try { |
4310 | // InternalApplicationConfiguration.g:1397:53: (iv_rulePatternEntry= rulePatternEntry EOF ) | 3866 | // InternalApplicationConfiguration.g:1394:53: (iv_rulePatternEntry= rulePatternEntry EOF ) |
4311 | // InternalApplicationConfiguration.g:1398:2: iv_rulePatternEntry= rulePatternEntry EOF | 3867 | // InternalApplicationConfiguration.g:1395:2: iv_rulePatternEntry= rulePatternEntry EOF |
4312 | { | 3868 | { |
4313 | if ( state.backtracking==0 ) { | 3869 | newCompositeNode(grammarAccess.getPatternEntryRule()); |
4314 | newCompositeNode(grammarAccess.getPatternEntryRule()); | ||
4315 | } | ||
4316 | pushFollow(FOLLOW_1); | 3870 | pushFollow(FOLLOW_1); |
4317 | iv_rulePatternEntry=rulePatternEntry(); | 3871 | iv_rulePatternEntry=rulePatternEntry(); |
4318 | 3872 | ||
4319 | state._fsp--; | 3873 | state._fsp--; |
4320 | if (state.failed) return current; | 3874 | |
4321 | if ( state.backtracking==0 ) { | 3875 | current =iv_rulePatternEntry; |
4322 | current =iv_rulePatternEntry; | 3876 | match(input,EOF,FOLLOW_2); |
4323 | } | ||
4324 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
4325 | 3877 | ||
4326 | } | 3878 | } |
4327 | 3879 | ||
@@ -4339,7 +3891,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4339 | 3891 | ||
4340 | 3892 | ||
4341 | // $ANTLR start "rulePatternEntry" | 3893 | // $ANTLR start "rulePatternEntry" |
4342 | // InternalApplicationConfiguration.g:1404:1: rulePatternEntry returns [EObject current=null] : (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ; | 3894 | // InternalApplicationConfiguration.g:1401:1: rulePatternEntry returns [EObject current=null] : (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ; |
4343 | public final EObject rulePatternEntry() throws RecognitionException { | 3895 | public final EObject rulePatternEntry() throws RecognitionException { |
4344 | EObject current = null; | 3896 | EObject current = null; |
4345 | 3897 | ||
@@ -4352,10 +3904,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4352 | enterRule(); | 3904 | enterRule(); |
4353 | 3905 | ||
4354 | try { | 3906 | try { |
4355 | // InternalApplicationConfiguration.g:1410:2: ( (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ) | 3907 | // InternalApplicationConfiguration.g:1407:2: ( (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ) |
4356 | // InternalApplicationConfiguration.g:1411:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) | 3908 | // InternalApplicationConfiguration.g:1408:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) |
4357 | { | 3909 | { |
4358 | // InternalApplicationConfiguration.g:1411:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) | 3910 | // InternalApplicationConfiguration.g:1408:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) |
4359 | int alt21=2; | 3911 | int alt21=2; |
4360 | int LA21_0 = input.LA(1); | 3912 | int LA21_0 = input.LA(1); |
4361 | 3913 | ||
@@ -4366,7 +3918,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4366 | alt21=2; | 3918 | alt21=2; |
4367 | } | 3919 | } |
4368 | else { | 3920 | else { |
4369 | if (state.backtracking>0) {state.failed=true; return current;} | ||
4370 | NoViableAltException nvae = | 3921 | NoViableAltException nvae = |
4371 | new NoViableAltException("", 21, 0, input); | 3922 | new NoViableAltException("", 21, 0, input); |
4372 | 3923 | ||
@@ -4374,46 +3925,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4374 | } | 3925 | } |
4375 | switch (alt21) { | 3926 | switch (alt21) { |
4376 | case 1 : | 3927 | case 1 : |
4377 | // InternalApplicationConfiguration.g:1412:3: this_PatternElement_0= rulePatternElement | 3928 | // InternalApplicationConfiguration.g:1409:3: this_PatternElement_0= rulePatternElement |
4378 | { | 3929 | { |
4379 | if ( state.backtracking==0 ) { | ||
4380 | 3930 | ||
4381 | newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); | 3931 | newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); |
4382 | 3932 | ||
4383 | } | ||
4384 | pushFollow(FOLLOW_2); | 3933 | pushFollow(FOLLOW_2); |
4385 | this_PatternElement_0=rulePatternElement(); | 3934 | this_PatternElement_0=rulePatternElement(); |
4386 | 3935 | ||
4387 | state._fsp--; | 3936 | state._fsp--; |
4388 | if (state.failed) return current; | ||
4389 | if ( state.backtracking==0 ) { | ||
4390 | 3937 | ||
4391 | current = this_PatternElement_0; | 3938 | |
4392 | afterParserOrEnumRuleCall(); | 3939 | current = this_PatternElement_0; |
4393 | 3940 | afterParserOrEnumRuleCall(); | |
4394 | } | 3941 | |
4395 | 3942 | ||
4396 | } | 3943 | } |
4397 | break; | 3944 | break; |
4398 | case 2 : | 3945 | case 2 : |
4399 | // InternalApplicationConfiguration.g:1421:3: this_AllPatternEntry_1= ruleAllPatternEntry | 3946 | // InternalApplicationConfiguration.g:1418:3: this_AllPatternEntry_1= ruleAllPatternEntry |
4400 | { | 3947 | { |
4401 | if ( state.backtracking==0 ) { | ||
4402 | 3948 | ||
4403 | newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); | 3949 | newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); |
4404 | 3950 | ||
4405 | } | ||
4406 | pushFollow(FOLLOW_2); | 3951 | pushFollow(FOLLOW_2); |
4407 | this_AllPatternEntry_1=ruleAllPatternEntry(); | 3952 | this_AllPatternEntry_1=ruleAllPatternEntry(); |
4408 | 3953 | ||
4409 | state._fsp--; | 3954 | state._fsp--; |
4410 | if (state.failed) return current; | ||
4411 | if ( state.backtracking==0 ) { | ||
4412 | 3955 | ||
4413 | current = this_AllPatternEntry_1; | 3956 | |
4414 | afterParserOrEnumRuleCall(); | 3957 | current = this_AllPatternEntry_1; |
4415 | 3958 | afterParserOrEnumRuleCall(); | |
4416 | } | 3959 | |
4417 | 3960 | ||
4418 | } | 3961 | } |
4419 | break; | 3962 | break; |
@@ -4423,11 +3966,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4423 | 3966 | ||
4424 | } | 3967 | } |
4425 | 3968 | ||
4426 | if ( state.backtracking==0 ) { | ||
4427 | 3969 | ||
4428 | leaveRule(); | 3970 | leaveRule(); |
4429 | 3971 | ||
4430 | } | ||
4431 | } | 3972 | } |
4432 | 3973 | ||
4433 | catch (RecognitionException re) { | 3974 | catch (RecognitionException re) { |
@@ -4442,7 +3983,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4442 | 3983 | ||
4443 | 3984 | ||
4444 | // $ANTLR start "entryRuleAllPatternEntry" | 3985 | // $ANTLR start "entryRuleAllPatternEntry" |
4445 | // InternalApplicationConfiguration.g:1433:1: entryRuleAllPatternEntry returns [EObject current=null] : iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ; | 3986 | // InternalApplicationConfiguration.g:1430:1: entryRuleAllPatternEntry returns [EObject current=null] : iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ; |
4446 | public final EObject entryRuleAllPatternEntry() throws RecognitionException { | 3987 | public final EObject entryRuleAllPatternEntry() throws RecognitionException { |
4447 | EObject current = null; | 3988 | EObject current = null; |
4448 | 3989 | ||
@@ -4450,21 +3991,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4450 | 3991 | ||
4451 | 3992 | ||
4452 | try { | 3993 | try { |
4453 | // InternalApplicationConfiguration.g:1433:56: (iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ) | 3994 | // InternalApplicationConfiguration.g:1430:56: (iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ) |
4454 | // InternalApplicationConfiguration.g:1434:2: iv_ruleAllPatternEntry= ruleAllPatternEntry EOF | 3995 | // InternalApplicationConfiguration.g:1431:2: iv_ruleAllPatternEntry= ruleAllPatternEntry EOF |
4455 | { | 3996 | { |
4456 | if ( state.backtracking==0 ) { | 3997 | newCompositeNode(grammarAccess.getAllPatternEntryRule()); |
4457 | newCompositeNode(grammarAccess.getAllPatternEntryRule()); | ||
4458 | } | ||
4459 | pushFollow(FOLLOW_1); | 3998 | pushFollow(FOLLOW_1); |
4460 | iv_ruleAllPatternEntry=ruleAllPatternEntry(); | 3999 | iv_ruleAllPatternEntry=ruleAllPatternEntry(); |
4461 | 4000 | ||
4462 | state._fsp--; | 4001 | state._fsp--; |
4463 | if (state.failed) return current; | 4002 | |
4464 | if ( state.backtracking==0 ) { | 4003 | current =iv_ruleAllPatternEntry; |
4465 | current =iv_ruleAllPatternEntry; | 4004 | match(input,EOF,FOLLOW_2); |
4466 | } | ||
4467 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
4468 | 4005 | ||
4469 | } | 4006 | } |
4470 | 4007 | ||
@@ -4482,7 +4019,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4482 | 4019 | ||
4483 | 4020 | ||
4484 | // $ANTLR start "ruleAllPatternEntry" | 4021 | // $ANTLR start "ruleAllPatternEntry" |
4485 | // InternalApplicationConfiguration.g:1440:1: ruleAllPatternEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ; | 4022 | // InternalApplicationConfiguration.g:1437:1: ruleAllPatternEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ; |
4486 | public final EObject ruleAllPatternEntry() throws RecognitionException { | 4023 | public final EObject ruleAllPatternEntry() throws RecognitionException { |
4487 | EObject current = null; | 4024 | EObject current = null; |
4488 | 4025 | ||
@@ -4500,53 +4037,45 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4500 | enterRule(); | 4037 | enterRule(); |
4501 | 4038 | ||
4502 | try { | 4039 | try { |
4503 | // InternalApplicationConfiguration.g:1446:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ) | 4040 | // InternalApplicationConfiguration.g:1443:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ) |
4504 | // InternalApplicationConfiguration.g:1447:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) | 4041 | // InternalApplicationConfiguration.g:1444:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) |
4505 | { | 4042 | { |
4506 | // InternalApplicationConfiguration.g:1447:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) | 4043 | // InternalApplicationConfiguration.g:1444:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) |
4507 | // InternalApplicationConfiguration.g:1448:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? | 4044 | // InternalApplicationConfiguration.g:1445:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? |
4508 | { | 4045 | { |
4509 | otherlv_0=(Token)match(input,20,FOLLOW_6); if (state.failed) return current; | 4046 | otherlv_0=(Token)match(input,20,FOLLOW_6); |
4510 | if ( state.backtracking==0 ) { | ||
4511 | 4047 | ||
4512 | newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); | 4048 | newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); |
4513 | 4049 | ||
4514 | } | 4050 | // InternalApplicationConfiguration.g:1449:3: ( ( ruleQualifiedName ) ) |
4515 | // InternalApplicationConfiguration.g:1452:3: ( ( ruleQualifiedName ) ) | 4051 | // InternalApplicationConfiguration.g:1450:4: ( ruleQualifiedName ) |
4516 | // InternalApplicationConfiguration.g:1453:4: ( ruleQualifiedName ) | ||
4517 | { | 4052 | { |
4518 | // InternalApplicationConfiguration.g:1453:4: ( ruleQualifiedName ) | 4053 | // InternalApplicationConfiguration.g:1450:4: ( ruleQualifiedName ) |
4519 | // InternalApplicationConfiguration.g:1454:5: ruleQualifiedName | 4054 | // InternalApplicationConfiguration.g:1451:5: ruleQualifiedName |
4520 | { | 4055 | { |
4521 | if ( state.backtracking==0 ) { | ||
4522 | 4056 | ||
4523 | if (current==null) { | 4057 | if (current==null) { |
4524 | current = createModelElement(grammarAccess.getAllPatternEntryRule()); | 4058 | current = createModelElement(grammarAccess.getAllPatternEntryRule()); |
4525 | } | 4059 | } |
4526 | 4060 | ||
4527 | } | ||
4528 | if ( state.backtracking==0 ) { | ||
4529 | 4061 | ||
4530 | newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); | 4062 | newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); |
4531 | 4063 | ||
4532 | } | ||
4533 | pushFollow(FOLLOW_13); | 4064 | pushFollow(FOLLOW_13); |
4534 | ruleQualifiedName(); | 4065 | ruleQualifiedName(); |
4535 | 4066 | ||
4536 | state._fsp--; | 4067 | state._fsp--; |
4537 | if (state.failed) return current; | ||
4538 | if ( state.backtracking==0 ) { | ||
4539 | 4068 | ||
4540 | afterParserOrEnumRuleCall(); | 4069 | |
4541 | 4070 | afterParserOrEnumRuleCall(); | |
4542 | } | 4071 | |
4543 | 4072 | ||
4544 | } | 4073 | } |
4545 | 4074 | ||
4546 | 4075 | ||
4547 | } | 4076 | } |
4548 | 4077 | ||
4549 | // InternalApplicationConfiguration.g:1468:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? | 4078 | // InternalApplicationConfiguration.g:1465:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? |
4550 | int alt23=2; | 4079 | int alt23=2; |
4551 | int LA23_0 = input.LA(1); | 4080 | int LA23_0 = input.LA(1); |
4552 | 4081 | ||
@@ -4555,56 +4084,48 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4555 | } | 4084 | } |
4556 | switch (alt23) { | 4085 | switch (alt23) { |
4557 | case 1 : | 4086 | case 1 : |
4558 | // InternalApplicationConfiguration.g:1469:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' | 4087 | // InternalApplicationConfiguration.g:1466:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' |
4559 | { | 4088 | { |
4560 | otherlv_2=(Token)match(input,21,FOLLOW_14); if (state.failed) return current; | 4089 | otherlv_2=(Token)match(input,21,FOLLOW_14); |
4561 | if ( state.backtracking==0 ) { | ||
4562 | 4090 | ||
4563 | newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); | 4091 | newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); |
4564 | 4092 | ||
4565 | } | 4093 | otherlv_3=(Token)match(input,17,FOLLOW_6); |
4566 | otherlv_3=(Token)match(input,17,FOLLOW_6); if (state.failed) return current; | ||
4567 | if ( state.backtracking==0 ) { | ||
4568 | 4094 | ||
4569 | newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); | 4095 | newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); |
4570 | 4096 | ||
4571 | } | 4097 | // InternalApplicationConfiguration.g:1474:4: ( (lv_exclusuion_4_0= rulePatternElement ) ) |
4572 | // InternalApplicationConfiguration.g:1477:4: ( (lv_exclusuion_4_0= rulePatternElement ) ) | 4098 | // InternalApplicationConfiguration.g:1475:5: (lv_exclusuion_4_0= rulePatternElement ) |
4573 | // InternalApplicationConfiguration.g:1478:5: (lv_exclusuion_4_0= rulePatternElement ) | ||
4574 | { | 4099 | { |
4575 | // InternalApplicationConfiguration.g:1478:5: (lv_exclusuion_4_0= rulePatternElement ) | 4100 | // InternalApplicationConfiguration.g:1475:5: (lv_exclusuion_4_0= rulePatternElement ) |
4576 | // InternalApplicationConfiguration.g:1479:6: lv_exclusuion_4_0= rulePatternElement | 4101 | // InternalApplicationConfiguration.g:1476:6: lv_exclusuion_4_0= rulePatternElement |
4577 | { | 4102 | { |
4578 | if ( state.backtracking==0 ) { | ||
4579 | 4103 | ||
4580 | newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); | 4104 | newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); |
4581 | 4105 | ||
4582 | } | ||
4583 | pushFollow(FOLLOW_12); | 4106 | pushFollow(FOLLOW_12); |
4584 | lv_exclusuion_4_0=rulePatternElement(); | 4107 | lv_exclusuion_4_0=rulePatternElement(); |
4585 | 4108 | ||
4586 | state._fsp--; | 4109 | state._fsp--; |
4587 | if (state.failed) return current; | 4110 | |
4588 | if ( state.backtracking==0 ) { | 4111 | |
4589 | 4112 | if (current==null) { | |
4590 | if (current==null) { | 4113 | current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); |
4591 | current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); | 4114 | } |
4592 | } | 4115 | add( |
4593 | add( | 4116 | current, |
4594 | current, | 4117 | "exclusuion", |
4595 | "exclusuion", | 4118 | lv_exclusuion_4_0, |
4596 | lv_exclusuion_4_0, | 4119 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); |
4597 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); | 4120 | afterParserOrEnumRuleCall(); |
4598 | afterParserOrEnumRuleCall(); | 4121 | |
4599 | |||
4600 | } | ||
4601 | 4122 | ||
4602 | } | 4123 | } |
4603 | 4124 | ||
4604 | 4125 | ||
4605 | } | 4126 | } |
4606 | 4127 | ||
4607 | // InternalApplicationConfiguration.g:1496:4: (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* | 4128 | // InternalApplicationConfiguration.g:1493:4: (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* |
4608 | loop22: | 4129 | loop22: |
4609 | do { | 4130 | do { |
4610 | int alt22=2; | 4131 | int alt22=2; |
@@ -4617,43 +4138,37 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4617 | 4138 | ||
4618 | switch (alt22) { | 4139 | switch (alt22) { |
4619 | case 1 : | 4140 | case 1 : |
4620 | // InternalApplicationConfiguration.g:1497:5: otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) | 4141 | // InternalApplicationConfiguration.g:1494:5: otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) |
4621 | { | 4142 | { |
4622 | otherlv_5=(Token)match(input,18,FOLLOW_6); if (state.failed) return current; | 4143 | otherlv_5=(Token)match(input,18,FOLLOW_6); |
4623 | if ( state.backtracking==0 ) { | ||
4624 | 4144 | ||
4625 | newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); | 4145 | newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); |
4626 | 4146 | ||
4627 | } | 4147 | // InternalApplicationConfiguration.g:1498:5: ( (lv_exclusuion_6_0= rulePatternElement ) ) |
4628 | // InternalApplicationConfiguration.g:1501:5: ( (lv_exclusuion_6_0= rulePatternElement ) ) | 4148 | // InternalApplicationConfiguration.g:1499:6: (lv_exclusuion_6_0= rulePatternElement ) |
4629 | // InternalApplicationConfiguration.g:1502:6: (lv_exclusuion_6_0= rulePatternElement ) | ||
4630 | { | 4149 | { |
4631 | // InternalApplicationConfiguration.g:1502:6: (lv_exclusuion_6_0= rulePatternElement ) | 4150 | // InternalApplicationConfiguration.g:1499:6: (lv_exclusuion_6_0= rulePatternElement ) |
4632 | // InternalApplicationConfiguration.g:1503:7: lv_exclusuion_6_0= rulePatternElement | 4151 | // InternalApplicationConfiguration.g:1500:7: lv_exclusuion_6_0= rulePatternElement |
4633 | { | 4152 | { |
4634 | if ( state.backtracking==0 ) { | ||
4635 | 4153 | ||
4636 | newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); | 4154 | newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); |
4637 | 4155 | ||
4638 | } | ||
4639 | pushFollow(FOLLOW_12); | 4156 | pushFollow(FOLLOW_12); |
4640 | lv_exclusuion_6_0=rulePatternElement(); | 4157 | lv_exclusuion_6_0=rulePatternElement(); |
4641 | 4158 | ||
4642 | state._fsp--; | 4159 | state._fsp--; |
4643 | if (state.failed) return current; | 4160 | |
4644 | if ( state.backtracking==0 ) { | 4161 | |
4645 | 4162 | if (current==null) { | |
4646 | if (current==null) { | 4163 | current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); |
4647 | current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); | 4164 | } |
4648 | } | 4165 | add( |
4649 | add( | 4166 | current, |
4650 | current, | 4167 | "exclusuion", |
4651 | "exclusuion", | 4168 | lv_exclusuion_6_0, |
4652 | lv_exclusuion_6_0, | 4169 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); |
4653 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); | 4170 | afterParserOrEnumRuleCall(); |
4654 | afterParserOrEnumRuleCall(); | 4171 | |
4655 | |||
4656 | } | ||
4657 | 4172 | ||
4658 | } | 4173 | } |
4659 | 4174 | ||
@@ -4669,12 +4184,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4669 | } | 4184 | } |
4670 | } while (true); | 4185 | } while (true); |
4671 | 4186 | ||
4672 | otherlv_7=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; | 4187 | otherlv_7=(Token)match(input,19,FOLLOW_2); |
4673 | if ( state.backtracking==0 ) { | ||
4674 | 4188 | ||
4675 | newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); | 4189 | newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); |
4676 | 4190 | ||
4677 | } | ||
4678 | 4191 | ||
4679 | } | 4192 | } |
4680 | break; | 4193 | break; |
@@ -4687,11 +4200,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4687 | 4200 | ||
4688 | } | 4201 | } |
4689 | 4202 | ||
4690 | if ( state.backtracking==0 ) { | ||
4691 | 4203 | ||
4692 | leaveRule(); | 4204 | leaveRule(); |
4693 | 4205 | ||
4694 | } | ||
4695 | } | 4206 | } |
4696 | 4207 | ||
4697 | catch (RecognitionException re) { | 4208 | catch (RecognitionException re) { |
@@ -4706,7 +4217,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4706 | 4217 | ||
4707 | 4218 | ||
4708 | // $ANTLR start "entryRulePatternElement" | 4219 | // $ANTLR start "entryRulePatternElement" |
4709 | // InternalApplicationConfiguration.g:1530:1: entryRulePatternElement returns [EObject current=null] : iv_rulePatternElement= rulePatternElement EOF ; | 4220 | // InternalApplicationConfiguration.g:1527:1: entryRulePatternElement returns [EObject current=null] : iv_rulePatternElement= rulePatternElement EOF ; |
4710 | public final EObject entryRulePatternElement() throws RecognitionException { | 4221 | public final EObject entryRulePatternElement() throws RecognitionException { |
4711 | EObject current = null; | 4222 | EObject current = null; |
4712 | 4223 | ||
@@ -4714,21 +4225,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4714 | 4225 | ||
4715 | 4226 | ||
4716 | try { | 4227 | try { |
4717 | // InternalApplicationConfiguration.g:1530:55: (iv_rulePatternElement= rulePatternElement EOF ) | 4228 | // InternalApplicationConfiguration.g:1527:55: (iv_rulePatternElement= rulePatternElement EOF ) |
4718 | // InternalApplicationConfiguration.g:1531:2: iv_rulePatternElement= rulePatternElement EOF | 4229 | // InternalApplicationConfiguration.g:1528:2: iv_rulePatternElement= rulePatternElement EOF |
4719 | { | 4230 | { |
4720 | if ( state.backtracking==0 ) { | 4231 | newCompositeNode(grammarAccess.getPatternElementRule()); |
4721 | newCompositeNode(grammarAccess.getPatternElementRule()); | ||
4722 | } | ||
4723 | pushFollow(FOLLOW_1); | 4232 | pushFollow(FOLLOW_1); |
4724 | iv_rulePatternElement=rulePatternElement(); | 4233 | iv_rulePatternElement=rulePatternElement(); |
4725 | 4234 | ||
4726 | state._fsp--; | 4235 | state._fsp--; |
4727 | if (state.failed) return current; | 4236 | |
4728 | if ( state.backtracking==0 ) { | 4237 | current =iv_rulePatternElement; |
4729 | current =iv_rulePatternElement; | 4238 | match(input,EOF,FOLLOW_2); |
4730 | } | ||
4731 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
4732 | 4239 | ||
4733 | } | 4240 | } |
4734 | 4241 | ||
@@ -4746,7 +4253,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4746 | 4253 | ||
4747 | 4254 | ||
4748 | // $ANTLR start "rulePatternElement" | 4255 | // $ANTLR start "rulePatternElement" |
4749 | // InternalApplicationConfiguration.g:1537:1: rulePatternElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ; | 4256 | // InternalApplicationConfiguration.g:1534:1: rulePatternElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ; |
4750 | public final EObject rulePatternElement() throws RecognitionException { | 4257 | public final EObject rulePatternElement() throws RecognitionException { |
4751 | EObject current = null; | 4258 | EObject current = null; |
4752 | 4259 | ||
@@ -4757,13 +4264,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4757 | enterRule(); | 4264 | enterRule(); |
4758 | 4265 | ||
4759 | try { | 4266 | try { |
4760 | // InternalApplicationConfiguration.g:1543:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ) | 4267 | // InternalApplicationConfiguration.g:1540:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ) |
4761 | // InternalApplicationConfiguration.g:1544:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) | 4268 | // InternalApplicationConfiguration.g:1541:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) |
4762 | { | 4269 | { |
4763 | // InternalApplicationConfiguration.g:1544:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) | 4270 | // InternalApplicationConfiguration.g:1541:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) |
4764 | // InternalApplicationConfiguration.g:1545:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) | 4271 | // InternalApplicationConfiguration.g:1542:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) |
4765 | { | 4272 | { |
4766 | // InternalApplicationConfiguration.g:1545:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? | 4273 | // InternalApplicationConfiguration.g:1542:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? |
4767 | int alt24=2; | 4274 | int alt24=2; |
4768 | int LA24_0 = input.LA(1); | 4275 | int LA24_0 = input.LA(1); |
4769 | 4276 | ||
@@ -4776,73 +4283,61 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4776 | } | 4283 | } |
4777 | switch (alt24) { | 4284 | switch (alt24) { |
4778 | case 1 : | 4285 | case 1 : |
4779 | // InternalApplicationConfiguration.g:1546:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' | 4286 | // InternalApplicationConfiguration.g:1543:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' |
4780 | { | 4287 | { |
4781 | // InternalApplicationConfiguration.g:1546:4: ( ( ruleQualifiedName ) ) | 4288 | // InternalApplicationConfiguration.g:1543:4: ( ( ruleQualifiedName ) ) |
4782 | // InternalApplicationConfiguration.g:1547:5: ( ruleQualifiedName ) | 4289 | // InternalApplicationConfiguration.g:1544:5: ( ruleQualifiedName ) |
4783 | { | 4290 | { |
4784 | // InternalApplicationConfiguration.g:1547:5: ( ruleQualifiedName ) | 4291 | // InternalApplicationConfiguration.g:1544:5: ( ruleQualifiedName ) |
4785 | // InternalApplicationConfiguration.g:1548:6: ruleQualifiedName | 4292 | // InternalApplicationConfiguration.g:1545:6: ruleQualifiedName |
4786 | { | 4293 | { |
4787 | if ( state.backtracking==0 ) { | ||
4788 | 4294 | ||
4789 | if (current==null) { | 4295 | if (current==null) { |
4790 | current = createModelElement(grammarAccess.getPatternElementRule()); | 4296 | current = createModelElement(grammarAccess.getPatternElementRule()); |
4791 | } | 4297 | } |
4792 | 4298 | ||
4793 | } | ||
4794 | if ( state.backtracking==0 ) { | ||
4795 | 4299 | ||
4796 | newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); | 4300 | newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); |
4797 | 4301 | ||
4798 | } | ||
4799 | pushFollow(FOLLOW_15); | 4302 | pushFollow(FOLLOW_15); |
4800 | ruleQualifiedName(); | 4303 | ruleQualifiedName(); |
4801 | 4304 | ||
4802 | state._fsp--; | 4305 | state._fsp--; |
4803 | if (state.failed) return current; | ||
4804 | if ( state.backtracking==0 ) { | ||
4805 | 4306 | ||
4806 | afterParserOrEnumRuleCall(); | 4307 | |
4807 | 4308 | afterParserOrEnumRuleCall(); | |
4808 | } | 4309 | |
4809 | 4310 | ||
4810 | } | 4311 | } |
4811 | 4312 | ||
4812 | 4313 | ||
4813 | } | 4314 | } |
4814 | 4315 | ||
4815 | otherlv_1=(Token)match(input,22,FOLLOW_6); if (state.failed) return current; | 4316 | otherlv_1=(Token)match(input,22,FOLLOW_6); |
4816 | if ( state.backtracking==0 ) { | ||
4817 | 4317 | ||
4818 | newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); | 4318 | newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); |
4819 | 4319 | ||
4820 | } | ||
4821 | 4320 | ||
4822 | } | 4321 | } |
4823 | break; | 4322 | break; |
4824 | 4323 | ||
4825 | } | 4324 | } |
4826 | 4325 | ||
4827 | // InternalApplicationConfiguration.g:1567:3: ( (otherlv_2= RULE_ID ) ) | 4326 | // InternalApplicationConfiguration.g:1564:3: ( (otherlv_2= RULE_ID ) ) |
4828 | // InternalApplicationConfiguration.g:1568:4: (otherlv_2= RULE_ID ) | 4327 | // InternalApplicationConfiguration.g:1565:4: (otherlv_2= RULE_ID ) |
4829 | { | 4328 | { |
4830 | // InternalApplicationConfiguration.g:1568:4: (otherlv_2= RULE_ID ) | 4329 | // InternalApplicationConfiguration.g:1565:4: (otherlv_2= RULE_ID ) |
4831 | // InternalApplicationConfiguration.g:1569:5: otherlv_2= RULE_ID | 4330 | // InternalApplicationConfiguration.g:1566:5: otherlv_2= RULE_ID |
4832 | { | 4331 | { |
4833 | if ( state.backtracking==0 ) { | ||
4834 | 4332 | ||
4835 | if (current==null) { | 4333 | if (current==null) { |
4836 | current = createModelElement(grammarAccess.getPatternElementRule()); | 4334 | current = createModelElement(grammarAccess.getPatternElementRule()); |
4837 | } | 4335 | } |
4838 | 4336 | ||
4839 | } | 4337 | otherlv_2=(Token)match(input,RULE_ID,FOLLOW_2); |
4840 | otherlv_2=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; | ||
4841 | if ( state.backtracking==0 ) { | ||
4842 | 4338 | ||
4843 | newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); | 4339 | newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); |
4844 | 4340 | ||
4845 | } | ||
4846 | 4341 | ||
4847 | } | 4342 | } |
4848 | 4343 | ||
@@ -4855,11 +4350,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4855 | 4350 | ||
4856 | } | 4351 | } |
4857 | 4352 | ||
4858 | if ( state.backtracking==0 ) { | ||
4859 | 4353 | ||
4860 | leaveRule(); | 4354 | leaveRule(); |
4861 | 4355 | ||
4862 | } | ||
4863 | } | 4356 | } |
4864 | 4357 | ||
4865 | catch (RecognitionException re) { | 4358 | catch (RecognitionException re) { |
@@ -4874,7 +4367,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4874 | 4367 | ||
4875 | 4368 | ||
4876 | // $ANTLR start "entryRuleGraphPatternDeclaration" | 4369 | // $ANTLR start "entryRuleGraphPatternDeclaration" |
4877 | // InternalApplicationConfiguration.g:1584:1: entryRuleGraphPatternDeclaration returns [EObject current=null] : iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ; | 4370 | // InternalApplicationConfiguration.g:1581:1: entryRuleGraphPatternDeclaration returns [EObject current=null] : iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ; |
4878 | public final EObject entryRuleGraphPatternDeclaration() throws RecognitionException { | 4371 | public final EObject entryRuleGraphPatternDeclaration() throws RecognitionException { |
4879 | EObject current = null; | 4372 | EObject current = null; |
4880 | 4373 | ||
@@ -4882,21 +4375,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4882 | 4375 | ||
4883 | 4376 | ||
4884 | try { | 4377 | try { |
4885 | // InternalApplicationConfiguration.g:1584:64: (iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ) | 4378 | // InternalApplicationConfiguration.g:1581:64: (iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ) |
4886 | // InternalApplicationConfiguration.g:1585:2: iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF | 4379 | // InternalApplicationConfiguration.g:1582:2: iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF |
4887 | { | 4380 | { |
4888 | if ( state.backtracking==0 ) { | 4381 | newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); |
4889 | newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); | ||
4890 | } | ||
4891 | pushFollow(FOLLOW_1); | 4382 | pushFollow(FOLLOW_1); |
4892 | iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration(); | 4383 | iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration(); |
4893 | 4384 | ||
4894 | state._fsp--; | 4385 | state._fsp--; |
4895 | if (state.failed) return current; | 4386 | |
4896 | if ( state.backtracking==0 ) { | 4387 | current =iv_ruleGraphPatternDeclaration; |
4897 | current =iv_ruleGraphPatternDeclaration; | 4388 | match(input,EOF,FOLLOW_2); |
4898 | } | ||
4899 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
4900 | 4389 | ||
4901 | } | 4390 | } |
4902 | 4391 | ||
@@ -4914,7 +4403,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4914 | 4403 | ||
4915 | 4404 | ||
4916 | // $ANTLR start "ruleGraphPatternDeclaration" | 4405 | // $ANTLR start "ruleGraphPatternDeclaration" |
4917 | // InternalApplicationConfiguration.g:1591:1: ruleGraphPatternDeclaration returns [EObject current=null] : (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ; | 4406 | // InternalApplicationConfiguration.g:1588:1: ruleGraphPatternDeclaration returns [EObject current=null] : (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ; |
4918 | public final EObject ruleGraphPatternDeclaration() throws RecognitionException { | 4407 | public final EObject ruleGraphPatternDeclaration() throws RecognitionException { |
4919 | EObject current = null; | 4408 | EObject current = null; |
4920 | 4409 | ||
@@ -4927,77 +4416,67 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
4927 | enterRule(); | 4416 | enterRule(); |
4928 | 4417 | ||
4929 | try { | 4418 | try { |
4930 | // InternalApplicationConfiguration.g:1597:2: ( (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ) | 4419 | // InternalApplicationConfiguration.g:1594:2: ( (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ) |
4931 | // InternalApplicationConfiguration.g:1598:2: (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) | 4420 | // InternalApplicationConfiguration.g:1595:2: (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) |
4932 | { | 4421 | { |
4933 | // InternalApplicationConfiguration.g:1598:2: (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) | 4422 | // InternalApplicationConfiguration.g:1595:2: (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) |
4934 | // InternalApplicationConfiguration.g:1599:3: otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) | 4423 | // InternalApplicationConfiguration.g:1596:3: otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) |
4935 | { | 4424 | { |
4936 | otherlv_0=(Token)match(input,26,FOLLOW_6); if (state.failed) return current; | 4425 | otherlv_0=(Token)match(input,26,FOLLOW_6); |
4937 | if ( state.backtracking==0 ) { | ||
4938 | 4426 | ||
4939 | newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getPatternsKeyword_0()); | 4427 | newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getPatternsKeyword_0()); |
4940 | 4428 | ||
4941 | } | 4429 | // InternalApplicationConfiguration.g:1600:3: ( (lv_name_1_0= RULE_ID ) ) |
4942 | // InternalApplicationConfiguration.g:1603:3: ( (lv_name_1_0= RULE_ID ) ) | 4430 | // InternalApplicationConfiguration.g:1601:4: (lv_name_1_0= RULE_ID ) |
4943 | // InternalApplicationConfiguration.g:1604:4: (lv_name_1_0= RULE_ID ) | ||
4944 | { | 4431 | { |
4945 | // InternalApplicationConfiguration.g:1604:4: (lv_name_1_0= RULE_ID ) | 4432 | // InternalApplicationConfiguration.g:1601:4: (lv_name_1_0= RULE_ID ) |
4946 | // InternalApplicationConfiguration.g:1605:5: lv_name_1_0= RULE_ID | 4433 | // InternalApplicationConfiguration.g:1602:5: lv_name_1_0= RULE_ID |
4947 | { | 4434 | { |
4948 | lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current; | 4435 | lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); |
4949 | if ( state.backtracking==0 ) { | ||
4950 | 4436 | ||
4951 | newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); | 4437 | newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); |
4952 | 4438 | ||
4953 | } | ||
4954 | if ( state.backtracking==0 ) { | ||
4955 | 4439 | ||
4956 | if (current==null) { | 4440 | if (current==null) { |
4957 | current = createModelElement(grammarAccess.getGraphPatternDeclarationRule()); | 4441 | current = createModelElement(grammarAccess.getGraphPatternDeclarationRule()); |
4958 | } | 4442 | } |
4959 | setWithLastConsumed( | 4443 | setWithLastConsumed( |
4960 | current, | 4444 | current, |
4961 | "name", | 4445 | "name", |
4962 | lv_name_1_0, | 4446 | lv_name_1_0, |
4963 | "org.eclipse.xtext.common.Terminals.ID"); | 4447 | "org.eclipse.xtext.common.Terminals.ID"); |
4964 | 4448 | ||
4965 | } | ||
4966 | 4449 | ||
4967 | } | 4450 | } |
4968 | 4451 | ||
4969 | 4452 | ||
4970 | } | 4453 | } |
4971 | 4454 | ||
4972 | // InternalApplicationConfiguration.g:1621:3: ( (lv_specification_2_0= rulePatternSpecification ) ) | 4455 | // InternalApplicationConfiguration.g:1618:3: ( (lv_specification_2_0= rulePatternSpecification ) ) |
4973 | // InternalApplicationConfiguration.g:1622:4: (lv_specification_2_0= rulePatternSpecification ) | 4456 | // InternalApplicationConfiguration.g:1619:4: (lv_specification_2_0= rulePatternSpecification ) |
4974 | { | 4457 | { |
4975 | // InternalApplicationConfiguration.g:1622:4: (lv_specification_2_0= rulePatternSpecification ) | 4458 | // InternalApplicationConfiguration.g:1619:4: (lv_specification_2_0= rulePatternSpecification ) |
4976 | // InternalApplicationConfiguration.g:1623:5: lv_specification_2_0= rulePatternSpecification | 4459 | // InternalApplicationConfiguration.g:1620:5: lv_specification_2_0= rulePatternSpecification |
4977 | { | 4460 | { |
4978 | if ( state.backtracking==0 ) { | ||
4979 | 4461 | ||
4980 | newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); | 4462 | newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); |
4981 | 4463 | ||
4982 | } | ||
4983 | pushFollow(FOLLOW_2); | 4464 | pushFollow(FOLLOW_2); |
4984 | lv_specification_2_0=rulePatternSpecification(); | 4465 | lv_specification_2_0=rulePatternSpecification(); |
4985 | 4466 | ||
4986 | state._fsp--; | 4467 | state._fsp--; |
4987 | if (state.failed) return current; | ||
4988 | if ( state.backtracking==0 ) { | ||
4989 | 4468 | ||
4990 | if (current==null) { | 4469 | |
4991 | current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule()); | 4470 | if (current==null) { |
4992 | } | 4471 | current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule()); |
4993 | set( | 4472 | } |
4994 | current, | 4473 | set( |
4995 | "specification", | 4474 | current, |
4996 | lv_specification_2_0, | 4475 | "specification", |
4997 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); | 4476 | lv_specification_2_0, |
4998 | afterParserOrEnumRuleCall(); | 4477 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); |
4999 | 4478 | afterParserOrEnumRuleCall(); | |
5000 | } | 4479 | |
5001 | 4480 | ||
5002 | } | 4481 | } |
5003 | 4482 | ||
@@ -5010,11 +4489,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5010 | 4489 | ||
5011 | } | 4490 | } |
5012 | 4491 | ||
5013 | if ( state.backtracking==0 ) { | ||
5014 | 4492 | ||
5015 | leaveRule(); | 4493 | leaveRule(); |
5016 | 4494 | ||
5017 | } | ||
5018 | } | 4495 | } |
5019 | 4496 | ||
5020 | catch (RecognitionException re) { | 4497 | catch (RecognitionException re) { |
@@ -5029,7 +4506,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5029 | 4506 | ||
5030 | 4507 | ||
5031 | // $ANTLR start "entryRuleGraphPatternReference" | 4508 | // $ANTLR start "entryRuleGraphPatternReference" |
5032 | // InternalApplicationConfiguration.g:1644:1: entryRuleGraphPatternReference returns [EObject current=null] : iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ; | 4509 | // InternalApplicationConfiguration.g:1641:1: entryRuleGraphPatternReference returns [EObject current=null] : iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ; |
5033 | public final EObject entryRuleGraphPatternReference() throws RecognitionException { | 4510 | public final EObject entryRuleGraphPatternReference() throws RecognitionException { |
5034 | EObject current = null; | 4511 | EObject current = null; |
5035 | 4512 | ||
@@ -5037,21 +4514,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5037 | 4514 | ||
5038 | 4515 | ||
5039 | try { | 4516 | try { |
5040 | // InternalApplicationConfiguration.g:1644:62: (iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ) | 4517 | // InternalApplicationConfiguration.g:1641:62: (iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ) |
5041 | // InternalApplicationConfiguration.g:1645:2: iv_ruleGraphPatternReference= ruleGraphPatternReference EOF | 4518 | // InternalApplicationConfiguration.g:1642:2: iv_ruleGraphPatternReference= ruleGraphPatternReference EOF |
5042 | { | 4519 | { |
5043 | if ( state.backtracking==0 ) { | 4520 | newCompositeNode(grammarAccess.getGraphPatternReferenceRule()); |
5044 | newCompositeNode(grammarAccess.getGraphPatternReferenceRule()); | ||
5045 | } | ||
5046 | pushFollow(FOLLOW_1); | 4521 | pushFollow(FOLLOW_1); |
5047 | iv_ruleGraphPatternReference=ruleGraphPatternReference(); | 4522 | iv_ruleGraphPatternReference=ruleGraphPatternReference(); |
5048 | 4523 | ||
5049 | state._fsp--; | 4524 | state._fsp--; |
5050 | if (state.failed) return current; | 4525 | |
5051 | if ( state.backtracking==0 ) { | 4526 | current =iv_ruleGraphPatternReference; |
5052 | current =iv_ruleGraphPatternReference; | 4527 | match(input,EOF,FOLLOW_2); |
5053 | } | ||
5054 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
5055 | 4528 | ||
5056 | } | 4529 | } |
5057 | 4530 | ||
@@ -5069,7 +4542,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5069 | 4542 | ||
5070 | 4543 | ||
5071 | // $ANTLR start "ruleGraphPatternReference" | 4544 | // $ANTLR start "ruleGraphPatternReference" |
5072 | // InternalApplicationConfiguration.g:1651:1: ruleGraphPatternReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; | 4545 | // InternalApplicationConfiguration.g:1648:1: ruleGraphPatternReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; |
5073 | public final EObject ruleGraphPatternReference() throws RecognitionException { | 4546 | public final EObject ruleGraphPatternReference() throws RecognitionException { |
5074 | EObject current = null; | 4547 | EObject current = null; |
5075 | 4548 | ||
@@ -5079,28 +4552,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5079 | enterRule(); | 4552 | enterRule(); |
5080 | 4553 | ||
5081 | try { | 4554 | try { |
5082 | // InternalApplicationConfiguration.g:1657:2: ( ( (otherlv_0= RULE_ID ) ) ) | 4555 | // InternalApplicationConfiguration.g:1654:2: ( ( (otherlv_0= RULE_ID ) ) ) |
5083 | // InternalApplicationConfiguration.g:1658:2: ( (otherlv_0= RULE_ID ) ) | 4556 | // InternalApplicationConfiguration.g:1655:2: ( (otherlv_0= RULE_ID ) ) |
5084 | { | 4557 | { |
5085 | // InternalApplicationConfiguration.g:1658:2: ( (otherlv_0= RULE_ID ) ) | 4558 | // InternalApplicationConfiguration.g:1655:2: ( (otherlv_0= RULE_ID ) ) |
5086 | // InternalApplicationConfiguration.g:1659:3: (otherlv_0= RULE_ID ) | 4559 | // InternalApplicationConfiguration.g:1656:3: (otherlv_0= RULE_ID ) |
5087 | { | 4560 | { |
5088 | // InternalApplicationConfiguration.g:1659:3: (otherlv_0= RULE_ID ) | 4561 | // InternalApplicationConfiguration.g:1656:3: (otherlv_0= RULE_ID ) |
5089 | // InternalApplicationConfiguration.g:1660:4: otherlv_0= RULE_ID | 4562 | // InternalApplicationConfiguration.g:1657:4: otherlv_0= RULE_ID |
5090 | { | 4563 | { |
5091 | if ( state.backtracking==0 ) { | ||
5092 | 4564 | ||
5093 | if (current==null) { | 4565 | if (current==null) { |
5094 | current = createModelElement(grammarAccess.getGraphPatternReferenceRule()); | 4566 | current = createModelElement(grammarAccess.getGraphPatternReferenceRule()); |
5095 | } | 4567 | } |
5096 | 4568 | ||
5097 | } | 4569 | otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); |
5098 | otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; | ||
5099 | if ( state.backtracking==0 ) { | ||
5100 | 4570 | ||
5101 | newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); | 4571 | newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); |
5102 | 4572 | ||
5103 | } | ||
5104 | 4573 | ||
5105 | } | 4574 | } |
5106 | 4575 | ||
@@ -5110,11 +4579,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5110 | 4579 | ||
5111 | } | 4580 | } |
5112 | 4581 | ||
5113 | if ( state.backtracking==0 ) { | ||
5114 | 4582 | ||
5115 | leaveRule(); | 4583 | leaveRule(); |
5116 | 4584 | ||
5117 | } | ||
5118 | } | 4585 | } |
5119 | 4586 | ||
5120 | catch (RecognitionException re) { | 4587 | catch (RecognitionException re) { |
@@ -5129,7 +4596,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5129 | 4596 | ||
5130 | 4597 | ||
5131 | // $ANTLR start "entryRuleGraphPattern" | 4598 | // $ANTLR start "entryRuleGraphPattern" |
5132 | // InternalApplicationConfiguration.g:1674:1: entryRuleGraphPattern returns [EObject current=null] : iv_ruleGraphPattern= ruleGraphPattern EOF ; | 4599 | // InternalApplicationConfiguration.g:1671:1: entryRuleGraphPattern returns [EObject current=null] : iv_ruleGraphPattern= ruleGraphPattern EOF ; |
5133 | public final EObject entryRuleGraphPattern() throws RecognitionException { | 4600 | public final EObject entryRuleGraphPattern() throws RecognitionException { |
5134 | EObject current = null; | 4601 | EObject current = null; |
5135 | 4602 | ||
@@ -5137,21 +4604,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5137 | 4604 | ||
5138 | 4605 | ||
5139 | try { | 4606 | try { |
5140 | // InternalApplicationConfiguration.g:1674:53: (iv_ruleGraphPattern= ruleGraphPattern EOF ) | 4607 | // InternalApplicationConfiguration.g:1671:53: (iv_ruleGraphPattern= ruleGraphPattern EOF ) |
5141 | // InternalApplicationConfiguration.g:1675:2: iv_ruleGraphPattern= ruleGraphPattern EOF | 4608 | // InternalApplicationConfiguration.g:1672:2: iv_ruleGraphPattern= ruleGraphPattern EOF |
5142 | { | 4609 | { |
5143 | if ( state.backtracking==0 ) { | 4610 | newCompositeNode(grammarAccess.getGraphPatternRule()); |
5144 | newCompositeNode(grammarAccess.getGraphPatternRule()); | ||
5145 | } | ||
5146 | pushFollow(FOLLOW_1); | 4611 | pushFollow(FOLLOW_1); |
5147 | iv_ruleGraphPattern=ruleGraphPattern(); | 4612 | iv_ruleGraphPattern=ruleGraphPattern(); |
5148 | 4613 | ||
5149 | state._fsp--; | 4614 | state._fsp--; |
5150 | if (state.failed) return current; | 4615 | |
5151 | if ( state.backtracking==0 ) { | 4616 | current =iv_ruleGraphPattern; |
5152 | current =iv_ruleGraphPattern; | 4617 | match(input,EOF,FOLLOW_2); |
5153 | } | ||
5154 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
5155 | 4618 | ||
5156 | } | 4619 | } |
5157 | 4620 | ||
@@ -5169,7 +4632,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5169 | 4632 | ||
5170 | 4633 | ||
5171 | // $ANTLR start "ruleGraphPattern" | 4634 | // $ANTLR start "ruleGraphPattern" |
5172 | // InternalApplicationConfiguration.g:1681:1: ruleGraphPattern returns [EObject current=null] : (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ; | 4635 | // InternalApplicationConfiguration.g:1678:1: ruleGraphPattern returns [EObject current=null] : (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ; |
5173 | public final EObject ruleGraphPattern() throws RecognitionException { | 4636 | public final EObject ruleGraphPattern() throws RecognitionException { |
5174 | EObject current = null; | 4637 | EObject current = null; |
5175 | 4638 | ||
@@ -5182,10 +4645,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5182 | enterRule(); | 4645 | enterRule(); |
5183 | 4646 | ||
5184 | try { | 4647 | try { |
5185 | // InternalApplicationConfiguration.g:1687:2: ( (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ) | 4648 | // InternalApplicationConfiguration.g:1684:2: ( (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ) |
5186 | // InternalApplicationConfiguration.g:1688:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) | 4649 | // InternalApplicationConfiguration.g:1685:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) |
5187 | { | 4650 | { |
5188 | // InternalApplicationConfiguration.g:1688:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) | 4651 | // InternalApplicationConfiguration.g:1685:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) |
5189 | int alt25=2; | 4652 | int alt25=2; |
5190 | int LA25_0 = input.LA(1); | 4653 | int LA25_0 = input.LA(1); |
5191 | 4654 | ||
@@ -5196,7 +4659,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5196 | alt25=2; | 4659 | alt25=2; |
5197 | } | 4660 | } |
5198 | else { | 4661 | else { |
5199 | if (state.backtracking>0) {state.failed=true; return current;} | ||
5200 | NoViableAltException nvae = | 4662 | NoViableAltException nvae = |
5201 | new NoViableAltException("", 25, 0, input); | 4663 | new NoViableAltException("", 25, 0, input); |
5202 | 4664 | ||
@@ -5204,46 +4666,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5204 | } | 4666 | } |
5205 | switch (alt25) { | 4667 | switch (alt25) { |
5206 | case 1 : | 4668 | case 1 : |
5207 | // InternalApplicationConfiguration.g:1689:3: this_GraphPatternReference_0= ruleGraphPatternReference | 4669 | // InternalApplicationConfiguration.g:1686:3: this_GraphPatternReference_0= ruleGraphPatternReference |
5208 | { | 4670 | { |
5209 | if ( state.backtracking==0 ) { | ||
5210 | 4671 | ||
5211 | newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); | 4672 | newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); |
5212 | 4673 | ||
5213 | } | ||
5214 | pushFollow(FOLLOW_2); | 4674 | pushFollow(FOLLOW_2); |
5215 | this_GraphPatternReference_0=ruleGraphPatternReference(); | 4675 | this_GraphPatternReference_0=ruleGraphPatternReference(); |
5216 | 4676 | ||
5217 | state._fsp--; | 4677 | state._fsp--; |
5218 | if (state.failed) return current; | ||
5219 | if ( state.backtracking==0 ) { | ||
5220 | 4678 | ||
5221 | current = this_GraphPatternReference_0; | 4679 | |
5222 | afterParserOrEnumRuleCall(); | 4680 | current = this_GraphPatternReference_0; |
5223 | 4681 | afterParserOrEnumRuleCall(); | |
5224 | } | 4682 | |
5225 | 4683 | ||
5226 | } | 4684 | } |
5227 | break; | 4685 | break; |
5228 | case 2 : | 4686 | case 2 : |
5229 | // InternalApplicationConfiguration.g:1698:3: this_PatternSpecification_1= rulePatternSpecification | 4687 | // InternalApplicationConfiguration.g:1695:3: this_PatternSpecification_1= rulePatternSpecification |
5230 | { | 4688 | { |
5231 | if ( state.backtracking==0 ) { | ||
5232 | 4689 | ||
5233 | newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); | 4690 | newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); |
5234 | 4691 | ||
5235 | } | ||
5236 | pushFollow(FOLLOW_2); | 4692 | pushFollow(FOLLOW_2); |
5237 | this_PatternSpecification_1=rulePatternSpecification(); | 4693 | this_PatternSpecification_1=rulePatternSpecification(); |
5238 | 4694 | ||
5239 | state._fsp--; | 4695 | state._fsp--; |
5240 | if (state.failed) return current; | ||
5241 | if ( state.backtracking==0 ) { | ||
5242 | 4696 | ||
5243 | current = this_PatternSpecification_1; | 4697 | |
5244 | afterParserOrEnumRuleCall(); | 4698 | current = this_PatternSpecification_1; |
5245 | 4699 | afterParserOrEnumRuleCall(); | |
5246 | } | 4700 | |
5247 | 4701 | ||
5248 | } | 4702 | } |
5249 | break; | 4703 | break; |
@@ -5253,11 +4707,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5253 | 4707 | ||
5254 | } | 4708 | } |
5255 | 4709 | ||
5256 | if ( state.backtracking==0 ) { | ||
5257 | 4710 | ||
5258 | leaveRule(); | 4711 | leaveRule(); |
5259 | 4712 | ||
5260 | } | ||
5261 | } | 4713 | } |
5262 | 4714 | ||
5263 | catch (RecognitionException re) { | 4715 | catch (RecognitionException re) { |
@@ -5272,7 +4724,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5272 | 4724 | ||
5273 | 4725 | ||
5274 | // $ANTLR start "entryRuleConfigSpecification" | 4726 | // $ANTLR start "entryRuleConfigSpecification" |
5275 | // InternalApplicationConfiguration.g:1710:1: entryRuleConfigSpecification returns [EObject current=null] : iv_ruleConfigSpecification= ruleConfigSpecification EOF ; | 4727 | // InternalApplicationConfiguration.g:1707:1: entryRuleConfigSpecification returns [EObject current=null] : iv_ruleConfigSpecification= ruleConfigSpecification EOF ; |
5276 | public final EObject entryRuleConfigSpecification() throws RecognitionException { | 4728 | public final EObject entryRuleConfigSpecification() throws RecognitionException { |
5277 | EObject current = null; | 4729 | EObject current = null; |
5278 | 4730 | ||
@@ -5280,21 +4732,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5280 | 4732 | ||
5281 | 4733 | ||
5282 | try { | 4734 | try { |
5283 | // InternalApplicationConfiguration.g:1710:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF ) | 4735 | // InternalApplicationConfiguration.g:1707:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF ) |
5284 | // InternalApplicationConfiguration.g:1711:2: iv_ruleConfigSpecification= ruleConfigSpecification EOF | 4736 | // InternalApplicationConfiguration.g:1708:2: iv_ruleConfigSpecification= ruleConfigSpecification EOF |
5285 | { | 4737 | { |
5286 | if ( state.backtracking==0 ) { | 4738 | newCompositeNode(grammarAccess.getConfigSpecificationRule()); |
5287 | newCompositeNode(grammarAccess.getConfigSpecificationRule()); | ||
5288 | } | ||
5289 | pushFollow(FOLLOW_1); | 4739 | pushFollow(FOLLOW_1); |
5290 | iv_ruleConfigSpecification=ruleConfigSpecification(); | 4740 | iv_ruleConfigSpecification=ruleConfigSpecification(); |
5291 | 4741 | ||
5292 | state._fsp--; | 4742 | state._fsp--; |
5293 | if (state.failed) return current; | 4743 | |
5294 | if ( state.backtracking==0 ) { | 4744 | current =iv_ruleConfigSpecification; |
5295 | current =iv_ruleConfigSpecification; | 4745 | match(input,EOF,FOLLOW_2); |
5296 | } | ||
5297 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
5298 | 4746 | ||
5299 | } | 4747 | } |
5300 | 4748 | ||
@@ -5312,7 +4760,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5312 | 4760 | ||
5313 | 4761 | ||
5314 | // $ANTLR start "ruleConfigSpecification" | 4762 | // $ANTLR start "ruleConfigSpecification" |
5315 | // InternalApplicationConfiguration.g:1717:1: ruleConfigSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ; | 4763 | // InternalApplicationConfiguration.g:1714:1: ruleConfigSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ; |
5316 | public final EObject ruleConfigSpecification() throws RecognitionException { | 4764 | public final EObject ruleConfigSpecification() throws RecognitionException { |
5317 | EObject current = null; | 4765 | EObject current = null; |
5318 | 4766 | ||
@@ -5328,32 +4776,28 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5328 | enterRule(); | 4776 | enterRule(); |
5329 | 4777 | ||
5330 | try { | 4778 | try { |
5331 | // InternalApplicationConfiguration.g:1723:2: ( ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ) | 4779 | // InternalApplicationConfiguration.g:1720:2: ( ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ) |
5332 | // InternalApplicationConfiguration.g:1724:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) | 4780 | // InternalApplicationConfiguration.g:1721:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) |
5333 | { | 4781 | { |
5334 | // InternalApplicationConfiguration.g:1724:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) | 4782 | // InternalApplicationConfiguration.g:1721:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) |
5335 | // InternalApplicationConfiguration.g:1725:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' | 4783 | // InternalApplicationConfiguration.g:1722:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' |
5336 | { | 4784 | { |
5337 | // InternalApplicationConfiguration.g:1725:3: () | 4785 | // InternalApplicationConfiguration.g:1722:3: () |
5338 | // InternalApplicationConfiguration.g:1726:4: | 4786 | // InternalApplicationConfiguration.g:1723:4: |
5339 | { | 4787 | { |
5340 | if ( state.backtracking==0 ) { | ||
5341 | 4788 | ||
5342 | current = forceCreateModelElement( | 4789 | current = forceCreateModelElement( |
5343 | grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(), | 4790 | grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(), |
5344 | current); | 4791 | current); |
5345 | 4792 | ||
5346 | } | ||
5347 | 4793 | ||
5348 | } | 4794 | } |
5349 | 4795 | ||
5350 | otherlv_1=(Token)match(input,17,FOLLOW_19); if (state.failed) return current; | 4796 | otherlv_1=(Token)match(input,17,FOLLOW_19); |
5351 | if ( state.backtracking==0 ) { | ||
5352 | 4797 | ||
5353 | newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); | 4798 | newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); |
5354 | 4799 | ||
5355 | } | 4800 | // InternalApplicationConfiguration.g:1733:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? |
5356 | // InternalApplicationConfiguration.g:1736:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? | ||
5357 | int alt27=2; | 4801 | int alt27=2; |
5358 | int LA27_0 = input.LA(1); | 4802 | int LA27_0 = input.LA(1); |
5359 | 4803 | ||
@@ -5362,44 +4806,40 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5362 | } | 4806 | } |
5363 | switch (alt27) { | 4807 | switch (alt27) { |
5364 | case 1 : | 4808 | case 1 : |
5365 | // InternalApplicationConfiguration.g:1737:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* | 4809 | // InternalApplicationConfiguration.g:1734:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* |
5366 | { | 4810 | { |
5367 | // InternalApplicationConfiguration.g:1737:4: ( (lv_entries_2_0= ruleConfigEntry ) ) | 4811 | // InternalApplicationConfiguration.g:1734:4: ( (lv_entries_2_0= ruleConfigEntry ) ) |
5368 | // InternalApplicationConfiguration.g:1738:5: (lv_entries_2_0= ruleConfigEntry ) | 4812 | // InternalApplicationConfiguration.g:1735:5: (lv_entries_2_0= ruleConfigEntry ) |
5369 | { | 4813 | { |
5370 | // InternalApplicationConfiguration.g:1738:5: (lv_entries_2_0= ruleConfigEntry ) | 4814 | // InternalApplicationConfiguration.g:1735:5: (lv_entries_2_0= ruleConfigEntry ) |
5371 | // InternalApplicationConfiguration.g:1739:6: lv_entries_2_0= ruleConfigEntry | 4815 | // InternalApplicationConfiguration.g:1736:6: lv_entries_2_0= ruleConfigEntry |
5372 | { | 4816 | { |
5373 | if ( state.backtracking==0 ) { | ||
5374 | 4817 | ||
5375 | newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); | 4818 | newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); |
5376 | 4819 | ||
5377 | } | ||
5378 | pushFollow(FOLLOW_12); | 4820 | pushFollow(FOLLOW_12); |
5379 | lv_entries_2_0=ruleConfigEntry(); | 4821 | lv_entries_2_0=ruleConfigEntry(); |
5380 | 4822 | ||
5381 | state._fsp--; | 4823 | state._fsp--; |
5382 | if (state.failed) return current; | 4824 | |
5383 | if ( state.backtracking==0 ) { | 4825 | |
5384 | 4826 | if (current==null) { | |
5385 | if (current==null) { | 4827 | current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); |
5386 | current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); | 4828 | } |
5387 | } | 4829 | add( |
5388 | add( | 4830 | current, |
5389 | current, | 4831 | "entries", |
5390 | "entries", | 4832 | lv_entries_2_0, |
5391 | lv_entries_2_0, | 4833 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); |
5392 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); | 4834 | afterParserOrEnumRuleCall(); |
5393 | afterParserOrEnumRuleCall(); | 4835 | |
5394 | |||
5395 | } | ||
5396 | 4836 | ||
5397 | } | 4837 | } |
5398 | 4838 | ||
5399 | 4839 | ||
5400 | } | 4840 | } |
5401 | 4841 | ||
5402 | // InternalApplicationConfiguration.g:1756:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* | 4842 | // InternalApplicationConfiguration.g:1753:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* |
5403 | loop26: | 4843 | loop26: |
5404 | do { | 4844 | do { |
5405 | int alt26=2; | 4845 | int alt26=2; |
@@ -5412,43 +4852,37 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5412 | 4852 | ||
5413 | switch (alt26) { | 4853 | switch (alt26) { |
5414 | case 1 : | 4854 | case 1 : |
5415 | // InternalApplicationConfiguration.g:1757:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) | 4855 | // InternalApplicationConfiguration.g:1754:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) |
5416 | { | 4856 | { |
5417 | otherlv_3=(Token)match(input,18,FOLLOW_8); if (state.failed) return current; | 4857 | otherlv_3=(Token)match(input,18,FOLLOW_8); |
5418 | if ( state.backtracking==0 ) { | ||
5419 | 4858 | ||
5420 | newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); | 4859 | newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); |
5421 | 4860 | ||
5422 | } | 4861 | // InternalApplicationConfiguration.g:1758:5: ( (lv_entries_4_0= ruleConfigEntry ) ) |
5423 | // InternalApplicationConfiguration.g:1761:5: ( (lv_entries_4_0= ruleConfigEntry ) ) | 4862 | // InternalApplicationConfiguration.g:1759:6: (lv_entries_4_0= ruleConfigEntry ) |
5424 | // InternalApplicationConfiguration.g:1762:6: (lv_entries_4_0= ruleConfigEntry ) | ||
5425 | { | 4863 | { |
5426 | // InternalApplicationConfiguration.g:1762:6: (lv_entries_4_0= ruleConfigEntry ) | 4864 | // InternalApplicationConfiguration.g:1759:6: (lv_entries_4_0= ruleConfigEntry ) |
5427 | // InternalApplicationConfiguration.g:1763:7: lv_entries_4_0= ruleConfigEntry | 4865 | // InternalApplicationConfiguration.g:1760:7: lv_entries_4_0= ruleConfigEntry |
5428 | { | 4866 | { |
5429 | if ( state.backtracking==0 ) { | ||
5430 | 4867 | ||
5431 | newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); | 4868 | newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); |
5432 | 4869 | ||
5433 | } | ||
5434 | pushFollow(FOLLOW_12); | 4870 | pushFollow(FOLLOW_12); |
5435 | lv_entries_4_0=ruleConfigEntry(); | 4871 | lv_entries_4_0=ruleConfigEntry(); |
5436 | 4872 | ||
5437 | state._fsp--; | 4873 | state._fsp--; |
5438 | if (state.failed) return current; | 4874 | |
5439 | if ( state.backtracking==0 ) { | 4875 | |
5440 | 4876 | if (current==null) { | |
5441 | if (current==null) { | 4877 | current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); |
5442 | current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); | 4878 | } |
5443 | } | 4879 | add( |
5444 | add( | 4880 | current, |
5445 | current, | 4881 | "entries", |
5446 | "entries", | 4882 | lv_entries_4_0, |
5447 | lv_entries_4_0, | 4883 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); |
5448 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); | 4884 | afterParserOrEnumRuleCall(); |
5449 | afterParserOrEnumRuleCall(); | 4885 | |
5450 | |||
5451 | } | ||
5452 | 4886 | ||
5453 | } | 4887 | } |
5454 | 4888 | ||
@@ -5470,23 +4904,19 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5470 | 4904 | ||
5471 | } | 4905 | } |
5472 | 4906 | ||
5473 | otherlv_5=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; | 4907 | otherlv_5=(Token)match(input,19,FOLLOW_2); |
5474 | if ( state.backtracking==0 ) { | ||
5475 | 4908 | ||
5476 | newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); | 4909 | newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); |
5477 | 4910 | ||
5478 | } | ||
5479 | 4911 | ||
5480 | } | 4912 | } |
5481 | 4913 | ||
5482 | 4914 | ||
5483 | } | 4915 | } |
5484 | 4916 | ||
5485 | if ( state.backtracking==0 ) { | ||
5486 | 4917 | ||
5487 | leaveRule(); | 4918 | leaveRule(); |
5488 | 4919 | ||
5489 | } | ||
5490 | } | 4920 | } |
5491 | 4921 | ||
5492 | catch (RecognitionException re) { | 4922 | catch (RecognitionException re) { |
@@ -5501,7 +4931,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5501 | 4931 | ||
5502 | 4932 | ||
5503 | // $ANTLR start "entryRuleConfigDeclaration" | 4933 | // $ANTLR start "entryRuleConfigDeclaration" |
5504 | // InternalApplicationConfiguration.g:1790:1: entryRuleConfigDeclaration returns [EObject current=null] : iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ; | 4934 | // InternalApplicationConfiguration.g:1787:1: entryRuleConfigDeclaration returns [EObject current=null] : iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ; |
5505 | public final EObject entryRuleConfigDeclaration() throws RecognitionException { | 4935 | public final EObject entryRuleConfigDeclaration() throws RecognitionException { |
5506 | EObject current = null; | 4936 | EObject current = null; |
5507 | 4937 | ||
@@ -5509,21 +4939,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5509 | 4939 | ||
5510 | 4940 | ||
5511 | try { | 4941 | try { |
5512 | // InternalApplicationConfiguration.g:1790:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ) | 4942 | // InternalApplicationConfiguration.g:1787:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ) |
5513 | // InternalApplicationConfiguration.g:1791:2: iv_ruleConfigDeclaration= ruleConfigDeclaration EOF | 4943 | // InternalApplicationConfiguration.g:1788:2: iv_ruleConfigDeclaration= ruleConfigDeclaration EOF |
5514 | { | 4944 | { |
5515 | if ( state.backtracking==0 ) { | 4945 | newCompositeNode(grammarAccess.getConfigDeclarationRule()); |
5516 | newCompositeNode(grammarAccess.getConfigDeclarationRule()); | ||
5517 | } | ||
5518 | pushFollow(FOLLOW_1); | 4946 | pushFollow(FOLLOW_1); |
5519 | iv_ruleConfigDeclaration=ruleConfigDeclaration(); | 4947 | iv_ruleConfigDeclaration=ruleConfigDeclaration(); |
5520 | 4948 | ||
5521 | state._fsp--; | 4949 | state._fsp--; |
5522 | if (state.failed) return current; | 4950 | |
5523 | if ( state.backtracking==0 ) { | 4951 | current =iv_ruleConfigDeclaration; |
5524 | current =iv_ruleConfigDeclaration; | 4952 | match(input,EOF,FOLLOW_2); |
5525 | } | ||
5526 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
5527 | 4953 | ||
5528 | } | 4954 | } |
5529 | 4955 | ||
@@ -5541,7 +4967,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5541 | 4967 | ||
5542 | 4968 | ||
5543 | // $ANTLR start "ruleConfigDeclaration" | 4969 | // $ANTLR start "ruleConfigDeclaration" |
5544 | // InternalApplicationConfiguration.g:1797:1: ruleConfigDeclaration returns [EObject current=null] : (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ; | 4970 | // InternalApplicationConfiguration.g:1794:1: ruleConfigDeclaration returns [EObject current=null] : (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ; |
5545 | public final EObject ruleConfigDeclaration() throws RecognitionException { | 4971 | public final EObject ruleConfigDeclaration() throws RecognitionException { |
5546 | EObject current = null; | 4972 | EObject current = null; |
5547 | 4973 | ||
@@ -5554,77 +4980,67 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5554 | enterRule(); | 4980 | enterRule(); |
5555 | 4981 | ||
5556 | try { | 4982 | try { |
5557 | // InternalApplicationConfiguration.g:1803:2: ( (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ) | 4983 | // InternalApplicationConfiguration.g:1800:2: ( (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ) |
5558 | // InternalApplicationConfiguration.g:1804:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) | 4984 | // InternalApplicationConfiguration.g:1801:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) |
5559 | { | 4985 | { |
5560 | // InternalApplicationConfiguration.g:1804:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) | 4986 | // InternalApplicationConfiguration.g:1801:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) |
5561 | // InternalApplicationConfiguration.g:1805:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) | 4987 | // InternalApplicationConfiguration.g:1802:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) |
5562 | { | 4988 | { |
5563 | otherlv_0=(Token)match(input,27,FOLLOW_6); if (state.failed) return current; | 4989 | otherlv_0=(Token)match(input,27,FOLLOW_6); |
5564 | if ( state.backtracking==0 ) { | ||
5565 | 4990 | ||
5566 | newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); | 4991 | newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); |
5567 | 4992 | ||
5568 | } | 4993 | // InternalApplicationConfiguration.g:1806:3: ( (lv_name_1_0= RULE_ID ) ) |
5569 | // InternalApplicationConfiguration.g:1809:3: ( (lv_name_1_0= RULE_ID ) ) | 4994 | // InternalApplicationConfiguration.g:1807:4: (lv_name_1_0= RULE_ID ) |
5570 | // InternalApplicationConfiguration.g:1810:4: (lv_name_1_0= RULE_ID ) | ||
5571 | { | 4995 | { |
5572 | // InternalApplicationConfiguration.g:1810:4: (lv_name_1_0= RULE_ID ) | 4996 | // InternalApplicationConfiguration.g:1807:4: (lv_name_1_0= RULE_ID ) |
5573 | // InternalApplicationConfiguration.g:1811:5: lv_name_1_0= RULE_ID | 4997 | // InternalApplicationConfiguration.g:1808:5: lv_name_1_0= RULE_ID |
5574 | { | 4998 | { |
5575 | lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current; | 4999 | lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); |
5576 | if ( state.backtracking==0 ) { | ||
5577 | 5000 | ||
5578 | newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); | 5001 | newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); |
5579 | 5002 | ||
5580 | } | ||
5581 | if ( state.backtracking==0 ) { | ||
5582 | 5003 | ||
5583 | if (current==null) { | 5004 | if (current==null) { |
5584 | current = createModelElement(grammarAccess.getConfigDeclarationRule()); | 5005 | current = createModelElement(grammarAccess.getConfigDeclarationRule()); |
5585 | } | 5006 | } |
5586 | setWithLastConsumed( | 5007 | setWithLastConsumed( |
5587 | current, | 5008 | current, |
5588 | "name", | 5009 | "name", |
5589 | lv_name_1_0, | 5010 | lv_name_1_0, |
5590 | "org.eclipse.xtext.common.Terminals.ID"); | 5011 | "org.eclipse.xtext.common.Terminals.ID"); |
5591 | 5012 | ||
5592 | } | ||
5593 | 5013 | ||
5594 | } | 5014 | } |
5595 | 5015 | ||
5596 | 5016 | ||
5597 | } | 5017 | } |
5598 | 5018 | ||
5599 | // InternalApplicationConfiguration.g:1827:3: ( (lv_specification_2_0= ruleConfigSpecification ) ) | 5019 | // InternalApplicationConfiguration.g:1824:3: ( (lv_specification_2_0= ruleConfigSpecification ) ) |
5600 | // InternalApplicationConfiguration.g:1828:4: (lv_specification_2_0= ruleConfigSpecification ) | 5020 | // InternalApplicationConfiguration.g:1825:4: (lv_specification_2_0= ruleConfigSpecification ) |
5601 | { | 5021 | { |
5602 | // InternalApplicationConfiguration.g:1828:4: (lv_specification_2_0= ruleConfigSpecification ) | 5022 | // InternalApplicationConfiguration.g:1825:4: (lv_specification_2_0= ruleConfigSpecification ) |
5603 | // InternalApplicationConfiguration.g:1829:5: lv_specification_2_0= ruleConfigSpecification | 5023 | // InternalApplicationConfiguration.g:1826:5: lv_specification_2_0= ruleConfigSpecification |
5604 | { | 5024 | { |
5605 | if ( state.backtracking==0 ) { | ||
5606 | 5025 | ||
5607 | newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); | 5026 | newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); |
5608 | 5027 | ||
5609 | } | ||
5610 | pushFollow(FOLLOW_2); | 5028 | pushFollow(FOLLOW_2); |
5611 | lv_specification_2_0=ruleConfigSpecification(); | 5029 | lv_specification_2_0=ruleConfigSpecification(); |
5612 | 5030 | ||
5613 | state._fsp--; | 5031 | state._fsp--; |
5614 | if (state.failed) return current; | ||
5615 | if ( state.backtracking==0 ) { | ||
5616 | 5032 | ||
5617 | if (current==null) { | 5033 | |
5618 | current = createModelElementForParent(grammarAccess.getConfigDeclarationRule()); | 5034 | if (current==null) { |
5619 | } | 5035 | current = createModelElementForParent(grammarAccess.getConfigDeclarationRule()); |
5620 | set( | 5036 | } |
5621 | current, | 5037 | set( |
5622 | "specification", | 5038 | current, |
5623 | lv_specification_2_0, | 5039 | "specification", |
5624 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); | 5040 | lv_specification_2_0, |
5625 | afterParserOrEnumRuleCall(); | 5041 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); |
5626 | 5042 | afterParserOrEnumRuleCall(); | |
5627 | } | 5043 | |
5628 | 5044 | ||
5629 | } | 5045 | } |
5630 | 5046 | ||
@@ -5637,11 +5053,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5637 | 5053 | ||
5638 | } | 5054 | } |
5639 | 5055 | ||
5640 | if ( state.backtracking==0 ) { | ||
5641 | 5056 | ||
5642 | leaveRule(); | 5057 | leaveRule(); |
5643 | 5058 | ||
5644 | } | ||
5645 | } | 5059 | } |
5646 | 5060 | ||
5647 | catch (RecognitionException re) { | 5061 | catch (RecognitionException re) { |
@@ -5656,7 +5070,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5656 | 5070 | ||
5657 | 5071 | ||
5658 | // $ANTLR start "entryRuleConfigEntry" | 5072 | // $ANTLR start "entryRuleConfigEntry" |
5659 | // InternalApplicationConfiguration.g:1850:1: entryRuleConfigEntry returns [EObject current=null] : iv_ruleConfigEntry= ruleConfigEntry EOF ; | 5073 | // InternalApplicationConfiguration.g:1847:1: entryRuleConfigEntry returns [EObject current=null] : iv_ruleConfigEntry= ruleConfigEntry EOF ; |
5660 | public final EObject entryRuleConfigEntry() throws RecognitionException { | 5074 | public final EObject entryRuleConfigEntry() throws RecognitionException { |
5661 | EObject current = null; | 5075 | EObject current = null; |
5662 | 5076 | ||
@@ -5664,21 +5078,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5664 | 5078 | ||
5665 | 5079 | ||
5666 | try { | 5080 | try { |
5667 | // InternalApplicationConfiguration.g:1850:52: (iv_ruleConfigEntry= ruleConfigEntry EOF ) | 5081 | // InternalApplicationConfiguration.g:1847:52: (iv_ruleConfigEntry= ruleConfigEntry EOF ) |
5668 | // InternalApplicationConfiguration.g:1851:2: iv_ruleConfigEntry= ruleConfigEntry EOF | 5082 | // InternalApplicationConfiguration.g:1848:2: iv_ruleConfigEntry= ruleConfigEntry EOF |
5669 | { | 5083 | { |
5670 | if ( state.backtracking==0 ) { | 5084 | newCompositeNode(grammarAccess.getConfigEntryRule()); |
5671 | newCompositeNode(grammarAccess.getConfigEntryRule()); | ||
5672 | } | ||
5673 | pushFollow(FOLLOW_1); | 5085 | pushFollow(FOLLOW_1); |
5674 | iv_ruleConfigEntry=ruleConfigEntry(); | 5086 | iv_ruleConfigEntry=ruleConfigEntry(); |
5675 | 5087 | ||
5676 | state._fsp--; | 5088 | state._fsp--; |
5677 | if (state.failed) return current; | 5089 | |
5678 | if ( state.backtracking==0 ) { | 5090 | current =iv_ruleConfigEntry; |
5679 | current =iv_ruleConfigEntry; | 5091 | match(input,EOF,FOLLOW_2); |
5680 | } | ||
5681 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
5682 | 5092 | ||
5683 | } | 5093 | } |
5684 | 5094 | ||
@@ -5696,7 +5106,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5696 | 5106 | ||
5697 | 5107 | ||
5698 | // $ANTLR start "ruleConfigEntry" | 5108 | // $ANTLR start "ruleConfigEntry" |
5699 | // InternalApplicationConfiguration.g:1857:1: ruleConfigEntry returns [EObject current=null] : ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ; | 5109 | // InternalApplicationConfiguration.g:1854:1: ruleConfigEntry returns [EObject current=null] : ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ; |
5700 | public final EObject ruleConfigEntry() throws RecognitionException { | 5110 | public final EObject ruleConfigEntry() throws RecognitionException { |
5701 | EObject current = null; | 5111 | EObject current = null; |
5702 | 5112 | ||
@@ -5708,72 +5118,62 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5708 | enterRule(); | 5118 | enterRule(); |
5709 | 5119 | ||
5710 | try { | 5120 | try { |
5711 | // InternalApplicationConfiguration.g:1863:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ) | 5121 | // InternalApplicationConfiguration.g:1860:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ) |
5712 | // InternalApplicationConfiguration.g:1864:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) | 5122 | // InternalApplicationConfiguration.g:1861:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) |
5713 | { | 5123 | { |
5714 | // InternalApplicationConfiguration.g:1864:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) | 5124 | // InternalApplicationConfiguration.g:1861:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) |
5715 | // InternalApplicationConfiguration.g:1865:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) | 5125 | // InternalApplicationConfiguration.g:1862:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) |
5716 | { | 5126 | { |
5717 | // InternalApplicationConfiguration.g:1865:3: ( (lv_key_0_0= RULE_STRING ) ) | 5127 | // InternalApplicationConfiguration.g:1862:3: ( (lv_key_0_0= RULE_STRING ) ) |
5718 | // InternalApplicationConfiguration.g:1866:4: (lv_key_0_0= RULE_STRING ) | 5128 | // InternalApplicationConfiguration.g:1863:4: (lv_key_0_0= RULE_STRING ) |
5719 | { | 5129 | { |
5720 | // InternalApplicationConfiguration.g:1866:4: (lv_key_0_0= RULE_STRING ) | 5130 | // InternalApplicationConfiguration.g:1863:4: (lv_key_0_0= RULE_STRING ) |
5721 | // InternalApplicationConfiguration.g:1867:5: lv_key_0_0= RULE_STRING | 5131 | // InternalApplicationConfiguration.g:1864:5: lv_key_0_0= RULE_STRING |
5722 | { | 5132 | { |
5723 | lv_key_0_0=(Token)match(input,RULE_STRING,FOLLOW_10); if (state.failed) return current; | 5133 | lv_key_0_0=(Token)match(input,RULE_STRING,FOLLOW_10); |
5724 | if ( state.backtracking==0 ) { | ||
5725 | 5134 | ||
5726 | newLeafNode(lv_key_0_0, grammarAccess.getConfigEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); | 5135 | newLeafNode(lv_key_0_0, grammarAccess.getConfigEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); |
5727 | 5136 | ||
5728 | } | ||
5729 | if ( state.backtracking==0 ) { | ||
5730 | 5137 | ||
5731 | if (current==null) { | 5138 | if (current==null) { |
5732 | current = createModelElement(grammarAccess.getConfigEntryRule()); | 5139 | current = createModelElement(grammarAccess.getConfigEntryRule()); |
5733 | } | 5140 | } |
5734 | setWithLastConsumed( | 5141 | setWithLastConsumed( |
5735 | current, | 5142 | current, |
5736 | "key", | 5143 | "key", |
5737 | lv_key_0_0, | 5144 | lv_key_0_0, |
5738 | "org.eclipse.xtext.common.Terminals.STRING"); | 5145 | "org.eclipse.xtext.common.Terminals.STRING"); |
5739 | 5146 | ||
5740 | } | ||
5741 | 5147 | ||
5742 | } | 5148 | } |
5743 | 5149 | ||
5744 | 5150 | ||
5745 | } | 5151 | } |
5746 | 5152 | ||
5747 | otherlv_1=(Token)match(input,16,FOLLOW_8); if (state.failed) return current; | 5153 | otherlv_1=(Token)match(input,16,FOLLOW_8); |
5748 | if ( state.backtracking==0 ) { | ||
5749 | 5154 | ||
5750 | newLeafNode(otherlv_1, grammarAccess.getConfigEntryAccess().getEqualsSignKeyword_1()); | 5155 | newLeafNode(otherlv_1, grammarAccess.getConfigEntryAccess().getEqualsSignKeyword_1()); |
5751 | 5156 | ||
5752 | } | 5157 | // InternalApplicationConfiguration.g:1884:3: ( (lv_value_2_0= RULE_STRING ) ) |
5753 | // InternalApplicationConfiguration.g:1887:3: ( (lv_value_2_0= RULE_STRING ) ) | 5158 | // InternalApplicationConfiguration.g:1885:4: (lv_value_2_0= RULE_STRING ) |
5754 | // InternalApplicationConfiguration.g:1888:4: (lv_value_2_0= RULE_STRING ) | ||
5755 | { | 5159 | { |
5756 | // InternalApplicationConfiguration.g:1888:4: (lv_value_2_0= RULE_STRING ) | 5160 | // InternalApplicationConfiguration.g:1885:4: (lv_value_2_0= RULE_STRING ) |
5757 | // InternalApplicationConfiguration.g:1889:5: lv_value_2_0= RULE_STRING | 5161 | // InternalApplicationConfiguration.g:1886:5: lv_value_2_0= RULE_STRING |
5758 | { | 5162 | { |
5759 | lv_value_2_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current; | 5163 | lv_value_2_0=(Token)match(input,RULE_STRING,FOLLOW_2); |
5760 | if ( state.backtracking==0 ) { | ||
5761 | 5164 | ||
5762 | newLeafNode(lv_value_2_0, grammarAccess.getConfigEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); | 5165 | newLeafNode(lv_value_2_0, grammarAccess.getConfigEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); |
5763 | 5166 | ||
5764 | } | ||
5765 | if ( state.backtracking==0 ) { | ||
5766 | 5167 | ||
5767 | if (current==null) { | 5168 | if (current==null) { |
5768 | current = createModelElement(grammarAccess.getConfigEntryRule()); | 5169 | current = createModelElement(grammarAccess.getConfigEntryRule()); |
5769 | } | 5170 | } |
5770 | setWithLastConsumed( | 5171 | setWithLastConsumed( |
5771 | current, | 5172 | current, |
5772 | "value", | 5173 | "value", |
5773 | lv_value_2_0, | 5174 | lv_value_2_0, |
5774 | "org.eclipse.xtext.common.Terminals.STRING"); | 5175 | "org.eclipse.xtext.common.Terminals.STRING"); |
5775 | 5176 | ||
5776 | } | ||
5777 | 5177 | ||
5778 | } | 5178 | } |
5779 | 5179 | ||
@@ -5786,11 +5186,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5786 | 5186 | ||
5787 | } | 5187 | } |
5788 | 5188 | ||
5789 | if ( state.backtracking==0 ) { | ||
5790 | 5189 | ||
5791 | leaveRule(); | 5190 | leaveRule(); |
5792 | 5191 | ||
5793 | } | ||
5794 | } | 5192 | } |
5795 | 5193 | ||
5796 | catch (RecognitionException re) { | 5194 | catch (RecognitionException re) { |
@@ -5805,7 +5203,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5805 | 5203 | ||
5806 | 5204 | ||
5807 | // $ANTLR start "entryRuleConfigReference" | 5205 | // $ANTLR start "entryRuleConfigReference" |
5808 | // InternalApplicationConfiguration.g:1909:1: entryRuleConfigReference returns [EObject current=null] : iv_ruleConfigReference= ruleConfigReference EOF ; | 5206 | // InternalApplicationConfiguration.g:1906:1: entryRuleConfigReference returns [EObject current=null] : iv_ruleConfigReference= ruleConfigReference EOF ; |
5809 | public final EObject entryRuleConfigReference() throws RecognitionException { | 5207 | public final EObject entryRuleConfigReference() throws RecognitionException { |
5810 | EObject current = null; | 5208 | EObject current = null; |
5811 | 5209 | ||
@@ -5813,21 +5211,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5813 | 5211 | ||
5814 | 5212 | ||
5815 | try { | 5213 | try { |
5816 | // InternalApplicationConfiguration.g:1909:56: (iv_ruleConfigReference= ruleConfigReference EOF ) | 5214 | // InternalApplicationConfiguration.g:1906:56: (iv_ruleConfigReference= ruleConfigReference EOF ) |
5817 | // InternalApplicationConfiguration.g:1910:2: iv_ruleConfigReference= ruleConfigReference EOF | 5215 | // InternalApplicationConfiguration.g:1907:2: iv_ruleConfigReference= ruleConfigReference EOF |
5818 | { | 5216 | { |
5819 | if ( state.backtracking==0 ) { | 5217 | newCompositeNode(grammarAccess.getConfigReferenceRule()); |
5820 | newCompositeNode(grammarAccess.getConfigReferenceRule()); | ||
5821 | } | ||
5822 | pushFollow(FOLLOW_1); | 5218 | pushFollow(FOLLOW_1); |
5823 | iv_ruleConfigReference=ruleConfigReference(); | 5219 | iv_ruleConfigReference=ruleConfigReference(); |
5824 | 5220 | ||
5825 | state._fsp--; | 5221 | state._fsp--; |
5826 | if (state.failed) return current; | 5222 | |
5827 | if ( state.backtracking==0 ) { | 5223 | current =iv_ruleConfigReference; |
5828 | current =iv_ruleConfigReference; | 5224 | match(input,EOF,FOLLOW_2); |
5829 | } | ||
5830 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
5831 | 5225 | ||
5832 | } | 5226 | } |
5833 | 5227 | ||
@@ -5845,7 +5239,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5845 | 5239 | ||
5846 | 5240 | ||
5847 | // $ANTLR start "ruleConfigReference" | 5241 | // $ANTLR start "ruleConfigReference" |
5848 | // InternalApplicationConfiguration.g:1916:1: ruleConfigReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; | 5242 | // InternalApplicationConfiguration.g:1913:1: ruleConfigReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; |
5849 | public final EObject ruleConfigReference() throws RecognitionException { | 5243 | public final EObject ruleConfigReference() throws RecognitionException { |
5850 | EObject current = null; | 5244 | EObject current = null; |
5851 | 5245 | ||
@@ -5855,28 +5249,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5855 | enterRule(); | 5249 | enterRule(); |
5856 | 5250 | ||
5857 | try { | 5251 | try { |
5858 | // InternalApplicationConfiguration.g:1922:2: ( ( (otherlv_0= RULE_ID ) ) ) | 5252 | // InternalApplicationConfiguration.g:1919:2: ( ( (otherlv_0= RULE_ID ) ) ) |
5859 | // InternalApplicationConfiguration.g:1923:2: ( (otherlv_0= RULE_ID ) ) | 5253 | // InternalApplicationConfiguration.g:1920:2: ( (otherlv_0= RULE_ID ) ) |
5860 | { | 5254 | { |
5861 | // InternalApplicationConfiguration.g:1923:2: ( (otherlv_0= RULE_ID ) ) | 5255 | // InternalApplicationConfiguration.g:1920:2: ( (otherlv_0= RULE_ID ) ) |
5862 | // InternalApplicationConfiguration.g:1924:3: (otherlv_0= RULE_ID ) | 5256 | // InternalApplicationConfiguration.g:1921:3: (otherlv_0= RULE_ID ) |
5863 | { | 5257 | { |
5864 | // InternalApplicationConfiguration.g:1924:3: (otherlv_0= RULE_ID ) | 5258 | // InternalApplicationConfiguration.g:1921:3: (otherlv_0= RULE_ID ) |
5865 | // InternalApplicationConfiguration.g:1925:4: otherlv_0= RULE_ID | 5259 | // InternalApplicationConfiguration.g:1922:4: otherlv_0= RULE_ID |
5866 | { | 5260 | { |
5867 | if ( state.backtracking==0 ) { | ||
5868 | 5261 | ||
5869 | if (current==null) { | 5262 | if (current==null) { |
5870 | current = createModelElement(grammarAccess.getConfigReferenceRule()); | 5263 | current = createModelElement(grammarAccess.getConfigReferenceRule()); |
5871 | } | 5264 | } |
5872 | 5265 | ||
5873 | } | 5266 | otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); |
5874 | otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; | ||
5875 | if ( state.backtracking==0 ) { | ||
5876 | 5267 | ||
5877 | newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); | 5268 | newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); |
5878 | 5269 | ||
5879 | } | ||
5880 | 5270 | ||
5881 | } | 5271 | } |
5882 | 5272 | ||
@@ -5886,11 +5276,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5886 | 5276 | ||
5887 | } | 5277 | } |
5888 | 5278 | ||
5889 | if ( state.backtracking==0 ) { | ||
5890 | 5279 | ||
5891 | leaveRule(); | 5280 | leaveRule(); |
5892 | 5281 | ||
5893 | } | ||
5894 | } | 5282 | } |
5895 | 5283 | ||
5896 | catch (RecognitionException re) { | 5284 | catch (RecognitionException re) { |
@@ -5905,7 +5293,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5905 | 5293 | ||
5906 | 5294 | ||
5907 | // $ANTLR start "entryRuleConfig" | 5295 | // $ANTLR start "entryRuleConfig" |
5908 | // InternalApplicationConfiguration.g:1939:1: entryRuleConfig returns [EObject current=null] : iv_ruleConfig= ruleConfig EOF ; | 5296 | // InternalApplicationConfiguration.g:1936:1: entryRuleConfig returns [EObject current=null] : iv_ruleConfig= ruleConfig EOF ; |
5909 | public final EObject entryRuleConfig() throws RecognitionException { | 5297 | public final EObject entryRuleConfig() throws RecognitionException { |
5910 | EObject current = null; | 5298 | EObject current = null; |
5911 | 5299 | ||
@@ -5913,21 +5301,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5913 | 5301 | ||
5914 | 5302 | ||
5915 | try { | 5303 | try { |
5916 | // InternalApplicationConfiguration.g:1939:47: (iv_ruleConfig= ruleConfig EOF ) | 5304 | // InternalApplicationConfiguration.g:1936:47: (iv_ruleConfig= ruleConfig EOF ) |
5917 | // InternalApplicationConfiguration.g:1940:2: iv_ruleConfig= ruleConfig EOF | 5305 | // InternalApplicationConfiguration.g:1937:2: iv_ruleConfig= ruleConfig EOF |
5918 | { | 5306 | { |
5919 | if ( state.backtracking==0 ) { | 5307 | newCompositeNode(grammarAccess.getConfigRule()); |
5920 | newCompositeNode(grammarAccess.getConfigRule()); | ||
5921 | } | ||
5922 | pushFollow(FOLLOW_1); | 5308 | pushFollow(FOLLOW_1); |
5923 | iv_ruleConfig=ruleConfig(); | 5309 | iv_ruleConfig=ruleConfig(); |
5924 | 5310 | ||
5925 | state._fsp--; | 5311 | state._fsp--; |
5926 | if (state.failed) return current; | 5312 | |
5927 | if ( state.backtracking==0 ) { | 5313 | current =iv_ruleConfig; |
5928 | current =iv_ruleConfig; | 5314 | match(input,EOF,FOLLOW_2); |
5929 | } | ||
5930 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
5931 | 5315 | ||
5932 | } | 5316 | } |
5933 | 5317 | ||
@@ -5945,7 +5329,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5945 | 5329 | ||
5946 | 5330 | ||
5947 | // $ANTLR start "ruleConfig" | 5331 | // $ANTLR start "ruleConfig" |
5948 | // InternalApplicationConfiguration.g:1946:1: ruleConfig returns [EObject current=null] : (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ; | 5332 | // InternalApplicationConfiguration.g:1943:1: ruleConfig returns [EObject current=null] : (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ; |
5949 | public final EObject ruleConfig() throws RecognitionException { | 5333 | public final EObject ruleConfig() throws RecognitionException { |
5950 | EObject current = null; | 5334 | EObject current = null; |
5951 | 5335 | ||
@@ -5958,10 +5342,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5958 | enterRule(); | 5342 | enterRule(); |
5959 | 5343 | ||
5960 | try { | 5344 | try { |
5961 | // InternalApplicationConfiguration.g:1952:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ) | 5345 | // InternalApplicationConfiguration.g:1949:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ) |
5962 | // InternalApplicationConfiguration.g:1953:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) | 5346 | // InternalApplicationConfiguration.g:1950:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) |
5963 | { | 5347 | { |
5964 | // InternalApplicationConfiguration.g:1953:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) | 5348 | // InternalApplicationConfiguration.g:1950:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) |
5965 | int alt28=2; | 5349 | int alt28=2; |
5966 | int LA28_0 = input.LA(1); | 5350 | int LA28_0 = input.LA(1); |
5967 | 5351 | ||
@@ -5972,7 +5356,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5972 | alt28=2; | 5356 | alt28=2; |
5973 | } | 5357 | } |
5974 | else { | 5358 | else { |
5975 | if (state.backtracking>0) {state.failed=true; return current;} | ||
5976 | NoViableAltException nvae = | 5359 | NoViableAltException nvae = |
5977 | new NoViableAltException("", 28, 0, input); | 5360 | new NoViableAltException("", 28, 0, input); |
5978 | 5361 | ||
@@ -5980,46 +5363,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
5980 | } | 5363 | } |
5981 | switch (alt28) { | 5364 | switch (alt28) { |
5982 | case 1 : | 5365 | case 1 : |
5983 | // InternalApplicationConfiguration.g:1954:3: this_ConfigSpecification_0= ruleConfigSpecification | 5366 | // InternalApplicationConfiguration.g:1951:3: this_ConfigSpecification_0= ruleConfigSpecification |
5984 | { | 5367 | { |
5985 | if ( state.backtracking==0 ) { | ||
5986 | 5368 | ||
5987 | newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); | 5369 | newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); |
5988 | 5370 | ||
5989 | } | ||
5990 | pushFollow(FOLLOW_2); | 5371 | pushFollow(FOLLOW_2); |
5991 | this_ConfigSpecification_0=ruleConfigSpecification(); | 5372 | this_ConfigSpecification_0=ruleConfigSpecification(); |
5992 | 5373 | ||
5993 | state._fsp--; | 5374 | state._fsp--; |
5994 | if (state.failed) return current; | ||
5995 | if ( state.backtracking==0 ) { | ||
5996 | 5375 | ||
5997 | current = this_ConfigSpecification_0; | 5376 | |
5998 | afterParserOrEnumRuleCall(); | 5377 | current = this_ConfigSpecification_0; |
5999 | 5378 | afterParserOrEnumRuleCall(); | |
6000 | } | 5379 | |
6001 | 5380 | ||
6002 | } | 5381 | } |
6003 | break; | 5382 | break; |
6004 | case 2 : | 5383 | case 2 : |
6005 | // InternalApplicationConfiguration.g:1963:3: this_ConfigReference_1= ruleConfigReference | 5384 | // InternalApplicationConfiguration.g:1960:3: this_ConfigReference_1= ruleConfigReference |
6006 | { | 5385 | { |
6007 | if ( state.backtracking==0 ) { | ||
6008 | 5386 | ||
6009 | newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); | 5387 | newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); |
6010 | 5388 | ||
6011 | } | ||
6012 | pushFollow(FOLLOW_2); | 5389 | pushFollow(FOLLOW_2); |
6013 | this_ConfigReference_1=ruleConfigReference(); | 5390 | this_ConfigReference_1=ruleConfigReference(); |
6014 | 5391 | ||
6015 | state._fsp--; | 5392 | state._fsp--; |
6016 | if (state.failed) return current; | ||
6017 | if ( state.backtracking==0 ) { | ||
6018 | 5393 | ||
6019 | current = this_ConfigReference_1; | 5394 | |
6020 | afterParserOrEnumRuleCall(); | 5395 | current = this_ConfigReference_1; |
6021 | 5396 | afterParserOrEnumRuleCall(); | |
6022 | } | 5397 | |
6023 | 5398 | ||
6024 | } | 5399 | } |
6025 | break; | 5400 | break; |
@@ -6029,11 +5404,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6029 | 5404 | ||
6030 | } | 5405 | } |
6031 | 5406 | ||
6032 | if ( state.backtracking==0 ) { | ||
6033 | 5407 | ||
6034 | leaveRule(); | 5408 | leaveRule(); |
6035 | 5409 | ||
6036 | } | ||
6037 | } | 5410 | } |
6038 | 5411 | ||
6039 | catch (RecognitionException re) { | 5412 | catch (RecognitionException re) { |
@@ -6048,7 +5421,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6048 | 5421 | ||
6049 | 5422 | ||
6050 | // $ANTLR start "entryRuleScopeSpecification" | 5423 | // $ANTLR start "entryRuleScopeSpecification" |
6051 | // InternalApplicationConfiguration.g:1975:1: entryRuleScopeSpecification returns [EObject current=null] : iv_ruleScopeSpecification= ruleScopeSpecification EOF ; | 5424 | // InternalApplicationConfiguration.g:1972:1: entryRuleScopeSpecification returns [EObject current=null] : iv_ruleScopeSpecification= ruleScopeSpecification EOF ; |
6052 | public final EObject entryRuleScopeSpecification() throws RecognitionException { | 5425 | public final EObject entryRuleScopeSpecification() throws RecognitionException { |
6053 | EObject current = null; | 5426 | EObject current = null; |
6054 | 5427 | ||
@@ -6056,21 +5429,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6056 | 5429 | ||
6057 | 5430 | ||
6058 | try { | 5431 | try { |
6059 | // InternalApplicationConfiguration.g:1975:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF ) | 5432 | // InternalApplicationConfiguration.g:1972:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF ) |
6060 | // InternalApplicationConfiguration.g:1976:2: iv_ruleScopeSpecification= ruleScopeSpecification EOF | 5433 | // InternalApplicationConfiguration.g:1973:2: iv_ruleScopeSpecification= ruleScopeSpecification EOF |
6061 | { | 5434 | { |
6062 | if ( state.backtracking==0 ) { | 5435 | newCompositeNode(grammarAccess.getScopeSpecificationRule()); |
6063 | newCompositeNode(grammarAccess.getScopeSpecificationRule()); | ||
6064 | } | ||
6065 | pushFollow(FOLLOW_1); | 5436 | pushFollow(FOLLOW_1); |
6066 | iv_ruleScopeSpecification=ruleScopeSpecification(); | 5437 | iv_ruleScopeSpecification=ruleScopeSpecification(); |
6067 | 5438 | ||
6068 | state._fsp--; | 5439 | state._fsp--; |
6069 | if (state.failed) return current; | 5440 | |
6070 | if ( state.backtracking==0 ) { | 5441 | current =iv_ruleScopeSpecification; |
6071 | current =iv_ruleScopeSpecification; | 5442 | match(input,EOF,FOLLOW_2); |
6072 | } | ||
6073 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
6074 | 5443 | ||
6075 | } | 5444 | } |
6076 | 5445 | ||
@@ -6088,7 +5457,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6088 | 5457 | ||
6089 | 5458 | ||
6090 | // $ANTLR start "ruleScopeSpecification" | 5459 | // $ANTLR start "ruleScopeSpecification" |
6091 | // InternalApplicationConfiguration.g:1982:1: ruleScopeSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ; | 5460 | // InternalApplicationConfiguration.g:1979:1: ruleScopeSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ; |
6092 | public final EObject ruleScopeSpecification() throws RecognitionException { | 5461 | public final EObject ruleScopeSpecification() throws RecognitionException { |
6093 | EObject current = null; | 5462 | EObject current = null; |
6094 | 5463 | ||
@@ -6104,32 +5473,28 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6104 | enterRule(); | 5473 | enterRule(); |
6105 | 5474 | ||
6106 | try { | 5475 | try { |
6107 | // InternalApplicationConfiguration.g:1988:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ) | 5476 | // InternalApplicationConfiguration.g:1985:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ) |
6108 | // InternalApplicationConfiguration.g:1989:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) | 5477 | // InternalApplicationConfiguration.g:1986:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) |
6109 | { | 5478 | { |
6110 | // InternalApplicationConfiguration.g:1989:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) | 5479 | // InternalApplicationConfiguration.g:1986:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) |
6111 | // InternalApplicationConfiguration.g:1990:3: () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' | 5480 | // InternalApplicationConfiguration.g:1987:3: () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' |
6112 | { | 5481 | { |
6113 | // InternalApplicationConfiguration.g:1990:3: () | 5482 | // InternalApplicationConfiguration.g:1987:3: () |
6114 | // InternalApplicationConfiguration.g:1991:4: | 5483 | // InternalApplicationConfiguration.g:1988:4: |
6115 | { | 5484 | { |
6116 | if ( state.backtracking==0 ) { | ||
6117 | 5485 | ||
6118 | current = forceCreateModelElement( | 5486 | current = forceCreateModelElement( |
6119 | grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(), | 5487 | grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(), |
6120 | current); | 5488 | current); |
6121 | 5489 | ||
6122 | } | ||
6123 | 5490 | ||
6124 | } | 5491 | } |
6125 | 5492 | ||
6126 | otherlv_1=(Token)match(input,17,FOLLOW_20); if (state.failed) return current; | 5493 | otherlv_1=(Token)match(input,17,FOLLOW_20); |
6127 | if ( state.backtracking==0 ) { | ||
6128 | 5494 | ||
6129 | newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); | 5495 | newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); |
6130 | 5496 | ||
6131 | } | 5497 | // InternalApplicationConfiguration.g:1998:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? |
6132 | // InternalApplicationConfiguration.g:2001:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? | ||
6133 | int alt30=2; | 5498 | int alt30=2; |
6134 | int LA30_0 = input.LA(1); | 5499 | int LA30_0 = input.LA(1); |
6135 | 5500 | ||
@@ -6138,44 +5503,40 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6138 | } | 5503 | } |
6139 | switch (alt30) { | 5504 | switch (alt30) { |
6140 | case 1 : | 5505 | case 1 : |
6141 | // InternalApplicationConfiguration.g:2002:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* | 5506 | // InternalApplicationConfiguration.g:1999:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* |
6142 | { | 5507 | { |
6143 | // InternalApplicationConfiguration.g:2002:4: ( (lv_scopes_2_0= ruleTypeScope ) ) | 5508 | // InternalApplicationConfiguration.g:1999:4: ( (lv_scopes_2_0= ruleTypeScope ) ) |
6144 | // InternalApplicationConfiguration.g:2003:5: (lv_scopes_2_0= ruleTypeScope ) | 5509 | // InternalApplicationConfiguration.g:2000:5: (lv_scopes_2_0= ruleTypeScope ) |
6145 | { | 5510 | { |
6146 | // InternalApplicationConfiguration.g:2003:5: (lv_scopes_2_0= ruleTypeScope ) | 5511 | // InternalApplicationConfiguration.g:2000:5: (lv_scopes_2_0= ruleTypeScope ) |
6147 | // InternalApplicationConfiguration.g:2004:6: lv_scopes_2_0= ruleTypeScope | 5512 | // InternalApplicationConfiguration.g:2001:6: lv_scopes_2_0= ruleTypeScope |
6148 | { | 5513 | { |
6149 | if ( state.backtracking==0 ) { | ||
6150 | 5514 | ||
6151 | newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); | 5515 | newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); |
6152 | 5516 | ||
6153 | } | ||
6154 | pushFollow(FOLLOW_12); | 5517 | pushFollow(FOLLOW_12); |
6155 | lv_scopes_2_0=ruleTypeScope(); | 5518 | lv_scopes_2_0=ruleTypeScope(); |
6156 | 5519 | ||
6157 | state._fsp--; | 5520 | state._fsp--; |
6158 | if (state.failed) return current; | 5521 | |
6159 | if ( state.backtracking==0 ) { | 5522 | |
6160 | 5523 | if (current==null) { | |
6161 | if (current==null) { | 5524 | current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); |
6162 | current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); | 5525 | } |
6163 | } | 5526 | add( |
6164 | add( | 5527 | current, |
6165 | current, | 5528 | "scopes", |
6166 | "scopes", | 5529 | lv_scopes_2_0, |
6167 | lv_scopes_2_0, | 5530 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); |
6168 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); | 5531 | afterParserOrEnumRuleCall(); |
6169 | afterParserOrEnumRuleCall(); | 5532 | |
6170 | |||
6171 | } | ||
6172 | 5533 | ||
6173 | } | 5534 | } |
6174 | 5535 | ||
6175 | 5536 | ||
6176 | } | 5537 | } |
6177 | 5538 | ||
6178 | // InternalApplicationConfiguration.g:2021:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* | 5539 | // InternalApplicationConfiguration.g:2018:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* |
6179 | loop29: | 5540 | loop29: |
6180 | do { | 5541 | do { |
6181 | int alt29=2; | 5542 | int alt29=2; |
@@ -6188,43 +5549,37 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6188 | 5549 | ||
6189 | switch (alt29) { | 5550 | switch (alt29) { |
6190 | case 1 : | 5551 | case 1 : |
6191 | // InternalApplicationConfiguration.g:2022:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) | 5552 | // InternalApplicationConfiguration.g:2019:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) |
6192 | { | 5553 | { |
6193 | otherlv_3=(Token)match(input,18,FOLLOW_21); if (state.failed) return current; | 5554 | otherlv_3=(Token)match(input,18,FOLLOW_21); |
6194 | if ( state.backtracking==0 ) { | ||
6195 | 5555 | ||
6196 | newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); | 5556 | newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); |
6197 | 5557 | ||
6198 | } | 5558 | // InternalApplicationConfiguration.g:2023:5: ( (lv_scopes_4_0= ruleTypeScope ) ) |
6199 | // InternalApplicationConfiguration.g:2026:5: ( (lv_scopes_4_0= ruleTypeScope ) ) | 5559 | // InternalApplicationConfiguration.g:2024:6: (lv_scopes_4_0= ruleTypeScope ) |
6200 | // InternalApplicationConfiguration.g:2027:6: (lv_scopes_4_0= ruleTypeScope ) | ||
6201 | { | 5560 | { |
6202 | // InternalApplicationConfiguration.g:2027:6: (lv_scopes_4_0= ruleTypeScope ) | 5561 | // InternalApplicationConfiguration.g:2024:6: (lv_scopes_4_0= ruleTypeScope ) |
6203 | // InternalApplicationConfiguration.g:2028:7: lv_scopes_4_0= ruleTypeScope | 5562 | // InternalApplicationConfiguration.g:2025:7: lv_scopes_4_0= ruleTypeScope |
6204 | { | 5563 | { |
6205 | if ( state.backtracking==0 ) { | ||
6206 | 5564 | ||
6207 | newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); | 5565 | newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); |
6208 | 5566 | ||
6209 | } | ||
6210 | pushFollow(FOLLOW_12); | 5567 | pushFollow(FOLLOW_12); |
6211 | lv_scopes_4_0=ruleTypeScope(); | 5568 | lv_scopes_4_0=ruleTypeScope(); |
6212 | 5569 | ||
6213 | state._fsp--; | 5570 | state._fsp--; |
6214 | if (state.failed) return current; | 5571 | |
6215 | if ( state.backtracking==0 ) { | 5572 | |
6216 | 5573 | if (current==null) { | |
6217 | if (current==null) { | 5574 | current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); |
6218 | current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); | 5575 | } |
6219 | } | 5576 | add( |
6220 | add( | 5577 | current, |
6221 | current, | 5578 | "scopes", |
6222 | "scopes", | 5579 | lv_scopes_4_0, |
6223 | lv_scopes_4_0, | 5580 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); |
6224 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); | 5581 | afterParserOrEnumRuleCall(); |
6225 | afterParserOrEnumRuleCall(); | 5582 | |
6226 | |||
6227 | } | ||
6228 | 5583 | ||
6229 | } | 5584 | } |
6230 | 5585 | ||
@@ -6246,23 +5601,19 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6246 | 5601 | ||
6247 | } | 5602 | } |
6248 | 5603 | ||
6249 | otherlv_5=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; | 5604 | otherlv_5=(Token)match(input,19,FOLLOW_2); |
6250 | if ( state.backtracking==0 ) { | ||
6251 | 5605 | ||
6252 | newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); | 5606 | newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); |
6253 | 5607 | ||
6254 | } | ||
6255 | 5608 | ||
6256 | } | 5609 | } |
6257 | 5610 | ||
6258 | 5611 | ||
6259 | } | 5612 | } |
6260 | 5613 | ||
6261 | if ( state.backtracking==0 ) { | ||
6262 | 5614 | ||
6263 | leaveRule(); | 5615 | leaveRule(); |
6264 | 5616 | ||
6265 | } | ||
6266 | } | 5617 | } |
6267 | 5618 | ||
6268 | catch (RecognitionException re) { | 5619 | catch (RecognitionException re) { |
@@ -6277,7 +5628,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6277 | 5628 | ||
6278 | 5629 | ||
6279 | // $ANTLR start "entryRuleTypeScope" | 5630 | // $ANTLR start "entryRuleTypeScope" |
6280 | // InternalApplicationConfiguration.g:2055:1: entryRuleTypeScope returns [EObject current=null] : iv_ruleTypeScope= ruleTypeScope EOF ; | 5631 | // InternalApplicationConfiguration.g:2052:1: entryRuleTypeScope returns [EObject current=null] : iv_ruleTypeScope= ruleTypeScope EOF ; |
6281 | public final EObject entryRuleTypeScope() throws RecognitionException { | 5632 | public final EObject entryRuleTypeScope() throws RecognitionException { |
6282 | EObject current = null; | 5633 | EObject current = null; |
6283 | 5634 | ||
@@ -6285,21 +5636,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6285 | 5636 | ||
6286 | 5637 | ||
6287 | try { | 5638 | try { |
6288 | // InternalApplicationConfiguration.g:2055:50: (iv_ruleTypeScope= ruleTypeScope EOF ) | 5639 | // InternalApplicationConfiguration.g:2052:50: (iv_ruleTypeScope= ruleTypeScope EOF ) |
6289 | // InternalApplicationConfiguration.g:2056:2: iv_ruleTypeScope= ruleTypeScope EOF | 5640 | // InternalApplicationConfiguration.g:2053:2: iv_ruleTypeScope= ruleTypeScope EOF |
6290 | { | 5641 | { |
6291 | if ( state.backtracking==0 ) { | 5642 | newCompositeNode(grammarAccess.getTypeScopeRule()); |
6292 | newCompositeNode(grammarAccess.getTypeScopeRule()); | ||
6293 | } | ||
6294 | pushFollow(FOLLOW_1); | 5643 | pushFollow(FOLLOW_1); |
6295 | iv_ruleTypeScope=ruleTypeScope(); | 5644 | iv_ruleTypeScope=ruleTypeScope(); |
6296 | 5645 | ||
6297 | state._fsp--; | 5646 | state._fsp--; |
6298 | if (state.failed) return current; | 5647 | |
6299 | if ( state.backtracking==0 ) { | 5648 | current =iv_ruleTypeScope; |
6300 | current =iv_ruleTypeScope; | 5649 | match(input,EOF,FOLLOW_2); |
6301 | } | ||
6302 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
6303 | 5650 | ||
6304 | } | 5651 | } |
6305 | 5652 | ||
@@ -6317,7 +5664,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6317 | 5664 | ||
6318 | 5665 | ||
6319 | // $ANTLR start "ruleTypeScope" | 5666 | // $ANTLR start "ruleTypeScope" |
6320 | // InternalApplicationConfiguration.g:2062:1: ruleTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? ) ; | 5667 | // InternalApplicationConfiguration.g:2059:1: ruleTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? ) ; |
6321 | public final EObject ruleTypeScope() throws RecognitionException { | 5668 | public final EObject ruleTypeScope() throws RecognitionException { |
6322 | EObject current = null; | 5669 | EObject current = null; |
6323 | 5670 | ||
@@ -6335,54 +5682,48 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6335 | enterRule(); | 5682 | enterRule(); |
6336 | 5683 | ||
6337 | try { | 5684 | try { |
6338 | // InternalApplicationConfiguration.g:2068:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? ) ) | 5685 | // InternalApplicationConfiguration.g:2065:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? ) ) |
6339 | // InternalApplicationConfiguration.g:2069:2: (otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? ) | 5686 | // InternalApplicationConfiguration.g:2066:2: (otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? ) |
6340 | { | 5687 | { |
6341 | // InternalApplicationConfiguration.g:2069:2: (otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? ) | 5688 | // InternalApplicationConfiguration.g:2066:2: (otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? ) |
6342 | // InternalApplicationConfiguration.g:2070:3: otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? | 5689 | // InternalApplicationConfiguration.g:2067:3: otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? |
6343 | { | 5690 | { |
6344 | otherlv_0=(Token)match(input,28,FOLLOW_22); if (state.failed) return current; | 5691 | otherlv_0=(Token)match(input,28,FOLLOW_22); |
6345 | if ( state.backtracking==0 ) { | ||
6346 | 5692 | ||
6347 | newLeafNode(otherlv_0, grammarAccess.getTypeScopeAccess().getNumberSignKeyword_0()); | 5693 | newLeafNode(otherlv_0, grammarAccess.getTypeScopeAccess().getNumberSignKeyword_0()); |
6348 | 5694 | ||
6349 | } | 5695 | // InternalApplicationConfiguration.g:2071:3: ( (lv_type_1_0= ruleTypeReference ) ) |
6350 | // InternalApplicationConfiguration.g:2074:3: ( (lv_type_1_0= ruleTypeReference ) ) | 5696 | // InternalApplicationConfiguration.g:2072:4: (lv_type_1_0= ruleTypeReference ) |
6351 | // InternalApplicationConfiguration.g:2075:4: (lv_type_1_0= ruleTypeReference ) | ||
6352 | { | 5697 | { |
6353 | // InternalApplicationConfiguration.g:2075:4: (lv_type_1_0= ruleTypeReference ) | 5698 | // InternalApplicationConfiguration.g:2072:4: (lv_type_1_0= ruleTypeReference ) |
6354 | // InternalApplicationConfiguration.g:2076:5: lv_type_1_0= ruleTypeReference | 5699 | // InternalApplicationConfiguration.g:2073:5: lv_type_1_0= ruleTypeReference |
6355 | { | 5700 | { |
6356 | if ( state.backtracking==0 ) { | ||
6357 | 5701 | ||
6358 | newCompositeNode(grammarAccess.getTypeScopeAccess().getTypeTypeReferenceParserRuleCall_1_0()); | 5702 | newCompositeNode(grammarAccess.getTypeScopeAccess().getTypeTypeReferenceParserRuleCall_1_0()); |
6359 | 5703 | ||
6360 | } | ||
6361 | pushFollow(FOLLOW_23); | 5704 | pushFollow(FOLLOW_23); |
6362 | lv_type_1_0=ruleTypeReference(); | 5705 | lv_type_1_0=ruleTypeReference(); |
6363 | 5706 | ||
6364 | state._fsp--; | 5707 | state._fsp--; |
6365 | if (state.failed) return current; | ||
6366 | if ( state.backtracking==0 ) { | ||
6367 | 5708 | ||
6368 | if (current==null) { | 5709 | |
6369 | current = createModelElementForParent(grammarAccess.getTypeScopeRule()); | 5710 | if (current==null) { |
6370 | } | 5711 | current = createModelElementForParent(grammarAccess.getTypeScopeRule()); |
6371 | set( | 5712 | } |
6372 | current, | 5713 | set( |
6373 | "type", | 5714 | current, |
6374 | lv_type_1_0, | 5715 | "type", |
6375 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeReference"); | 5716 | lv_type_1_0, |
6376 | afterParserOrEnumRuleCall(); | 5717 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeReference"); |
6377 | 5718 | afterParserOrEnumRuleCall(); | |
6378 | } | 5719 | |
6379 | 5720 | ||
6380 | } | 5721 | } |
6381 | 5722 | ||
6382 | 5723 | ||
6383 | } | 5724 | } |
6384 | 5725 | ||
6385 | // InternalApplicationConfiguration.g:2093:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) | 5726 | // InternalApplicationConfiguration.g:2090:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) |
6386 | int alt31=2; | 5727 | int alt31=2; |
6387 | int LA31_0 = input.LA(1); | 5728 | int LA31_0 = input.LA(1); |
6388 | 5729 | ||
@@ -6393,7 +5734,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6393 | alt31=2; | 5734 | alt31=2; |
6394 | } | 5735 | } |
6395 | else { | 5736 | else { |
6396 | if (state.backtracking>0) {state.failed=true; return current;} | ||
6397 | NoViableAltException nvae = | 5737 | NoViableAltException nvae = |
6398 | new NoViableAltException("", 31, 0, input); | 5738 | new NoViableAltException("", 31, 0, input); |
6399 | 5739 | ||
@@ -6401,28 +5741,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6401 | } | 5741 | } |
6402 | switch (alt31) { | 5742 | switch (alt31) { |
6403 | case 1 : | 5743 | case 1 : |
6404 | // InternalApplicationConfiguration.g:2094:4: ( (lv_setsNew_2_0= '+=' ) ) | 5744 | // InternalApplicationConfiguration.g:2091:4: ( (lv_setsNew_2_0= '+=' ) ) |
6405 | { | 5745 | { |
6406 | // InternalApplicationConfiguration.g:2094:4: ( (lv_setsNew_2_0= '+=' ) ) | 5746 | // InternalApplicationConfiguration.g:2091:4: ( (lv_setsNew_2_0= '+=' ) ) |
6407 | // InternalApplicationConfiguration.g:2095:5: (lv_setsNew_2_0= '+=' ) | 5747 | // InternalApplicationConfiguration.g:2092:5: (lv_setsNew_2_0= '+=' ) |
6408 | { | 5748 | { |
6409 | // InternalApplicationConfiguration.g:2095:5: (lv_setsNew_2_0= '+=' ) | 5749 | // InternalApplicationConfiguration.g:2092:5: (lv_setsNew_2_0= '+=' ) |
6410 | // InternalApplicationConfiguration.g:2096:6: lv_setsNew_2_0= '+=' | 5750 | // InternalApplicationConfiguration.g:2093:6: lv_setsNew_2_0= '+=' |
6411 | { | 5751 | { |
6412 | lv_setsNew_2_0=(Token)match(input,29,FOLLOW_24); if (state.failed) return current; | 5752 | lv_setsNew_2_0=(Token)match(input,29,FOLLOW_24); |
6413 | if ( state.backtracking==0 ) { | ||
6414 | 5753 | ||
6415 | newLeafNode(lv_setsNew_2_0, grammarAccess.getTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); | 5754 | newLeafNode(lv_setsNew_2_0, grammarAccess.getTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); |
6416 | 5755 | ||
6417 | } | ||
6418 | if ( state.backtracking==0 ) { | ||
6419 | 5756 | ||
6420 | if (current==null) { | 5757 | if (current==null) { |
6421 | current = createModelElement(grammarAccess.getTypeScopeRule()); | 5758 | current = createModelElement(grammarAccess.getTypeScopeRule()); |
6422 | } | 5759 | } |
6423 | setWithLastConsumed(current, "setsNew", true, "+="); | 5760 | setWithLastConsumed(current, "setsNew", true, "+="); |
6424 | 5761 | ||
6425 | } | ||
6426 | 5762 | ||
6427 | } | 5763 | } |
6428 | 5764 | ||
@@ -6433,28 +5769,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6433 | } | 5769 | } |
6434 | break; | 5770 | break; |
6435 | case 2 : | 5771 | case 2 : |
6436 | // InternalApplicationConfiguration.g:2109:4: ( (lv_setsSum_3_0= '=' ) ) | 5772 | // InternalApplicationConfiguration.g:2106:4: ( (lv_setsSum_3_0= '=' ) ) |
6437 | { | 5773 | { |
6438 | // InternalApplicationConfiguration.g:2109:4: ( (lv_setsSum_3_0= '=' ) ) | 5774 | // InternalApplicationConfiguration.g:2106:4: ( (lv_setsSum_3_0= '=' ) ) |
6439 | // InternalApplicationConfiguration.g:2110:5: (lv_setsSum_3_0= '=' ) | 5775 | // InternalApplicationConfiguration.g:2107:5: (lv_setsSum_3_0= '=' ) |
6440 | { | 5776 | { |
6441 | // InternalApplicationConfiguration.g:2110:5: (lv_setsSum_3_0= '=' ) | 5777 | // InternalApplicationConfiguration.g:2107:5: (lv_setsSum_3_0= '=' ) |
6442 | // InternalApplicationConfiguration.g:2111:6: lv_setsSum_3_0= '=' | 5778 | // InternalApplicationConfiguration.g:2108:6: lv_setsSum_3_0= '=' |
6443 | { | 5779 | { |
6444 | lv_setsSum_3_0=(Token)match(input,16,FOLLOW_24); if (state.failed) return current; | 5780 | lv_setsSum_3_0=(Token)match(input,16,FOLLOW_24); |
6445 | if ( state.backtracking==0 ) { | ||
6446 | 5781 | ||
6447 | newLeafNode(lv_setsSum_3_0, grammarAccess.getTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); | 5782 | newLeafNode(lv_setsSum_3_0, grammarAccess.getTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); |
6448 | 5783 | ||
6449 | } | ||
6450 | if ( state.backtracking==0 ) { | ||
6451 | 5784 | ||
6452 | if (current==null) { | 5785 | if (current==null) { |
6453 | current = createModelElement(grammarAccess.getTypeScopeRule()); | 5786 | current = createModelElement(grammarAccess.getTypeScopeRule()); |
6454 | } | 5787 | } |
6455 | setWithLastConsumed(current, "setsSum", true, "="); | 5788 | setWithLastConsumed(current, "setsSum", true, "="); |
6456 | 5789 | ||
6457 | } | ||
6458 | 5790 | ||
6459 | } | 5791 | } |
6460 | 5792 | ||
@@ -6467,37 +5799,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6467 | 5799 | ||
6468 | } | 5800 | } |
6469 | 5801 | ||
6470 | // InternalApplicationConfiguration.g:2124:3: ( (lv_min_4_0= RULE_INT ) ) | 5802 | // InternalApplicationConfiguration.g:2121:3: ( (lv_min_4_0= RULE_INT ) ) |
6471 | // InternalApplicationConfiguration.g:2125:4: (lv_min_4_0= RULE_INT ) | 5803 | // InternalApplicationConfiguration.g:2122:4: (lv_min_4_0= RULE_INT ) |
6472 | { | 5804 | { |
6473 | // InternalApplicationConfiguration.g:2125:4: (lv_min_4_0= RULE_INT ) | 5805 | // InternalApplicationConfiguration.g:2122:4: (lv_min_4_0= RULE_INT ) |
6474 | // InternalApplicationConfiguration.g:2126:5: lv_min_4_0= RULE_INT | 5806 | // InternalApplicationConfiguration.g:2123:5: lv_min_4_0= RULE_INT |
6475 | { | 5807 | { |
6476 | lv_min_4_0=(Token)match(input,RULE_INT,FOLLOW_25); if (state.failed) return current; | 5808 | lv_min_4_0=(Token)match(input,RULE_INT,FOLLOW_25); |
6477 | if ( state.backtracking==0 ) { | ||
6478 | 5809 | ||
6479 | newLeafNode(lv_min_4_0, grammarAccess.getTypeScopeAccess().getMinINTTerminalRuleCall_3_0()); | 5810 | newLeafNode(lv_min_4_0, grammarAccess.getTypeScopeAccess().getMinINTTerminalRuleCall_3_0()); |
6480 | 5811 | ||
6481 | } | ||
6482 | if ( state.backtracking==0 ) { | ||
6483 | 5812 | ||
6484 | if (current==null) { | 5813 | if (current==null) { |
6485 | current = createModelElement(grammarAccess.getTypeScopeRule()); | 5814 | current = createModelElement(grammarAccess.getTypeScopeRule()); |
6486 | } | 5815 | } |
6487 | setWithLastConsumed( | 5816 | setWithLastConsumed( |
6488 | current, | 5817 | current, |
6489 | "min", | 5818 | "min", |
6490 | lv_min_4_0, | 5819 | lv_min_4_0, |
6491 | "org.eclipse.xtext.common.Terminals.INT"); | 5820 | "org.eclipse.xtext.common.Terminals.INT"); |
6492 | 5821 | ||
6493 | } | ||
6494 | 5822 | ||
6495 | } | 5823 | } |
6496 | 5824 | ||
6497 | 5825 | ||
6498 | } | 5826 | } |
6499 | 5827 | ||
6500 | // InternalApplicationConfiguration.g:2142:3: (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? | 5828 | // InternalApplicationConfiguration.g:2139:3: (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? |
6501 | int alt33=2; | 5829 | int alt33=2; |
6502 | int LA33_0 = input.LA(1); | 5830 | int LA33_0 = input.LA(1); |
6503 | 5831 | ||
@@ -6506,15 +5834,13 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6506 | } | 5834 | } |
6507 | switch (alt33) { | 5835 | switch (alt33) { |
6508 | case 1 : | 5836 | case 1 : |
6509 | // InternalApplicationConfiguration.g:2143:4: otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) | 5837 | // InternalApplicationConfiguration.g:2140:4: otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) |
6510 | { | 5838 | { |
6511 | otherlv_5=(Token)match(input,30,FOLLOW_26); if (state.failed) return current; | 5839 | otherlv_5=(Token)match(input,30,FOLLOW_26); |
6512 | if ( state.backtracking==0 ) { | ||
6513 | 5840 | ||
6514 | newLeafNode(otherlv_5, grammarAccess.getTypeScopeAccess().getFullStopFullStopKeyword_4_0()); | 5841 | newLeafNode(otherlv_5, grammarAccess.getTypeScopeAccess().getFullStopFullStopKeyword_4_0()); |
6515 | 5842 | ||
6516 | } | 5843 | // InternalApplicationConfiguration.g:2144:4: ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) |
6517 | // InternalApplicationConfiguration.g:2147:4: ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) | ||
6518 | int alt32=2; | 5844 | int alt32=2; |
6519 | int LA32_0 = input.LA(1); | 5845 | int LA32_0 = input.LA(1); |
6520 | 5846 | ||
@@ -6525,7 +5851,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6525 | alt32=2; | 5851 | alt32=2; |
6526 | } | 5852 | } |
6527 | else { | 5853 | else { |
6528 | if (state.backtracking>0) {state.failed=true; return current;} | ||
6529 | NoViableAltException nvae = | 5854 | NoViableAltException nvae = |
6530 | new NoViableAltException("", 32, 0, input); | 5855 | new NoViableAltException("", 32, 0, input); |
6531 | 5856 | ||
@@ -6533,28 +5858,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6533 | } | 5858 | } |
6534 | switch (alt32) { | 5859 | switch (alt32) { |
6535 | case 1 : | 5860 | case 1 : |
6536 | // InternalApplicationConfiguration.g:2148:5: ( (lv_maxUnlimited_6_0= '*' ) ) | 5861 | // InternalApplicationConfiguration.g:2145:5: ( (lv_maxUnlimited_6_0= '*' ) ) |
6537 | { | 5862 | { |
6538 | // InternalApplicationConfiguration.g:2148:5: ( (lv_maxUnlimited_6_0= '*' ) ) | 5863 | // InternalApplicationConfiguration.g:2145:5: ( (lv_maxUnlimited_6_0= '*' ) ) |
6539 | // InternalApplicationConfiguration.g:2149:6: (lv_maxUnlimited_6_0= '*' ) | 5864 | // InternalApplicationConfiguration.g:2146:6: (lv_maxUnlimited_6_0= '*' ) |
6540 | { | 5865 | { |
6541 | // InternalApplicationConfiguration.g:2149:6: (lv_maxUnlimited_6_0= '*' ) | 5866 | // InternalApplicationConfiguration.g:2146:6: (lv_maxUnlimited_6_0= '*' ) |
6542 | // InternalApplicationConfiguration.g:2150:7: lv_maxUnlimited_6_0= '*' | 5867 | // InternalApplicationConfiguration.g:2147:7: lv_maxUnlimited_6_0= '*' |
6543 | { | 5868 | { |
6544 | lv_maxUnlimited_6_0=(Token)match(input,31,FOLLOW_2); if (state.failed) return current; | 5869 | lv_maxUnlimited_6_0=(Token)match(input,31,FOLLOW_2); |
6545 | if ( state.backtracking==0 ) { | ||
6546 | 5870 | ||
6547 | newLeafNode(lv_maxUnlimited_6_0, grammarAccess.getTypeScopeAccess().getMaxUnlimitedAsteriskKeyword_4_1_0_0()); | 5871 | newLeafNode(lv_maxUnlimited_6_0, grammarAccess.getTypeScopeAccess().getMaxUnlimitedAsteriskKeyword_4_1_0_0()); |
6548 | 5872 | ||
6549 | } | ||
6550 | if ( state.backtracking==0 ) { | ||
6551 | 5873 | ||
6552 | if (current==null) { | 5874 | if (current==null) { |
6553 | current = createModelElement(grammarAccess.getTypeScopeRule()); | 5875 | current = createModelElement(grammarAccess.getTypeScopeRule()); |
6554 | } | 5876 | } |
6555 | setWithLastConsumed(current, "maxUnlimited", true, "*"); | 5877 | setWithLastConsumed(current, "maxUnlimited", true, "*"); |
6556 | 5878 | ||
6557 | } | ||
6558 | 5879 | ||
6559 | } | 5880 | } |
6560 | 5881 | ||
@@ -6565,32 +5886,28 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6565 | } | 5886 | } |
6566 | break; | 5887 | break; |
6567 | case 2 : | 5888 | case 2 : |
6568 | // InternalApplicationConfiguration.g:2163:5: ( (lv_max_7_0= RULE_INT ) ) | 5889 | // InternalApplicationConfiguration.g:2160:5: ( (lv_max_7_0= RULE_INT ) ) |
6569 | { | 5890 | { |
6570 | // InternalApplicationConfiguration.g:2163:5: ( (lv_max_7_0= RULE_INT ) ) | 5891 | // InternalApplicationConfiguration.g:2160:5: ( (lv_max_7_0= RULE_INT ) ) |
6571 | // InternalApplicationConfiguration.g:2164:6: (lv_max_7_0= RULE_INT ) | 5892 | // InternalApplicationConfiguration.g:2161:6: (lv_max_7_0= RULE_INT ) |
6572 | { | 5893 | { |
6573 | // InternalApplicationConfiguration.g:2164:6: (lv_max_7_0= RULE_INT ) | 5894 | // InternalApplicationConfiguration.g:2161:6: (lv_max_7_0= RULE_INT ) |
6574 | // InternalApplicationConfiguration.g:2165:7: lv_max_7_0= RULE_INT | 5895 | // InternalApplicationConfiguration.g:2162:7: lv_max_7_0= RULE_INT |
6575 | { | 5896 | { |
6576 | lv_max_7_0=(Token)match(input,RULE_INT,FOLLOW_2); if (state.failed) return current; | 5897 | lv_max_7_0=(Token)match(input,RULE_INT,FOLLOW_2); |
6577 | if ( state.backtracking==0 ) { | ||
6578 | 5898 | ||
6579 | newLeafNode(lv_max_7_0, grammarAccess.getTypeScopeAccess().getMaxINTTerminalRuleCall_4_1_1_0()); | 5899 | newLeafNode(lv_max_7_0, grammarAccess.getTypeScopeAccess().getMaxINTTerminalRuleCall_4_1_1_0()); |
6580 | 5900 | ||
6581 | } | 5901 | |
6582 | if ( state.backtracking==0 ) { | 5902 | if (current==null) { |
6583 | 5903 | current = createModelElement(grammarAccess.getTypeScopeRule()); | |
6584 | if (current==null) { | 5904 | } |
6585 | current = createModelElement(grammarAccess.getTypeScopeRule()); | 5905 | setWithLastConsumed( |
6586 | } | 5906 | current, |
6587 | setWithLastConsumed( | 5907 | "max", |
6588 | current, | 5908 | lv_max_7_0, |
6589 | "max", | 5909 | "org.eclipse.xtext.common.Terminals.INT"); |
6590 | lv_max_7_0, | 5910 | |
6591 | "org.eclipse.xtext.common.Terminals.INT"); | ||
6592 | |||
6593 | } | ||
6594 | 5911 | ||
6595 | } | 5912 | } |
6596 | 5913 | ||
@@ -6615,11 +5932,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6615 | 5932 | ||
6616 | } | 5933 | } |
6617 | 5934 | ||
6618 | if ( state.backtracking==0 ) { | ||
6619 | 5935 | ||
6620 | leaveRule(); | 5936 | leaveRule(); |
6621 | 5937 | ||
6622 | } | ||
6623 | } | 5938 | } |
6624 | 5939 | ||
6625 | catch (RecognitionException re) { | 5940 | catch (RecognitionException re) { |
@@ -6634,7 +5949,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6634 | 5949 | ||
6635 | 5950 | ||
6636 | // $ANTLR start "entryRuleTypeReference" | 5951 | // $ANTLR start "entryRuleTypeReference" |
6637 | // InternalApplicationConfiguration.g:2187:1: entryRuleTypeReference returns [EObject current=null] : iv_ruleTypeReference= ruleTypeReference EOF ; | 5952 | // InternalApplicationConfiguration.g:2184:1: entryRuleTypeReference returns [EObject current=null] : iv_ruleTypeReference= ruleTypeReference EOF ; |
6638 | public final EObject entryRuleTypeReference() throws RecognitionException { | 5953 | public final EObject entryRuleTypeReference() throws RecognitionException { |
6639 | EObject current = null; | 5954 | EObject current = null; |
6640 | 5955 | ||
@@ -6642,21 +5957,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6642 | 5957 | ||
6643 | 5958 | ||
6644 | try { | 5959 | try { |
6645 | // InternalApplicationConfiguration.g:2187:54: (iv_ruleTypeReference= ruleTypeReference EOF ) | 5960 | // InternalApplicationConfiguration.g:2184:54: (iv_ruleTypeReference= ruleTypeReference EOF ) |
6646 | // InternalApplicationConfiguration.g:2188:2: iv_ruleTypeReference= ruleTypeReference EOF | 5961 | // InternalApplicationConfiguration.g:2185:2: iv_ruleTypeReference= ruleTypeReference EOF |
6647 | { | 5962 | { |
6648 | if ( state.backtracking==0 ) { | 5963 | newCompositeNode(grammarAccess.getTypeReferenceRule()); |
6649 | newCompositeNode(grammarAccess.getTypeReferenceRule()); | ||
6650 | } | ||
6651 | pushFollow(FOLLOW_1); | 5964 | pushFollow(FOLLOW_1); |
6652 | iv_ruleTypeReference=ruleTypeReference(); | 5965 | iv_ruleTypeReference=ruleTypeReference(); |
6653 | 5966 | ||
6654 | state._fsp--; | 5967 | state._fsp--; |
6655 | if (state.failed) return current; | 5968 | |
6656 | if ( state.backtracking==0 ) { | 5969 | current =iv_ruleTypeReference; |
6657 | current =iv_ruleTypeReference; | 5970 | match(input,EOF,FOLLOW_2); |
6658 | } | ||
6659 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
6660 | 5971 | ||
6661 | } | 5972 | } |
6662 | 5973 | ||
@@ -6674,7 +5985,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6674 | 5985 | ||
6675 | 5986 | ||
6676 | // $ANTLR start "ruleTypeReference" | 5987 | // $ANTLR start "ruleTypeReference" |
6677 | // InternalApplicationConfiguration.g:2194:1: ruleTypeReference returns [EObject current=null] : (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) ; | 5988 | // InternalApplicationConfiguration.g:2191:1: ruleTypeReference returns [EObject current=null] : (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) ; |
6678 | public final EObject ruleTypeReference() throws RecognitionException { | 5989 | public final EObject ruleTypeReference() throws RecognitionException { |
6679 | EObject current = null; | 5990 | EObject current = null; |
6680 | 5991 | ||
@@ -6693,10 +6004,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6693 | enterRule(); | 6004 | enterRule(); |
6694 | 6005 | ||
6695 | try { | 6006 | try { |
6696 | // InternalApplicationConfiguration.g:2200:2: ( (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) ) | 6007 | // InternalApplicationConfiguration.g:2197:2: ( (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) ) |
6697 | // InternalApplicationConfiguration.g:2201:2: (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) | 6008 | // InternalApplicationConfiguration.g:2198:2: (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) |
6698 | { | 6009 | { |
6699 | // InternalApplicationConfiguration.g:2201:2: (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) | 6010 | // InternalApplicationConfiguration.g:2198:2: (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) |
6700 | int alt34=5; | 6011 | int alt34=5; |
6701 | switch ( input.LA(1) ) { | 6012 | switch ( input.LA(1) ) { |
6702 | case 32: | 6013 | case 32: |
@@ -6725,7 +6036,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6725 | } | 6036 | } |
6726 | break; | 6037 | break; |
6727 | default: | 6038 | default: |
6728 | if (state.backtracking>0) {state.failed=true; return current;} | ||
6729 | NoViableAltException nvae = | 6039 | NoViableAltException nvae = |
6730 | new NoViableAltException("", 34, 0, input); | 6040 | new NoViableAltException("", 34, 0, input); |
6731 | 6041 | ||
@@ -6734,112 +6044,92 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6734 | 6044 | ||
6735 | switch (alt34) { | 6045 | switch (alt34) { |
6736 | case 1 : | 6046 | case 1 : |
6737 | // InternalApplicationConfiguration.g:2202:3: this_ClassReference_0= ruleClassReference | 6047 | // InternalApplicationConfiguration.g:2199:3: this_ClassReference_0= ruleClassReference |
6738 | { | 6048 | { |
6739 | if ( state.backtracking==0 ) { | ||
6740 | 6049 | ||
6741 | newCompositeNode(grammarAccess.getTypeReferenceAccess().getClassReferenceParserRuleCall_0()); | 6050 | newCompositeNode(grammarAccess.getTypeReferenceAccess().getClassReferenceParserRuleCall_0()); |
6742 | 6051 | ||
6743 | } | ||
6744 | pushFollow(FOLLOW_2); | 6052 | pushFollow(FOLLOW_2); |
6745 | this_ClassReference_0=ruleClassReference(); | 6053 | this_ClassReference_0=ruleClassReference(); |
6746 | 6054 | ||
6747 | state._fsp--; | 6055 | state._fsp--; |
6748 | if (state.failed) return current; | ||
6749 | if ( state.backtracking==0 ) { | ||
6750 | 6056 | ||
6751 | current = this_ClassReference_0; | 6057 | |
6752 | afterParserOrEnumRuleCall(); | 6058 | current = this_ClassReference_0; |
6753 | 6059 | afterParserOrEnumRuleCall(); | |
6754 | } | 6060 | |
6755 | 6061 | ||
6756 | } | 6062 | } |
6757 | break; | 6063 | break; |
6758 | case 2 : | 6064 | case 2 : |
6759 | // InternalApplicationConfiguration.g:2211:3: this_ObjectReference_1= ruleObjectReference | 6065 | // InternalApplicationConfiguration.g:2208:3: this_ObjectReference_1= ruleObjectReference |
6760 | { | 6066 | { |
6761 | if ( state.backtracking==0 ) { | ||
6762 | 6067 | ||
6763 | newCompositeNode(grammarAccess.getTypeReferenceAccess().getObjectReferenceParserRuleCall_1()); | 6068 | newCompositeNode(grammarAccess.getTypeReferenceAccess().getObjectReferenceParserRuleCall_1()); |
6764 | 6069 | ||
6765 | } | ||
6766 | pushFollow(FOLLOW_2); | 6070 | pushFollow(FOLLOW_2); |
6767 | this_ObjectReference_1=ruleObjectReference(); | 6071 | this_ObjectReference_1=ruleObjectReference(); |
6768 | 6072 | ||
6769 | state._fsp--; | 6073 | state._fsp--; |
6770 | if (state.failed) return current; | ||
6771 | if ( state.backtracking==0 ) { | ||
6772 | 6074 | ||
6773 | current = this_ObjectReference_1; | 6075 | |
6774 | afterParserOrEnumRuleCall(); | 6076 | current = this_ObjectReference_1; |
6775 | 6077 | afterParserOrEnumRuleCall(); | |
6776 | } | 6078 | |
6777 | 6079 | ||
6778 | } | 6080 | } |
6779 | break; | 6081 | break; |
6780 | case 3 : | 6082 | case 3 : |
6781 | // InternalApplicationConfiguration.g:2220:3: this_IntegerReference_2= ruleIntegerReference | 6083 | // InternalApplicationConfiguration.g:2217:3: this_IntegerReference_2= ruleIntegerReference |
6782 | { | 6084 | { |
6783 | if ( state.backtracking==0 ) { | ||
6784 | 6085 | ||
6785 | newCompositeNode(grammarAccess.getTypeReferenceAccess().getIntegerReferenceParserRuleCall_2()); | 6086 | newCompositeNode(grammarAccess.getTypeReferenceAccess().getIntegerReferenceParserRuleCall_2()); |
6786 | 6087 | ||
6787 | } | ||
6788 | pushFollow(FOLLOW_2); | 6088 | pushFollow(FOLLOW_2); |
6789 | this_IntegerReference_2=ruleIntegerReference(); | 6089 | this_IntegerReference_2=ruleIntegerReference(); |
6790 | 6090 | ||
6791 | state._fsp--; | 6091 | state._fsp--; |
6792 | if (state.failed) return current; | ||
6793 | if ( state.backtracking==0 ) { | ||
6794 | 6092 | ||
6795 | current = this_IntegerReference_2; | 6093 | |
6796 | afterParserOrEnumRuleCall(); | 6094 | current = this_IntegerReference_2; |
6797 | 6095 | afterParserOrEnumRuleCall(); | |
6798 | } | 6096 | |
6799 | 6097 | ||
6800 | } | 6098 | } |
6801 | break; | 6099 | break; |
6802 | case 4 : | 6100 | case 4 : |
6803 | // InternalApplicationConfiguration.g:2229:3: this_RealReference_3= ruleRealReference | 6101 | // InternalApplicationConfiguration.g:2226:3: this_RealReference_3= ruleRealReference |
6804 | { | 6102 | { |
6805 | if ( state.backtracking==0 ) { | ||
6806 | 6103 | ||
6807 | newCompositeNode(grammarAccess.getTypeReferenceAccess().getRealReferenceParserRuleCall_3()); | 6104 | newCompositeNode(grammarAccess.getTypeReferenceAccess().getRealReferenceParserRuleCall_3()); |
6808 | 6105 | ||
6809 | } | ||
6810 | pushFollow(FOLLOW_2); | 6106 | pushFollow(FOLLOW_2); |
6811 | this_RealReference_3=ruleRealReference(); | 6107 | this_RealReference_3=ruleRealReference(); |
6812 | 6108 | ||
6813 | state._fsp--; | 6109 | state._fsp--; |
6814 | if (state.failed) return current; | ||
6815 | if ( state.backtracking==0 ) { | ||
6816 | 6110 | ||
6817 | current = this_RealReference_3; | 6111 | |
6818 | afterParserOrEnumRuleCall(); | 6112 | current = this_RealReference_3; |
6819 | 6113 | afterParserOrEnumRuleCall(); | |
6820 | } | 6114 | |
6821 | 6115 | ||
6822 | } | 6116 | } |
6823 | break; | 6117 | break; |
6824 | case 5 : | 6118 | case 5 : |
6825 | // InternalApplicationConfiguration.g:2238:3: this_StringReference_4= ruleStringReference | 6119 | // InternalApplicationConfiguration.g:2235:3: this_StringReference_4= ruleStringReference |
6826 | { | 6120 | { |
6827 | if ( state.backtracking==0 ) { | ||
6828 | 6121 | ||
6829 | newCompositeNode(grammarAccess.getTypeReferenceAccess().getStringReferenceParserRuleCall_4()); | 6122 | newCompositeNode(grammarAccess.getTypeReferenceAccess().getStringReferenceParserRuleCall_4()); |
6830 | 6123 | ||
6831 | } | ||
6832 | pushFollow(FOLLOW_2); | 6124 | pushFollow(FOLLOW_2); |
6833 | this_StringReference_4=ruleStringReference(); | 6125 | this_StringReference_4=ruleStringReference(); |
6834 | 6126 | ||
6835 | state._fsp--; | 6127 | state._fsp--; |
6836 | if (state.failed) return current; | ||
6837 | if ( state.backtracking==0 ) { | ||
6838 | 6128 | ||
6839 | current = this_StringReference_4; | 6129 | |
6840 | afterParserOrEnumRuleCall(); | 6130 | current = this_StringReference_4; |
6841 | 6131 | afterParserOrEnumRuleCall(); | |
6842 | } | 6132 | |
6843 | 6133 | ||
6844 | } | 6134 | } |
6845 | break; | 6135 | break; |
@@ -6849,11 +6139,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6849 | 6139 | ||
6850 | } | 6140 | } |
6851 | 6141 | ||
6852 | if ( state.backtracking==0 ) { | ||
6853 | 6142 | ||
6854 | leaveRule(); | 6143 | leaveRule(); |
6855 | 6144 | ||
6856 | } | ||
6857 | } | 6145 | } |
6858 | 6146 | ||
6859 | catch (RecognitionException re) { | 6147 | catch (RecognitionException re) { |
@@ -6868,7 +6156,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6868 | 6156 | ||
6869 | 6157 | ||
6870 | // $ANTLR start "entryRuleClassReference" | 6158 | // $ANTLR start "entryRuleClassReference" |
6871 | // InternalApplicationConfiguration.g:2250:1: entryRuleClassReference returns [EObject current=null] : iv_ruleClassReference= ruleClassReference EOF ; | 6159 | // InternalApplicationConfiguration.g:2247:1: entryRuleClassReference returns [EObject current=null] : iv_ruleClassReference= ruleClassReference EOF ; |
6872 | public final EObject entryRuleClassReference() throws RecognitionException { | 6160 | public final EObject entryRuleClassReference() throws RecognitionException { |
6873 | EObject current = null; | 6161 | EObject current = null; |
6874 | 6162 | ||
@@ -6876,21 +6164,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6876 | 6164 | ||
6877 | 6165 | ||
6878 | try { | 6166 | try { |
6879 | // InternalApplicationConfiguration.g:2250:55: (iv_ruleClassReference= ruleClassReference EOF ) | 6167 | // InternalApplicationConfiguration.g:2247:55: (iv_ruleClassReference= ruleClassReference EOF ) |
6880 | // InternalApplicationConfiguration.g:2251:2: iv_ruleClassReference= ruleClassReference EOF | 6168 | // InternalApplicationConfiguration.g:2248:2: iv_ruleClassReference= ruleClassReference EOF |
6881 | { | 6169 | { |
6882 | if ( state.backtracking==0 ) { | 6170 | newCompositeNode(grammarAccess.getClassReferenceRule()); |
6883 | newCompositeNode(grammarAccess.getClassReferenceRule()); | ||
6884 | } | ||
6885 | pushFollow(FOLLOW_1); | 6171 | pushFollow(FOLLOW_1); |
6886 | iv_ruleClassReference=ruleClassReference(); | 6172 | iv_ruleClassReference=ruleClassReference(); |
6887 | 6173 | ||
6888 | state._fsp--; | 6174 | state._fsp--; |
6889 | if (state.failed) return current; | 6175 | |
6890 | if ( state.backtracking==0 ) { | 6176 | current =iv_ruleClassReference; |
6891 | current =iv_ruleClassReference; | 6177 | match(input,EOF,FOLLOW_2); |
6892 | } | ||
6893 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
6894 | 6178 | ||
6895 | } | 6179 | } |
6896 | 6180 | ||
@@ -6908,7 +6192,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6908 | 6192 | ||
6909 | 6193 | ||
6910 | // $ANTLR start "ruleClassReference" | 6194 | // $ANTLR start "ruleClassReference" |
6911 | // InternalApplicationConfiguration.g:2257:1: ruleClassReference returns [EObject current=null] : (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) ; | 6195 | // InternalApplicationConfiguration.g:2254:1: ruleClassReference returns [EObject current=null] : (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) ; |
6912 | public final EObject ruleClassReference() throws RecognitionException { | 6196 | public final EObject ruleClassReference() throws RecognitionException { |
6913 | EObject current = null; | 6197 | EObject current = null; |
6914 | 6198 | ||
@@ -6921,70 +6205,60 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6921 | enterRule(); | 6205 | enterRule(); |
6922 | 6206 | ||
6923 | try { | 6207 | try { |
6924 | // InternalApplicationConfiguration.g:2263:2: ( (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) ) | 6208 | // InternalApplicationConfiguration.g:2260:2: ( (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) ) |
6925 | // InternalApplicationConfiguration.g:2264:2: (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) | 6209 | // InternalApplicationConfiguration.g:2261:2: (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) |
6926 | { | 6210 | { |
6927 | // InternalApplicationConfiguration.g:2264:2: (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) | 6211 | // InternalApplicationConfiguration.g:2261:2: (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) |
6928 | // InternalApplicationConfiguration.g:2265:3: otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' | 6212 | // InternalApplicationConfiguration.g:2262:3: otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' |
6929 | { | 6213 | { |
6930 | otherlv_0=(Token)match(input,32,FOLLOW_6); if (state.failed) return current; | 6214 | otherlv_0=(Token)match(input,32,FOLLOW_6); |
6931 | if ( state.backtracking==0 ) { | ||
6932 | 6215 | ||
6933 | newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLeftSquareBracketKeyword_0()); | 6216 | newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLeftSquareBracketKeyword_0()); |
6934 | 6217 | ||
6935 | } | 6218 | // InternalApplicationConfiguration.g:2266:3: ( (lv_element_1_0= ruleMetamodelElement ) ) |
6936 | // InternalApplicationConfiguration.g:2269:3: ( (lv_element_1_0= ruleMetamodelElement ) ) | 6219 | // InternalApplicationConfiguration.g:2267:4: (lv_element_1_0= ruleMetamodelElement ) |
6937 | // InternalApplicationConfiguration.g:2270:4: (lv_element_1_0= ruleMetamodelElement ) | ||
6938 | { | 6220 | { |
6939 | // InternalApplicationConfiguration.g:2270:4: (lv_element_1_0= ruleMetamodelElement ) | 6221 | // InternalApplicationConfiguration.g:2267:4: (lv_element_1_0= ruleMetamodelElement ) |
6940 | // InternalApplicationConfiguration.g:2271:5: lv_element_1_0= ruleMetamodelElement | 6222 | // InternalApplicationConfiguration.g:2268:5: lv_element_1_0= ruleMetamodelElement |
6941 | { | 6223 | { |
6942 | if ( state.backtracking==0 ) { | ||
6943 | 6224 | ||
6944 | newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); | 6225 | newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); |
6945 | 6226 | ||
6946 | } | ||
6947 | pushFollow(FOLLOW_27); | 6227 | pushFollow(FOLLOW_27); |
6948 | lv_element_1_0=ruleMetamodelElement(); | 6228 | lv_element_1_0=ruleMetamodelElement(); |
6949 | 6229 | ||
6950 | state._fsp--; | 6230 | state._fsp--; |
6951 | if (state.failed) return current; | ||
6952 | if ( state.backtracking==0 ) { | ||
6953 | 6231 | ||
6954 | if (current==null) { | 6232 | |
6955 | current = createModelElementForParent(grammarAccess.getClassReferenceRule()); | 6233 | if (current==null) { |
6956 | } | 6234 | current = createModelElementForParent(grammarAccess.getClassReferenceRule()); |
6957 | set( | 6235 | } |
6958 | current, | 6236 | set( |
6959 | "element", | 6237 | current, |
6960 | lv_element_1_0, | 6238 | "element", |
6961 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); | 6239 | lv_element_1_0, |
6962 | afterParserOrEnumRuleCall(); | 6240 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); |
6963 | 6241 | afterParserOrEnumRuleCall(); | |
6964 | } | 6242 | |
6965 | 6243 | ||
6966 | } | 6244 | } |
6967 | 6245 | ||
6968 | 6246 | ||
6969 | } | 6247 | } |
6970 | 6248 | ||
6971 | otherlv_2=(Token)match(input,33,FOLLOW_2); if (state.failed) return current; | 6249 | otherlv_2=(Token)match(input,33,FOLLOW_2); |
6972 | if ( state.backtracking==0 ) { | ||
6973 | 6250 | ||
6974 | newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getRightSquareBracketKeyword_2()); | 6251 | newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getRightSquareBracketKeyword_2()); |
6975 | 6252 | ||
6976 | } | ||
6977 | 6253 | ||
6978 | } | 6254 | } |
6979 | 6255 | ||
6980 | 6256 | ||
6981 | } | 6257 | } |
6982 | 6258 | ||
6983 | if ( state.backtracking==0 ) { | ||
6984 | 6259 | ||
6985 | leaveRule(); | 6260 | leaveRule(); |
6986 | 6261 | ||
6987 | } | ||
6988 | } | 6262 | } |
6989 | 6263 | ||
6990 | catch (RecognitionException re) { | 6264 | catch (RecognitionException re) { |
@@ -6999,7 +6273,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
6999 | 6273 | ||
7000 | 6274 | ||
7001 | // $ANTLR start "entryRuleObjectReference" | 6275 | // $ANTLR start "entryRuleObjectReference" |
7002 | // InternalApplicationConfiguration.g:2296:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ; | 6276 | // InternalApplicationConfiguration.g:2293:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ; |
7003 | public final EObject entryRuleObjectReference() throws RecognitionException { | 6277 | public final EObject entryRuleObjectReference() throws RecognitionException { |
7004 | EObject current = null; | 6278 | EObject current = null; |
7005 | 6279 | ||
@@ -7007,21 +6281,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7007 | 6281 | ||
7008 | 6282 | ||
7009 | try { | 6283 | try { |
7010 | // InternalApplicationConfiguration.g:2296:56: (iv_ruleObjectReference= ruleObjectReference EOF ) | 6284 | // InternalApplicationConfiguration.g:2293:56: (iv_ruleObjectReference= ruleObjectReference EOF ) |
7011 | // InternalApplicationConfiguration.g:2297:2: iv_ruleObjectReference= ruleObjectReference EOF | 6285 | // InternalApplicationConfiguration.g:2294:2: iv_ruleObjectReference= ruleObjectReference EOF |
7012 | { | 6286 | { |
7013 | if ( state.backtracking==0 ) { | 6287 | newCompositeNode(grammarAccess.getObjectReferenceRule()); |
7014 | newCompositeNode(grammarAccess.getObjectReferenceRule()); | ||
7015 | } | ||
7016 | pushFollow(FOLLOW_1); | 6288 | pushFollow(FOLLOW_1); |
7017 | iv_ruleObjectReference=ruleObjectReference(); | 6289 | iv_ruleObjectReference=ruleObjectReference(); |
7018 | 6290 | ||
7019 | state._fsp--; | 6291 | state._fsp--; |
7020 | if (state.failed) return current; | 6292 | |
7021 | if ( state.backtracking==0 ) { | 6293 | current =iv_ruleObjectReference; |
7022 | current =iv_ruleObjectReference; | 6294 | match(input,EOF,FOLLOW_2); |
7023 | } | ||
7024 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
7025 | 6295 | ||
7026 | } | 6296 | } |
7027 | 6297 | ||
@@ -7039,7 +6309,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7039 | 6309 | ||
7040 | 6310 | ||
7041 | // $ANTLR start "ruleObjectReference" | 6311 | // $ANTLR start "ruleObjectReference" |
7042 | // InternalApplicationConfiguration.g:2303:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'Object' ) ; | 6312 | // InternalApplicationConfiguration.g:2300:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'node' ) ; |
7043 | public final EObject ruleObjectReference() throws RecognitionException { | 6313 | public final EObject ruleObjectReference() throws RecognitionException { |
7044 | EObject current = null; | 6314 | EObject current = null; |
7045 | 6315 | ||
@@ -7049,42 +6319,36 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7049 | enterRule(); | 6319 | enterRule(); |
7050 | 6320 | ||
7051 | try { | 6321 | try { |
7052 | // InternalApplicationConfiguration.g:2309:2: ( ( () otherlv_1= 'Object' ) ) | 6322 | // InternalApplicationConfiguration.g:2306:2: ( ( () otherlv_1= 'node' ) ) |
7053 | // InternalApplicationConfiguration.g:2310:2: ( () otherlv_1= 'Object' ) | 6323 | // InternalApplicationConfiguration.g:2307:2: ( () otherlv_1= 'node' ) |
7054 | { | 6324 | { |
7055 | // InternalApplicationConfiguration.g:2310:2: ( () otherlv_1= 'Object' ) | 6325 | // InternalApplicationConfiguration.g:2307:2: ( () otherlv_1= 'node' ) |
7056 | // InternalApplicationConfiguration.g:2311:3: () otherlv_1= 'Object' | 6326 | // InternalApplicationConfiguration.g:2308:3: () otherlv_1= 'node' |
7057 | { | 6327 | { |
7058 | // InternalApplicationConfiguration.g:2311:3: () | 6328 | // InternalApplicationConfiguration.g:2308:3: () |
7059 | // InternalApplicationConfiguration.g:2312:4: | 6329 | // InternalApplicationConfiguration.g:2309:4: |
7060 | { | 6330 | { |
7061 | if ( state.backtracking==0 ) { | ||
7062 | 6331 | ||
7063 | current = forceCreateModelElement( | 6332 | current = forceCreateModelElement( |
7064 | grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(), | 6333 | grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(), |
7065 | current); | 6334 | current); |
7066 | 6335 | ||
7067 | } | ||
7068 | 6336 | ||
7069 | } | 6337 | } |
7070 | 6338 | ||
7071 | otherlv_1=(Token)match(input,34,FOLLOW_2); if (state.failed) return current; | 6339 | otherlv_1=(Token)match(input,34,FOLLOW_2); |
7072 | if ( state.backtracking==0 ) { | ||
7073 | 6340 | ||
7074 | newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getObjectKeyword_1()); | 6341 | newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getNodeKeyword_1()); |
7075 | 6342 | ||
7076 | } | ||
7077 | 6343 | ||
7078 | } | 6344 | } |
7079 | 6345 | ||
7080 | 6346 | ||
7081 | } | 6347 | } |
7082 | 6348 | ||
7083 | if ( state.backtracking==0 ) { | ||
7084 | 6349 | ||
7085 | leaveRule(); | 6350 | leaveRule(); |
7086 | 6351 | ||
7087 | } | ||
7088 | } | 6352 | } |
7089 | 6353 | ||
7090 | catch (RecognitionException re) { | 6354 | catch (RecognitionException re) { |
@@ -7099,7 +6363,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7099 | 6363 | ||
7100 | 6364 | ||
7101 | // $ANTLR start "entryRuleIntegerReference" | 6365 | // $ANTLR start "entryRuleIntegerReference" |
7102 | // InternalApplicationConfiguration.g:2326:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ; | 6366 | // InternalApplicationConfiguration.g:2323:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ; |
7103 | public final EObject entryRuleIntegerReference() throws RecognitionException { | 6367 | public final EObject entryRuleIntegerReference() throws RecognitionException { |
7104 | EObject current = null; | 6368 | EObject current = null; |
7105 | 6369 | ||
@@ -7107,21 +6371,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7107 | 6371 | ||
7108 | 6372 | ||
7109 | try { | 6373 | try { |
7110 | // InternalApplicationConfiguration.g:2326:57: (iv_ruleIntegerReference= ruleIntegerReference EOF ) | 6374 | // InternalApplicationConfiguration.g:2323:57: (iv_ruleIntegerReference= ruleIntegerReference EOF ) |
7111 | // InternalApplicationConfiguration.g:2327:2: iv_ruleIntegerReference= ruleIntegerReference EOF | 6375 | // InternalApplicationConfiguration.g:2324:2: iv_ruleIntegerReference= ruleIntegerReference EOF |
7112 | { | 6376 | { |
7113 | if ( state.backtracking==0 ) { | 6377 | newCompositeNode(grammarAccess.getIntegerReferenceRule()); |
7114 | newCompositeNode(grammarAccess.getIntegerReferenceRule()); | ||
7115 | } | ||
7116 | pushFollow(FOLLOW_1); | 6378 | pushFollow(FOLLOW_1); |
7117 | iv_ruleIntegerReference=ruleIntegerReference(); | 6379 | iv_ruleIntegerReference=ruleIntegerReference(); |
7118 | 6380 | ||
7119 | state._fsp--; | 6381 | state._fsp--; |
7120 | if (state.failed) return current; | 6382 | |
7121 | if ( state.backtracking==0 ) { | 6383 | current =iv_ruleIntegerReference; |
7122 | current =iv_ruleIntegerReference; | 6384 | match(input,EOF,FOLLOW_2); |
7123 | } | ||
7124 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
7125 | 6385 | ||
7126 | } | 6386 | } |
7127 | 6387 | ||
@@ -7139,7 +6399,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7139 | 6399 | ||
7140 | 6400 | ||
7141 | // $ANTLR start "ruleIntegerReference" | 6401 | // $ANTLR start "ruleIntegerReference" |
7142 | // InternalApplicationConfiguration.g:2333:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ; | 6402 | // InternalApplicationConfiguration.g:2330:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ; |
7143 | public final EObject ruleIntegerReference() throws RecognitionException { | 6403 | public final EObject ruleIntegerReference() throws RecognitionException { |
7144 | EObject current = null; | 6404 | EObject current = null; |
7145 | 6405 | ||
@@ -7149,42 +6409,36 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7149 | enterRule(); | 6409 | enterRule(); |
7150 | 6410 | ||
7151 | try { | 6411 | try { |
7152 | // InternalApplicationConfiguration.g:2339:2: ( ( () otherlv_1= 'int' ) ) | 6412 | // InternalApplicationConfiguration.g:2336:2: ( ( () otherlv_1= 'int' ) ) |
7153 | // InternalApplicationConfiguration.g:2340:2: ( () otherlv_1= 'int' ) | 6413 | // InternalApplicationConfiguration.g:2337:2: ( () otherlv_1= 'int' ) |
7154 | { | 6414 | { |
7155 | // InternalApplicationConfiguration.g:2340:2: ( () otherlv_1= 'int' ) | 6415 | // InternalApplicationConfiguration.g:2337:2: ( () otherlv_1= 'int' ) |
7156 | // InternalApplicationConfiguration.g:2341:3: () otherlv_1= 'int' | 6416 | // InternalApplicationConfiguration.g:2338:3: () otherlv_1= 'int' |
7157 | { | 6417 | { |
7158 | // InternalApplicationConfiguration.g:2341:3: () | 6418 | // InternalApplicationConfiguration.g:2338:3: () |
7159 | // InternalApplicationConfiguration.g:2342:4: | 6419 | // InternalApplicationConfiguration.g:2339:4: |
7160 | { | 6420 | { |
7161 | if ( state.backtracking==0 ) { | ||
7162 | 6421 | ||
7163 | current = forceCreateModelElement( | 6422 | current = forceCreateModelElement( |
7164 | grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(), | 6423 | grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(), |
7165 | current); | 6424 | current); |
7166 | 6425 | ||
7167 | } | ||
7168 | 6426 | ||
7169 | } | 6427 | } |
7170 | 6428 | ||
7171 | otherlv_1=(Token)match(input,35,FOLLOW_2); if (state.failed) return current; | 6429 | otherlv_1=(Token)match(input,35,FOLLOW_2); |
7172 | if ( state.backtracking==0 ) { | ||
7173 | 6430 | ||
7174 | newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); | 6431 | newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); |
7175 | 6432 | ||
7176 | } | ||
7177 | 6433 | ||
7178 | } | 6434 | } |
7179 | 6435 | ||
7180 | 6436 | ||
7181 | } | 6437 | } |
7182 | 6438 | ||
7183 | if ( state.backtracking==0 ) { | ||
7184 | 6439 | ||
7185 | leaveRule(); | 6440 | leaveRule(); |
7186 | 6441 | ||
7187 | } | ||
7188 | } | 6442 | } |
7189 | 6443 | ||
7190 | catch (RecognitionException re) { | 6444 | catch (RecognitionException re) { |
@@ -7199,7 +6453,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7199 | 6453 | ||
7200 | 6454 | ||
7201 | // $ANTLR start "entryRuleRealReference" | 6455 | // $ANTLR start "entryRuleRealReference" |
7202 | // InternalApplicationConfiguration.g:2356:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ; | 6456 | // InternalApplicationConfiguration.g:2353:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ; |
7203 | public final EObject entryRuleRealReference() throws RecognitionException { | 6457 | public final EObject entryRuleRealReference() throws RecognitionException { |
7204 | EObject current = null; | 6458 | EObject current = null; |
7205 | 6459 | ||
@@ -7207,21 +6461,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7207 | 6461 | ||
7208 | 6462 | ||
7209 | try { | 6463 | try { |
7210 | // InternalApplicationConfiguration.g:2356:54: (iv_ruleRealReference= ruleRealReference EOF ) | 6464 | // InternalApplicationConfiguration.g:2353:54: (iv_ruleRealReference= ruleRealReference EOF ) |
7211 | // InternalApplicationConfiguration.g:2357:2: iv_ruleRealReference= ruleRealReference EOF | 6465 | // InternalApplicationConfiguration.g:2354:2: iv_ruleRealReference= ruleRealReference EOF |
7212 | { | 6466 | { |
7213 | if ( state.backtracking==0 ) { | 6467 | newCompositeNode(grammarAccess.getRealReferenceRule()); |
7214 | newCompositeNode(grammarAccess.getRealReferenceRule()); | ||
7215 | } | ||
7216 | pushFollow(FOLLOW_1); | 6468 | pushFollow(FOLLOW_1); |
7217 | iv_ruleRealReference=ruleRealReference(); | 6469 | iv_ruleRealReference=ruleRealReference(); |
7218 | 6470 | ||
7219 | state._fsp--; | 6471 | state._fsp--; |
7220 | if (state.failed) return current; | 6472 | |
7221 | if ( state.backtracking==0 ) { | 6473 | current =iv_ruleRealReference; |
7222 | current =iv_ruleRealReference; | 6474 | match(input,EOF,FOLLOW_2); |
7223 | } | ||
7224 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
7225 | 6475 | ||
7226 | } | 6476 | } |
7227 | 6477 | ||
@@ -7239,7 +6489,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7239 | 6489 | ||
7240 | 6490 | ||
7241 | // $ANTLR start "ruleRealReference" | 6491 | // $ANTLR start "ruleRealReference" |
7242 | // InternalApplicationConfiguration.g:2363:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ; | 6492 | // InternalApplicationConfiguration.g:2360:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ; |
7243 | public final EObject ruleRealReference() throws RecognitionException { | 6493 | public final EObject ruleRealReference() throws RecognitionException { |
7244 | EObject current = null; | 6494 | EObject current = null; |
7245 | 6495 | ||
@@ -7249,42 +6499,36 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7249 | enterRule(); | 6499 | enterRule(); |
7250 | 6500 | ||
7251 | try { | 6501 | try { |
7252 | // InternalApplicationConfiguration.g:2369:2: ( ( () otherlv_1= 'real' ) ) | 6502 | // InternalApplicationConfiguration.g:2366:2: ( ( () otherlv_1= 'real' ) ) |
7253 | // InternalApplicationConfiguration.g:2370:2: ( () otherlv_1= 'real' ) | 6503 | // InternalApplicationConfiguration.g:2367:2: ( () otherlv_1= 'real' ) |
7254 | { | 6504 | { |
7255 | // InternalApplicationConfiguration.g:2370:2: ( () otherlv_1= 'real' ) | 6505 | // InternalApplicationConfiguration.g:2367:2: ( () otherlv_1= 'real' ) |
7256 | // InternalApplicationConfiguration.g:2371:3: () otherlv_1= 'real' | 6506 | // InternalApplicationConfiguration.g:2368:3: () otherlv_1= 'real' |
7257 | { | 6507 | { |
7258 | // InternalApplicationConfiguration.g:2371:3: () | 6508 | // InternalApplicationConfiguration.g:2368:3: () |
7259 | // InternalApplicationConfiguration.g:2372:4: | 6509 | // InternalApplicationConfiguration.g:2369:4: |
7260 | { | 6510 | { |
7261 | if ( state.backtracking==0 ) { | ||
7262 | 6511 | ||
7263 | current = forceCreateModelElement( | 6512 | current = forceCreateModelElement( |
7264 | grammarAccess.getRealReferenceAccess().getRealScopeAction_0(), | 6513 | grammarAccess.getRealReferenceAccess().getRealScopeAction_0(), |
7265 | current); | 6514 | current); |
7266 | 6515 | ||
7267 | } | ||
7268 | 6516 | ||
7269 | } | 6517 | } |
7270 | 6518 | ||
7271 | otherlv_1=(Token)match(input,36,FOLLOW_2); if (state.failed) return current; | 6519 | otherlv_1=(Token)match(input,36,FOLLOW_2); |
7272 | if ( state.backtracking==0 ) { | ||
7273 | 6520 | ||
7274 | newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); | 6521 | newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); |
7275 | 6522 | ||
7276 | } | ||
7277 | 6523 | ||
7278 | } | 6524 | } |
7279 | 6525 | ||
7280 | 6526 | ||
7281 | } | 6527 | } |
7282 | 6528 | ||
7283 | if ( state.backtracking==0 ) { | ||
7284 | 6529 | ||
7285 | leaveRule(); | 6530 | leaveRule(); |
7286 | 6531 | ||
7287 | } | ||
7288 | } | 6532 | } |
7289 | 6533 | ||
7290 | catch (RecognitionException re) { | 6534 | catch (RecognitionException re) { |
@@ -7299,7 +6543,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7299 | 6543 | ||
7300 | 6544 | ||
7301 | // $ANTLR start "entryRuleStringReference" | 6545 | // $ANTLR start "entryRuleStringReference" |
7302 | // InternalApplicationConfiguration.g:2386:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ; | 6546 | // InternalApplicationConfiguration.g:2383:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ; |
7303 | public final EObject entryRuleStringReference() throws RecognitionException { | 6547 | public final EObject entryRuleStringReference() throws RecognitionException { |
7304 | EObject current = null; | 6548 | EObject current = null; |
7305 | 6549 | ||
@@ -7307,21 +6551,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7307 | 6551 | ||
7308 | 6552 | ||
7309 | try { | 6553 | try { |
7310 | // InternalApplicationConfiguration.g:2386:56: (iv_ruleStringReference= ruleStringReference EOF ) | 6554 | // InternalApplicationConfiguration.g:2383:56: (iv_ruleStringReference= ruleStringReference EOF ) |
7311 | // InternalApplicationConfiguration.g:2387:2: iv_ruleStringReference= ruleStringReference EOF | 6555 | // InternalApplicationConfiguration.g:2384:2: iv_ruleStringReference= ruleStringReference EOF |
7312 | { | 6556 | { |
7313 | if ( state.backtracking==0 ) { | 6557 | newCompositeNode(grammarAccess.getStringReferenceRule()); |
7314 | newCompositeNode(grammarAccess.getStringReferenceRule()); | ||
7315 | } | ||
7316 | pushFollow(FOLLOW_1); | 6558 | pushFollow(FOLLOW_1); |
7317 | iv_ruleStringReference=ruleStringReference(); | 6559 | iv_ruleStringReference=ruleStringReference(); |
7318 | 6560 | ||
7319 | state._fsp--; | 6561 | state._fsp--; |
7320 | if (state.failed) return current; | 6562 | |
7321 | if ( state.backtracking==0 ) { | 6563 | current =iv_ruleStringReference; |
7322 | current =iv_ruleStringReference; | 6564 | match(input,EOF,FOLLOW_2); |
7323 | } | ||
7324 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
7325 | 6565 | ||
7326 | } | 6566 | } |
7327 | 6567 | ||
@@ -7339,7 +6579,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7339 | 6579 | ||
7340 | 6580 | ||
7341 | // $ANTLR start "ruleStringReference" | 6581 | // $ANTLR start "ruleStringReference" |
7342 | // InternalApplicationConfiguration.g:2393:1: ruleStringReference returns [EObject current=null] : ( () otherlv_1= 'string' ) ; | 6582 | // InternalApplicationConfiguration.g:2390:1: ruleStringReference returns [EObject current=null] : ( () otherlv_1= 'string' ) ; |
7343 | public final EObject ruleStringReference() throws RecognitionException { | 6583 | public final EObject ruleStringReference() throws RecognitionException { |
7344 | EObject current = null; | 6584 | EObject current = null; |
7345 | 6585 | ||
@@ -7349,42 +6589,36 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7349 | enterRule(); | 6589 | enterRule(); |
7350 | 6590 | ||
7351 | try { | 6591 | try { |
7352 | // InternalApplicationConfiguration.g:2399:2: ( ( () otherlv_1= 'string' ) ) | 6592 | // InternalApplicationConfiguration.g:2396:2: ( ( () otherlv_1= 'string' ) ) |
7353 | // InternalApplicationConfiguration.g:2400:2: ( () otherlv_1= 'string' ) | 6593 | // InternalApplicationConfiguration.g:2397:2: ( () otherlv_1= 'string' ) |
7354 | { | 6594 | { |
7355 | // InternalApplicationConfiguration.g:2400:2: ( () otherlv_1= 'string' ) | 6595 | // InternalApplicationConfiguration.g:2397:2: ( () otherlv_1= 'string' ) |
7356 | // InternalApplicationConfiguration.g:2401:3: () otherlv_1= 'string' | 6596 | // InternalApplicationConfiguration.g:2398:3: () otherlv_1= 'string' |
7357 | { | 6597 | { |
7358 | // InternalApplicationConfiguration.g:2401:3: () | 6598 | // InternalApplicationConfiguration.g:2398:3: () |
7359 | // InternalApplicationConfiguration.g:2402:4: | 6599 | // InternalApplicationConfiguration.g:2399:4: |
7360 | { | 6600 | { |
7361 | if ( state.backtracking==0 ) { | ||
7362 | 6601 | ||
7363 | current = forceCreateModelElement( | 6602 | current = forceCreateModelElement( |
7364 | grammarAccess.getStringReferenceAccess().getStringScopeAction_0(), | 6603 | grammarAccess.getStringReferenceAccess().getStringScopeAction_0(), |
7365 | current); | 6604 | current); |
7366 | 6605 | ||
7367 | } | ||
7368 | 6606 | ||
7369 | } | 6607 | } |
7370 | 6608 | ||
7371 | otherlv_1=(Token)match(input,37,FOLLOW_2); if (state.failed) return current; | 6609 | otherlv_1=(Token)match(input,37,FOLLOW_2); |
7372 | if ( state.backtracking==0 ) { | ||
7373 | 6610 | ||
7374 | newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); | 6611 | newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); |
7375 | 6612 | ||
7376 | } | ||
7377 | 6613 | ||
7378 | } | 6614 | } |
7379 | 6615 | ||
7380 | 6616 | ||
7381 | } | 6617 | } |
7382 | 6618 | ||
7383 | if ( state.backtracking==0 ) { | ||
7384 | 6619 | ||
7385 | leaveRule(); | 6620 | leaveRule(); |
7386 | 6621 | ||
7387 | } | ||
7388 | } | 6622 | } |
7389 | 6623 | ||
7390 | catch (RecognitionException re) { | 6624 | catch (RecognitionException re) { |
@@ -7399,7 +6633,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7399 | 6633 | ||
7400 | 6634 | ||
7401 | // $ANTLR start "entryRuleScopeDeclaration" | 6635 | // $ANTLR start "entryRuleScopeDeclaration" |
7402 | // InternalApplicationConfiguration.g:2416:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ; | 6636 | // InternalApplicationConfiguration.g:2413:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ; |
7403 | public final EObject entryRuleScopeDeclaration() throws RecognitionException { | 6637 | public final EObject entryRuleScopeDeclaration() throws RecognitionException { |
7404 | EObject current = null; | 6638 | EObject current = null; |
7405 | 6639 | ||
@@ -7407,21 +6641,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7407 | 6641 | ||
7408 | 6642 | ||
7409 | try { | 6643 | try { |
7410 | // InternalApplicationConfiguration.g:2416:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ) | 6644 | // InternalApplicationConfiguration.g:2413:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ) |
7411 | // InternalApplicationConfiguration.g:2417:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF | 6645 | // InternalApplicationConfiguration.g:2414:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF |
7412 | { | 6646 | { |
7413 | if ( state.backtracking==0 ) { | 6647 | newCompositeNode(grammarAccess.getScopeDeclarationRule()); |
7414 | newCompositeNode(grammarAccess.getScopeDeclarationRule()); | ||
7415 | } | ||
7416 | pushFollow(FOLLOW_1); | 6648 | pushFollow(FOLLOW_1); |
7417 | iv_ruleScopeDeclaration=ruleScopeDeclaration(); | 6649 | iv_ruleScopeDeclaration=ruleScopeDeclaration(); |
7418 | 6650 | ||
7419 | state._fsp--; | 6651 | state._fsp--; |
7420 | if (state.failed) return current; | 6652 | |
7421 | if ( state.backtracking==0 ) { | 6653 | current =iv_ruleScopeDeclaration; |
7422 | current =iv_ruleScopeDeclaration; | 6654 | match(input,EOF,FOLLOW_2); |
7423 | } | ||
7424 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
7425 | 6655 | ||
7426 | } | 6656 | } |
7427 | 6657 | ||
@@ -7439,7 +6669,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7439 | 6669 | ||
7440 | 6670 | ||
7441 | // $ANTLR start "ruleScopeDeclaration" | 6671 | // $ANTLR start "ruleScopeDeclaration" |
7442 | // InternalApplicationConfiguration.g:2423:1: ruleScopeDeclaration returns [EObject current=null] : (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ; | 6672 | // InternalApplicationConfiguration.g:2420:1: ruleScopeDeclaration returns [EObject current=null] : (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ; |
7443 | public final EObject ruleScopeDeclaration() throws RecognitionException { | 6673 | public final EObject ruleScopeDeclaration() throws RecognitionException { |
7444 | EObject current = null; | 6674 | EObject current = null; |
7445 | 6675 | ||
@@ -7452,77 +6682,67 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7452 | enterRule(); | 6682 | enterRule(); |
7453 | 6683 | ||
7454 | try { | 6684 | try { |
7455 | // InternalApplicationConfiguration.g:2429:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ) | 6685 | // InternalApplicationConfiguration.g:2426:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ) |
7456 | // InternalApplicationConfiguration.g:2430:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) | 6686 | // InternalApplicationConfiguration.g:2427:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) |
7457 | { | 6687 | { |
7458 | // InternalApplicationConfiguration.g:2430:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) | 6688 | // InternalApplicationConfiguration.g:2427:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) |
7459 | // InternalApplicationConfiguration.g:2431:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) | 6689 | // InternalApplicationConfiguration.g:2428:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) |
7460 | { | 6690 | { |
7461 | otherlv_0=(Token)match(input,38,FOLLOW_6); if (state.failed) return current; | 6691 | otherlv_0=(Token)match(input,38,FOLLOW_6); |
7462 | if ( state.backtracking==0 ) { | ||
7463 | 6692 | ||
7464 | newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); | 6693 | newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); |
7465 | 6694 | ||
7466 | } | 6695 | // InternalApplicationConfiguration.g:2432:3: ( (lv_name_1_0= RULE_ID ) ) |
7467 | // InternalApplicationConfiguration.g:2435:3: ( (lv_name_1_0= RULE_ID ) ) | 6696 | // InternalApplicationConfiguration.g:2433:4: (lv_name_1_0= RULE_ID ) |
7468 | // InternalApplicationConfiguration.g:2436:4: (lv_name_1_0= RULE_ID ) | ||
7469 | { | 6697 | { |
7470 | // InternalApplicationConfiguration.g:2436:4: (lv_name_1_0= RULE_ID ) | 6698 | // InternalApplicationConfiguration.g:2433:4: (lv_name_1_0= RULE_ID ) |
7471 | // InternalApplicationConfiguration.g:2437:5: lv_name_1_0= RULE_ID | 6699 | // InternalApplicationConfiguration.g:2434:5: lv_name_1_0= RULE_ID |
7472 | { | 6700 | { |
7473 | lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current; | 6701 | lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); |
7474 | if ( state.backtracking==0 ) { | ||
7475 | 6702 | ||
7476 | newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); | 6703 | newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); |
7477 | 6704 | ||
7478 | } | ||
7479 | if ( state.backtracking==0 ) { | ||
7480 | 6705 | ||
7481 | if (current==null) { | 6706 | if (current==null) { |
7482 | current = createModelElement(grammarAccess.getScopeDeclarationRule()); | 6707 | current = createModelElement(grammarAccess.getScopeDeclarationRule()); |
7483 | } | 6708 | } |
7484 | setWithLastConsumed( | 6709 | setWithLastConsumed( |
7485 | current, | 6710 | current, |
7486 | "name", | 6711 | "name", |
7487 | lv_name_1_0, | 6712 | lv_name_1_0, |
7488 | "org.eclipse.xtext.common.Terminals.ID"); | 6713 | "org.eclipse.xtext.common.Terminals.ID"); |
7489 | 6714 | ||
7490 | } | ||
7491 | 6715 | ||
7492 | } | 6716 | } |
7493 | 6717 | ||
7494 | 6718 | ||
7495 | } | 6719 | } |
7496 | 6720 | ||
7497 | // InternalApplicationConfiguration.g:2453:3: ( (lv_specification_2_0= ruleScopeSpecification ) ) | 6721 | // InternalApplicationConfiguration.g:2450:3: ( (lv_specification_2_0= ruleScopeSpecification ) ) |
7498 | // InternalApplicationConfiguration.g:2454:4: (lv_specification_2_0= ruleScopeSpecification ) | 6722 | // InternalApplicationConfiguration.g:2451:4: (lv_specification_2_0= ruleScopeSpecification ) |
7499 | { | 6723 | { |
7500 | // InternalApplicationConfiguration.g:2454:4: (lv_specification_2_0= ruleScopeSpecification ) | 6724 | // InternalApplicationConfiguration.g:2451:4: (lv_specification_2_0= ruleScopeSpecification ) |
7501 | // InternalApplicationConfiguration.g:2455:5: lv_specification_2_0= ruleScopeSpecification | 6725 | // InternalApplicationConfiguration.g:2452:5: lv_specification_2_0= ruleScopeSpecification |
7502 | { | 6726 | { |
7503 | if ( state.backtracking==0 ) { | ||
7504 | 6727 | ||
7505 | newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); | 6728 | newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); |
7506 | 6729 | ||
7507 | } | ||
7508 | pushFollow(FOLLOW_2); | 6730 | pushFollow(FOLLOW_2); |
7509 | lv_specification_2_0=ruleScopeSpecification(); | 6731 | lv_specification_2_0=ruleScopeSpecification(); |
7510 | 6732 | ||
7511 | state._fsp--; | 6733 | state._fsp--; |
7512 | if (state.failed) return current; | ||
7513 | if ( state.backtracking==0 ) { | ||
7514 | 6734 | ||
7515 | if (current==null) { | 6735 | |
7516 | current = createModelElementForParent(grammarAccess.getScopeDeclarationRule()); | 6736 | if (current==null) { |
7517 | } | 6737 | current = createModelElementForParent(grammarAccess.getScopeDeclarationRule()); |
7518 | set( | 6738 | } |
7519 | current, | 6739 | set( |
7520 | "specification", | 6740 | current, |
7521 | lv_specification_2_0, | 6741 | "specification", |
7522 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); | 6742 | lv_specification_2_0, |
7523 | afterParserOrEnumRuleCall(); | 6743 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); |
7524 | 6744 | afterParserOrEnumRuleCall(); | |
7525 | } | 6745 | |
7526 | 6746 | ||
7527 | } | 6747 | } |
7528 | 6748 | ||
@@ -7535,11 +6755,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7535 | 6755 | ||
7536 | } | 6756 | } |
7537 | 6757 | ||
7538 | if ( state.backtracking==0 ) { | ||
7539 | 6758 | ||
7540 | leaveRule(); | 6759 | leaveRule(); |
7541 | 6760 | ||
7542 | } | ||
7543 | } | 6761 | } |
7544 | 6762 | ||
7545 | catch (RecognitionException re) { | 6763 | catch (RecognitionException re) { |
@@ -7554,7 +6772,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7554 | 6772 | ||
7555 | 6773 | ||
7556 | // $ANTLR start "entryRuleScopeReference" | 6774 | // $ANTLR start "entryRuleScopeReference" |
7557 | // InternalApplicationConfiguration.g:2476:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ; | 6775 | // InternalApplicationConfiguration.g:2473:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ; |
7558 | public final EObject entryRuleScopeReference() throws RecognitionException { | 6776 | public final EObject entryRuleScopeReference() throws RecognitionException { |
7559 | EObject current = null; | 6777 | EObject current = null; |
7560 | 6778 | ||
@@ -7562,21 +6780,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7562 | 6780 | ||
7563 | 6781 | ||
7564 | try { | 6782 | try { |
7565 | // InternalApplicationConfiguration.g:2476:55: (iv_ruleScopeReference= ruleScopeReference EOF ) | 6783 | // InternalApplicationConfiguration.g:2473:55: (iv_ruleScopeReference= ruleScopeReference EOF ) |
7566 | // InternalApplicationConfiguration.g:2477:2: iv_ruleScopeReference= ruleScopeReference EOF | 6784 | // InternalApplicationConfiguration.g:2474:2: iv_ruleScopeReference= ruleScopeReference EOF |
7567 | { | 6785 | { |
7568 | if ( state.backtracking==0 ) { | 6786 | newCompositeNode(grammarAccess.getScopeReferenceRule()); |
7569 | newCompositeNode(grammarAccess.getScopeReferenceRule()); | ||
7570 | } | ||
7571 | pushFollow(FOLLOW_1); | 6787 | pushFollow(FOLLOW_1); |
7572 | iv_ruleScopeReference=ruleScopeReference(); | 6788 | iv_ruleScopeReference=ruleScopeReference(); |
7573 | 6789 | ||
7574 | state._fsp--; | 6790 | state._fsp--; |
7575 | if (state.failed) return current; | 6791 | |
7576 | if ( state.backtracking==0 ) { | 6792 | current =iv_ruleScopeReference; |
7577 | current =iv_ruleScopeReference; | 6793 | match(input,EOF,FOLLOW_2); |
7578 | } | ||
7579 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
7580 | 6794 | ||
7581 | } | 6795 | } |
7582 | 6796 | ||
@@ -7594,7 +6808,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7594 | 6808 | ||
7595 | 6809 | ||
7596 | // $ANTLR start "ruleScopeReference" | 6810 | // $ANTLR start "ruleScopeReference" |
7597 | // InternalApplicationConfiguration.g:2483:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; | 6811 | // InternalApplicationConfiguration.g:2480:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; |
7598 | public final EObject ruleScopeReference() throws RecognitionException { | 6812 | public final EObject ruleScopeReference() throws RecognitionException { |
7599 | EObject current = null; | 6813 | EObject current = null; |
7600 | 6814 | ||
@@ -7604,28 +6818,24 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7604 | enterRule(); | 6818 | enterRule(); |
7605 | 6819 | ||
7606 | try { | 6820 | try { |
7607 | // InternalApplicationConfiguration.g:2489:2: ( ( (otherlv_0= RULE_ID ) ) ) | 6821 | // InternalApplicationConfiguration.g:2486:2: ( ( (otherlv_0= RULE_ID ) ) ) |
7608 | // InternalApplicationConfiguration.g:2490:2: ( (otherlv_0= RULE_ID ) ) | 6822 | // InternalApplicationConfiguration.g:2487:2: ( (otherlv_0= RULE_ID ) ) |
7609 | { | 6823 | { |
7610 | // InternalApplicationConfiguration.g:2490:2: ( (otherlv_0= RULE_ID ) ) | 6824 | // InternalApplicationConfiguration.g:2487:2: ( (otherlv_0= RULE_ID ) ) |
7611 | // InternalApplicationConfiguration.g:2491:3: (otherlv_0= RULE_ID ) | 6825 | // InternalApplicationConfiguration.g:2488:3: (otherlv_0= RULE_ID ) |
7612 | { | 6826 | { |
7613 | // InternalApplicationConfiguration.g:2491:3: (otherlv_0= RULE_ID ) | 6827 | // InternalApplicationConfiguration.g:2488:3: (otherlv_0= RULE_ID ) |
7614 | // InternalApplicationConfiguration.g:2492:4: otherlv_0= RULE_ID | 6828 | // InternalApplicationConfiguration.g:2489:4: otherlv_0= RULE_ID |
7615 | { | 6829 | { |
7616 | if ( state.backtracking==0 ) { | ||
7617 | 6830 | ||
7618 | if (current==null) { | 6831 | if (current==null) { |
7619 | current = createModelElement(grammarAccess.getScopeReferenceRule()); | 6832 | current = createModelElement(grammarAccess.getScopeReferenceRule()); |
7620 | } | 6833 | } |
7621 | 6834 | ||
7622 | } | 6835 | otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); |
7623 | otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; | ||
7624 | if ( state.backtracking==0 ) { | ||
7625 | 6836 | ||
7626 | newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); | 6837 | newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); |
7627 | 6838 | ||
7628 | } | ||
7629 | 6839 | ||
7630 | } | 6840 | } |
7631 | 6841 | ||
@@ -7635,11 +6845,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7635 | 6845 | ||
7636 | } | 6846 | } |
7637 | 6847 | ||
7638 | if ( state.backtracking==0 ) { | ||
7639 | 6848 | ||
7640 | leaveRule(); | 6849 | leaveRule(); |
7641 | 6850 | ||
7642 | } | ||
7643 | } | 6851 | } |
7644 | 6852 | ||
7645 | catch (RecognitionException re) { | 6853 | catch (RecognitionException re) { |
@@ -7654,7 +6862,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7654 | 6862 | ||
7655 | 6863 | ||
7656 | // $ANTLR start "entryRuleScope" | 6864 | // $ANTLR start "entryRuleScope" |
7657 | // InternalApplicationConfiguration.g:2506:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ; | 6865 | // InternalApplicationConfiguration.g:2503:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ; |
7658 | public final EObject entryRuleScope() throws RecognitionException { | 6866 | public final EObject entryRuleScope() throws RecognitionException { |
7659 | EObject current = null; | 6867 | EObject current = null; |
7660 | 6868 | ||
@@ -7662,21 +6870,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7662 | 6870 | ||
7663 | 6871 | ||
7664 | try { | 6872 | try { |
7665 | // InternalApplicationConfiguration.g:2506:46: (iv_ruleScope= ruleScope EOF ) | 6873 | // InternalApplicationConfiguration.g:2503:46: (iv_ruleScope= ruleScope EOF ) |
7666 | // InternalApplicationConfiguration.g:2507:2: iv_ruleScope= ruleScope EOF | 6874 | // InternalApplicationConfiguration.g:2504:2: iv_ruleScope= ruleScope EOF |
7667 | { | 6875 | { |
7668 | if ( state.backtracking==0 ) { | 6876 | newCompositeNode(grammarAccess.getScopeRule()); |
7669 | newCompositeNode(grammarAccess.getScopeRule()); | ||
7670 | } | ||
7671 | pushFollow(FOLLOW_1); | 6877 | pushFollow(FOLLOW_1); |
7672 | iv_ruleScope=ruleScope(); | 6878 | iv_ruleScope=ruleScope(); |
7673 | 6879 | ||
7674 | state._fsp--; | 6880 | state._fsp--; |
7675 | if (state.failed) return current; | 6881 | |
7676 | if ( state.backtracking==0 ) { | 6882 | current =iv_ruleScope; |
7677 | current =iv_ruleScope; | 6883 | match(input,EOF,FOLLOW_2); |
7678 | } | ||
7679 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
7680 | 6884 | ||
7681 | } | 6885 | } |
7682 | 6886 | ||
@@ -7694,7 +6898,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7694 | 6898 | ||
7695 | 6899 | ||
7696 | // $ANTLR start "ruleScope" | 6900 | // $ANTLR start "ruleScope" |
7697 | // InternalApplicationConfiguration.g:2513:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ; | 6901 | // InternalApplicationConfiguration.g:2510:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ; |
7698 | public final EObject ruleScope() throws RecognitionException { | 6902 | public final EObject ruleScope() throws RecognitionException { |
7699 | EObject current = null; | 6903 | EObject current = null; |
7700 | 6904 | ||
@@ -7707,10 +6911,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7707 | enterRule(); | 6911 | enterRule(); |
7708 | 6912 | ||
7709 | try { | 6913 | try { |
7710 | // InternalApplicationConfiguration.g:2519:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ) | 6914 | // InternalApplicationConfiguration.g:2516:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ) |
7711 | // InternalApplicationConfiguration.g:2520:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) | 6915 | // InternalApplicationConfiguration.g:2517:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) |
7712 | { | 6916 | { |
7713 | // InternalApplicationConfiguration.g:2520:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) | 6917 | // InternalApplicationConfiguration.g:2517:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) |
7714 | int alt35=2; | 6918 | int alt35=2; |
7715 | int LA35_0 = input.LA(1); | 6919 | int LA35_0 = input.LA(1); |
7716 | 6920 | ||
@@ -7721,7 +6925,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7721 | alt35=2; | 6925 | alt35=2; |
7722 | } | 6926 | } |
7723 | else { | 6927 | else { |
7724 | if (state.backtracking>0) {state.failed=true; return current;} | ||
7725 | NoViableAltException nvae = | 6928 | NoViableAltException nvae = |
7726 | new NoViableAltException("", 35, 0, input); | 6929 | new NoViableAltException("", 35, 0, input); |
7727 | 6930 | ||
@@ -7729,46 +6932,38 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7729 | } | 6932 | } |
7730 | switch (alt35) { | 6933 | switch (alt35) { |
7731 | case 1 : | 6934 | case 1 : |
7732 | // InternalApplicationConfiguration.g:2521:3: this_ScopeSpecification_0= ruleScopeSpecification | 6935 | // InternalApplicationConfiguration.g:2518:3: this_ScopeSpecification_0= ruleScopeSpecification |
7733 | { | 6936 | { |
7734 | if ( state.backtracking==0 ) { | ||
7735 | 6937 | ||
7736 | newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); | 6938 | newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); |
7737 | 6939 | ||
7738 | } | ||
7739 | pushFollow(FOLLOW_2); | 6940 | pushFollow(FOLLOW_2); |
7740 | this_ScopeSpecification_0=ruleScopeSpecification(); | 6941 | this_ScopeSpecification_0=ruleScopeSpecification(); |
7741 | 6942 | ||
7742 | state._fsp--; | 6943 | state._fsp--; |
7743 | if (state.failed) return current; | ||
7744 | if ( state.backtracking==0 ) { | ||
7745 | 6944 | ||
7746 | current = this_ScopeSpecification_0; | 6945 | |
7747 | afterParserOrEnumRuleCall(); | 6946 | current = this_ScopeSpecification_0; |
7748 | 6947 | afterParserOrEnumRuleCall(); | |
7749 | } | 6948 | |
7750 | 6949 | ||
7751 | } | 6950 | } |
7752 | break; | 6951 | break; |
7753 | case 2 : | 6952 | case 2 : |
7754 | // InternalApplicationConfiguration.g:2530:3: this_ScopeReference_1= ruleScopeReference | 6953 | // InternalApplicationConfiguration.g:2527:3: this_ScopeReference_1= ruleScopeReference |
7755 | { | 6954 | { |
7756 | if ( state.backtracking==0 ) { | ||
7757 | 6955 | ||
7758 | newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); | 6956 | newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); |
7759 | 6957 | ||
7760 | } | ||
7761 | pushFollow(FOLLOW_2); | 6958 | pushFollow(FOLLOW_2); |
7762 | this_ScopeReference_1=ruleScopeReference(); | 6959 | this_ScopeReference_1=ruleScopeReference(); |
7763 | 6960 | ||
7764 | state._fsp--; | 6961 | state._fsp--; |
7765 | if (state.failed) return current; | ||
7766 | if ( state.backtracking==0 ) { | ||
7767 | 6962 | ||
7768 | current = this_ScopeReference_1; | 6963 | |
7769 | afterParserOrEnumRuleCall(); | 6964 | current = this_ScopeReference_1; |
7770 | 6965 | afterParserOrEnumRuleCall(); | |
7771 | } | 6966 | |
7772 | 6967 | ||
7773 | } | 6968 | } |
7774 | break; | 6969 | break; |
@@ -7778,11 +6973,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7778 | 6973 | ||
7779 | } | 6974 | } |
7780 | 6975 | ||
7781 | if ( state.backtracking==0 ) { | ||
7782 | 6976 | ||
7783 | leaveRule(); | 6977 | leaveRule(); |
7784 | 6978 | ||
7785 | } | ||
7786 | } | 6979 | } |
7787 | 6980 | ||
7788 | catch (RecognitionException re) { | 6981 | catch (RecognitionException re) { |
@@ -7797,7 +6990,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7797 | 6990 | ||
7798 | 6991 | ||
7799 | // $ANTLR start "entryRuleTask" | 6992 | // $ANTLR start "entryRuleTask" |
7800 | // InternalApplicationConfiguration.g:2542:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ; | 6993 | // InternalApplicationConfiguration.g:2539:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ; |
7801 | public final EObject entryRuleTask() throws RecognitionException { | 6994 | public final EObject entryRuleTask() throws RecognitionException { |
7802 | EObject current = null; | 6995 | EObject current = null; |
7803 | 6996 | ||
@@ -7805,21 +6998,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7805 | 6998 | ||
7806 | 6999 | ||
7807 | try { | 7000 | try { |
7808 | // InternalApplicationConfiguration.g:2542:45: (iv_ruleTask= ruleTask EOF ) | 7001 | // InternalApplicationConfiguration.g:2539:45: (iv_ruleTask= ruleTask EOF ) |
7809 | // InternalApplicationConfiguration.g:2543:2: iv_ruleTask= ruleTask EOF | 7002 | // InternalApplicationConfiguration.g:2540:2: iv_ruleTask= ruleTask EOF |
7810 | { | 7003 | { |
7811 | if ( state.backtracking==0 ) { | 7004 | newCompositeNode(grammarAccess.getTaskRule()); |
7812 | newCompositeNode(grammarAccess.getTaskRule()); | ||
7813 | } | ||
7814 | pushFollow(FOLLOW_1); | 7005 | pushFollow(FOLLOW_1); |
7815 | iv_ruleTask=ruleTask(); | 7006 | iv_ruleTask=ruleTask(); |
7816 | 7007 | ||
7817 | state._fsp--; | 7008 | state._fsp--; |
7818 | if (state.failed) return current; | 7009 | |
7819 | if ( state.backtracking==0 ) { | 7010 | current =iv_ruleTask; |
7820 | current =iv_ruleTask; | 7011 | match(input,EOF,FOLLOW_2); |
7821 | } | ||
7822 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
7823 | 7012 | ||
7824 | } | 7013 | } |
7825 | 7014 | ||
@@ -7837,7 +7026,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7837 | 7026 | ||
7838 | 7027 | ||
7839 | // $ANTLR start "ruleTask" | 7028 | // $ANTLR start "ruleTask" |
7840 | // InternalApplicationConfiguration.g:2549:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ; | 7029 | // InternalApplicationConfiguration.g:2546:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ; |
7841 | public final EObject ruleTask() throws RecognitionException { | 7030 | public final EObject ruleTask() throws RecognitionException { |
7842 | EObject current = null; | 7031 | EObject current = null; |
7843 | 7032 | ||
@@ -7848,33 +7037,27 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7848 | enterRule(); | 7037 | enterRule(); |
7849 | 7038 | ||
7850 | try { | 7039 | try { |
7851 | // InternalApplicationConfiguration.g:2555:2: (this_GenerationTask_0= ruleGenerationTask ) | 7040 | // InternalApplicationConfiguration.g:2552:2: (this_GenerationTask_0= ruleGenerationTask ) |
7852 | // InternalApplicationConfiguration.g:2556:2: this_GenerationTask_0= ruleGenerationTask | 7041 | // InternalApplicationConfiguration.g:2553:2: this_GenerationTask_0= ruleGenerationTask |
7853 | { | 7042 | { |
7854 | if ( state.backtracking==0 ) { | ||
7855 | 7043 | ||
7856 | newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); | 7044 | newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); |
7857 | 7045 | ||
7858 | } | ||
7859 | pushFollow(FOLLOW_2); | 7046 | pushFollow(FOLLOW_2); |
7860 | this_GenerationTask_0=ruleGenerationTask(); | 7047 | this_GenerationTask_0=ruleGenerationTask(); |
7861 | 7048 | ||
7862 | state._fsp--; | 7049 | state._fsp--; |
7863 | if (state.failed) return current; | ||
7864 | if ( state.backtracking==0 ) { | ||
7865 | 7050 | ||
7866 | current = this_GenerationTask_0; | 7051 | |
7867 | afterParserOrEnumRuleCall(); | 7052 | current = this_GenerationTask_0; |
7868 | 7053 | afterParserOrEnumRuleCall(); | |
7869 | } | 7054 | |
7870 | 7055 | ||
7871 | } | 7056 | } |
7872 | 7057 | ||
7873 | if ( state.backtracking==0 ) { | ||
7874 | 7058 | ||
7875 | leaveRule(); | 7059 | leaveRule(); |
7876 | 7060 | ||
7877 | } | ||
7878 | } | 7061 | } |
7879 | 7062 | ||
7880 | catch (RecognitionException re) { | 7063 | catch (RecognitionException re) { |
@@ -7889,7 +7072,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7889 | 7072 | ||
7890 | 7073 | ||
7891 | // $ANTLR start "entryRuleGenerationTask" | 7074 | // $ANTLR start "entryRuleGenerationTask" |
7892 | // InternalApplicationConfiguration.g:2567:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ; | 7075 | // InternalApplicationConfiguration.g:2564:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ; |
7893 | public final EObject entryRuleGenerationTask() throws RecognitionException { | 7076 | public final EObject entryRuleGenerationTask() throws RecognitionException { |
7894 | EObject current = null; | 7077 | EObject current = null; |
7895 | 7078 | ||
@@ -7897,21 +7080,17 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7897 | 7080 | ||
7898 | 7081 | ||
7899 | try { | 7082 | try { |
7900 | // InternalApplicationConfiguration.g:2567:55: (iv_ruleGenerationTask= ruleGenerationTask EOF ) | 7083 | // InternalApplicationConfiguration.g:2564:55: (iv_ruleGenerationTask= ruleGenerationTask EOF ) |
7901 | // InternalApplicationConfiguration.g:2568:2: iv_ruleGenerationTask= ruleGenerationTask EOF | 7084 | // InternalApplicationConfiguration.g:2565:2: iv_ruleGenerationTask= ruleGenerationTask EOF |
7902 | { | 7085 | { |
7903 | if ( state.backtracking==0 ) { | 7086 | newCompositeNode(grammarAccess.getGenerationTaskRule()); |
7904 | newCompositeNode(grammarAccess.getGenerationTaskRule()); | ||
7905 | } | ||
7906 | pushFollow(FOLLOW_1); | 7087 | pushFollow(FOLLOW_1); |
7907 | iv_ruleGenerationTask=ruleGenerationTask(); | 7088 | iv_ruleGenerationTask=ruleGenerationTask(); |
7908 | 7089 | ||
7909 | state._fsp--; | 7090 | state._fsp--; |
7910 | if (state.failed) return current; | 7091 | |
7911 | if ( state.backtracking==0 ) { | 7092 | current =iv_ruleGenerationTask; |
7912 | current =iv_ruleGenerationTask; | 7093 | match(input,EOF,FOLLOW_2); |
7913 | } | ||
7914 | match(input,EOF,FOLLOW_2); if (state.failed) return current; | ||
7915 | 7094 | ||
7916 | } | 7095 | } |
7917 | 7096 | ||
@@ -7929,7 +7108,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7929 | 7108 | ||
7930 | 7109 | ||
7931 | // $ANTLR start "ruleGenerationTask" | 7110 | // $ANTLR start "ruleGenerationTask" |
7932 | // InternalApplicationConfiguration.g:2574:1: ruleGenerationTask returns [EObject current=null] : (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ; | 7111 | // InternalApplicationConfiguration.g:2571:1: ruleGenerationTask returns [EObject current=null] : (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ; |
7933 | public final EObject ruleGenerationTask() throws RecognitionException { | 7112 | public final EObject ruleGenerationTask() throws RecognitionException { |
7934 | EObject current = null; | 7113 | EObject current = null; |
7935 | 7114 | ||
@@ -7987,118 +7166,106 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
7987 | enterRule(); | 7166 | enterRule(); |
7988 | 7167 | ||
7989 | try { | 7168 | try { |
7990 | // InternalApplicationConfiguration.g:2580:2: ( (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ) | 7169 | // InternalApplicationConfiguration.g:2577:2: ( (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ) |
7991 | // InternalApplicationConfiguration.g:2581:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) | 7170 | // InternalApplicationConfiguration.g:2578:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) |
7992 | { | 7171 | { |
7993 | // InternalApplicationConfiguration.g:2581:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) | 7172 | // InternalApplicationConfiguration.g:2578:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) |
7994 | // InternalApplicationConfiguration.g:2582:3: otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' | 7173 | // InternalApplicationConfiguration.g:2579:3: otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' |
7995 | { | 7174 | { |
7996 | otherlv_0=(Token)match(input,39,FOLLOW_14); if (state.failed) return current; | 7175 | otherlv_0=(Token)match(input,39,FOLLOW_14); |
7997 | if ( state.backtracking==0 ) { | ||
7998 | 7176 | ||
7999 | newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); | 7177 | newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); |
8000 | 7178 | ||
8001 | } | 7179 | // InternalApplicationConfiguration.g:2583:3: () |
8002 | // InternalApplicationConfiguration.g:2586:3: () | 7180 | // InternalApplicationConfiguration.g:2584:4: |
8003 | // InternalApplicationConfiguration.g:2587:4: | ||
8004 | { | 7181 | { |
8005 | if ( state.backtracking==0 ) { | ||
8006 | 7182 | ||
8007 | current = forceCreateModelElement( | 7183 | current = forceCreateModelElement( |
8008 | grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(), | 7184 | grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(), |
8009 | current); | 7185 | current); |
8010 | 7186 | ||
8011 | } | ||
8012 | 7187 | ||
8013 | } | 7188 | } |
8014 | 7189 | ||
8015 | otherlv_2=(Token)match(input,17,FOLLOW_28); if (state.failed) return current; | 7190 | otherlv_2=(Token)match(input,17,FOLLOW_28); |
8016 | if ( state.backtracking==0 ) { | ||
8017 | 7191 | ||
8018 | newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); | 7192 | newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); |
8019 | 7193 | ||
8020 | } | 7194 | // InternalApplicationConfiguration.g:2594:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) |
8021 | // InternalApplicationConfiguration.g:2597:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) | 7195 | // InternalApplicationConfiguration.g:2595:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) |
8022 | // InternalApplicationConfiguration.g:2598:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) | ||
8023 | { | 7196 | { |
8024 | // InternalApplicationConfiguration.g:2598:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) | 7197 | // InternalApplicationConfiguration.g:2595:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) |
8025 | // InternalApplicationConfiguration.g:2599:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) | 7198 | // InternalApplicationConfiguration.g:2596:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) |
8026 | { | 7199 | { |
8027 | getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | 7200 | |
8028 | // InternalApplicationConfiguration.g:2602:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) | 7201 | getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); |
8029 | // InternalApplicationConfiguration.g:2603:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* | 7202 | |
7203 | // InternalApplicationConfiguration.g:2599:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) | ||
7204 | // InternalApplicationConfiguration.g:2600:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* | ||
8030 | { | 7205 | { |
8031 | // InternalApplicationConfiguration.g:2603:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* | 7206 | // InternalApplicationConfiguration.g:2600:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* |
8032 | loop36: | 7207 | loop36: |
8033 | do { | 7208 | do { |
8034 | int alt36=13; | 7209 | int alt36=13; |
8035 | alt36 = dfa36.predict(input); | 7210 | alt36 = dfa36.predict(input); |
8036 | switch (alt36) { | 7211 | switch (alt36) { |
8037 | case 1 : | 7212 | case 1 : |
8038 | // InternalApplicationConfiguration.g:2604:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | 7213 | // InternalApplicationConfiguration.g:2601:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) |
8039 | { | 7214 | { |
8040 | // InternalApplicationConfiguration.g:2604:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | 7215 | // InternalApplicationConfiguration.g:2601:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) |
8041 | // InternalApplicationConfiguration.g:2605:5: {...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) | 7216 | // InternalApplicationConfiguration.g:2602:5: {...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) |
8042 | { | 7217 | { |
8043 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) { | 7218 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) { |
8044 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8045 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)"); | 7219 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)"); |
8046 | } | 7220 | } |
8047 | // InternalApplicationConfiguration.g:2605:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) | 7221 | // InternalApplicationConfiguration.g:2602:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) |
8048 | // InternalApplicationConfiguration.g:2606:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) | 7222 | // InternalApplicationConfiguration.g:2603:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) |
8049 | { | 7223 | { |
8050 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); | 7224 | |
8051 | // InternalApplicationConfiguration.g:2609:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) | 7225 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); |
8052 | // InternalApplicationConfiguration.g:2609:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) | 7226 | |
7227 | // InternalApplicationConfiguration.g:2606:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) | ||
7228 | // InternalApplicationConfiguration.g:2606:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) | ||
8053 | { | 7229 | { |
8054 | if ( !((true)) ) { | 7230 | if ( !((true)) ) { |
8055 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8056 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); | 7231 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); |
8057 | } | 7232 | } |
8058 | // InternalApplicationConfiguration.g:2609:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) | 7233 | // InternalApplicationConfiguration.g:2606:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) |
8059 | // InternalApplicationConfiguration.g:2609:20: otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) | 7234 | // InternalApplicationConfiguration.g:2606:20: otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) |
8060 | { | 7235 | { |
8061 | otherlv_4=(Token)match(input,23,FOLLOW_10); if (state.failed) return current; | 7236 | otherlv_4=(Token)match(input,23,FOLLOW_10); |
8062 | if ( state.backtracking==0 ) { | ||
8063 | 7237 | ||
8064 | newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); | 7238 | newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); |
8065 | 7239 | ||
8066 | } | 7240 | otherlv_5=(Token)match(input,16,FOLLOW_29); |
8067 | otherlv_5=(Token)match(input,16,FOLLOW_29); if (state.failed) return current; | ||
8068 | if ( state.backtracking==0 ) { | ||
8069 | 7241 | ||
8070 | newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); | 7242 | newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); |
8071 | 7243 | ||
8072 | } | 7244 | // InternalApplicationConfiguration.g:2614:9: ( (lv_metamodel_6_0= ruleMetamodel ) ) |
8073 | // InternalApplicationConfiguration.g:2617:9: ( (lv_metamodel_6_0= ruleMetamodel ) ) | 7245 | // InternalApplicationConfiguration.g:2615:10: (lv_metamodel_6_0= ruleMetamodel ) |
8074 | // InternalApplicationConfiguration.g:2618:10: (lv_metamodel_6_0= ruleMetamodel ) | ||
8075 | { | 7246 | { |
8076 | // InternalApplicationConfiguration.g:2618:10: (lv_metamodel_6_0= ruleMetamodel ) | 7247 | // InternalApplicationConfiguration.g:2615:10: (lv_metamodel_6_0= ruleMetamodel ) |
8077 | // InternalApplicationConfiguration.g:2619:11: lv_metamodel_6_0= ruleMetamodel | 7248 | // InternalApplicationConfiguration.g:2616:11: lv_metamodel_6_0= ruleMetamodel |
8078 | { | 7249 | { |
8079 | if ( state.backtracking==0 ) { | ||
8080 | 7250 | ||
8081 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); | 7251 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); |
8082 | 7252 | ||
8083 | } | ||
8084 | pushFollow(FOLLOW_28); | 7253 | pushFollow(FOLLOW_28); |
8085 | lv_metamodel_6_0=ruleMetamodel(); | 7254 | lv_metamodel_6_0=ruleMetamodel(); |
8086 | 7255 | ||
8087 | state._fsp--; | 7256 | state._fsp--; |
8088 | if (state.failed) return current; | 7257 | |
8089 | if ( state.backtracking==0 ) { | 7258 | |
8090 | 7259 | if (current==null) { | |
8091 | if (current==null) { | 7260 | current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); |
8092 | current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); | 7261 | } |
8093 | } | 7262 | set( |
8094 | set( | 7263 | current, |
8095 | current, | 7264 | "metamodel", |
8096 | "metamodel", | 7265 | lv_metamodel_6_0, |
8097 | lv_metamodel_6_0, | 7266 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel"); |
8098 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel"); | 7267 | afterParserOrEnumRuleCall(); |
8099 | afterParserOrEnumRuleCall(); | 7268 | |
8100 | |||
8101 | } | ||
8102 | 7269 | ||
8103 | } | 7270 | } |
8104 | 7271 | ||
@@ -8111,7 +7278,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
8111 | 7278 | ||
8112 | } | 7279 | } |
8113 | 7280 | ||
8114 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | 7281 | |
7282 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
7283 | |||
8115 | 7284 | ||
8116 | } | 7285 | } |
8117 | 7286 | ||
@@ -8122,70 +7291,62 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
8122 | } | 7291 | } |
8123 | break; | 7292 | break; |
8124 | case 2 : | 7293 | case 2 : |
8125 | // InternalApplicationConfiguration.g:2642:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | 7294 | // InternalApplicationConfiguration.g:2639:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) |
8126 | { | 7295 | { |
8127 | // InternalApplicationConfiguration.g:2642:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | 7296 | // InternalApplicationConfiguration.g:2639:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) |
8128 | // InternalApplicationConfiguration.g:2643:5: {...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) | 7297 | // InternalApplicationConfiguration.g:2640:5: {...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) |
8129 | { | 7298 | { |
8130 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) { | 7299 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) { |
8131 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8132 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)"); | 7300 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)"); |
8133 | } | 7301 | } |
8134 | // InternalApplicationConfiguration.g:2643:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) | 7302 | // InternalApplicationConfiguration.g:2640:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) |
8135 | // InternalApplicationConfiguration.g:2644:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) | 7303 | // InternalApplicationConfiguration.g:2641:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) |
8136 | { | 7304 | { |
8137 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); | 7305 | |
8138 | // InternalApplicationConfiguration.g:2647:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) | 7306 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); |
8139 | // InternalApplicationConfiguration.g:2647:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) | 7307 | |
7308 | // InternalApplicationConfiguration.g:2644:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) | ||
7309 | // InternalApplicationConfiguration.g:2644:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) | ||
8140 | { | 7310 | { |
8141 | if ( !((true)) ) { | 7311 | if ( !((true)) ) { |
8142 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8143 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); | 7312 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); |
8144 | } | 7313 | } |
8145 | // InternalApplicationConfiguration.g:2647:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) | 7314 | // InternalApplicationConfiguration.g:2644:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) |
8146 | // InternalApplicationConfiguration.g:2647:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) | 7315 | // InternalApplicationConfiguration.g:2644:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) |
8147 | { | 7316 | { |
8148 | otherlv_7=(Token)match(input,40,FOLLOW_10); if (state.failed) return current; | 7317 | otherlv_7=(Token)match(input,40,FOLLOW_10); |
8149 | if ( state.backtracking==0 ) { | ||
8150 | 7318 | ||
8151 | newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); | 7319 | newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); |
8152 | 7320 | ||
8153 | } | 7321 | otherlv_8=(Token)match(input,16,FOLLOW_29); |
8154 | otherlv_8=(Token)match(input,16,FOLLOW_29); if (state.failed) return current; | ||
8155 | if ( state.backtracking==0 ) { | ||
8156 | 7322 | ||
8157 | newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); | 7323 | newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); |
8158 | 7324 | ||
8159 | } | 7325 | // InternalApplicationConfiguration.g:2652:9: ( (lv_partialModel_9_0= rulePartialModel ) ) |
8160 | // InternalApplicationConfiguration.g:2655:9: ( (lv_partialModel_9_0= rulePartialModel ) ) | 7326 | // InternalApplicationConfiguration.g:2653:10: (lv_partialModel_9_0= rulePartialModel ) |
8161 | // InternalApplicationConfiguration.g:2656:10: (lv_partialModel_9_0= rulePartialModel ) | ||
8162 | { | 7327 | { |
8163 | // InternalApplicationConfiguration.g:2656:10: (lv_partialModel_9_0= rulePartialModel ) | 7328 | // InternalApplicationConfiguration.g:2653:10: (lv_partialModel_9_0= rulePartialModel ) |
8164 | // InternalApplicationConfiguration.g:2657:11: lv_partialModel_9_0= rulePartialModel | 7329 | // InternalApplicationConfiguration.g:2654:11: lv_partialModel_9_0= rulePartialModel |
8165 | { | 7330 | { |
8166 | if ( state.backtracking==0 ) { | ||
8167 | 7331 | ||
8168 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); | 7332 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); |
8169 | 7333 | ||
8170 | } | ||
8171 | pushFollow(FOLLOW_28); | 7334 | pushFollow(FOLLOW_28); |
8172 | lv_partialModel_9_0=rulePartialModel(); | 7335 | lv_partialModel_9_0=rulePartialModel(); |
8173 | 7336 | ||
8174 | state._fsp--; | 7337 | state._fsp--; |
8175 | if (state.failed) return current; | 7338 | |
8176 | if ( state.backtracking==0 ) { | 7339 | |
8177 | 7340 | if (current==null) { | |
8178 | if (current==null) { | 7341 | current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); |
8179 | current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); | 7342 | } |
8180 | } | 7343 | set( |
8181 | set( | 7344 | current, |
8182 | current, | 7345 | "partialModel", |
8183 | "partialModel", | 7346 | lv_partialModel_9_0, |
8184 | lv_partialModel_9_0, | 7347 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); |
8185 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); | 7348 | afterParserOrEnumRuleCall(); |
8186 | afterParserOrEnumRuleCall(); | 7349 | |
8187 | |||
8188 | } | ||
8189 | 7350 | ||
8190 | } | 7351 | } |
8191 | 7352 | ||
@@ -8198,7 +7359,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
8198 | 7359 | ||
8199 | } | 7360 | } |
8200 | 7361 | ||
8201 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | 7362 | |
7363 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
7364 | |||
8202 | 7365 | ||
8203 | } | 7366 | } |
8204 | 7367 | ||
@@ -8209,70 +7372,62 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
8209 | } | 7372 | } |
8210 | break; | 7373 | break; |
8211 | case 3 : | 7374 | case 3 : |
8212 | // InternalApplicationConfiguration.g:2680:4: ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | 7375 | // InternalApplicationConfiguration.g:2677:4: ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) |
8213 | { | 7376 | { |
8214 | // InternalApplicationConfiguration.g:2680:4: ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | 7377 | // InternalApplicationConfiguration.g:2677:4: ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) |
8215 | // InternalApplicationConfiguration.g:2681:5: {...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) | 7378 | // InternalApplicationConfiguration.g:2678:5: {...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) |
8216 | { | 7379 | { |
8217 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) { | 7380 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) { |
8218 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8219 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)"); | 7381 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)"); |
8220 | } | 7382 | } |
8221 | // InternalApplicationConfiguration.g:2681:111: ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) | 7383 | // InternalApplicationConfiguration.g:2678:111: ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) |
8222 | // InternalApplicationConfiguration.g:2682:6: ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) | 7384 | // InternalApplicationConfiguration.g:2679:6: ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) |
8223 | { | 7385 | { |
8224 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); | 7386 | |
8225 | // InternalApplicationConfiguration.g:2685:9: ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) | 7387 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); |
8226 | // InternalApplicationConfiguration.g:2685:10: {...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) | 7388 | |
7389 | // InternalApplicationConfiguration.g:2682:9: ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) | ||
7390 | // InternalApplicationConfiguration.g:2682:10: {...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) | ||
8227 | { | 7391 | { |
8228 | if ( !((true)) ) { | 7392 | if ( !((true)) ) { |
8229 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8230 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); | 7393 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); |
8231 | } | 7394 | } |
8232 | // InternalApplicationConfiguration.g:2685:19: (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) | 7395 | // InternalApplicationConfiguration.g:2682:19: (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) |
8233 | // InternalApplicationConfiguration.g:2685:20: otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) | 7396 | // InternalApplicationConfiguration.g:2682:20: otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) |
8234 | { | 7397 | { |
8235 | otherlv_10=(Token)match(input,26,FOLLOW_10); if (state.failed) return current; | 7398 | otherlv_10=(Token)match(input,26,FOLLOW_10); |
8236 | if ( state.backtracking==0 ) { | ||
8237 | 7399 | ||
8238 | newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getPatternsKeyword_3_2_0()); | 7400 | newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getPatternsKeyword_3_2_0()); |
8239 | 7401 | ||
8240 | } | 7402 | otherlv_11=(Token)match(input,16,FOLLOW_29); |
8241 | otherlv_11=(Token)match(input,16,FOLLOW_29); if (state.failed) return current; | ||
8242 | if ( state.backtracking==0 ) { | ||
8243 | 7403 | ||
8244 | newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); | 7404 | newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); |
8245 | 7405 | ||
8246 | } | 7406 | // InternalApplicationConfiguration.g:2690:9: ( (lv_patterns_12_0= ruleGraphPattern ) ) |
8247 | // InternalApplicationConfiguration.g:2693:9: ( (lv_patterns_12_0= ruleGraphPattern ) ) | 7407 | // InternalApplicationConfiguration.g:2691:10: (lv_patterns_12_0= ruleGraphPattern ) |
8248 | // InternalApplicationConfiguration.g:2694:10: (lv_patterns_12_0= ruleGraphPattern ) | ||
8249 | { | 7408 | { |
8250 | // InternalApplicationConfiguration.g:2694:10: (lv_patterns_12_0= ruleGraphPattern ) | 7409 | // InternalApplicationConfiguration.g:2691:10: (lv_patterns_12_0= ruleGraphPattern ) |
8251 | // InternalApplicationConfiguration.g:2695:11: lv_patterns_12_0= ruleGraphPattern | 7410 | // InternalApplicationConfiguration.g:2692:11: lv_patterns_12_0= ruleGraphPattern |
8252 | { | 7411 | { |
8253 | if ( state.backtracking==0 ) { | ||
8254 | 7412 | ||
8255 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); | 7413 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); |
8256 | 7414 | ||
8257 | } | ||
8258 | pushFollow(FOLLOW_28); | 7415 | pushFollow(FOLLOW_28); |
8259 | lv_patterns_12_0=ruleGraphPattern(); | 7416 | lv_patterns_12_0=ruleGraphPattern(); |
8260 | 7417 | ||
8261 | state._fsp--; | 7418 | state._fsp--; |
8262 | if (state.failed) return current; | 7419 | |
8263 | if ( state.backtracking==0 ) { | 7420 | |
8264 | 7421 | if (current==null) { | |
8265 | if (current==null) { | 7422 | current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); |
8266 | current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); | 7423 | } |
8267 | } | 7424 | set( |
8268 | set( | 7425 | current, |
8269 | current, | 7426 | "patterns", |
8270 | "patterns", | 7427 | lv_patterns_12_0, |
8271 | lv_patterns_12_0, | 7428 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); |
8272 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); | 7429 | afterParserOrEnumRuleCall(); |
8273 | afterParserOrEnumRuleCall(); | 7430 | |
8274 | |||
8275 | } | ||
8276 | 7431 | ||
8277 | } | 7432 | } |
8278 | 7433 | ||
@@ -8285,7 +7440,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
8285 | 7440 | ||
8286 | } | 7441 | } |
8287 | 7442 | ||
8288 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | 7443 | |
7444 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
7445 | |||
8289 | 7446 | ||
8290 | } | 7447 | } |
8291 | 7448 | ||
@@ -8296,70 +7453,62 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
8296 | } | 7453 | } |
8297 | break; | 7454 | break; |
8298 | case 4 : | 7455 | case 4 : |
8299 | // InternalApplicationConfiguration.g:2718:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | 7456 | // InternalApplicationConfiguration.g:2715:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) |
8300 | { | 7457 | { |
8301 | // InternalApplicationConfiguration.g:2718:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | 7458 | // InternalApplicationConfiguration.g:2715:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) |
8302 | // InternalApplicationConfiguration.g:2719:5: {...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) | 7459 | // InternalApplicationConfiguration.g:2716:5: {...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) |
8303 | { | 7460 | { |
8304 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) { | 7461 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) { |
8305 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8306 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)"); | 7462 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)"); |
8307 | } | 7463 | } |
8308 | // InternalApplicationConfiguration.g:2719:111: ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) | 7464 | // InternalApplicationConfiguration.g:2716:111: ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) |
8309 | // InternalApplicationConfiguration.g:2720:6: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) | 7465 | // InternalApplicationConfiguration.g:2717:6: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) |
8310 | { | 7466 | { |
8311 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); | 7467 | |
8312 | // InternalApplicationConfiguration.g:2723:9: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) | 7468 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); |
8313 | // InternalApplicationConfiguration.g:2723:10: {...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) | 7469 | |
7470 | // InternalApplicationConfiguration.g:2720:9: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) | ||
7471 | // InternalApplicationConfiguration.g:2720:10: {...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) | ||
8314 | { | 7472 | { |
8315 | if ( !((true)) ) { | 7473 | if ( !((true)) ) { |
8316 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8317 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); | 7474 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); |
8318 | } | 7475 | } |
8319 | // InternalApplicationConfiguration.g:2723:19: (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) | 7476 | // InternalApplicationConfiguration.g:2720:19: (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) |
8320 | // InternalApplicationConfiguration.g:2723:20: otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) | 7477 | // InternalApplicationConfiguration.g:2720:20: otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) |
8321 | { | 7478 | { |
8322 | otherlv_13=(Token)match(input,38,FOLLOW_10); if (state.failed) return current; | 7479 | otherlv_13=(Token)match(input,38,FOLLOW_10); |
8323 | if ( state.backtracking==0 ) { | ||
8324 | 7480 | ||
8325 | newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0()); | 7481 | newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0()); |
8326 | 7482 | ||
8327 | } | 7483 | otherlv_14=(Token)match(input,16,FOLLOW_29); |
8328 | otherlv_14=(Token)match(input,16,FOLLOW_29); if (state.failed) return current; | ||
8329 | if ( state.backtracking==0 ) { | ||
8330 | 7484 | ||
8331 | newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); | 7485 | newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); |
8332 | 7486 | ||
8333 | } | 7487 | // InternalApplicationConfiguration.g:2728:9: ( (lv_scope_15_0= ruleScope ) ) |
8334 | // InternalApplicationConfiguration.g:2731:9: ( (lv_scope_15_0= ruleScope ) ) | 7488 | // InternalApplicationConfiguration.g:2729:10: (lv_scope_15_0= ruleScope ) |
8335 | // InternalApplicationConfiguration.g:2732:10: (lv_scope_15_0= ruleScope ) | ||
8336 | { | 7489 | { |
8337 | // InternalApplicationConfiguration.g:2732:10: (lv_scope_15_0= ruleScope ) | 7490 | // InternalApplicationConfiguration.g:2729:10: (lv_scope_15_0= ruleScope ) |
8338 | // InternalApplicationConfiguration.g:2733:11: lv_scope_15_0= ruleScope | 7491 | // InternalApplicationConfiguration.g:2730:11: lv_scope_15_0= ruleScope |
8339 | { | 7492 | { |
8340 | if ( state.backtracking==0 ) { | ||
8341 | 7493 | ||
8342 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_3_2_0()); | 7494 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_3_2_0()); |
8343 | 7495 | ||
8344 | } | ||
8345 | pushFollow(FOLLOW_28); | 7496 | pushFollow(FOLLOW_28); |
8346 | lv_scope_15_0=ruleScope(); | 7497 | lv_scope_15_0=ruleScope(); |
8347 | 7498 | ||
8348 | state._fsp--; | 7499 | state._fsp--; |
8349 | if (state.failed) return current; | 7500 | |
8350 | if ( state.backtracking==0 ) { | 7501 | |
8351 | 7502 | if (current==null) { | |
8352 | if (current==null) { | 7503 | current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); |
8353 | current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); | 7504 | } |
8354 | } | 7505 | set( |
8355 | set( | 7506 | current, |
8356 | current, | 7507 | "scope", |
8357 | "scope", | 7508 | lv_scope_15_0, |
8358 | lv_scope_15_0, | 7509 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); |
8359 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); | 7510 | afterParserOrEnumRuleCall(); |
8360 | afterParserOrEnumRuleCall(); | 7511 | |
8361 | |||
8362 | } | ||
8363 | 7512 | ||
8364 | } | 7513 | } |
8365 | 7514 | ||
@@ -8372,7 +7521,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
8372 | 7521 | ||
8373 | } | 7522 | } |
8374 | 7523 | ||
8375 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | 7524 | |
7525 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
7526 | |||
8376 | 7527 | ||
8377 | } | 7528 | } |
8378 | 7529 | ||
@@ -8383,65 +7534,57 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
8383 | } | 7534 | } |
8384 | break; | 7535 | break; |
8385 | case 5 : | 7536 | case 5 : |
8386 | // InternalApplicationConfiguration.g:2756:4: ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | 7537 | // InternalApplicationConfiguration.g:2753:4: ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) |
8387 | { | 7538 | { |
8388 | // InternalApplicationConfiguration.g:2756:4: ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | 7539 | // InternalApplicationConfiguration.g:2753:4: ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) |
8389 | // InternalApplicationConfiguration.g:2757:5: {...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) | 7540 | // InternalApplicationConfiguration.g:2754:5: {...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) |
8390 | { | 7541 | { |
8391 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) { | 7542 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) { |
8392 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8393 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)"); | 7543 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)"); |
8394 | } | 7544 | } |
8395 | // InternalApplicationConfiguration.g:2757:111: ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) | 7545 | // InternalApplicationConfiguration.g:2754:111: ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) |
8396 | // InternalApplicationConfiguration.g:2758:6: ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) | 7546 | // InternalApplicationConfiguration.g:2755:6: ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) |
8397 | { | 7547 | { |
8398 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); | 7548 | |
8399 | // InternalApplicationConfiguration.g:2761:9: ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) | 7549 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); |
8400 | // InternalApplicationConfiguration.g:2761:10: {...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) | 7550 | |
7551 | // InternalApplicationConfiguration.g:2758:9: ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) | ||
7552 | // InternalApplicationConfiguration.g:2758:10: {...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) | ||
8401 | { | 7553 | { |
8402 | if ( !((true)) ) { | 7554 | if ( !((true)) ) { |
8403 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8404 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); | 7555 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); |
8405 | } | 7556 | } |
8406 | // InternalApplicationConfiguration.g:2761:19: (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) | 7557 | // InternalApplicationConfiguration.g:2758:19: (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) |
8407 | // InternalApplicationConfiguration.g:2761:20: otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) | 7558 | // InternalApplicationConfiguration.g:2758:20: otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) |
8408 | { | 7559 | { |
8409 | otherlv_16=(Token)match(input,41,FOLLOW_10); if (state.failed) return current; | 7560 | otherlv_16=(Token)match(input,41,FOLLOW_10); |
8410 | if ( state.backtracking==0 ) { | ||
8411 | 7561 | ||
8412 | newLeafNode(otherlv_16, grammarAccess.getGenerationTaskAccess().getNumberKeyword_3_4_0()); | 7562 | newLeafNode(otherlv_16, grammarAccess.getGenerationTaskAccess().getNumberKeyword_3_4_0()); |
8413 | 7563 | ||
8414 | } | 7564 | otherlv_17=(Token)match(input,16,FOLLOW_24); |
8415 | otherlv_17=(Token)match(input,16,FOLLOW_24); if (state.failed) return current; | ||
8416 | if ( state.backtracking==0 ) { | ||
8417 | 7565 | ||
8418 | newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); | 7566 | newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); |
8419 | 7567 | ||
8420 | } | 7568 | // InternalApplicationConfiguration.g:2766:9: ( (lv_number_18_0= RULE_INT ) ) |
8421 | // InternalApplicationConfiguration.g:2769:9: ( (lv_number_18_0= RULE_INT ) ) | 7569 | // InternalApplicationConfiguration.g:2767:10: (lv_number_18_0= RULE_INT ) |
8422 | // InternalApplicationConfiguration.g:2770:10: (lv_number_18_0= RULE_INT ) | ||
8423 | { | 7570 | { |
8424 | // InternalApplicationConfiguration.g:2770:10: (lv_number_18_0= RULE_INT ) | 7571 | // InternalApplicationConfiguration.g:2767:10: (lv_number_18_0= RULE_INT ) |
8425 | // InternalApplicationConfiguration.g:2771:11: lv_number_18_0= RULE_INT | 7572 | // InternalApplicationConfiguration.g:2768:11: lv_number_18_0= RULE_INT |
8426 | { | 7573 | { |
8427 | lv_number_18_0=(Token)match(input,RULE_INT,FOLLOW_28); if (state.failed) return current; | 7574 | lv_number_18_0=(Token)match(input,RULE_INT,FOLLOW_28); |
8428 | if ( state.backtracking==0 ) { | ||
8429 | 7575 | ||
8430 | newLeafNode(lv_number_18_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_4_2_0()); | 7576 | newLeafNode(lv_number_18_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_4_2_0()); |
8431 | 7577 | ||
8432 | } | 7578 | |
8433 | if ( state.backtracking==0 ) { | 7579 | if (current==null) { |
8434 | 7580 | current = createModelElement(grammarAccess.getGenerationTaskRule()); | |
8435 | if (current==null) { | 7581 | } |
8436 | current = createModelElement(grammarAccess.getGenerationTaskRule()); | 7582 | setWithLastConsumed( |
8437 | } | 7583 | current, |
8438 | setWithLastConsumed( | 7584 | "number", |
8439 | current, | 7585 | lv_number_18_0, |
8440 | "number", | 7586 | "org.eclipse.xtext.common.Terminals.INT"); |
8441 | lv_number_18_0, | 7587 | |
8442 | "org.eclipse.xtext.common.Terminals.INT"); | ||
8443 | |||
8444 | } | ||
8445 | 7588 | ||
8446 | } | 7589 | } |
8447 | 7590 | ||
@@ -8454,7 +7597,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
8454 | 7597 | ||
8455 | } | 7598 | } |
8456 | 7599 | ||
8457 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | 7600 | |
7601 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
7602 | |||
8458 | 7603 | ||
8459 | } | 7604 | } |
8460 | 7605 | ||
@@ -8465,65 +7610,57 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
8465 | } | 7610 | } |
8466 | break; | 7611 | break; |
8467 | case 6 : | 7612 | case 6 : |
8468 | // InternalApplicationConfiguration.g:2793:4: ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | 7613 | // InternalApplicationConfiguration.g:2790:4: ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) |
8469 | { | 7614 | { |
8470 | // InternalApplicationConfiguration.g:2793:4: ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | 7615 | // InternalApplicationConfiguration.g:2790:4: ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) |
8471 | // InternalApplicationConfiguration.g:2794:5: {...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) | 7616 | // InternalApplicationConfiguration.g:2791:5: {...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) |
8472 | { | 7617 | { |
8473 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) { | 7618 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) { |
8474 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8475 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)"); | 7619 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)"); |
8476 | } | 7620 | } |
8477 | // InternalApplicationConfiguration.g:2794:111: ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) | 7621 | // InternalApplicationConfiguration.g:2791:111: ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) |
8478 | // InternalApplicationConfiguration.g:2795:6: ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) | 7622 | // InternalApplicationConfiguration.g:2792:6: ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) |
8479 | { | 7623 | { |
8480 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); | 7624 | |
8481 | // InternalApplicationConfiguration.g:2798:9: ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) | 7625 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); |
8482 | // InternalApplicationConfiguration.g:2798:10: {...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) | 7626 | |
7627 | // InternalApplicationConfiguration.g:2795:9: ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) | ||
7628 | // InternalApplicationConfiguration.g:2795:10: {...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) | ||
8483 | { | 7629 | { |
8484 | if ( !((true)) ) { | 7630 | if ( !((true)) ) { |
8485 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8486 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); | 7631 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); |
8487 | } | 7632 | } |
8488 | // InternalApplicationConfiguration.g:2798:19: (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) | 7633 | // InternalApplicationConfiguration.g:2795:19: (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) |
8489 | // InternalApplicationConfiguration.g:2798:20: otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) | 7634 | // InternalApplicationConfiguration.g:2795:20: otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) |
8490 | { | 7635 | { |
8491 | otherlv_19=(Token)match(input,42,FOLLOW_10); if (state.failed) return current; | 7636 | otherlv_19=(Token)match(input,42,FOLLOW_10); |
8492 | if ( state.backtracking==0 ) { | ||
8493 | 7637 | ||
8494 | newLeafNode(otherlv_19, grammarAccess.getGenerationTaskAccess().getRunsKeyword_3_5_0()); | 7638 | newLeafNode(otherlv_19, grammarAccess.getGenerationTaskAccess().getRunsKeyword_3_5_0()); |
8495 | 7639 | ||
8496 | } | 7640 | otherlv_20=(Token)match(input,16,FOLLOW_24); |
8497 | otherlv_20=(Token)match(input,16,FOLLOW_24); if (state.failed) return current; | ||
8498 | if ( state.backtracking==0 ) { | ||
8499 | 7641 | ||
8500 | newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); | 7642 | newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); |
8501 | 7643 | ||
8502 | } | 7644 | // InternalApplicationConfiguration.g:2803:9: ( (lv_runs_21_0= RULE_INT ) ) |
8503 | // InternalApplicationConfiguration.g:2806:9: ( (lv_runs_21_0= RULE_INT ) ) | 7645 | // InternalApplicationConfiguration.g:2804:10: (lv_runs_21_0= RULE_INT ) |
8504 | // InternalApplicationConfiguration.g:2807:10: (lv_runs_21_0= RULE_INT ) | ||
8505 | { | 7646 | { |
8506 | // InternalApplicationConfiguration.g:2807:10: (lv_runs_21_0= RULE_INT ) | 7647 | // InternalApplicationConfiguration.g:2804:10: (lv_runs_21_0= RULE_INT ) |
8507 | // InternalApplicationConfiguration.g:2808:11: lv_runs_21_0= RULE_INT | 7648 | // InternalApplicationConfiguration.g:2805:11: lv_runs_21_0= RULE_INT |
8508 | { | 7649 | { |
8509 | lv_runs_21_0=(Token)match(input,RULE_INT,FOLLOW_28); if (state.failed) return current; | 7650 | lv_runs_21_0=(Token)match(input,RULE_INT,FOLLOW_28); |
8510 | if ( state.backtracking==0 ) { | ||
8511 | 7651 | ||
8512 | newLeafNode(lv_runs_21_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_5_2_0()); | 7652 | newLeafNode(lv_runs_21_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_5_2_0()); |
8513 | 7653 | ||
8514 | } | 7654 | |
8515 | if ( state.backtracking==0 ) { | 7655 | if (current==null) { |
8516 | 7656 | current = createModelElement(grammarAccess.getGenerationTaskRule()); | |
8517 | if (current==null) { | 7657 | } |
8518 | current = createModelElement(grammarAccess.getGenerationTaskRule()); | 7658 | setWithLastConsumed( |
8519 | } | 7659 | current, |
8520 | setWithLastConsumed( | 7660 | "runs", |
8521 | current, | 7661 | lv_runs_21_0, |
8522 | "runs", | 7662 | "org.eclipse.xtext.common.Terminals.INT"); |
8523 | lv_runs_21_0, | 7663 | |
8524 | "org.eclipse.xtext.common.Terminals.INT"); | ||
8525 | |||
8526 | } | ||
8527 | 7664 | ||
8528 | } | 7665 | } |
8529 | 7666 | ||
@@ -8536,7 +7673,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
8536 | 7673 | ||
8537 | } | 7674 | } |
8538 | 7675 | ||
8539 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | 7676 | |
7677 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
7678 | |||
8540 | 7679 | ||
8541 | } | 7680 | } |
8542 | 7681 | ||
@@ -8547,70 +7686,62 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
8547 | } | 7686 | } |
8548 | break; | 7687 | break; |
8549 | case 7 : | 7688 | case 7 : |
8550 | // InternalApplicationConfiguration.g:2830:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | 7689 | // InternalApplicationConfiguration.g:2827:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) |
8551 | { | 7690 | { |
8552 | // InternalApplicationConfiguration.g:2830:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | 7691 | // InternalApplicationConfiguration.g:2827:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) |
8553 | // InternalApplicationConfiguration.g:2831:5: {...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) | 7692 | // InternalApplicationConfiguration.g:2828:5: {...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) |
8554 | { | 7693 | { |
8555 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) { | 7694 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) { |
8556 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8557 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)"); | 7695 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)"); |
8558 | } | 7696 | } |
8559 | // InternalApplicationConfiguration.g:2831:111: ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) | 7697 | // InternalApplicationConfiguration.g:2828:111: ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) |
8560 | // InternalApplicationConfiguration.g:2832:6: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) | 7698 | // InternalApplicationConfiguration.g:2829:6: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) |
8561 | { | 7699 | { |
8562 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); | 7700 | |
8563 | // InternalApplicationConfiguration.g:2835:9: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) | 7701 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); |
8564 | // InternalApplicationConfiguration.g:2835:10: {...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) | 7702 | |
7703 | // InternalApplicationConfiguration.g:2832:9: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) | ||
7704 | // InternalApplicationConfiguration.g:2832:10: {...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) | ||
8565 | { | 7705 | { |
8566 | if ( !((true)) ) { | 7706 | if ( !((true)) ) { |
8567 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8568 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); | 7707 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); |
8569 | } | 7708 | } |
8570 | // InternalApplicationConfiguration.g:2835:19: (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) | 7709 | // InternalApplicationConfiguration.g:2832:19: (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) |
8571 | // InternalApplicationConfiguration.g:2835:20: otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) | 7710 | // InternalApplicationConfiguration.g:2832:20: otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) |
8572 | { | 7711 | { |
8573 | otherlv_22=(Token)match(input,43,FOLLOW_10); if (state.failed) return current; | 7712 | otherlv_22=(Token)match(input,43,FOLLOW_10); |
8574 | if ( state.backtracking==0 ) { | ||
8575 | 7713 | ||
8576 | newLeafNode(otherlv_22, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0()); | 7714 | newLeafNode(otherlv_22, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0()); |
8577 | 7715 | ||
8578 | } | 7716 | otherlv_23=(Token)match(input,16,FOLLOW_30); |
8579 | otherlv_23=(Token)match(input,16,FOLLOW_30); if (state.failed) return current; | ||
8580 | if ( state.backtracking==0 ) { | ||
8581 | 7717 | ||
8582 | newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); | 7718 | newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); |
8583 | 7719 | ||
8584 | } | 7720 | // InternalApplicationConfiguration.g:2840:9: ( (lv_solver_24_0= ruleSolver ) ) |
8585 | // InternalApplicationConfiguration.g:2843:9: ( (lv_solver_24_0= ruleSolver ) ) | 7721 | // InternalApplicationConfiguration.g:2841:10: (lv_solver_24_0= ruleSolver ) |
8586 | // InternalApplicationConfiguration.g:2844:10: (lv_solver_24_0= ruleSolver ) | ||
8587 | { | 7722 | { |
8588 | // InternalApplicationConfiguration.g:2844:10: (lv_solver_24_0= ruleSolver ) | 7723 | // InternalApplicationConfiguration.g:2841:10: (lv_solver_24_0= ruleSolver ) |
8589 | // InternalApplicationConfiguration.g:2845:11: lv_solver_24_0= ruleSolver | 7724 | // InternalApplicationConfiguration.g:2842:11: lv_solver_24_0= ruleSolver |
8590 | { | 7725 | { |
8591 | if ( state.backtracking==0 ) { | ||
8592 | 7726 | ||
8593 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_6_2_0()); | 7727 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_6_2_0()); |
8594 | 7728 | ||
8595 | } | ||
8596 | pushFollow(FOLLOW_28); | 7729 | pushFollow(FOLLOW_28); |
8597 | lv_solver_24_0=ruleSolver(); | 7730 | lv_solver_24_0=ruleSolver(); |
8598 | 7731 | ||
8599 | state._fsp--; | 7732 | state._fsp--; |
8600 | if (state.failed) return current; | 7733 | |
8601 | if ( state.backtracking==0 ) { | 7734 | |
8602 | 7735 | if (current==null) { | |
8603 | if (current==null) { | 7736 | current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); |
8604 | current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); | 7737 | } |
8605 | } | 7738 | set( |
8606 | set( | 7739 | current, |
8607 | current, | 7740 | "solver", |
8608 | "solver", | 7741 | lv_solver_24_0, |
8609 | lv_solver_24_0, | 7742 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); |
8610 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); | 7743 | afterParserOrEnumRuleCall(); |
8611 | afterParserOrEnumRuleCall(); | 7744 | |
8612 | |||
8613 | } | ||
8614 | 7745 | ||
8615 | } | 7746 | } |
8616 | 7747 | ||
@@ -8623,7 +7754,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
8623 | 7754 | ||
8624 | } | 7755 | } |
8625 | 7756 | ||
8626 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | 7757 | |
7758 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
7759 | |||
8627 | 7760 | ||
8628 | } | 7761 | } |
8629 | 7762 | ||
@@ -8634,70 +7767,62 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
8634 | } | 7767 | } |
8635 | break; | 7768 | break; |
8636 | case 8 : | 7769 | case 8 : |
8637 | // InternalApplicationConfiguration.g:2868:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | 7770 | // InternalApplicationConfiguration.g:2865:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) |
8638 | { | 7771 | { |
8639 | // InternalApplicationConfiguration.g:2868:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | 7772 | // InternalApplicationConfiguration.g:2865:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) |
8640 | // InternalApplicationConfiguration.g:2869:5: {...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) | 7773 | // InternalApplicationConfiguration.g:2866:5: {...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) |
8641 | { | 7774 | { |
8642 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) { | 7775 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) { |
8643 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8644 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)"); | 7776 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)"); |
8645 | } | 7777 | } |
8646 | // InternalApplicationConfiguration.g:2869:111: ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) | 7778 | // InternalApplicationConfiguration.g:2866:111: ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) |
8647 | // InternalApplicationConfiguration.g:2870:6: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) | 7779 | // InternalApplicationConfiguration.g:2867:6: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) |
8648 | { | 7780 | { |
8649 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); | 7781 | |
8650 | // InternalApplicationConfiguration.g:2873:9: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) | 7782 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); |
8651 | // InternalApplicationConfiguration.g:2873:10: {...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) | 7783 | |
7784 | // InternalApplicationConfiguration.g:2870:9: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) | ||
7785 | // InternalApplicationConfiguration.g:2870:10: {...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) | ||
8652 | { | 7786 | { |
8653 | if ( !((true)) ) { | 7787 | if ( !((true)) ) { |
8654 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8655 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); | 7788 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); |
8656 | } | 7789 | } |
8657 | // InternalApplicationConfiguration.g:2873:19: (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) | 7790 | // InternalApplicationConfiguration.g:2870:19: (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) |
8658 | // InternalApplicationConfiguration.g:2873:20: otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) | 7791 | // InternalApplicationConfiguration.g:2870:20: otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) |
8659 | { | 7792 | { |
8660 | otherlv_25=(Token)match(input,27,FOLLOW_10); if (state.failed) return current; | 7793 | otherlv_25=(Token)match(input,27,FOLLOW_10); |
8661 | if ( state.backtracking==0 ) { | ||
8662 | 7794 | ||
8663 | newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_7_0()); | 7795 | newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_7_0()); |
8664 | 7796 | ||
8665 | } | 7797 | otherlv_26=(Token)match(input,16,FOLLOW_29); |
8666 | otherlv_26=(Token)match(input,16,FOLLOW_29); if (state.failed) return current; | ||
8667 | if ( state.backtracking==0 ) { | ||
8668 | 7798 | ||
8669 | newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); | 7799 | newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); |
8670 | 7800 | ||
8671 | } | 7801 | // InternalApplicationConfiguration.g:2878:9: ( (lv_config_27_0= ruleConfig ) ) |
8672 | // InternalApplicationConfiguration.g:2881:9: ( (lv_config_27_0= ruleConfig ) ) | 7802 | // InternalApplicationConfiguration.g:2879:10: (lv_config_27_0= ruleConfig ) |
8673 | // InternalApplicationConfiguration.g:2882:10: (lv_config_27_0= ruleConfig ) | ||
8674 | { | 7803 | { |
8675 | // InternalApplicationConfiguration.g:2882:10: (lv_config_27_0= ruleConfig ) | 7804 | // InternalApplicationConfiguration.g:2879:10: (lv_config_27_0= ruleConfig ) |
8676 | // InternalApplicationConfiguration.g:2883:11: lv_config_27_0= ruleConfig | 7805 | // InternalApplicationConfiguration.g:2880:11: lv_config_27_0= ruleConfig |
8677 | { | 7806 | { |
8678 | if ( state.backtracking==0 ) { | ||
8679 | 7807 | ||
8680 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_7_2_0()); | 7808 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_7_2_0()); |
8681 | 7809 | ||
8682 | } | ||
8683 | pushFollow(FOLLOW_28); | 7810 | pushFollow(FOLLOW_28); |
8684 | lv_config_27_0=ruleConfig(); | 7811 | lv_config_27_0=ruleConfig(); |
8685 | 7812 | ||
8686 | state._fsp--; | 7813 | state._fsp--; |
8687 | if (state.failed) return current; | 7814 | |
8688 | if ( state.backtracking==0 ) { | 7815 | |
8689 | 7816 | if (current==null) { | |
8690 | if (current==null) { | 7817 | current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); |
8691 | current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); | 7818 | } |
8692 | } | 7819 | set( |
8693 | set( | 7820 | current, |
8694 | current, | 7821 | "config", |
8695 | "config", | 7822 | lv_config_27_0, |
8696 | lv_config_27_0, | 7823 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); |
8697 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); | 7824 | afterParserOrEnumRuleCall(); |
8698 | afterParserOrEnumRuleCall(); | 7825 | |
8699 | |||
8700 | } | ||
8701 | 7826 | ||
8702 | } | 7827 | } |
8703 | 7828 | ||
@@ -8710,7 +7835,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
8710 | 7835 | ||
8711 | } | 7836 | } |
8712 | 7837 | ||
8713 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | 7838 | |
7839 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
7840 | |||
8714 | 7841 | ||
8715 | } | 7842 | } |
8716 | 7843 | ||
@@ -8721,70 +7848,62 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
8721 | } | 7848 | } |
8722 | break; | 7849 | break; |
8723 | case 9 : | 7850 | case 9 : |
8724 | // InternalApplicationConfiguration.g:2906:4: ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | 7851 | // InternalApplicationConfiguration.g:2903:4: ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) |
8725 | { | 7852 | { |
8726 | // InternalApplicationConfiguration.g:2906:4: ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | 7853 | // InternalApplicationConfiguration.g:2903:4: ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) |
8727 | // InternalApplicationConfiguration.g:2907:5: {...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) | 7854 | // InternalApplicationConfiguration.g:2904:5: {...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) |
8728 | { | 7855 | { |
8729 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) { | 7856 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) { |
8730 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8731 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)"); | 7857 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)"); |
8732 | } | 7858 | } |
8733 | // InternalApplicationConfiguration.g:2907:111: ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) | 7859 | // InternalApplicationConfiguration.g:2904:111: ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) |
8734 | // InternalApplicationConfiguration.g:2908:6: ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) | 7860 | // InternalApplicationConfiguration.g:2905:6: ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) |
8735 | { | 7861 | { |
8736 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); | 7862 | |
8737 | // InternalApplicationConfiguration.g:2911:9: ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) | 7863 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); |
8738 | // InternalApplicationConfiguration.g:2911:10: {...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) | 7864 | |
7865 | // InternalApplicationConfiguration.g:2908:9: ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) | ||
7866 | // InternalApplicationConfiguration.g:2908:10: {...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) | ||
8739 | { | 7867 | { |
8740 | if ( !((true)) ) { | 7868 | if ( !((true)) ) { |
8741 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8742 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); | 7869 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); |
8743 | } | 7870 | } |
8744 | // InternalApplicationConfiguration.g:2911:19: (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) | 7871 | // InternalApplicationConfiguration.g:2908:19: (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) |
8745 | // InternalApplicationConfiguration.g:2911:20: otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) | 7872 | // InternalApplicationConfiguration.g:2908:20: otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) |
8746 | { | 7873 | { |
8747 | otherlv_28=(Token)match(input,44,FOLLOW_10); if (state.failed) return current; | 7874 | otherlv_28=(Token)match(input,44,FOLLOW_10); |
8748 | if ( state.backtracking==0 ) { | ||
8749 | 7875 | ||
8750 | newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_8_0()); | 7876 | newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_8_0()); |
8751 | 7877 | ||
8752 | } | 7878 | otherlv_29=(Token)match(input,16,FOLLOW_18); |
8753 | otherlv_29=(Token)match(input,16,FOLLOW_18); if (state.failed) return current; | ||
8754 | if ( state.backtracking==0 ) { | ||
8755 | 7879 | ||
8756 | newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); | 7880 | newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); |
8757 | 7881 | ||
8758 | } | 7882 | // InternalApplicationConfiguration.g:2916:9: ( (lv_tagetFolder_30_0= ruleFile ) ) |
8759 | // InternalApplicationConfiguration.g:2919:9: ( (lv_tagetFolder_30_0= ruleFile ) ) | 7883 | // InternalApplicationConfiguration.g:2917:10: (lv_tagetFolder_30_0= ruleFile ) |
8760 | // InternalApplicationConfiguration.g:2920:10: (lv_tagetFolder_30_0= ruleFile ) | ||
8761 | { | 7884 | { |
8762 | // InternalApplicationConfiguration.g:2920:10: (lv_tagetFolder_30_0= ruleFile ) | 7885 | // InternalApplicationConfiguration.g:2917:10: (lv_tagetFolder_30_0= ruleFile ) |
8763 | // InternalApplicationConfiguration.g:2921:11: lv_tagetFolder_30_0= ruleFile | 7886 | // InternalApplicationConfiguration.g:2918:11: lv_tagetFolder_30_0= ruleFile |
8764 | { | 7887 | { |
8765 | if ( state.backtracking==0 ) { | ||
8766 | 7888 | ||
8767 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_8_2_0()); | 7889 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_8_2_0()); |
8768 | 7890 | ||
8769 | } | ||
8770 | pushFollow(FOLLOW_28); | 7891 | pushFollow(FOLLOW_28); |
8771 | lv_tagetFolder_30_0=ruleFile(); | 7892 | lv_tagetFolder_30_0=ruleFile(); |
8772 | 7893 | ||
8773 | state._fsp--; | 7894 | state._fsp--; |
8774 | if (state.failed) return current; | 7895 | |
8775 | if ( state.backtracking==0 ) { | 7896 | |
8776 | 7897 | if (current==null) { | |
8777 | if (current==null) { | 7898 | current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); |
8778 | current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); | 7899 | } |
8779 | } | 7900 | set( |
8780 | set( | 7901 | current, |
8781 | current, | 7902 | "tagetFolder", |
8782 | "tagetFolder", | 7903 | lv_tagetFolder_30_0, |
8783 | lv_tagetFolder_30_0, | 7904 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); |
8784 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); | 7905 | afterParserOrEnumRuleCall(); |
8785 | afterParserOrEnumRuleCall(); | 7906 | |
8786 | |||
8787 | } | ||
8788 | 7907 | ||
8789 | } | 7908 | } |
8790 | 7909 | ||
@@ -8797,7 +7916,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
8797 | 7916 | ||
8798 | } | 7917 | } |
8799 | 7918 | ||
8800 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | 7919 | |
7920 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
7921 | |||
8801 | 7922 | ||
8802 | } | 7923 | } |
8803 | 7924 | ||
@@ -8808,70 +7929,62 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
8808 | } | 7929 | } |
8809 | break; | 7930 | break; |
8810 | case 10 : | 7931 | case 10 : |
8811 | // InternalApplicationConfiguration.g:2944:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | 7932 | // InternalApplicationConfiguration.g:2941:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) |
8812 | { | 7933 | { |
8813 | // InternalApplicationConfiguration.g:2944:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | 7934 | // InternalApplicationConfiguration.g:2941:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) |
8814 | // InternalApplicationConfiguration.g:2945:5: {...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) | 7935 | // InternalApplicationConfiguration.g:2942:5: {...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) |
8815 | { | 7936 | { |
8816 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) { | 7937 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) { |
8817 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8818 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)"); | 7938 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)"); |
8819 | } | 7939 | } |
8820 | // InternalApplicationConfiguration.g:2945:111: ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) | 7940 | // InternalApplicationConfiguration.g:2942:111: ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) |
8821 | // InternalApplicationConfiguration.g:2946:6: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) | 7941 | // InternalApplicationConfiguration.g:2943:6: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) |
8822 | { | 7942 | { |
8823 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); | 7943 | |
8824 | // InternalApplicationConfiguration.g:2949:9: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) | 7944 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); |
8825 | // InternalApplicationConfiguration.g:2949:10: {...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) | 7945 | |
7946 | // InternalApplicationConfiguration.g:2946:9: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) | ||
7947 | // InternalApplicationConfiguration.g:2946:10: {...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) | ||
8826 | { | 7948 | { |
8827 | if ( !((true)) ) { | 7949 | if ( !((true)) ) { |
8828 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8829 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); | 7950 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); |
8830 | } | 7951 | } |
8831 | // InternalApplicationConfiguration.g:2949:19: (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) | 7952 | // InternalApplicationConfiguration.g:2946:19: (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) |
8832 | // InternalApplicationConfiguration.g:2949:20: otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) | 7953 | // InternalApplicationConfiguration.g:2946:20: otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) |
8833 | { | 7954 | { |
8834 | otherlv_31=(Token)match(input,45,FOLLOW_10); if (state.failed) return current; | 7955 | otherlv_31=(Token)match(input,45,FOLLOW_10); |
8835 | if ( state.backtracking==0 ) { | ||
8836 | 7956 | ||
8837 | newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0()); | 7957 | newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0()); |
8838 | 7958 | ||
8839 | } | 7959 | otherlv_32=(Token)match(input,16,FOLLOW_18); |
8840 | otherlv_32=(Token)match(input,16,FOLLOW_18); if (state.failed) return current; | ||
8841 | if ( state.backtracking==0 ) { | ||
8842 | 7960 | ||
8843 | newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); | 7961 | newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); |
8844 | 7962 | ||
8845 | } | 7963 | // InternalApplicationConfiguration.g:2954:9: ( (lv_debugFolder_33_0= ruleFile ) ) |
8846 | // InternalApplicationConfiguration.g:2957:9: ( (lv_debugFolder_33_0= ruleFile ) ) | 7964 | // InternalApplicationConfiguration.g:2955:10: (lv_debugFolder_33_0= ruleFile ) |
8847 | // InternalApplicationConfiguration.g:2958:10: (lv_debugFolder_33_0= ruleFile ) | ||
8848 | { | 7965 | { |
8849 | // InternalApplicationConfiguration.g:2958:10: (lv_debugFolder_33_0= ruleFile ) | 7966 | // InternalApplicationConfiguration.g:2955:10: (lv_debugFolder_33_0= ruleFile ) |
8850 | // InternalApplicationConfiguration.g:2959:11: lv_debugFolder_33_0= ruleFile | 7967 | // InternalApplicationConfiguration.g:2956:11: lv_debugFolder_33_0= ruleFile |
8851 | { | 7968 | { |
8852 | if ( state.backtracking==0 ) { | ||
8853 | 7969 | ||
8854 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0()); | 7970 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0()); |
8855 | 7971 | ||
8856 | } | ||
8857 | pushFollow(FOLLOW_28); | 7972 | pushFollow(FOLLOW_28); |
8858 | lv_debugFolder_33_0=ruleFile(); | 7973 | lv_debugFolder_33_0=ruleFile(); |
8859 | 7974 | ||
8860 | state._fsp--; | 7975 | state._fsp--; |
8861 | if (state.failed) return current; | 7976 | |
8862 | if ( state.backtracking==0 ) { | 7977 | |
8863 | 7978 | if (current==null) { | |
8864 | if (current==null) { | 7979 | current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); |
8865 | current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); | 7980 | } |
8866 | } | 7981 | set( |
8867 | set( | 7982 | current, |
8868 | current, | 7983 | "debugFolder", |
8869 | "debugFolder", | 7984 | lv_debugFolder_33_0, |
8870 | lv_debugFolder_33_0, | 7985 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); |
8871 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); | 7986 | afterParserOrEnumRuleCall(); |
8872 | afterParserOrEnumRuleCall(); | 7987 | |
8873 | |||
8874 | } | ||
8875 | 7988 | ||
8876 | } | 7989 | } |
8877 | 7990 | ||
@@ -8884,7 +7997,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
8884 | 7997 | ||
8885 | } | 7998 | } |
8886 | 7999 | ||
8887 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | 8000 | |
8001 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
8002 | |||
8888 | 8003 | ||
8889 | } | 8004 | } |
8890 | 8005 | ||
@@ -8895,70 +8010,62 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
8895 | } | 8010 | } |
8896 | break; | 8011 | break; |
8897 | case 11 : | 8012 | case 11 : |
8898 | // InternalApplicationConfiguration.g:2982:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | 8013 | // InternalApplicationConfiguration.g:2979:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) |
8899 | { | 8014 | { |
8900 | // InternalApplicationConfiguration.g:2982:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | 8015 | // InternalApplicationConfiguration.g:2979:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) |
8901 | // InternalApplicationConfiguration.g:2983:5: {...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) | 8016 | // InternalApplicationConfiguration.g:2980:5: {...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) |
8902 | { | 8017 | { |
8903 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) { | 8018 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) { |
8904 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8905 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)"); | 8019 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)"); |
8906 | } | 8020 | } |
8907 | // InternalApplicationConfiguration.g:2983:112: ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) | 8021 | // InternalApplicationConfiguration.g:2980:112: ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) |
8908 | // InternalApplicationConfiguration.g:2984:6: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) | 8022 | // InternalApplicationConfiguration.g:2981:6: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) |
8909 | { | 8023 | { |
8910 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); | 8024 | |
8911 | // InternalApplicationConfiguration.g:2987:9: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) | 8025 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); |
8912 | // InternalApplicationConfiguration.g:2987:10: {...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) | 8026 | |
8027 | // InternalApplicationConfiguration.g:2984:9: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) | ||
8028 | // InternalApplicationConfiguration.g:2984:10: {...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) | ||
8913 | { | 8029 | { |
8914 | if ( !((true)) ) { | 8030 | if ( !((true)) ) { |
8915 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8916 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); | 8031 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); |
8917 | } | 8032 | } |
8918 | // InternalApplicationConfiguration.g:2987:19: (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) | 8033 | // InternalApplicationConfiguration.g:2984:19: (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) |
8919 | // InternalApplicationConfiguration.g:2987:20: otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) | 8034 | // InternalApplicationConfiguration.g:2984:20: otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) |
8920 | { | 8035 | { |
8921 | otherlv_34=(Token)match(input,46,FOLLOW_10); if (state.failed) return current; | 8036 | otherlv_34=(Token)match(input,46,FOLLOW_10); |
8922 | if ( state.backtracking==0 ) { | ||
8923 | 8037 | ||
8924 | newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0()); | 8038 | newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0()); |
8925 | 8039 | ||
8926 | } | 8040 | otherlv_35=(Token)match(input,16,FOLLOW_18); |
8927 | otherlv_35=(Token)match(input,16,FOLLOW_18); if (state.failed) return current; | ||
8928 | if ( state.backtracking==0 ) { | ||
8929 | 8041 | ||
8930 | newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); | 8042 | newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); |
8931 | 8043 | ||
8932 | } | 8044 | // InternalApplicationConfiguration.g:2992:9: ( (lv_targetLogFile_36_0= ruleFile ) ) |
8933 | // InternalApplicationConfiguration.g:2995:9: ( (lv_targetLogFile_36_0= ruleFile ) ) | 8045 | // InternalApplicationConfiguration.g:2993:10: (lv_targetLogFile_36_0= ruleFile ) |
8934 | // InternalApplicationConfiguration.g:2996:10: (lv_targetLogFile_36_0= ruleFile ) | ||
8935 | { | 8046 | { |
8936 | // InternalApplicationConfiguration.g:2996:10: (lv_targetLogFile_36_0= ruleFile ) | 8047 | // InternalApplicationConfiguration.g:2993:10: (lv_targetLogFile_36_0= ruleFile ) |
8937 | // InternalApplicationConfiguration.g:2997:11: lv_targetLogFile_36_0= ruleFile | 8048 | // InternalApplicationConfiguration.g:2994:11: lv_targetLogFile_36_0= ruleFile |
8938 | { | 8049 | { |
8939 | if ( state.backtracking==0 ) { | ||
8940 | 8050 | ||
8941 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0()); | 8051 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0()); |
8942 | 8052 | ||
8943 | } | ||
8944 | pushFollow(FOLLOW_28); | 8053 | pushFollow(FOLLOW_28); |
8945 | lv_targetLogFile_36_0=ruleFile(); | 8054 | lv_targetLogFile_36_0=ruleFile(); |
8946 | 8055 | ||
8947 | state._fsp--; | 8056 | state._fsp--; |
8948 | if (state.failed) return current; | 8057 | |
8949 | if ( state.backtracking==0 ) { | 8058 | |
8950 | 8059 | if (current==null) { | |
8951 | if (current==null) { | 8060 | current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); |
8952 | current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); | 8061 | } |
8953 | } | 8062 | set( |
8954 | set( | 8063 | current, |
8955 | current, | 8064 | "targetLogFile", |
8956 | "targetLogFile", | 8065 | lv_targetLogFile_36_0, |
8957 | lv_targetLogFile_36_0, | 8066 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); |
8958 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); | 8067 | afterParserOrEnumRuleCall(); |
8959 | afterParserOrEnumRuleCall(); | 8068 | |
8960 | |||
8961 | } | ||
8962 | 8069 | ||
8963 | } | 8070 | } |
8964 | 8071 | ||
@@ -8971,7 +8078,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
8971 | 8078 | ||
8972 | } | 8079 | } |
8973 | 8080 | ||
8974 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | 8081 | |
8082 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
8083 | |||
8975 | 8084 | ||
8976 | } | 8085 | } |
8977 | 8086 | ||
@@ -8982,70 +8091,62 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
8982 | } | 8091 | } |
8983 | break; | 8092 | break; |
8984 | case 12 : | 8093 | case 12 : |
8985 | // InternalApplicationConfiguration.g:3020:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | 8094 | // InternalApplicationConfiguration.g:3017:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) |
8986 | { | 8095 | { |
8987 | // InternalApplicationConfiguration.g:3020:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) | 8096 | // InternalApplicationConfiguration.g:3017:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) |
8988 | // InternalApplicationConfiguration.g:3021:5: {...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) | 8097 | // InternalApplicationConfiguration.g:3018:5: {...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) |
8989 | { | 8098 | { |
8990 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) { | 8099 | if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) { |
8991 | if (state.backtracking>0) {state.failed=true; return current;} | ||
8992 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)"); | 8100 | throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)"); |
8993 | } | 8101 | } |
8994 | // InternalApplicationConfiguration.g:3021:112: ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) | 8102 | // InternalApplicationConfiguration.g:3018:112: ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) |
8995 | // InternalApplicationConfiguration.g:3022:6: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) | 8103 | // InternalApplicationConfiguration.g:3019:6: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) |
8996 | { | 8104 | { |
8997 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); | 8105 | |
8998 | // InternalApplicationConfiguration.g:3025:9: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) | 8106 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); |
8999 | // InternalApplicationConfiguration.g:3025:10: {...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) | 8107 | |
8108 | // InternalApplicationConfiguration.g:3022:9: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) | ||
8109 | // InternalApplicationConfiguration.g:3022:10: {...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) | ||
9000 | { | 8110 | { |
9001 | if ( !((true)) ) { | 8111 | if ( !((true)) ) { |
9002 | if (state.backtracking>0) {state.failed=true; return current;} | ||
9003 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); | 8112 | throw new FailedPredicateException(input, "ruleGenerationTask", "true"); |
9004 | } | 8113 | } |
9005 | // InternalApplicationConfiguration.g:3025:19: (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) | 8114 | // InternalApplicationConfiguration.g:3022:19: (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) |
9006 | // InternalApplicationConfiguration.g:3025:20: otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) | 8115 | // InternalApplicationConfiguration.g:3022:20: otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) |
9007 | { | 8116 | { |
9008 | otherlv_37=(Token)match(input,47,FOLLOW_10); if (state.failed) return current; | 8117 | otherlv_37=(Token)match(input,47,FOLLOW_10); |
9009 | if ( state.backtracking==0 ) { | ||
9010 | 8118 | ||
9011 | newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0()); | 8119 | newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0()); |
9012 | 8120 | ||
9013 | } | 8121 | otherlv_38=(Token)match(input,16,FOLLOW_18); |
9014 | otherlv_38=(Token)match(input,16,FOLLOW_18); if (state.failed) return current; | ||
9015 | if ( state.backtracking==0 ) { | ||
9016 | 8122 | ||
9017 | newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); | 8123 | newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); |
9018 | 8124 | ||
9019 | } | 8125 | // InternalApplicationConfiguration.g:3030:9: ( (lv_targetStatisticsFile_39_0= ruleFile ) ) |
9020 | // InternalApplicationConfiguration.g:3033:9: ( (lv_targetStatisticsFile_39_0= ruleFile ) ) | 8126 | // InternalApplicationConfiguration.g:3031:10: (lv_targetStatisticsFile_39_0= ruleFile ) |
9021 | // InternalApplicationConfiguration.g:3034:10: (lv_targetStatisticsFile_39_0= ruleFile ) | ||
9022 | { | 8127 | { |
9023 | // InternalApplicationConfiguration.g:3034:10: (lv_targetStatisticsFile_39_0= ruleFile ) | 8128 | // InternalApplicationConfiguration.g:3031:10: (lv_targetStatisticsFile_39_0= ruleFile ) |
9024 | // InternalApplicationConfiguration.g:3035:11: lv_targetStatisticsFile_39_0= ruleFile | 8129 | // InternalApplicationConfiguration.g:3032:11: lv_targetStatisticsFile_39_0= ruleFile |
9025 | { | 8130 | { |
9026 | if ( state.backtracking==0 ) { | ||
9027 | 8131 | ||
9028 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0()); | 8132 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0()); |
9029 | 8133 | ||
9030 | } | ||
9031 | pushFollow(FOLLOW_28); | 8134 | pushFollow(FOLLOW_28); |
9032 | lv_targetStatisticsFile_39_0=ruleFile(); | 8135 | lv_targetStatisticsFile_39_0=ruleFile(); |
9033 | 8136 | ||
9034 | state._fsp--; | 8137 | state._fsp--; |
9035 | if (state.failed) return current; | 8138 | |
9036 | if ( state.backtracking==0 ) { | 8139 | |
9037 | 8140 | if (current==null) { | |
9038 | if (current==null) { | 8141 | current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); |
9039 | current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); | 8142 | } |
9040 | } | 8143 | set( |
9041 | set( | 8144 | current, |
9042 | current, | 8145 | "targetStatisticsFile", |
9043 | "targetStatisticsFile", | 8146 | lv_targetStatisticsFile_39_0, |
9044 | lv_targetStatisticsFile_39_0, | 8147 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); |
9045 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); | 8148 | afterParserOrEnumRuleCall(); |
9046 | afterParserOrEnumRuleCall(); | 8149 | |
9047 | |||
9048 | } | ||
9049 | 8150 | ||
9050 | } | 8151 | } |
9051 | 8152 | ||
@@ -9058,7 +8159,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
9058 | 8159 | ||
9059 | } | 8160 | } |
9060 | 8161 | ||
9061 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | 8162 | |
8163 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
8164 | |||
9062 | 8165 | ||
9063 | } | 8166 | } |
9064 | 8167 | ||
@@ -9080,27 +8183,25 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
9080 | 8183 | ||
9081 | } | 8184 | } |
9082 | 8185 | ||
9083 | getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | 8186 | |
8187 | getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
8188 | |||
9084 | 8189 | ||
9085 | } | 8190 | } |
9086 | 8191 | ||
9087 | otherlv_40=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; | 8192 | otherlv_40=(Token)match(input,19,FOLLOW_2); |
9088 | if ( state.backtracking==0 ) { | ||
9089 | 8193 | ||
9090 | newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); | 8194 | newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); |
9091 | 8195 | ||
9092 | } | ||
9093 | 8196 | ||
9094 | } | 8197 | } |
9095 | 8198 | ||
9096 | 8199 | ||
9097 | } | 8200 | } |
9098 | 8201 | ||
9099 | if ( state.backtracking==0 ) { | ||
9100 | 8202 | ||
9101 | leaveRule(); | 8203 | leaveRule(); |
9102 | 8204 | ||
9103 | } | ||
9104 | } | 8205 | } |
9105 | 8206 | ||
9106 | catch (RecognitionException re) { | 8207 | catch (RecognitionException re) { |
@@ -9115,7 +8216,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
9115 | 8216 | ||
9116 | 8217 | ||
9117 | // $ANTLR start "ruleSolver" | 8218 | // $ANTLR start "ruleSolver" |
9118 | // InternalApplicationConfiguration.g:3073:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ; | 8219 | // InternalApplicationConfiguration.g:3070:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ; |
9119 | public final Enumerator ruleSolver() throws RecognitionException { | 8220 | public final Enumerator ruleSolver() throws RecognitionException { |
9120 | Enumerator current = null; | 8221 | Enumerator current = null; |
9121 | 8222 | ||
@@ -9127,10 +8228,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
9127 | enterRule(); | 8228 | enterRule(); |
9128 | 8229 | ||
9129 | try { | 8230 | try { |
9130 | // InternalApplicationConfiguration.g:3079:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ) | 8231 | // InternalApplicationConfiguration.g:3076:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ) |
9131 | // InternalApplicationConfiguration.g:3080:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) | 8232 | // InternalApplicationConfiguration.g:3077:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) |
9132 | { | 8233 | { |
9133 | // InternalApplicationConfiguration.g:3080:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) | 8234 | // InternalApplicationConfiguration.g:3077:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) |
9134 | int alt37=3; | 8235 | int alt37=3; |
9135 | switch ( input.LA(1) ) { | 8236 | switch ( input.LA(1) ) { |
9136 | case 48: | 8237 | case 48: |
@@ -9149,7 +8250,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
9149 | } | 8250 | } |
9150 | break; | 8251 | break; |
9151 | default: | 8252 | default: |
9152 | if (state.backtracking>0) {state.failed=true; return current;} | ||
9153 | NoViableAltException nvae = | 8253 | NoViableAltException nvae = |
9154 | new NoViableAltException("", 37, 0, input); | 8254 | new NoViableAltException("", 37, 0, input); |
9155 | 8255 | ||
@@ -9158,18 +8258,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
9158 | 8258 | ||
9159 | switch (alt37) { | 8259 | switch (alt37) { |
9160 | case 1 : | 8260 | case 1 : |
9161 | // InternalApplicationConfiguration.g:3081:3: (enumLiteral_0= 'SMTSolver' ) | 8261 | // InternalApplicationConfiguration.g:3078:3: (enumLiteral_0= 'SMTSolver' ) |
9162 | { | 8262 | { |
9163 | // InternalApplicationConfiguration.g:3081:3: (enumLiteral_0= 'SMTSolver' ) | 8263 | // InternalApplicationConfiguration.g:3078:3: (enumLiteral_0= 'SMTSolver' ) |
9164 | // InternalApplicationConfiguration.g:3082:4: enumLiteral_0= 'SMTSolver' | 8264 | // InternalApplicationConfiguration.g:3079:4: enumLiteral_0= 'SMTSolver' |
9165 | { | 8265 | { |
9166 | enumLiteral_0=(Token)match(input,48,FOLLOW_2); if (state.failed) return current; | 8266 | enumLiteral_0=(Token)match(input,48,FOLLOW_2); |
9167 | if ( state.backtracking==0 ) { | ||
9168 | 8267 | ||
9169 | current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); | 8268 | current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); |
9170 | newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); | 8269 | newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); |
9171 | 8270 | ||
9172 | } | ||
9173 | 8271 | ||
9174 | } | 8272 | } |
9175 | 8273 | ||
@@ -9177,18 +8275,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
9177 | } | 8275 | } |
9178 | break; | 8276 | break; |
9179 | case 2 : | 8277 | case 2 : |
9180 | // InternalApplicationConfiguration.g:3089:3: (enumLiteral_1= 'AlloySolver' ) | 8278 | // InternalApplicationConfiguration.g:3086:3: (enumLiteral_1= 'AlloySolver' ) |
9181 | { | 8279 | { |
9182 | // InternalApplicationConfiguration.g:3089:3: (enumLiteral_1= 'AlloySolver' ) | 8280 | // InternalApplicationConfiguration.g:3086:3: (enumLiteral_1= 'AlloySolver' ) |
9183 | // InternalApplicationConfiguration.g:3090:4: enumLiteral_1= 'AlloySolver' | 8281 | // InternalApplicationConfiguration.g:3087:4: enumLiteral_1= 'AlloySolver' |
9184 | { | 8282 | { |
9185 | enumLiteral_1=(Token)match(input,49,FOLLOW_2); if (state.failed) return current; | 8283 | enumLiteral_1=(Token)match(input,49,FOLLOW_2); |
9186 | if ( state.backtracking==0 ) { | ||
9187 | 8284 | ||
9188 | current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); | 8285 | current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); |
9189 | newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); | 8286 | newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); |
9190 | 8287 | ||
9191 | } | ||
9192 | 8288 | ||
9193 | } | 8289 | } |
9194 | 8290 | ||
@@ -9196,18 +8292,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
9196 | } | 8292 | } |
9197 | break; | 8293 | break; |
9198 | case 3 : | 8294 | case 3 : |
9199 | // InternalApplicationConfiguration.g:3097:3: (enumLiteral_2= 'ViatraSolver' ) | 8295 | // InternalApplicationConfiguration.g:3094:3: (enumLiteral_2= 'ViatraSolver' ) |
9200 | { | 8296 | { |
9201 | // InternalApplicationConfiguration.g:3097:3: (enumLiteral_2= 'ViatraSolver' ) | 8297 | // InternalApplicationConfiguration.g:3094:3: (enumLiteral_2= 'ViatraSolver' ) |
9202 | // InternalApplicationConfiguration.g:3098:4: enumLiteral_2= 'ViatraSolver' | 8298 | // InternalApplicationConfiguration.g:3095:4: enumLiteral_2= 'ViatraSolver' |
9203 | { | 8299 | { |
9204 | enumLiteral_2=(Token)match(input,50,FOLLOW_2); if (state.failed) return current; | 8300 | enumLiteral_2=(Token)match(input,50,FOLLOW_2); |
9205 | if ( state.backtracking==0 ) { | ||
9206 | 8301 | ||
9207 | current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); | 8302 | current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); |
9208 | newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); | 8303 | newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); |
9209 | 8304 | ||
9210 | } | ||
9211 | 8305 | ||
9212 | } | 8306 | } |
9213 | 8307 | ||
@@ -9220,11 +8314,9 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
9220 | 8314 | ||
9221 | } | 8315 | } |
9222 | 8316 | ||
9223 | if ( state.backtracking==0 ) { | ||
9224 | 8317 | ||
9225 | leaveRule(); | 8318 | leaveRule(); |
9226 | 8319 | ||
9227 | } | ||
9228 | } | 8320 | } |
9229 | 8321 | ||
9230 | catch (RecognitionException re) { | 8322 | catch (RecognitionException re) { |
@@ -9237,34 +8329,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
9237 | } | 8329 | } |
9238 | // $ANTLR end "ruleSolver" | 8330 | // $ANTLR end "ruleSolver" |
9239 | 8331 | ||
9240 | // $ANTLR start synpred1_InternalApplicationConfiguration | ||
9241 | public final void synpred1_InternalApplicationConfiguration_fragment() throws RecognitionException { | ||
9242 | // InternalApplicationConfiguration.g:182:5: ( '.' ) | ||
9243 | // InternalApplicationConfiguration.g:182:6: '.' | ||
9244 | { | ||
9245 | match(input,11,FOLLOW_2); if (state.failed) return ; | ||
9246 | |||
9247 | } | ||
9248 | } | ||
9249 | // $ANTLR end synpred1_InternalApplicationConfiguration | ||
9250 | |||
9251 | // Delegated rules | 8332 | // Delegated rules |
9252 | 8333 | ||
9253 | public final boolean synpred1_InternalApplicationConfiguration() { | ||
9254 | state.backtracking++; | ||
9255 | int start = input.mark(); | ||
9256 | try { | ||
9257 | synpred1_InternalApplicationConfiguration_fragment(); // can never throw exception | ||
9258 | } catch (RecognitionException re) { | ||
9259 | System.err.println("impossible: "+re); | ||
9260 | } | ||
9261 | boolean success = !state.failed; | ||
9262 | input.rewind(start); | ||
9263 | state.backtracking--; | ||
9264 | state.failed=false; | ||
9265 | return success; | ||
9266 | } | ||
9267 | |||
9268 | 8334 | ||
9269 | protected DFA36 dfa36 = new DFA36(this); | 8335 | protected DFA36 dfa36 = new DFA36(this); |
9270 | static final String dfa_1s = "\16\uffff"; | 8336 | static final String dfa_1s = "\16\uffff"; |
@@ -9310,7 +8376,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
9310 | this.transition = dfa_6; | 8376 | this.transition = dfa_6; |
9311 | } | 8377 | } |
9312 | public String getDescription() { | 8378 | public String getDescription() { |
9313 | return "()* loopback of 2603:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )*"; | 8379 | return "()* loopback of 2600:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )*"; |
9314 | } | 8380 | } |
9315 | public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { | 8381 | public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
9316 | TokenStream input = (TokenStream)_input; | 8382 | TokenStream input = (TokenStream)_input; |
@@ -9354,7 +8420,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl | |||
9354 | if ( s>=0 ) return s; | 8420 | if ( s>=0 ) return s; |
9355 | break; | 8421 | break; |
9356 | } | 8422 | } |
9357 | if (state.backtracking>0) {state.failed=true; return -1;} | ||
9358 | NoViableAltException nvae = | 8423 | NoViableAltException nvae = |
9359 | new NoViableAltException(getDescription(), 36, _s, input); | 8424 | new NoViableAltException(getDescription(), 36, _s, input); |
9360 | error(nvae); | 8425 | error(nvae); |
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java index f13a19a3..a21d65e7 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java | |||
@@ -84,19 +84,19 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
84 | private final RuleCall cIDTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); | 84 | private final RuleCall cIDTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); |
85 | 85 | ||
86 | //QualifiedName: | 86 | //QualifiedName: |
87 | // ID (=> '.' ID)*; | 87 | // ID ('.' ID)*; |
88 | @Override public ParserRule getRule() { return rule; } | 88 | @Override public ParserRule getRule() { return rule; } |
89 | 89 | ||
90 | //ID (=> '.' ID)* | 90 | //ID ('.' ID)* |
91 | public Group getGroup() { return cGroup; } | 91 | public Group getGroup() { return cGroup; } |
92 | 92 | ||
93 | //ID | 93 | //ID |
94 | public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; } | 94 | public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; } |
95 | 95 | ||
96 | //(=> '.' ID)* | 96 | //('.' ID)* |
97 | public Group getGroup_1() { return cGroup_1; } | 97 | public Group getGroup_1() { return cGroup_1; } |
98 | 98 | ||
99 | //=> '.' | 99 | //'.' |
100 | public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } | 100 | public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } |
101 | 101 | ||
102 | //ID | 102 | //ID |
@@ -1394,20 +1394,20 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
1394 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference"); | 1394 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference"); |
1395 | private final Group cGroup = (Group)rule.eContents().get(1); | 1395 | private final Group cGroup = (Group)rule.eContents().get(1); |
1396 | private final Action cObjectReferenceAction_0 = (Action)cGroup.eContents().get(0); | 1396 | private final Action cObjectReferenceAction_0 = (Action)cGroup.eContents().get(0); |
1397 | private final Keyword cObjectKeyword_1 = (Keyword)cGroup.eContents().get(1); | 1397 | private final Keyword cNodeKeyword_1 = (Keyword)cGroup.eContents().get(1); |
1398 | 1398 | ||
1399 | //ObjectReference: | 1399 | //ObjectReference: |
1400 | // {ObjectReference} 'Object'; | 1400 | // {ObjectReference} 'node'; |
1401 | @Override public ParserRule getRule() { return rule; } | 1401 | @Override public ParserRule getRule() { return rule; } |
1402 | 1402 | ||
1403 | //{ObjectReference} 'Object' | 1403 | //{ObjectReference} 'node' |
1404 | public Group getGroup() { return cGroup; } | 1404 | public Group getGroup() { return cGroup; } |
1405 | 1405 | ||
1406 | //{ObjectReference} | 1406 | //{ObjectReference} |
1407 | public Action getObjectReferenceAction_0() { return cObjectReferenceAction_0; } | 1407 | public Action getObjectReferenceAction_0() { return cObjectReferenceAction_0; } |
1408 | 1408 | ||
1409 | //'Object' | 1409 | //'node' |
1410 | public Keyword getObjectKeyword_1() { return cObjectKeyword_1; } | 1410 | public Keyword getNodeKeyword_1() { return cNodeKeyword_1; } |
1411 | } | 1411 | } |
1412 | public class IntegerReferenceElements extends AbstractParserRuleElementFinder { | 1412 | public class IntegerReferenceElements extends AbstractParserRuleElementFinder { |
1413 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference"); | 1413 | private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference"); |
@@ -2028,7 +2028,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
2028 | } | 2028 | } |
2029 | 2029 | ||
2030 | //QualifiedName: | 2030 | //QualifiedName: |
2031 | // ID (=> '.' ID)*; | 2031 | // ID ('.' ID)*; |
2032 | public QualifiedNameElements getQualifiedNameAccess() { | 2032 | public QualifiedNameElements getQualifiedNameAccess() { |
2033 | return pQualifiedName; | 2033 | return pQualifiedName; |
2034 | } | 2034 | } |
@@ -2459,7 +2459,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen | |||
2459 | } | 2459 | } |
2460 | 2460 | ||
2461 | //ObjectReference: | 2461 | //ObjectReference: |
2462 | // {ObjectReference} 'Object'; | 2462 | // {ObjectReference} 'node'; |
2463 | public ObjectReferenceElements getObjectReferenceAccess() { | 2463 | public ObjectReferenceElements getObjectReferenceAccess() { |
2464 | return pObjectReference; | 2464 | return pObjectReference; |
2465 | } | 2465 | } |