aboutsummaryrefslogtreecommitdiffstats
path: root/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java
diff options
context:
space:
mode:
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java')
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java8800
1 files changed, 8243 insertions, 557 deletions
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 7387e45b..5a083af8 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
@@ -5,6 +5,7 @@ import org.eclipse.xtext.parser.*;
5import org.eclipse.xtext.parser.impl.*; 5import org.eclipse.xtext.parser.impl.*;
6import org.eclipse.emf.ecore.util.EcoreUtil; 6import org.eclipse.emf.ecore.util.EcoreUtil;
7import org.eclipse.emf.ecore.EObject; 7import org.eclipse.emf.ecore.EObject;
8import org.eclipse.emf.common.util.Enumerator;
8import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; 9import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
9import org.eclipse.xtext.parser.antlr.XtextTokenStream; 10import org.eclipse.xtext.parser.antlr.XtextTokenStream;
10import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; 11import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
@@ -17,14 +18,13 @@ import org.antlr.runtime.*;
17import java.util.Stack; 18import java.util.Stack;
18import java.util.List; 19import java.util.List;
19import java.util.ArrayList; 20import java.util.ArrayList;
20 21import java.util.Map;
22import java.util.HashMap;
21@SuppressWarnings("all") 23@SuppressWarnings("all")
22public class InternalApplicationConfigurationParser extends AbstractInternalAntlrParser { 24public class InternalApplicationConfigurationParser extends AbstractInternalAntlrParser {
23 public static final String[] tokenNames = new String[] { 25 public static final String[] tokenNames = new String[] {
24 "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_STRING", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'import'", "'epackage'", "'viatra'", "'{'", "','", "'}'", "'package'", "'excluding'", "'::'", "'.'", "'metamodel'" 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'", "'partial-model'", "'patterns'", "'config'", "'<'", "'<='", "'#'", "'['", "']'", "'Object'", "'int'", "'real'", "'string'", "'scope'", "'generate'", "'number'", "'runs'", "'solver'", "'output'", "'debug'", "'log'", "'statistics'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'"
25 }; 27 };
26 public static final int RULE_STRING=4;
27 public static final int RULE_SL_COMMENT=8;
28 public static final int T__19=19; 28 public static final int T__19=19;
29 public static final int T__15=15; 29 public static final int T__15=15;
30 public static final int T__16=16; 30 public static final int T__16=16;
@@ -34,14 +34,43 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
34 public static final int T__12=12; 34 public static final int T__12=12;
35 public static final int T__13=13; 35 public static final int T__13=13;
36 public static final int T__14=14; 36 public static final int T__14=14;
37 public static final int EOF=-1; 37 public static final int RULE_ID=4;
38 public static final int RULE_ID=5; 38 public static final int T__26=26;
39 public static final int RULE_WS=9; 39 public static final int T__27=27;
40 public static final int RULE_ANY_OTHER=10; 40 public static final int T__28=28;
41 public static final int RULE_INT=6; 41 public static final int RULE_INT=6;
42 public static final int T__29=29;
43 public static final int T__22=22;
42 public static final int RULE_ML_COMMENT=7; 44 public static final int RULE_ML_COMMENT=7;
45 public static final int T__23=23;
46 public static final int T__24=24;
47 public static final int T__25=25;
43 public static final int T__20=20; 48 public static final int T__20=20;
44 public static final int T__21=21; 49 public static final int T__21=21;
50 public static final int RULE_STRING=5;
51 public static final int RULE_SL_COMMENT=8;
52 public static final int T__37=37;
53 public static final int T__38=38;
54 public static final int T__39=39;
55 public static final int T__33=33;
56 public static final int T__34=34;
57 public static final int T__35=35;
58 public static final int T__36=36;
59 public static final int EOF=-1;
60 public static final int T__30=30;
61 public static final int T__31=31;
62 public static final int T__32=32;
63 public static final int RULE_WS=9;
64 public static final int RULE_ANY_OTHER=10;
65 public static final int T__48=48;
66 public static final int T__44=44;
67 public static final int T__45=45;
68 public static final int T__46=46;
69 public static final int T__47=47;
70 public static final int T__40=40;
71 public static final int T__41=41;
72 public static final int T__42=42;
73 public static final int T__43=43;
45 74
46 // delegates 75 // delegates
47 // delegators 76 // delegators
@@ -83,7 +112,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
83 112
84 113
85 // $ANTLR start "entryRuleConfigurationScript" 114 // $ANTLR start "entryRuleConfigurationScript"
86 // InternalApplicationConfiguration.g:64:1: entryRuleConfigurationScript returns [EObject current=null] : iv_ruleConfigurationScript= ruleConfigurationScript EOF ; 115 // InternalApplicationConfiguration.g:65:1: entryRuleConfigurationScript returns [EObject current=null] : iv_ruleConfigurationScript= ruleConfigurationScript EOF ;
87 public final EObject entryRuleConfigurationScript() throws RecognitionException { 116 public final EObject entryRuleConfigurationScript() throws RecognitionException {
88 EObject current = null; 117 EObject current = null;
89 118
@@ -91,17 +120,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
91 120
92 121
93 try { 122 try {
94 // InternalApplicationConfiguration.g:64:60: (iv_ruleConfigurationScript= ruleConfigurationScript EOF ) 123 // InternalApplicationConfiguration.g:65:60: (iv_ruleConfigurationScript= ruleConfigurationScript EOF )
95 // InternalApplicationConfiguration.g:65:2: iv_ruleConfigurationScript= ruleConfigurationScript EOF 124 // InternalApplicationConfiguration.g:66:2: iv_ruleConfigurationScript= ruleConfigurationScript EOF
96 { 125 {
97 newCompositeNode(grammarAccess.getConfigurationScriptRule()); 126 if ( state.backtracking==0 ) {
127 newCompositeNode(grammarAccess.getConfigurationScriptRule());
128 }
98 pushFollow(FOLLOW_1); 129 pushFollow(FOLLOW_1);
99 iv_ruleConfigurationScript=ruleConfigurationScript(); 130 iv_ruleConfigurationScript=ruleConfigurationScript();
100 131
101 state._fsp--; 132 state._fsp--;
102 133 if (state.failed) return current;
103 current =iv_ruleConfigurationScript; 134 if ( state.backtracking==0 ) {
104 match(input,EOF,FOLLOW_2); 135 current =iv_ruleConfigurationScript;
136 }
137 match(input,EOF,FOLLOW_2); if (state.failed) return current;
105 138
106 } 139 }
107 140
@@ -119,7 +152,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
119 152
120 153
121 // $ANTLR start "ruleConfigurationScript" 154 // $ANTLR start "ruleConfigurationScript"
122 // InternalApplicationConfiguration.g:71:1: ruleConfigurationScript returns [EObject current=null] : ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ; 155 // InternalApplicationConfiguration.g:72:1: ruleConfigurationScript returns [EObject current=null] : ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ;
123 public final EObject ruleConfigurationScript() throws RecognitionException { 156 public final EObject ruleConfigurationScript() throws RecognitionException {
124 EObject current = null; 157 EObject current = null;
125 158
@@ -132,49 +165,53 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
132 enterRule(); 165 enterRule();
133 166
134 try { 167 try {
135 // InternalApplicationConfiguration.g:77:2: ( ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ) 168 // InternalApplicationConfiguration.g:78:2: ( ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) )
136 // InternalApplicationConfiguration.g:78:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) 169 // InternalApplicationConfiguration.g:79:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* )
137 { 170 {
138 // InternalApplicationConfiguration.g:78:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) 171 // InternalApplicationConfiguration.g:79:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* )
139 // InternalApplicationConfiguration.g:79:3: ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* 172 // InternalApplicationConfiguration.g:80:3: ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )*
140 { 173 {
141 // InternalApplicationConfiguration.g:79:3: ( (lv_imports_0_0= ruleImport ) )* 174 // InternalApplicationConfiguration.g:80:3: ( (lv_imports_0_0= ruleImport ) )*
142 loop1: 175 loop1:
143 do { 176 do {
144 int alt1=2; 177 int alt1=2;
145 int LA1_0 = input.LA(1); 178 int LA1_0 = input.LA(1);
146 179
147 if ( (LA1_0==11) ) { 180 if ( (LA1_0==12) ) {
148 alt1=1; 181 alt1=1;
149 } 182 }
150 183
151 184
152 switch (alt1) { 185 switch (alt1) {
153 case 1 : 186 case 1 :
154 // InternalApplicationConfiguration.g:80:4: (lv_imports_0_0= ruleImport ) 187 // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport )
155 { 188 {
156 // InternalApplicationConfiguration.g:80:4: (lv_imports_0_0= ruleImport ) 189 // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport )
157 // InternalApplicationConfiguration.g:81:5: lv_imports_0_0= ruleImport 190 // InternalApplicationConfiguration.g:82:5: lv_imports_0_0= ruleImport
158 { 191 {
192 if ( state.backtracking==0 ) {
159 193
160 newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); 194 newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0());
161 195
196 }
162 pushFollow(FOLLOW_3); 197 pushFollow(FOLLOW_3);
163 lv_imports_0_0=ruleImport(); 198 lv_imports_0_0=ruleImport();
164 199
165 state._fsp--; 200 state._fsp--;
166 201 if (state.failed) return current;
167 202 if ( state.backtracking==0 ) {
168 if (current==null) { 203
169 current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); 204 if (current==null) {
170 } 205 current = createModelElementForParent(grammarAccess.getConfigurationScriptRule());
171 add( 206 }
172 current, 207 add(
173 "imports", 208 current,
174 lv_imports_0_0, 209 "imports",
175 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); 210 lv_imports_0_0,
176 afterParserOrEnumRuleCall(); 211 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import");
177 212 afterParserOrEnumRuleCall();
213
214 }
178 215
179 } 216 }
180 217
@@ -187,43 +224,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
187 } 224 }
188 } while (true); 225 } while (true);
189 226
190 // InternalApplicationConfiguration.g:98:3: ( (lv_commands_1_0= ruleCommand ) )* 227 // InternalApplicationConfiguration.g:99:3: ( (lv_commands_1_0= ruleCommand ) )*
191 loop2: 228 loop2:
192 do { 229 do {
193 int alt2=2; 230 int alt2=2;
194 int LA2_0 = input.LA(1); 231 int LA2_0 = input.LA(1);
195 232
196 if ( (LA2_0==21) ) { 233 if ( (LA2_0==15||LA2_0==23||(LA2_0>=25 && LA2_0<=27)||(LA2_0>=37 && LA2_0<=38)) ) {
197 alt2=1; 234 alt2=1;
198 } 235 }
199 236
200 237
201 switch (alt2) { 238 switch (alt2) {
202 case 1 : 239 case 1 :
203 // InternalApplicationConfiguration.g:99:4: (lv_commands_1_0= ruleCommand ) 240 // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand )
204 { 241 {
205 // InternalApplicationConfiguration.g:99:4: (lv_commands_1_0= ruleCommand ) 242 // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand )
206 // InternalApplicationConfiguration.g:100:5: lv_commands_1_0= ruleCommand 243 // InternalApplicationConfiguration.g:101:5: lv_commands_1_0= ruleCommand
207 { 244 {
245 if ( state.backtracking==0 ) {
208 246
209 newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); 247 newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0());
210 248
249 }
211 pushFollow(FOLLOW_4); 250 pushFollow(FOLLOW_4);
212 lv_commands_1_0=ruleCommand(); 251 lv_commands_1_0=ruleCommand();
213 252
214 state._fsp--; 253 state._fsp--;
215 254 if (state.failed) return current;
216 255 if ( state.backtracking==0 ) {
217 if (current==null) { 256
218 current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); 257 if (current==null) {
219 } 258 current = createModelElementForParent(grammarAccess.getConfigurationScriptRule());
220 add( 259 }
221 current, 260 add(
222 "commands", 261 current,
223 lv_commands_1_0, 262 "commands",
224 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); 263 lv_commands_1_0,
225 afterParserOrEnumRuleCall(); 264 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command");
226 265 afterParserOrEnumRuleCall();
266
267 }
227 268
228 } 269 }
229 270
@@ -242,9 +283,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
242 283
243 } 284 }
244 285
286 if ( state.backtracking==0 ) {
245 287
246 leaveRule(); 288 leaveRule();
247 289
290 }
248 } 291 }
249 292
250 catch (RecognitionException re) { 293 catch (RecognitionException re) {
@@ -259,7 +302,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
259 302
260 303
261 // $ANTLR start "entryRuleCommand" 304 // $ANTLR start "entryRuleCommand"
262 // InternalApplicationConfiguration.g:121:1: entryRuleCommand returns [EObject current=null] : iv_ruleCommand= ruleCommand EOF ; 305 // InternalApplicationConfiguration.g:122:1: entryRuleCommand returns [EObject current=null] : iv_ruleCommand= ruleCommand EOF ;
263 public final EObject entryRuleCommand() throws RecognitionException { 306 public final EObject entryRuleCommand() throws RecognitionException {
264 EObject current = null; 307 EObject current = null;
265 308
@@ -267,17 +310,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
267 310
268 311
269 try { 312 try {
270 // InternalApplicationConfiguration.g:121:48: (iv_ruleCommand= ruleCommand EOF ) 313 // InternalApplicationConfiguration.g:122:48: (iv_ruleCommand= ruleCommand EOF )
271 // InternalApplicationConfiguration.g:122:2: iv_ruleCommand= ruleCommand EOF 314 // InternalApplicationConfiguration.g:123:2: iv_ruleCommand= ruleCommand EOF
272 { 315 {
273 newCompositeNode(grammarAccess.getCommandRule()); 316 if ( state.backtracking==0 ) {
317 newCompositeNode(grammarAccess.getCommandRule());
318 }
274 pushFollow(FOLLOW_1); 319 pushFollow(FOLLOW_1);
275 iv_ruleCommand=ruleCommand(); 320 iv_ruleCommand=ruleCommand();
276 321
277 state._fsp--; 322 state._fsp--;
278 323 if (state.failed) return current;
279 current =iv_ruleCommand; 324 if ( state.backtracking==0 ) {
280 match(input,EOF,FOLLOW_2); 325 current =iv_ruleCommand;
326 }
327 match(input,EOF,FOLLOW_2); if (state.failed) return current;
281 328
282 } 329 }
283 330
@@ -295,38 +342,95 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
295 342
296 343
297 // $ANTLR start "ruleCommand" 344 // $ANTLR start "ruleCommand"
298 // InternalApplicationConfiguration.g:128:1: ruleCommand returns [EObject current=null] : this_Declaration_0= ruleDeclaration ; 345 // InternalApplicationConfiguration.g:129:1: ruleCommand returns [EObject current=null] : (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) ;
299 public final EObject ruleCommand() throws RecognitionException { 346 public final EObject ruleCommand() throws RecognitionException {
300 EObject current = null; 347 EObject current = null;
301 348
302 EObject this_Declaration_0 = null; 349 EObject this_Declaration_0 = null;
303 350
351 EObject this_Task_1 = null;
352
304 353
305 354
306 enterRule(); 355 enterRule();
307 356
308 try { 357 try {
309 // InternalApplicationConfiguration.g:134:2: (this_Declaration_0= ruleDeclaration ) 358 // InternalApplicationConfiguration.g:135:2: ( (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) )
310 // InternalApplicationConfiguration.g:135:2: this_Declaration_0= ruleDeclaration 359 // InternalApplicationConfiguration.g:136:2: (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask )
311 { 360 {
361 // InternalApplicationConfiguration.g:136:2: (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask )
362 int alt3=2;
363 int LA3_0 = input.LA(1);
312 364
313 newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall()); 365 if ( (LA3_0==15||LA3_0==23||(LA3_0>=25 && LA3_0<=27)||LA3_0==37) ) {
314 366 alt3=1;
315 pushFollow(FOLLOW_2); 367 }
316 this_Declaration_0=ruleDeclaration(); 368 else if ( (LA3_0==38) ) {
369 alt3=2;
370 }
371 else {
372 if (state.backtracking>0) {state.failed=true; return current;}
373 NoViableAltException nvae =
374 new NoViableAltException("", 3, 0, input);
317 375
318 state._fsp--; 376 throw nvae;
377 }
378 switch (alt3) {
379 case 1 :
380 // InternalApplicationConfiguration.g:137:3: this_Declaration_0= ruleDeclaration
381 {
382 if ( state.backtracking==0 ) {
319 383
384 newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0());
385
386 }
387 pushFollow(FOLLOW_2);
388 this_Declaration_0=ruleDeclaration();
320 389
321 current = this_Declaration_0; 390 state._fsp--;
322 afterParserOrEnumRuleCall(); 391 if (state.failed) return current;
323 392 if ( state.backtracking==0 ) {
393
394 current = this_Declaration_0;
395 afterParserOrEnumRuleCall();
396
397 }
398
399 }
400 break;
401 case 2 :
402 // InternalApplicationConfiguration.g:146:3: this_Task_1= ruleTask
403 {
404 if ( state.backtracking==0 ) {
405
406 newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1());
407
408 }
409 pushFollow(FOLLOW_2);
410 this_Task_1=ruleTask();
411
412 state._fsp--;
413 if (state.failed) return current;
414 if ( state.backtracking==0 ) {
415
416 current = this_Task_1;
417 afterParserOrEnumRuleCall();
418
419 }
420
421 }
422 break;
324 423
325 } 424 }
326 425
327 426
328 leaveRule(); 427 }
428
429 if ( state.backtracking==0 ) {
329 430
431 leaveRule();
432
433 }
330 } 434 }
331 435
332 catch (RecognitionException re) { 436 catch (RecognitionException re) {
@@ -340,26 +444,30 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
340 // $ANTLR end "ruleCommand" 444 // $ANTLR end "ruleCommand"
341 445
342 446
343 // $ANTLR start "entryRuleDeclaration" 447 // $ANTLR start "entryRuleQualifiedName"
344 // InternalApplicationConfiguration.g:146:1: entryRuleDeclaration returns [EObject current=null] : iv_ruleDeclaration= ruleDeclaration EOF ; 448 // InternalApplicationConfiguration.g:158:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
345 public final EObject entryRuleDeclaration() throws RecognitionException { 449 public final String entryRuleQualifiedName() throws RecognitionException {
346 EObject current = null; 450 String current = null;
347 451
348 EObject iv_ruleDeclaration = null; 452 AntlrDatatypeRuleToken iv_ruleQualifiedName = null;
349 453
350 454
351 try { 455 try {
352 // InternalApplicationConfiguration.g:146:52: (iv_ruleDeclaration= ruleDeclaration EOF ) 456 // InternalApplicationConfiguration.g:158:53: (iv_ruleQualifiedName= ruleQualifiedName EOF )
353 // InternalApplicationConfiguration.g:147:2: iv_ruleDeclaration= ruleDeclaration EOF 457 // InternalApplicationConfiguration.g:159:2: iv_ruleQualifiedName= ruleQualifiedName EOF
354 { 458 {
355 newCompositeNode(grammarAccess.getDeclarationRule()); 459 if ( state.backtracking==0 ) {
460 newCompositeNode(grammarAccess.getQualifiedNameRule());
461 }
356 pushFollow(FOLLOW_1); 462 pushFollow(FOLLOW_1);
357 iv_ruleDeclaration=ruleDeclaration(); 463 iv_ruleQualifiedName=ruleQualifiedName();
358 464
359 state._fsp--; 465 state._fsp--;
360 466 if (state.failed) return current;
361 current =iv_ruleDeclaration; 467 if ( state.backtracking==0 ) {
362 match(input,EOF,FOLLOW_2); 468 current =iv_ruleQualifiedName.getText();
469 }
470 match(input,EOF,FOLLOW_2); if (state.failed) return current;
363 471
364 } 472 }
365 473
@@ -373,42 +481,98 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
373 } 481 }
374 return current; 482 return current;
375 } 483 }
376 // $ANTLR end "entryRuleDeclaration" 484 // $ANTLR end "entryRuleQualifiedName"
377 485
378 486
379 // $ANTLR start "ruleDeclaration" 487 // $ANTLR start "ruleQualifiedName"
380 // InternalApplicationConfiguration.g:153:1: ruleDeclaration returns [EObject current=null] : this_MetamodelDeclaration_0= ruleMetamodelDeclaration ; 488 // InternalApplicationConfiguration.g:165:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )* ) ;
381 public final EObject ruleDeclaration() throws RecognitionException { 489 public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException {
382 EObject current = null; 490 AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
383
384 EObject this_MetamodelDeclaration_0 = null;
385 491
492 Token this_ID_0=null;
493 Token kw=null;
494 Token this_ID_2=null;
386 495
387 496
388 enterRule(); 497 enterRule();
389 498
390 try { 499 try {
391 // InternalApplicationConfiguration.g:159:2: (this_MetamodelDeclaration_0= ruleMetamodelDeclaration ) 500 // InternalApplicationConfiguration.g:171:2: ( (this_ID_0= RULE_ID ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )* ) )
392 // InternalApplicationConfiguration.g:160:2: this_MetamodelDeclaration_0= ruleMetamodelDeclaration 501 // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )* )
393 { 502 {
503 // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )* )
504 // InternalApplicationConfiguration.g:173:3: this_ID_0= RULE_ID ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )*
505 {
506 this_ID_0=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current;
507 if ( state.backtracking==0 ) {
394 508
395 newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall()); 509 current.merge(this_ID_0);
396 510
397 pushFollow(FOLLOW_2); 511 }
398 this_MetamodelDeclaration_0=ruleMetamodelDeclaration(); 512 if ( state.backtracking==0 ) {
513
514 newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0());
515
516 }
517 // InternalApplicationConfiguration.g:180:3: ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )*
518 loop4:
519 do {
520 int alt4=2;
521 int LA4_0 = input.LA(1);
522
523 if ( (LA4_0==11) && (synpred1_InternalApplicationConfiguration())) {
524 alt4=1;
525 }
399 526
400 state._fsp--;
401 527
528 switch (alt4) {
529 case 1 :
530 // InternalApplicationConfiguration.g:181:4: ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID
531 {
532 // InternalApplicationConfiguration.g:181:4: ( ( '.' )=>kw= '.' )
533 // InternalApplicationConfiguration.g:182:5: ( '.' )=>kw= '.'
534 {
535 kw=(Token)match(input,11,FOLLOW_6); if (state.failed) return current;
536 if ( state.backtracking==0 ) {
537
538 current.merge(kw);
539 newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0());
540
541 }
542
543 }
544
545 this_ID_2=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current;
546 if ( state.backtracking==0 ) {
547
548 current.merge(this_ID_2);
549
550 }
551 if ( state.backtracking==0 ) {
552
553 newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1());
554
555 }
556
557 }
558 break;
559
560 default :
561 break loop4;
562 }
563 } while (true);
402 564
403 current = this_MetamodelDeclaration_0;
404 afterParserOrEnumRuleCall();
405
406 565
407 } 566 }
408 567
409 568
410 leaveRule(); 569 }
570
571 if ( state.backtracking==0 ) {
411 572
573 leaveRule();
574
575 }
412 } 576 }
413 577
414 catch (RecognitionException re) { 578 catch (RecognitionException re) {
@@ -419,11 +583,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
419 } 583 }
420 return current; 584 return current;
421 } 585 }
422 // $ANTLR end "ruleDeclaration" 586 // $ANTLR end "ruleQualifiedName"
423 587
424 588
425 // $ANTLR start "entryRuleImport" 589 // $ANTLR start "entryRuleImport"
426 // InternalApplicationConfiguration.g:171:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; 590 // InternalApplicationConfiguration.g:201:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
427 public final EObject entryRuleImport() throws RecognitionException { 591 public final EObject entryRuleImport() throws RecognitionException {
428 EObject current = null; 592 EObject current = null;
429 593
@@ -431,17 +595,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
431 595
432 596
433 try { 597 try {
434 // InternalApplicationConfiguration.g:171:47: (iv_ruleImport= ruleImport EOF ) 598 // InternalApplicationConfiguration.g:201:47: (iv_ruleImport= ruleImport EOF )
435 // InternalApplicationConfiguration.g:172:2: iv_ruleImport= ruleImport EOF 599 // InternalApplicationConfiguration.g:202:2: iv_ruleImport= ruleImport EOF
436 { 600 {
437 newCompositeNode(grammarAccess.getImportRule()); 601 if ( state.backtracking==0 ) {
602 newCompositeNode(grammarAccess.getImportRule());
603 }
438 pushFollow(FOLLOW_1); 604 pushFollow(FOLLOW_1);
439 iv_ruleImport=ruleImport(); 605 iv_ruleImport=ruleImport();
440 606
441 state._fsp--; 607 state._fsp--;
442 608 if (state.failed) return current;
443 current =iv_ruleImport; 609 if ( state.backtracking==0 ) {
444 match(input,EOF,FOLLOW_2); 610 current =iv_ruleImport;
611 }
612 match(input,EOF,FOLLOW_2); if (state.failed) return current;
445 613
446 } 614 }
447 615
@@ -459,7 +627,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
459 627
460 628
461 // $ANTLR start "ruleImport" 629 // $ANTLR start "ruleImport"
462 // InternalApplicationConfiguration.g:178:1: ruleImport returns [EObject current=null] : (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ; 630 // InternalApplicationConfiguration.g:208:1: ruleImport returns [EObject current=null] : (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ;
463 public final EObject ruleImport() throws RecognitionException { 631 public final EObject ruleImport() throws RecognitionException {
464 EObject current = null; 632 EObject current = null;
465 633
@@ -472,69 +640,79 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
472 enterRule(); 640 enterRule();
473 641
474 try { 642 try {
475 // InternalApplicationConfiguration.g:184:2: ( (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ) 643 // InternalApplicationConfiguration.g:214:2: ( (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) )
476 // InternalApplicationConfiguration.g:185:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) 644 // InternalApplicationConfiguration.g:215:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport )
477 { 645 {
478 // InternalApplicationConfiguration.g:185:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) 646 // InternalApplicationConfiguration.g:215:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport )
479 int alt3=2; 647 int alt5=2;
480 int LA3_0 = input.LA(1); 648 int LA5_0 = input.LA(1);
481 649
482 if ( (LA3_0==11) ) { 650 if ( (LA5_0==12) ) {
483 int LA3_1 = input.LA(2); 651 int LA5_1 = input.LA(2);
484 652
485 if ( (LA3_1==12) ) { 653 if ( (LA5_1==13) ) {
486 alt3=1; 654 alt5=1;
487 } 655 }
488 else if ( (LA3_1==13) ) { 656 else if ( (LA5_1==14) ) {
489 alt3=2; 657 alt5=2;
490 } 658 }
491 else { 659 else {
660 if (state.backtracking>0) {state.failed=true; return current;}
492 NoViableAltException nvae = 661 NoViableAltException nvae =
493 new NoViableAltException("", 3, 1, input); 662 new NoViableAltException("", 5, 1, input);
494 663
495 throw nvae; 664 throw nvae;
496 } 665 }
497 } 666 }
498 else { 667 else {
668 if (state.backtracking>0) {state.failed=true; return current;}
499 NoViableAltException nvae = 669 NoViableAltException nvae =
500 new NoViableAltException("", 3, 0, input); 670 new NoViableAltException("", 5, 0, input);
501 671
502 throw nvae; 672 throw nvae;
503 } 673 }
504 switch (alt3) { 674 switch (alt5) {
505 case 1 : 675 case 1 :
506 // InternalApplicationConfiguration.g:186:3: this_EPackageImport_0= ruleEPackageImport 676 // InternalApplicationConfiguration.g:216:3: this_EPackageImport_0= ruleEPackageImport
507 { 677 {
678 if ( state.backtracking==0 ) {
508 679
509 newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); 680 newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0());
510 681
682 }
511 pushFollow(FOLLOW_2); 683 pushFollow(FOLLOW_2);
512 this_EPackageImport_0=ruleEPackageImport(); 684 this_EPackageImport_0=ruleEPackageImport();
513 685
514 state._fsp--; 686 state._fsp--;
687 if (state.failed) return current;
688 if ( state.backtracking==0 ) {
515 689
516 690 current = this_EPackageImport_0;
517 current = this_EPackageImport_0; 691 afterParserOrEnumRuleCall();
518 afterParserOrEnumRuleCall(); 692
519 693 }
520 694
521 } 695 }
522 break; 696 break;
523 case 2 : 697 case 2 :
524 // InternalApplicationConfiguration.g:195:3: this_ViatraImport_1= ruleViatraImport 698 // InternalApplicationConfiguration.g:225:3: this_ViatraImport_1= ruleViatraImport
525 { 699 {
700 if ( state.backtracking==0 ) {
526 701
527 newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); 702 newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1());
528 703
704 }
529 pushFollow(FOLLOW_2); 705 pushFollow(FOLLOW_2);
530 this_ViatraImport_1=ruleViatraImport(); 706 this_ViatraImport_1=ruleViatraImport();
531 707
532 state._fsp--; 708 state._fsp--;
709 if (state.failed) return current;
710 if ( state.backtracking==0 ) {
533 711
534 712 current = this_ViatraImport_1;
535 current = this_ViatraImport_1; 713 afterParserOrEnumRuleCall();
536 afterParserOrEnumRuleCall(); 714
537 715 }
538 716
539 } 717 }
540 break; 718 break;
@@ -544,9 +722,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
544 722
545 } 723 }
546 724
725 if ( state.backtracking==0 ) {
547 726
548 leaveRule(); 727 leaveRule();
549 728
729 }
550 } 730 }
551 731
552 catch (RecognitionException re) { 732 catch (RecognitionException re) {
@@ -561,7 +741,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
561 741
562 742
563 // $ANTLR start "entryRuleEPackageImport" 743 // $ANTLR start "entryRuleEPackageImport"
564 // InternalApplicationConfiguration.g:207:1: entryRuleEPackageImport returns [EObject current=null] : iv_ruleEPackageImport= ruleEPackageImport EOF ; 744 // InternalApplicationConfiguration.g:237:1: entryRuleEPackageImport returns [EObject current=null] : iv_ruleEPackageImport= ruleEPackageImport EOF ;
565 public final EObject entryRuleEPackageImport() throws RecognitionException { 745 public final EObject entryRuleEPackageImport() throws RecognitionException {
566 EObject current = null; 746 EObject current = null;
567 747
@@ -569,17 +749,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
569 749
570 750
571 try { 751 try {
572 // InternalApplicationConfiguration.g:207:55: (iv_ruleEPackageImport= ruleEPackageImport EOF ) 752 // InternalApplicationConfiguration.g:237:55: (iv_ruleEPackageImport= ruleEPackageImport EOF )
573 // InternalApplicationConfiguration.g:208:2: iv_ruleEPackageImport= ruleEPackageImport EOF 753 // InternalApplicationConfiguration.g:238:2: iv_ruleEPackageImport= ruleEPackageImport EOF
574 { 754 {
575 newCompositeNode(grammarAccess.getEPackageImportRule()); 755 if ( state.backtracking==0 ) {
756 newCompositeNode(grammarAccess.getEPackageImportRule());
757 }
576 pushFollow(FOLLOW_1); 758 pushFollow(FOLLOW_1);
577 iv_ruleEPackageImport=ruleEPackageImport(); 759 iv_ruleEPackageImport=ruleEPackageImport();
578 760
579 state._fsp--; 761 state._fsp--;
580 762 if (state.failed) return current;
581 current =iv_ruleEPackageImport; 763 if ( state.backtracking==0 ) {
582 match(input,EOF,FOLLOW_2); 764 current =iv_ruleEPackageImport;
765 }
766 match(input,EOF,FOLLOW_2); if (state.failed) return current;
583 767
584 } 768 }
585 769
@@ -597,7 +781,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
597 781
598 782
599 // $ANTLR start "ruleEPackageImport" 783 // $ANTLR start "ruleEPackageImport"
600 // InternalApplicationConfiguration.g:214:1: ruleEPackageImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ; 784 // InternalApplicationConfiguration.g:244:1: ruleEPackageImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ;
601 public final EObject ruleEPackageImport() throws RecognitionException { 785 public final EObject ruleEPackageImport() throws RecognitionException {
602 EObject current = null; 786 EObject current = null;
603 787
@@ -609,35 +793,43 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
609 enterRule(); 793 enterRule();
610 794
611 try { 795 try {
612 // InternalApplicationConfiguration.g:220:2: ( (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ) 796 // InternalApplicationConfiguration.g:250:2: ( (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) )
613 // InternalApplicationConfiguration.g:221:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) 797 // InternalApplicationConfiguration.g:251:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) )
614 { 798 {
615 // InternalApplicationConfiguration.g:221: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 ) ) )
616 // InternalApplicationConfiguration.g:222:3: otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) 800 // InternalApplicationConfiguration.g:252:3: otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) )
617 { 801 {
618 otherlv_0=(Token)match(input,11,FOLLOW_5); 802 otherlv_0=(Token)match(input,12,FOLLOW_7); if (state.failed) return current;
803 if ( state.backtracking==0 ) {
619 804
620 newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0()); 805 newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0());
621 806
622 otherlv_1=(Token)match(input,12,FOLLOW_6); 807 }
808 otherlv_1=(Token)match(input,13,FOLLOW_8); if (state.failed) return current;
809 if ( state.backtracking==0 ) {
623 810
624 newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); 811 newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1());
625 812
626 // InternalApplicationConfiguration.g:230:3: ( (otherlv_2= RULE_STRING ) ) 813 }
627 // InternalApplicationConfiguration.g:231:4: (otherlv_2= RULE_STRING ) 814 // InternalApplicationConfiguration.g:260:3: ( (otherlv_2= RULE_STRING ) )
815 // InternalApplicationConfiguration.g:261:4: (otherlv_2= RULE_STRING )
628 { 816 {
629 // InternalApplicationConfiguration.g:231:4: (otherlv_2= RULE_STRING ) 817 // InternalApplicationConfiguration.g:261:4: (otherlv_2= RULE_STRING )
630 // InternalApplicationConfiguration.g:232:5: otherlv_2= RULE_STRING 818 // InternalApplicationConfiguration.g:262:5: otherlv_2= RULE_STRING
631 { 819 {
820 if ( state.backtracking==0 ) {
632 821
633 if (current==null) { 822 if (current==null) {
634 current = createModelElement(grammarAccess.getEPackageImportRule()); 823 current = createModelElement(grammarAccess.getEPackageImportRule());
635 } 824 }
636 825
637 otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); 826 }
827 otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current;
828 if ( state.backtracking==0 ) {
638 829
639 newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); 830 newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0());
640 831
832 }
641 833
642 } 834 }
643 835
@@ -650,9 +842,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
650 842
651 } 843 }
652 844
845 if ( state.backtracking==0 ) {
653 846
654 leaveRule(); 847 leaveRule();
655 848
849 }
656 } 850 }
657 851
658 catch (RecognitionException re) { 852 catch (RecognitionException re) {
@@ -667,7 +861,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
667 861
668 862
669 // $ANTLR start "entryRuleViatraImport" 863 // $ANTLR start "entryRuleViatraImport"
670 // InternalApplicationConfiguration.g:247:1: entryRuleViatraImport returns [EObject current=null] : iv_ruleViatraImport= ruleViatraImport EOF ; 864 // InternalApplicationConfiguration.g:277:1: entryRuleViatraImport returns [EObject current=null] : iv_ruleViatraImport= ruleViatraImport EOF ;
671 public final EObject entryRuleViatraImport() throws RecognitionException { 865 public final EObject entryRuleViatraImport() throws RecognitionException {
672 EObject current = null; 866 EObject current = null;
673 867
@@ -675,17 +869,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
675 869
676 870
677 try { 871 try {
678 // InternalApplicationConfiguration.g:247:53: (iv_ruleViatraImport= ruleViatraImport EOF ) 872 // InternalApplicationConfiguration.g:277:53: (iv_ruleViatraImport= ruleViatraImport EOF )
679 // InternalApplicationConfiguration.g:248:2: iv_ruleViatraImport= ruleViatraImport EOF 873 // InternalApplicationConfiguration.g:278:2: iv_ruleViatraImport= ruleViatraImport EOF
680 { 874 {
681 newCompositeNode(grammarAccess.getViatraImportRule()); 875 if ( state.backtracking==0 ) {
876 newCompositeNode(grammarAccess.getViatraImportRule());
877 }
682 pushFollow(FOLLOW_1); 878 pushFollow(FOLLOW_1);
683 iv_ruleViatraImport=ruleViatraImport(); 879 iv_ruleViatraImport=ruleViatraImport();
684 880
685 state._fsp--; 881 state._fsp--;
686 882 if (state.failed) return current;
687 current =iv_ruleViatraImport; 883 if ( state.backtracking==0 ) {
688 match(input,EOF,FOLLOW_2); 884 current =iv_ruleViatraImport;
885 }
886 match(input,EOF,FOLLOW_2); if (state.failed) return current;
689 887
690 } 888 }
691 889
@@ -703,7 +901,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
703 901
704 902
705 // $ANTLR start "ruleViatraImport" 903 // $ANTLR start "ruleViatraImport"
706 // InternalApplicationConfiguration.g:254:1: ruleViatraImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ; 904 // InternalApplicationConfiguration.g:284:1: ruleViatraImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ;
707 public final EObject ruleViatraImport() throws RecognitionException { 905 public final EObject ruleViatraImport() throws RecognitionException {
708 EObject current = null; 906 EObject current = null;
709 907
@@ -715,35 +913,43 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
715 enterRule(); 913 enterRule();
716 914
717 try { 915 try {
718 // InternalApplicationConfiguration.g:260:2: ( (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ) 916 // InternalApplicationConfiguration.g:290:2: ( (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) )
719 // InternalApplicationConfiguration.g:261:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) 917 // InternalApplicationConfiguration.g:291:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) )
720 { 918 {
721 // InternalApplicationConfiguration.g:261: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 ) ) )
722 // InternalApplicationConfiguration.g:262:3: otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) 920 // InternalApplicationConfiguration.g:292:3: otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) )
723 { 921 {
724 otherlv_0=(Token)match(input,11,FOLLOW_7); 922 otherlv_0=(Token)match(input,12,FOLLOW_9); if (state.failed) return current;
923 if ( state.backtracking==0 ) {
725 924
726 newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0()); 925 newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0());
727 926
728 otherlv_1=(Token)match(input,13,FOLLOW_6); 927 }
928 otherlv_1=(Token)match(input,14,FOLLOW_8); if (state.failed) return current;
929 if ( state.backtracking==0 ) {
729 930
730 newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1()); 931 newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1());
731 932
732 // InternalApplicationConfiguration.g:270:3: ( (otherlv_2= RULE_STRING ) ) 933 }
733 // InternalApplicationConfiguration.g:271:4: (otherlv_2= RULE_STRING ) 934 // InternalApplicationConfiguration.g:300:3: ( (otherlv_2= RULE_STRING ) )
935 // InternalApplicationConfiguration.g:301:4: (otherlv_2= RULE_STRING )
734 { 936 {
735 // InternalApplicationConfiguration.g:271:4: (otherlv_2= RULE_STRING ) 937 // InternalApplicationConfiguration.g:301:4: (otherlv_2= RULE_STRING )
736 // InternalApplicationConfiguration.g:272:5: otherlv_2= RULE_STRING 938 // InternalApplicationConfiguration.g:302:5: otherlv_2= RULE_STRING
737 { 939 {
940 if ( state.backtracking==0 ) {
738 941
739 if (current==null) { 942 if (current==null) {
740 current = createModelElement(grammarAccess.getViatraImportRule()); 943 current = createModelElement(grammarAccess.getViatraImportRule());
741 } 944 }
742 945
743 otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); 946 }
947 otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current;
948 if ( state.backtracking==0 ) {
744 949
745 newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); 950 newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0());
746 951
952 }
747 953
748 } 954 }
749 955
@@ -756,9 +962,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
756 962
757 } 963 }
758 964
965 if ( state.backtracking==0 ) {
759 966
760 leaveRule(); 967 leaveRule();
761 968
969 }
762 } 970 }
763 971
764 catch (RecognitionException re) { 972 catch (RecognitionException re) {
@@ -772,8 +980,781 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
772 // $ANTLR end "ruleViatraImport" 980 // $ANTLR end "ruleViatraImport"
773 981
774 982
983 // $ANTLR start "entryRuleDeclaration"
984 // InternalApplicationConfiguration.g:317:1: entryRuleDeclaration returns [EObject current=null] : iv_ruleDeclaration= ruleDeclaration EOF ;
985 public final EObject entryRuleDeclaration() throws RecognitionException {
986 EObject current = null;
987
988 EObject iv_ruleDeclaration = null;
989
990
991 try {
992 // InternalApplicationConfiguration.g:317:52: (iv_ruleDeclaration= ruleDeclaration EOF )
993 // InternalApplicationConfiguration.g:318:2: iv_ruleDeclaration= ruleDeclaration EOF
994 {
995 if ( state.backtracking==0 ) {
996 newCompositeNode(grammarAccess.getDeclarationRule());
997 }
998 pushFollow(FOLLOW_1);
999 iv_ruleDeclaration=ruleDeclaration();
1000
1001 state._fsp--;
1002 if (state.failed) return current;
1003 if ( state.backtracking==0 ) {
1004 current =iv_ruleDeclaration;
1005 }
1006 match(input,EOF,FOLLOW_2); if (state.failed) return current;
1007
1008 }
1009
1010 }
1011
1012 catch (RecognitionException re) {
1013 recover(input,re);
1014 appendSkippedTokens();
1015 }
1016 finally {
1017 }
1018 return current;
1019 }
1020 // $ANTLR end "entryRuleDeclaration"
1021
1022
1023 // $ANTLR start "ruleDeclaration"
1024 // 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 ) ;
1025 public final EObject ruleDeclaration() throws RecognitionException {
1026 EObject current = null;
1027
1028 EObject this_FileDeclaration_0 = null;
1029
1030 EObject this_MetamodelDeclaration_1 = null;
1031
1032 EObject this_PartialModelDeclaration_2 = null;
1033
1034 EObject this_GraphPatternDeclaration_3 = null;
1035
1036 EObject this_ConfigDeclaration_4 = null;
1037
1038 EObject this_ScopeDeclaration_5 = null;
1039
1040
1041
1042 enterRule();
1043
1044 try {
1045 // 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 ) )
1046 // 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 )
1047 {
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 )
1049 int alt6=6;
1050 switch ( input.LA(1) ) {
1051 case 15:
1052 {
1053 alt6=1;
1054 }
1055 break;
1056 case 23:
1057 {
1058 alt6=2;
1059 }
1060 break;
1061 case 25:
1062 {
1063 alt6=3;
1064 }
1065 break;
1066 case 26:
1067 {
1068 alt6=4;
1069 }
1070 break;
1071 case 27:
1072 {
1073 alt6=5;
1074 }
1075 break;
1076 case 37:
1077 {
1078 alt6=6;
1079 }
1080 break;
1081 default:
1082 if (state.backtracking>0) {state.failed=true; return current;}
1083 NoViableAltException nvae =
1084 new NoViableAltException("", 6, 0, input);
1085
1086 throw nvae;
1087 }
1088
1089 switch (alt6) {
1090 case 1 :
1091 // InternalApplicationConfiguration.g:332:3: this_FileDeclaration_0= ruleFileDeclaration
1092 {
1093 if ( state.backtracking==0 ) {
1094
1095 newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0());
1096
1097 }
1098 pushFollow(FOLLOW_2);
1099 this_FileDeclaration_0=ruleFileDeclaration();
1100
1101 state._fsp--;
1102 if (state.failed) return current;
1103 if ( state.backtracking==0 ) {
1104
1105 current = this_FileDeclaration_0;
1106 afterParserOrEnumRuleCall();
1107
1108 }
1109
1110 }
1111 break;
1112 case 2 :
1113 // InternalApplicationConfiguration.g:341:3: this_MetamodelDeclaration_1= ruleMetamodelDeclaration
1114 {
1115 if ( state.backtracking==0 ) {
1116
1117 newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1());
1118
1119 }
1120 pushFollow(FOLLOW_2);
1121 this_MetamodelDeclaration_1=ruleMetamodelDeclaration();
1122
1123 state._fsp--;
1124 if (state.failed) return current;
1125 if ( state.backtracking==0 ) {
1126
1127 current = this_MetamodelDeclaration_1;
1128 afterParserOrEnumRuleCall();
1129
1130 }
1131
1132 }
1133 break;
1134 case 3 :
1135 // InternalApplicationConfiguration.g:350:3: this_PartialModelDeclaration_2= rulePartialModelDeclaration
1136 {
1137 if ( state.backtracking==0 ) {
1138
1139 newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2());
1140
1141 }
1142 pushFollow(FOLLOW_2);
1143 this_PartialModelDeclaration_2=rulePartialModelDeclaration();
1144
1145 state._fsp--;
1146 if (state.failed) return current;
1147 if ( state.backtracking==0 ) {
1148
1149 current = this_PartialModelDeclaration_2;
1150 afterParserOrEnumRuleCall();
1151
1152 }
1153
1154 }
1155 break;
1156 case 4 :
1157 // InternalApplicationConfiguration.g:359:3: this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration
1158 {
1159 if ( state.backtracking==0 ) {
1160
1161 newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3());
1162
1163 }
1164 pushFollow(FOLLOW_2);
1165 this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration();
1166
1167 state._fsp--;
1168 if (state.failed) return current;
1169 if ( state.backtracking==0 ) {
1170
1171 current = this_GraphPatternDeclaration_3;
1172 afterParserOrEnumRuleCall();
1173
1174 }
1175
1176 }
1177 break;
1178 case 5 :
1179 // InternalApplicationConfiguration.g:368:3: this_ConfigDeclaration_4= ruleConfigDeclaration
1180 {
1181 if ( state.backtracking==0 ) {
1182
1183 newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4());
1184
1185 }
1186 pushFollow(FOLLOW_2);
1187 this_ConfigDeclaration_4=ruleConfigDeclaration();
1188
1189 state._fsp--;
1190 if (state.failed) return current;
1191 if ( state.backtracking==0 ) {
1192
1193 current = this_ConfigDeclaration_4;
1194 afterParserOrEnumRuleCall();
1195
1196 }
1197
1198 }
1199 break;
1200 case 6 :
1201 // InternalApplicationConfiguration.g:377:3: this_ScopeDeclaration_5= ruleScopeDeclaration
1202 {
1203 if ( state.backtracking==0 ) {
1204
1205 newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5());
1206
1207 }
1208 pushFollow(FOLLOW_2);
1209 this_ScopeDeclaration_5=ruleScopeDeclaration();
1210
1211 state._fsp--;
1212 if (state.failed) return current;
1213 if ( state.backtracking==0 ) {
1214
1215 current = this_ScopeDeclaration_5;
1216 afterParserOrEnumRuleCall();
1217
1218 }
1219
1220 }
1221 break;
1222
1223 }
1224
1225
1226 }
1227
1228 if ( state.backtracking==0 ) {
1229
1230 leaveRule();
1231
1232 }
1233 }
1234
1235 catch (RecognitionException re) {
1236 recover(input,re);
1237 appendSkippedTokens();
1238 }
1239 finally {
1240 }
1241 return current;
1242 }
1243 // $ANTLR end "ruleDeclaration"
1244
1245
1246 // $ANTLR start "entryRuleFileSpecification"
1247 // InternalApplicationConfiguration.g:389:1: entryRuleFileSpecification returns [EObject current=null] : iv_ruleFileSpecification= ruleFileSpecification EOF ;
1248 public final EObject entryRuleFileSpecification() throws RecognitionException {
1249 EObject current = null;
1250
1251 EObject iv_ruleFileSpecification = null;
1252
1253
1254 try {
1255 // InternalApplicationConfiguration.g:389:58: (iv_ruleFileSpecification= ruleFileSpecification EOF )
1256 // InternalApplicationConfiguration.g:390:2: iv_ruleFileSpecification= ruleFileSpecification EOF
1257 {
1258 if ( state.backtracking==0 ) {
1259 newCompositeNode(grammarAccess.getFileSpecificationRule());
1260 }
1261 pushFollow(FOLLOW_1);
1262 iv_ruleFileSpecification=ruleFileSpecification();
1263
1264 state._fsp--;
1265 if (state.failed) return current;
1266 if ( state.backtracking==0 ) {
1267 current =iv_ruleFileSpecification;
1268 }
1269 match(input,EOF,FOLLOW_2); if (state.failed) return current;
1270
1271 }
1272
1273 }
1274
1275 catch (RecognitionException re) {
1276 recover(input,re);
1277 appendSkippedTokens();
1278 }
1279 finally {
1280 }
1281 return current;
1282 }
1283 // $ANTLR end "entryRuleFileSpecification"
1284
1285
1286 // $ANTLR start "ruleFileSpecification"
1287 // InternalApplicationConfiguration.g:396:1: ruleFileSpecification returns [EObject current=null] : ( (lv_path_0_0= RULE_STRING ) ) ;
1288 public final EObject ruleFileSpecification() throws RecognitionException {
1289 EObject current = null;
1290
1291 Token lv_path_0_0=null;
1292
1293
1294 enterRule();
1295
1296 try {
1297 // InternalApplicationConfiguration.g:402:2: ( ( (lv_path_0_0= RULE_STRING ) ) )
1298 // InternalApplicationConfiguration.g:403:2: ( (lv_path_0_0= RULE_STRING ) )
1299 {
1300 // InternalApplicationConfiguration.g:403:2: ( (lv_path_0_0= RULE_STRING ) )
1301 // InternalApplicationConfiguration.g:404:3: (lv_path_0_0= RULE_STRING )
1302 {
1303 // InternalApplicationConfiguration.g:404:3: (lv_path_0_0= RULE_STRING )
1304 // InternalApplicationConfiguration.g:405:4: lv_path_0_0= RULE_STRING
1305 {
1306 lv_path_0_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current;
1307 if ( state.backtracking==0 ) {
1308
1309 newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0());
1310
1311 }
1312 if ( state.backtracking==0 ) {
1313
1314 if (current==null) {
1315 current = createModelElement(grammarAccess.getFileSpecificationRule());
1316 }
1317 setWithLastConsumed(
1318 current,
1319 "path",
1320 lv_path_0_0,
1321 "org.eclipse.xtext.common.Terminals.STRING");
1322
1323 }
1324
1325 }
1326
1327
1328 }
1329
1330
1331 }
1332
1333 if ( state.backtracking==0 ) {
1334
1335 leaveRule();
1336
1337 }
1338 }
1339
1340 catch (RecognitionException re) {
1341 recover(input,re);
1342 appendSkippedTokens();
1343 }
1344 finally {
1345 }
1346 return current;
1347 }
1348 // $ANTLR end "ruleFileSpecification"
1349
1350
1351 // $ANTLR start "entryRuleFileDeclaration"
1352 // InternalApplicationConfiguration.g:424:1: entryRuleFileDeclaration returns [EObject current=null] : iv_ruleFileDeclaration= ruleFileDeclaration EOF ;
1353 public final EObject entryRuleFileDeclaration() throws RecognitionException {
1354 EObject current = null;
1355
1356 EObject iv_ruleFileDeclaration = null;
1357
1358
1359 try {
1360 // InternalApplicationConfiguration.g:424:56: (iv_ruleFileDeclaration= ruleFileDeclaration EOF )
1361 // InternalApplicationConfiguration.g:425:2: iv_ruleFileDeclaration= ruleFileDeclaration EOF
1362 {
1363 if ( state.backtracking==0 ) {
1364 newCompositeNode(grammarAccess.getFileDeclarationRule());
1365 }
1366 pushFollow(FOLLOW_1);
1367 iv_ruleFileDeclaration=ruleFileDeclaration();
1368
1369 state._fsp--;
1370 if (state.failed) return current;
1371 if ( state.backtracking==0 ) {
1372 current =iv_ruleFileDeclaration;
1373 }
1374 match(input,EOF,FOLLOW_2); if (state.failed) return current;
1375
1376 }
1377
1378 }
1379
1380 catch (RecognitionException re) {
1381 recover(input,re);
1382 appendSkippedTokens();
1383 }
1384 finally {
1385 }
1386 return current;
1387 }
1388 // $ANTLR end "entryRuleFileDeclaration"
1389
1390
1391 // $ANTLR start "ruleFileDeclaration"
1392 // 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 ) ) ) ;
1393 public final EObject ruleFileDeclaration() throws RecognitionException {
1394 EObject current = null;
1395
1396 Token otherlv_0=null;
1397 Token lv_name_1_0=null;
1398 Token otherlv_2=null;
1399 EObject lv_specification_3_0 = null;
1400
1401
1402
1403 enterRule();
1404
1405 try {
1406 // InternalApplicationConfiguration.g:437:2: ( (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) )
1407 // InternalApplicationConfiguration.g:438:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) )
1408 {
1409 // InternalApplicationConfiguration.g:438:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) )
1410 // InternalApplicationConfiguration.g:439:3: otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) )
1411 {
1412 otherlv_0=(Token)match(input,15,FOLLOW_6); if (state.failed) return current;
1413 if ( state.backtracking==0 ) {
1414
1415 newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0());
1416
1417 }
1418 // InternalApplicationConfiguration.g:443:3: ( (lv_name_1_0= RULE_ID ) )
1419 // InternalApplicationConfiguration.g:444:4: (lv_name_1_0= RULE_ID )
1420 {
1421 // InternalApplicationConfiguration.g:444:4: (lv_name_1_0= RULE_ID )
1422 // InternalApplicationConfiguration.g:445:5: lv_name_1_0= RULE_ID
1423 {
1424 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_10); if (state.failed) return current;
1425 if ( state.backtracking==0 ) {
1426
1427 newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0());
1428
1429 }
1430 if ( state.backtracking==0 ) {
1431
1432 if (current==null) {
1433 current = createModelElement(grammarAccess.getFileDeclarationRule());
1434 }
1435 setWithLastConsumed(
1436 current,
1437 "name",
1438 lv_name_1_0,
1439 "org.eclipse.xtext.common.Terminals.ID");
1440
1441 }
1442
1443 }
1444
1445
1446 }
1447
1448 otherlv_2=(Token)match(input,16,FOLLOW_8); if (state.failed) return current;
1449 if ( state.backtracking==0 ) {
1450
1451 newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2());
1452
1453 }
1454 // InternalApplicationConfiguration.g:465:3: ( (lv_specification_3_0= ruleFileSpecification ) )
1455 // InternalApplicationConfiguration.g:466:4: (lv_specification_3_0= ruleFileSpecification )
1456 {
1457 // InternalApplicationConfiguration.g:466:4: (lv_specification_3_0= ruleFileSpecification )
1458 // InternalApplicationConfiguration.g:467:5: lv_specification_3_0= ruleFileSpecification
1459 {
1460 if ( state.backtracking==0 ) {
1461
1462 newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0());
1463
1464 }
1465 pushFollow(FOLLOW_2);
1466 lv_specification_3_0=ruleFileSpecification();
1467
1468 state._fsp--;
1469 if (state.failed) return current;
1470 if ( state.backtracking==0 ) {
1471
1472 if (current==null) {
1473 current = createModelElementForParent(grammarAccess.getFileDeclarationRule());
1474 }
1475 set(
1476 current,
1477 "specification",
1478 lv_specification_3_0,
1479 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification");
1480 afterParserOrEnumRuleCall();
1481
1482 }
1483
1484 }
1485
1486
1487 }
1488
1489
1490 }
1491
1492
1493 }
1494
1495 if ( state.backtracking==0 ) {
1496
1497 leaveRule();
1498
1499 }
1500 }
1501
1502 catch (RecognitionException re) {
1503 recover(input,re);
1504 appendSkippedTokens();
1505 }
1506 finally {
1507 }
1508 return current;
1509 }
1510 // $ANTLR end "ruleFileDeclaration"
1511
1512
1513 // $ANTLR start "entryRuleFileReference"
1514 // InternalApplicationConfiguration.g:488:1: entryRuleFileReference returns [EObject current=null] : iv_ruleFileReference= ruleFileReference EOF ;
1515 public final EObject entryRuleFileReference() throws RecognitionException {
1516 EObject current = null;
1517
1518 EObject iv_ruleFileReference = null;
1519
1520
1521 try {
1522 // InternalApplicationConfiguration.g:488:54: (iv_ruleFileReference= ruleFileReference EOF )
1523 // InternalApplicationConfiguration.g:489:2: iv_ruleFileReference= ruleFileReference EOF
1524 {
1525 if ( state.backtracking==0 ) {
1526 newCompositeNode(grammarAccess.getFileReferenceRule());
1527 }
1528 pushFollow(FOLLOW_1);
1529 iv_ruleFileReference=ruleFileReference();
1530
1531 state._fsp--;
1532 if (state.failed) return current;
1533 if ( state.backtracking==0 ) {
1534 current =iv_ruleFileReference;
1535 }
1536 match(input,EOF,FOLLOW_2); if (state.failed) return current;
1537
1538 }
1539
1540 }
1541
1542 catch (RecognitionException re) {
1543 recover(input,re);
1544 appendSkippedTokens();
1545 }
1546 finally {
1547 }
1548 return current;
1549 }
1550 // $ANTLR end "entryRuleFileReference"
1551
1552
1553 // $ANTLR start "ruleFileReference"
1554 // InternalApplicationConfiguration.g:495:1: ruleFileReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
1555 public final EObject ruleFileReference() throws RecognitionException {
1556 EObject current = null;
1557
1558 Token otherlv_0=null;
1559
1560
1561 enterRule();
1562
1563 try {
1564 // InternalApplicationConfiguration.g:501:2: ( ( (otherlv_0= RULE_ID ) ) )
1565 // InternalApplicationConfiguration.g:502:2: ( (otherlv_0= RULE_ID ) )
1566 {
1567 // InternalApplicationConfiguration.g:502:2: ( (otherlv_0= RULE_ID ) )
1568 // InternalApplicationConfiguration.g:503:3: (otherlv_0= RULE_ID )
1569 {
1570 // InternalApplicationConfiguration.g:503:3: (otherlv_0= RULE_ID )
1571 // InternalApplicationConfiguration.g:504:4: otherlv_0= RULE_ID
1572 {
1573 if ( state.backtracking==0 ) {
1574
1575 if (current==null) {
1576 current = createModelElement(grammarAccess.getFileReferenceRule());
1577 }
1578
1579 }
1580 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
1581 if ( state.backtracking==0 ) {
1582
1583 newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0());
1584
1585 }
1586
1587 }
1588
1589
1590 }
1591
1592
1593 }
1594
1595 if ( state.backtracking==0 ) {
1596
1597 leaveRule();
1598
1599 }
1600 }
1601
1602 catch (RecognitionException re) {
1603 recover(input,re);
1604 appendSkippedTokens();
1605 }
1606 finally {
1607 }
1608 return current;
1609 }
1610 // $ANTLR end "ruleFileReference"
1611
1612
1613 // $ANTLR start "entryRuleFile"
1614 // InternalApplicationConfiguration.g:518:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ;
1615 public final EObject entryRuleFile() throws RecognitionException {
1616 EObject current = null;
1617
1618 EObject iv_ruleFile = null;
1619
1620
1621 try {
1622 // InternalApplicationConfiguration.g:518:45: (iv_ruleFile= ruleFile EOF )
1623 // InternalApplicationConfiguration.g:519:2: iv_ruleFile= ruleFile EOF
1624 {
1625 if ( state.backtracking==0 ) {
1626 newCompositeNode(grammarAccess.getFileRule());
1627 }
1628 pushFollow(FOLLOW_1);
1629 iv_ruleFile=ruleFile();
1630
1631 state._fsp--;
1632 if (state.failed) return current;
1633 if ( state.backtracking==0 ) {
1634 current =iv_ruleFile;
1635 }
1636 match(input,EOF,FOLLOW_2); if (state.failed) return current;
1637
1638 }
1639
1640 }
1641
1642 catch (RecognitionException re) {
1643 recover(input,re);
1644 appendSkippedTokens();
1645 }
1646 finally {
1647 }
1648 return current;
1649 }
1650 // $ANTLR end "entryRuleFile"
1651
1652
1653 // $ANTLR start "ruleFile"
1654 // InternalApplicationConfiguration.g:525:1: ruleFile returns [EObject current=null] : (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ;
1655 public final EObject ruleFile() throws RecognitionException {
1656 EObject current = null;
1657
1658 EObject this_FileSpecification_0 = null;
1659
1660 EObject this_FileReference_1 = null;
1661
1662
1663
1664 enterRule();
1665
1666 try {
1667 // InternalApplicationConfiguration.g:531:2: ( (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) )
1668 // InternalApplicationConfiguration.g:532:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference )
1669 {
1670 // InternalApplicationConfiguration.g:532:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference )
1671 int alt7=2;
1672 int LA7_0 = input.LA(1);
1673
1674 if ( (LA7_0==RULE_STRING) ) {
1675 alt7=1;
1676 }
1677 else if ( (LA7_0==RULE_ID) ) {
1678 alt7=2;
1679 }
1680 else {
1681 if (state.backtracking>0) {state.failed=true; return current;}
1682 NoViableAltException nvae =
1683 new NoViableAltException("", 7, 0, input);
1684
1685 throw nvae;
1686 }
1687 switch (alt7) {
1688 case 1 :
1689 // InternalApplicationConfiguration.g:533:3: this_FileSpecification_0= ruleFileSpecification
1690 {
1691 if ( state.backtracking==0 ) {
1692
1693 newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0());
1694
1695 }
1696 pushFollow(FOLLOW_2);
1697 this_FileSpecification_0=ruleFileSpecification();
1698
1699 state._fsp--;
1700 if (state.failed) return current;
1701 if ( state.backtracking==0 ) {
1702
1703 current = this_FileSpecification_0;
1704 afterParserOrEnumRuleCall();
1705
1706 }
1707
1708 }
1709 break;
1710 case 2 :
1711 // InternalApplicationConfiguration.g:542:3: this_FileReference_1= ruleFileReference
1712 {
1713 if ( state.backtracking==0 ) {
1714
1715 newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1());
1716
1717 }
1718 pushFollow(FOLLOW_2);
1719 this_FileReference_1=ruleFileReference();
1720
1721 state._fsp--;
1722 if (state.failed) return current;
1723 if ( state.backtracking==0 ) {
1724
1725 current = this_FileReference_1;
1726 afterParserOrEnumRuleCall();
1727
1728 }
1729
1730 }
1731 break;
1732
1733 }
1734
1735
1736 }
1737
1738 if ( state.backtracking==0 ) {
1739
1740 leaveRule();
1741
1742 }
1743 }
1744
1745 catch (RecognitionException re) {
1746 recover(input,re);
1747 appendSkippedTokens();
1748 }
1749 finally {
1750 }
1751 return current;
1752 }
1753 // $ANTLR end "ruleFile"
1754
1755
775 // $ANTLR start "entryRuleMetamodelSpecification" 1756 // $ANTLR start "entryRuleMetamodelSpecification"
776 // InternalApplicationConfiguration.g:287:1: entryRuleMetamodelSpecification returns [EObject current=null] : iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ; 1757 // InternalApplicationConfiguration.g:554:1: entryRuleMetamodelSpecification returns [EObject current=null] : iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ;
777 public final EObject entryRuleMetamodelSpecification() throws RecognitionException { 1758 public final EObject entryRuleMetamodelSpecification() throws RecognitionException {
778 EObject current = null; 1759 EObject current = null;
779 1760
@@ -781,17 +1762,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
781 1762
782 1763
783 try { 1764 try {
784 // InternalApplicationConfiguration.g:287:63: (iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ) 1765 // InternalApplicationConfiguration.g:554:63: (iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF )
785 // InternalApplicationConfiguration.g:288:2: iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF 1766 // InternalApplicationConfiguration.g:555:2: iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF
786 { 1767 {
787 newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); 1768 if ( state.backtracking==0 ) {
1769 newCompositeNode(grammarAccess.getMetamodelSpecificationRule());
1770 }
788 pushFollow(FOLLOW_1); 1771 pushFollow(FOLLOW_1);
789 iv_ruleMetamodelSpecification=ruleMetamodelSpecification(); 1772 iv_ruleMetamodelSpecification=ruleMetamodelSpecification();
790 1773
791 state._fsp--; 1774 state._fsp--;
792 1775 if (state.failed) return current;
793 current =iv_ruleMetamodelSpecification; 1776 if ( state.backtracking==0 ) {
794 match(input,EOF,FOLLOW_2); 1777 current =iv_ruleMetamodelSpecification;
1778 }
1779 match(input,EOF,FOLLOW_2); if (state.failed) return current;
795 1780
796 } 1781 }
797 1782
@@ -809,7 +1794,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
809 1794
810 1795
811 // $ANTLR start "ruleMetamodelSpecification" 1796 // $ANTLR start "ruleMetamodelSpecification"
812 // InternalApplicationConfiguration.g:294:1: ruleMetamodelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ; 1797 // 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= '}' ) ;
813 public final EObject ruleMetamodelSpecification() throws RecognitionException { 1798 public final EObject ruleMetamodelSpecification() throws RecognitionException {
814 EObject current = null; 1799 EObject current = null;
815 1800
@@ -825,91 +1810,103 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
825 enterRule(); 1810 enterRule();
826 1811
827 try { 1812 try {
828 // InternalApplicationConfiguration.g:300:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ) 1813 // InternalApplicationConfiguration.g:567:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) )
829 // InternalApplicationConfiguration.g:301:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) 1814 // InternalApplicationConfiguration.g:568:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' )
830 { 1815 {
831 // InternalApplicationConfiguration.g:301: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= '}' )
832 // InternalApplicationConfiguration.g:302:3: otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' 1817 // InternalApplicationConfiguration.g:569:3: otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}'
833 { 1818 {
834 otherlv_0=(Token)match(input,14,FOLLOW_8); 1819 otherlv_0=(Token)match(input,17,FOLLOW_11); if (state.failed) return current;
1820 if ( state.backtracking==0 ) {
835 1821
836 newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); 1822 newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0());
837 1823
838 // InternalApplicationConfiguration.g:306:3: ( (lv_entries_1_0= ruleMetamodelEntry ) ) 1824 }
839 // InternalApplicationConfiguration.g:307:4: (lv_entries_1_0= ruleMetamodelEntry ) 1825 // InternalApplicationConfiguration.g:573:3: ( (lv_entries_1_0= ruleMetamodelEntry ) )
1826 // InternalApplicationConfiguration.g:574:4: (lv_entries_1_0= ruleMetamodelEntry )
840 { 1827 {
841 // InternalApplicationConfiguration.g:307:4: (lv_entries_1_0= ruleMetamodelEntry ) 1828 // InternalApplicationConfiguration.g:574:4: (lv_entries_1_0= ruleMetamodelEntry )
842 // InternalApplicationConfiguration.g:308:5: lv_entries_1_0= ruleMetamodelEntry 1829 // InternalApplicationConfiguration.g:575:5: lv_entries_1_0= ruleMetamodelEntry
843 { 1830 {
1831 if ( state.backtracking==0 ) {
844 1832
845 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); 1833 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0());
846 1834
847 pushFollow(FOLLOW_9); 1835 }
1836 pushFollow(FOLLOW_12);
848 lv_entries_1_0=ruleMetamodelEntry(); 1837 lv_entries_1_0=ruleMetamodelEntry();
849 1838
850 state._fsp--; 1839 state._fsp--;
851 1840 if (state.failed) return current;
852 1841 if ( state.backtracking==0 ) {
853 if (current==null) { 1842
854 current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); 1843 if (current==null) {
855 } 1844 current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule());
856 add( 1845 }
857 current, 1846 add(
858 "entries", 1847 current,
859 lv_entries_1_0, 1848 "entries",
860 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); 1849 lv_entries_1_0,
861 afterParserOrEnumRuleCall(); 1850 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry");
862 1851 afterParserOrEnumRuleCall();
1852
1853 }
863 1854
864 } 1855 }
865 1856
866 1857
867 } 1858 }
868 1859
869 // InternalApplicationConfiguration.g:325:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* 1860 // InternalApplicationConfiguration.g:592:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )*
870 loop4: 1861 loop8:
871 do { 1862 do {
872 int alt4=2; 1863 int alt8=2;
873 int LA4_0 = input.LA(1); 1864 int LA8_0 = input.LA(1);
874 1865
875 if ( (LA4_0==15) ) { 1866 if ( (LA8_0==18) ) {
876 alt4=1; 1867 alt8=1;
877 } 1868 }
878 1869
879 1870
880 switch (alt4) { 1871 switch (alt8) {
881 case 1 : 1872 case 1 :
882 // InternalApplicationConfiguration.g:326:4: otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) 1873 // InternalApplicationConfiguration.g:593:4: otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) )
883 { 1874 {
884 otherlv_2=(Token)match(input,15,FOLLOW_8); 1875 otherlv_2=(Token)match(input,18,FOLLOW_11); if (state.failed) return current;
1876 if ( state.backtracking==0 ) {
885 1877
886 newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); 1878 newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0());
887 1879
888 // InternalApplicationConfiguration.g:330:4: ( (lv_entries_3_0= ruleMetamodelEntry ) ) 1880 }
889 // InternalApplicationConfiguration.g:331:5: (lv_entries_3_0= ruleMetamodelEntry ) 1881 // InternalApplicationConfiguration.g:597:4: ( (lv_entries_3_0= ruleMetamodelEntry ) )
1882 // InternalApplicationConfiguration.g:598:5: (lv_entries_3_0= ruleMetamodelEntry )
890 { 1883 {
891 // InternalApplicationConfiguration.g:331:5: (lv_entries_3_0= ruleMetamodelEntry ) 1884 // InternalApplicationConfiguration.g:598:5: (lv_entries_3_0= ruleMetamodelEntry )
892 // InternalApplicationConfiguration.g:332:6: lv_entries_3_0= ruleMetamodelEntry 1885 // InternalApplicationConfiguration.g:599:6: lv_entries_3_0= ruleMetamodelEntry
893 { 1886 {
1887 if ( state.backtracking==0 ) {
894 1888
895 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); 1889 newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0());
896 1890
897 pushFollow(FOLLOW_9); 1891 }
1892 pushFollow(FOLLOW_12);
898 lv_entries_3_0=ruleMetamodelEntry(); 1893 lv_entries_3_0=ruleMetamodelEntry();
899 1894
900 state._fsp--; 1895 state._fsp--;
901 1896 if (state.failed) return current;
902 1897 if ( state.backtracking==0 ) {
903 if (current==null) { 1898
904 current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); 1899 if (current==null) {
905 } 1900 current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule());
906 add( 1901 }
907 current, 1902 add(
908 "entries", 1903 current,
909 lv_entries_3_0, 1904 "entries",
910 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); 1905 lv_entries_3_0,
911 afterParserOrEnumRuleCall(); 1906 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry");
912 1907 afterParserOrEnumRuleCall();
1908
1909 }
913 1910
914 } 1911 }
915 1912
@@ -921,23 +1918,27 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
921 break; 1918 break;
922 1919
923 default : 1920 default :
924 break loop4; 1921 break loop8;
925 } 1922 }
926 } while (true); 1923 } while (true);
927 1924
928 otherlv_4=(Token)match(input,16,FOLLOW_2); 1925 otherlv_4=(Token)match(input,19,FOLLOW_2); if (state.failed) return current;
1926 if ( state.backtracking==0 ) {
929 1927
930 newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); 1928 newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3());
931 1929
1930 }
932 1931
933 } 1932 }
934 1933
935 1934
936 } 1935 }
937 1936
1937 if ( state.backtracking==0 ) {
938 1938
939 leaveRule(); 1939 leaveRule();
940 1940
1941 }
941 } 1942 }
942 1943
943 catch (RecognitionException re) { 1944 catch (RecognitionException re) {
@@ -952,7 +1953,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
952 1953
953 1954
954 // $ANTLR start "entryRuleMetamodelEntry" 1955 // $ANTLR start "entryRuleMetamodelEntry"
955 // InternalApplicationConfiguration.g:358:1: entryRuleMetamodelEntry returns [EObject current=null] : iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ; 1956 // InternalApplicationConfiguration.g:625:1: entryRuleMetamodelEntry returns [EObject current=null] : iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ;
956 public final EObject entryRuleMetamodelEntry() throws RecognitionException { 1957 public final EObject entryRuleMetamodelEntry() throws RecognitionException {
957 EObject current = null; 1958 EObject current = null;
958 1959
@@ -960,17 +1961,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
960 1961
961 1962
962 try { 1963 try {
963 // InternalApplicationConfiguration.g:358:55: (iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ) 1964 // InternalApplicationConfiguration.g:625:55: (iv_ruleMetamodelEntry= ruleMetamodelEntry EOF )
964 // InternalApplicationConfiguration.g:359:2: iv_ruleMetamodelEntry= ruleMetamodelEntry EOF 1965 // InternalApplicationConfiguration.g:626:2: iv_ruleMetamodelEntry= ruleMetamodelEntry EOF
965 { 1966 {
966 newCompositeNode(grammarAccess.getMetamodelEntryRule()); 1967 if ( state.backtracking==0 ) {
1968 newCompositeNode(grammarAccess.getMetamodelEntryRule());
1969 }
967 pushFollow(FOLLOW_1); 1970 pushFollow(FOLLOW_1);
968 iv_ruleMetamodelEntry=ruleMetamodelEntry(); 1971 iv_ruleMetamodelEntry=ruleMetamodelEntry();
969 1972
970 state._fsp--; 1973 state._fsp--;
971 1974 if (state.failed) return current;
972 current =iv_ruleMetamodelEntry; 1975 if ( state.backtracking==0 ) {
973 match(input,EOF,FOLLOW_2); 1976 current =iv_ruleMetamodelEntry;
1977 }
1978 match(input,EOF,FOLLOW_2); if (state.failed) return current;
974 1979
975 } 1980 }
976 1981
@@ -988,7 +1993,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
988 1993
989 1994
990 // $ANTLR start "ruleMetamodelEntry" 1995 // $ANTLR start "ruleMetamodelEntry"
991 // InternalApplicationConfiguration.g:365:1: ruleMetamodelEntry returns [EObject current=null] : (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ; 1996 // InternalApplicationConfiguration.g:632:1: ruleMetamodelEntry returns [EObject current=null] : (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ;
992 public final EObject ruleMetamodelEntry() throws RecognitionException { 1997 public final EObject ruleMetamodelEntry() throws RecognitionException {
993 EObject current = null; 1998 EObject current = null;
994 1999
@@ -1001,59 +2006,68 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1001 enterRule(); 2006 enterRule();
1002 2007
1003 try { 2008 try {
1004 // InternalApplicationConfiguration.g:371:2: ( (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ) 2009 // InternalApplicationConfiguration.g:638:2: ( (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) )
1005 // InternalApplicationConfiguration.g:372:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) 2010 // InternalApplicationConfiguration.g:639:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry )
1006 { 2011 {
1007 // InternalApplicationConfiguration.g:372:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) 2012 // InternalApplicationConfiguration.g:639:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry )
1008 int alt5=2; 2013 int alt9=2;
1009 int LA5_0 = input.LA(1); 2014 int LA9_0 = input.LA(1);
1010 2015
1011 if ( (LA5_0==RULE_ID) ) { 2016 if ( (LA9_0==RULE_ID) ) {
1012 alt5=1; 2017 alt9=1;
1013 } 2018 }
1014 else if ( (LA5_0==17) ) { 2019 else if ( (LA9_0==20) ) {
1015 alt5=2; 2020 alt9=2;
1016 } 2021 }
1017 else { 2022 else {
2023 if (state.backtracking>0) {state.failed=true; return current;}
1018 NoViableAltException nvae = 2024 NoViableAltException nvae =
1019 new NoViableAltException("", 5, 0, input); 2025 new NoViableAltException("", 9, 0, input);
1020 2026
1021 throw nvae; 2027 throw nvae;
1022 } 2028 }
1023 switch (alt5) { 2029 switch (alt9) {
1024 case 1 : 2030 case 1 :
1025 // InternalApplicationConfiguration.g:373:3: this_MetamodelElement_0= ruleMetamodelElement 2031 // InternalApplicationConfiguration.g:640:3: this_MetamodelElement_0= ruleMetamodelElement
1026 { 2032 {
2033 if ( state.backtracking==0 ) {
1027 2034
1028 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); 2035 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0());
1029 2036
2037 }
1030 pushFollow(FOLLOW_2); 2038 pushFollow(FOLLOW_2);
1031 this_MetamodelElement_0=ruleMetamodelElement(); 2039 this_MetamodelElement_0=ruleMetamodelElement();
1032 2040
1033 state._fsp--; 2041 state._fsp--;
2042 if (state.failed) return current;
2043 if ( state.backtracking==0 ) {
1034 2044
1035 2045 current = this_MetamodelElement_0;
1036 current = this_MetamodelElement_0; 2046 afterParserOrEnumRuleCall();
1037 afterParserOrEnumRuleCall(); 2047
1038 2048 }
1039 2049
1040 } 2050 }
1041 break; 2051 break;
1042 case 2 : 2052 case 2 :
1043 // InternalApplicationConfiguration.g:382:3: this_AllPackageEntry_1= ruleAllPackageEntry 2053 // InternalApplicationConfiguration.g:649:3: this_AllPackageEntry_1= ruleAllPackageEntry
1044 { 2054 {
2055 if ( state.backtracking==0 ) {
1045 2056
1046 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); 2057 newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1());
1047 2058
2059 }
1048 pushFollow(FOLLOW_2); 2060 pushFollow(FOLLOW_2);
1049 this_AllPackageEntry_1=ruleAllPackageEntry(); 2061 this_AllPackageEntry_1=ruleAllPackageEntry();
1050 2062
1051 state._fsp--; 2063 state._fsp--;
2064 if (state.failed) return current;
2065 if ( state.backtracking==0 ) {
1052 2066
1053 2067 current = this_AllPackageEntry_1;
1054 current = this_AllPackageEntry_1; 2068 afterParserOrEnumRuleCall();
1055 afterParserOrEnumRuleCall(); 2069
1056 2070 }
1057 2071
1058 } 2072 }
1059 break; 2073 break;
@@ -1063,9 +2077,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1063 2077
1064 } 2078 }
1065 2079
2080 if ( state.backtracking==0 ) {
1066 2081
1067 leaveRule(); 2082 leaveRule();
1068 2083
2084 }
1069 } 2085 }
1070 2086
1071 catch (RecognitionException re) { 2087 catch (RecognitionException re) {
@@ -1080,7 +2096,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1080 2096
1081 2097
1082 // $ANTLR start "entryRuleAllPackageEntry" 2098 // $ANTLR start "entryRuleAllPackageEntry"
1083 // InternalApplicationConfiguration.g:394:1: entryRuleAllPackageEntry returns [EObject current=null] : iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ; 2099 // InternalApplicationConfiguration.g:661:1: entryRuleAllPackageEntry returns [EObject current=null] : iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ;
1084 public final EObject entryRuleAllPackageEntry() throws RecognitionException { 2100 public final EObject entryRuleAllPackageEntry() throws RecognitionException {
1085 EObject current = null; 2101 EObject current = null;
1086 2102
@@ -1088,17 +2104,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1088 2104
1089 2105
1090 try { 2106 try {
1091 // InternalApplicationConfiguration.g:394:56: (iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ) 2107 // InternalApplicationConfiguration.g:661:56: (iv_ruleAllPackageEntry= ruleAllPackageEntry EOF )
1092 // InternalApplicationConfiguration.g:395:2: iv_ruleAllPackageEntry= ruleAllPackageEntry EOF 2108 // InternalApplicationConfiguration.g:662:2: iv_ruleAllPackageEntry= ruleAllPackageEntry EOF
1093 { 2109 {
1094 newCompositeNode(grammarAccess.getAllPackageEntryRule()); 2110 if ( state.backtracking==0 ) {
2111 newCompositeNode(grammarAccess.getAllPackageEntryRule());
2112 }
1095 pushFollow(FOLLOW_1); 2113 pushFollow(FOLLOW_1);
1096 iv_ruleAllPackageEntry=ruleAllPackageEntry(); 2114 iv_ruleAllPackageEntry=ruleAllPackageEntry();
1097 2115
1098 state._fsp--; 2116 state._fsp--;
1099 2117 if (state.failed) return current;
1100 current =iv_ruleAllPackageEntry; 2118 if ( state.backtracking==0 ) {
1101 match(input,EOF,FOLLOW_2); 2119 current =iv_ruleAllPackageEntry;
2120 }
2121 match(input,EOF,FOLLOW_2); if (state.failed) return current;
1102 2122
1103 } 2123 }
1104 2124
@@ -1116,12 +2136,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1116 2136
1117 2137
1118 // $ANTLR start "ruleAllPackageEntry" 2138 // $ANTLR start "ruleAllPackageEntry"
1119 // InternalApplicationConfiguration.g:401:1: ruleAllPackageEntry returns [EObject current=null] : (otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ; 2139 // 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= '}' )? ) ;
1120 public final EObject ruleAllPackageEntry() throws RecognitionException { 2140 public final EObject ruleAllPackageEntry() throws RecognitionException {
1121 EObject current = null; 2141 EObject current = null;
1122 2142
1123 Token otherlv_0=null; 2143 Token otherlv_0=null;
1124 Token otherlv_1=null;
1125 Token otherlv_2=null; 2144 Token otherlv_2=null;
1126 Token otherlv_3=null; 2145 Token otherlv_3=null;
1127 Token otherlv_5=null; 2146 Token otherlv_5=null;
@@ -1135,131 +2154,160 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1135 enterRule(); 2154 enterRule();
1136 2155
1137 try { 2156 try {
1138 // InternalApplicationConfiguration.g:407:2: ( (otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ) 2157 // 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= '}' )? ) )
1139 // InternalApplicationConfiguration.g:408:2: (otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) 2158 // 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= '}' )? )
1140 { 2159 {
1141 // InternalApplicationConfiguration.g:408:2: (otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) (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= '}' )? )
1142 // InternalApplicationConfiguration.g:409:3: otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? 2161 // 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= '}' )?
1143 { 2162 {
1144 otherlv_0=(Token)match(input,17,FOLLOW_10); 2163 otherlv_0=(Token)match(input,20,FOLLOW_6); if (state.failed) return current;
2164 if ( state.backtracking==0 ) {
1145 2165
1146 newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); 2166 newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0());
1147 2167
1148 // InternalApplicationConfiguration.g:413:3: ( (otherlv_1= RULE_ID ) ) 2168 }
1149 // InternalApplicationConfiguration.g:414:4: (otherlv_1= RULE_ID ) 2169 // InternalApplicationConfiguration.g:680:3: ( ( ruleQualifiedName ) )
2170 // InternalApplicationConfiguration.g:681:4: ( ruleQualifiedName )
1150 { 2171 {
1151 // InternalApplicationConfiguration.g:414:4: (otherlv_1= RULE_ID ) 2172 // InternalApplicationConfiguration.g:681:4: ( ruleQualifiedName )
1152 // InternalApplicationConfiguration.g:415:5: otherlv_1= RULE_ID 2173 // InternalApplicationConfiguration.g:682:5: ruleQualifiedName
1153 { 2174 {
2175 if ( state.backtracking==0 ) {
2176
2177 if (current==null) {
2178 current = createModelElement(grammarAccess.getAllPackageEntryRule());
2179 }
2180
2181 }
2182 if ( state.backtracking==0 ) {
1154 2183
1155 if (current==null) { 2184 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0());
1156 current = createModelElement(grammarAccess.getAllPackageEntryRule()); 2185
1157 } 2186 }
1158 2187 pushFollow(FOLLOW_13);
1159 otherlv_1=(Token)match(input,RULE_ID,FOLLOW_11); 2188 ruleQualifiedName();
2189
2190 state._fsp--;
2191 if (state.failed) return current;
2192 if ( state.backtracking==0 ) {
1160 2193
1161 newLeafNode(otherlv_1, grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); 2194 afterParserOrEnumRuleCall();
1162 2195
2196 }
1163 2197
1164 } 2198 }
1165 2199
1166 2200
1167 } 2201 }
1168 2202
1169 // InternalApplicationConfiguration.g:426:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? 2203 // InternalApplicationConfiguration.g:696:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )?
1170 int alt7=2; 2204 int alt11=2;
1171 int LA7_0 = input.LA(1); 2205 int LA11_0 = input.LA(1);
1172 2206
1173 if ( (LA7_0==18) ) { 2207 if ( (LA11_0==21) ) {
1174 alt7=1; 2208 alt11=1;
1175 } 2209 }
1176 switch (alt7) { 2210 switch (alt11) {
1177 case 1 : 2211 case 1 :
1178 // InternalApplicationConfiguration.g:427:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' 2212 // InternalApplicationConfiguration.g:697:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}'
1179 { 2213 {
1180 otherlv_2=(Token)match(input,18,FOLLOW_12); 2214 otherlv_2=(Token)match(input,21,FOLLOW_14); if (state.failed) return current;
2215 if ( state.backtracking==0 ) {
1181 2216
1182 newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); 2217 newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0());
1183 2218
1184 otherlv_3=(Token)match(input,14,FOLLOW_10); 2219 }
2220 otherlv_3=(Token)match(input,17,FOLLOW_6); if (state.failed) return current;
2221 if ( state.backtracking==0 ) {
1185 2222
1186 newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); 2223 newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1());
1187 2224
1188 // InternalApplicationConfiguration.g:435:4: ( (lv_exclusion_4_0= ruleMetamodelElement ) ) 2225 }
1189 // InternalApplicationConfiguration.g:436:5: (lv_exclusion_4_0= ruleMetamodelElement ) 2226 // InternalApplicationConfiguration.g:705:4: ( (lv_exclusion_4_0= ruleMetamodelElement ) )
2227 // InternalApplicationConfiguration.g:706:5: (lv_exclusion_4_0= ruleMetamodelElement )
1190 { 2228 {
1191 // InternalApplicationConfiguration.g:436:5: (lv_exclusion_4_0= ruleMetamodelElement ) 2229 // InternalApplicationConfiguration.g:706:5: (lv_exclusion_4_0= ruleMetamodelElement )
1192 // InternalApplicationConfiguration.g:437:6: lv_exclusion_4_0= ruleMetamodelElement 2230 // InternalApplicationConfiguration.g:707:6: lv_exclusion_4_0= ruleMetamodelElement
1193 { 2231 {
2232 if ( state.backtracking==0 ) {
1194 2233
1195 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); 2234 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0());
1196 2235
1197 pushFollow(FOLLOW_9); 2236 }
2237 pushFollow(FOLLOW_12);
1198 lv_exclusion_4_0=ruleMetamodelElement(); 2238 lv_exclusion_4_0=ruleMetamodelElement();
1199 2239
1200 state._fsp--; 2240 state._fsp--;
1201 2241 if (state.failed) return current;
1202 2242 if ( state.backtracking==0 ) {
1203 if (current==null) { 2243
1204 current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); 2244 if (current==null) {
1205 } 2245 current = createModelElementForParent(grammarAccess.getAllPackageEntryRule());
1206 add( 2246 }
1207 current, 2247 add(
1208 "exclusion", 2248 current,
1209 lv_exclusion_4_0, 2249 "exclusion",
1210 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); 2250 lv_exclusion_4_0,
1211 afterParserOrEnumRuleCall(); 2251 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement");
1212 2252 afterParserOrEnumRuleCall();
2253
2254 }
1213 2255
1214 } 2256 }
1215 2257
1216 2258
1217 } 2259 }
1218 2260
1219 // InternalApplicationConfiguration.g:454:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* 2261 // InternalApplicationConfiguration.g:724:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )*
1220 loop6: 2262 loop10:
1221 do { 2263 do {
1222 int alt6=2; 2264 int alt10=2;
1223 int LA6_0 = input.LA(1); 2265 int LA10_0 = input.LA(1);
1224 2266
1225 if ( (LA6_0==15) ) { 2267 if ( (LA10_0==18) ) {
1226 alt6=1; 2268 alt10=1;
1227 } 2269 }
1228 2270
1229 2271
1230 switch (alt6) { 2272 switch (alt10) {
1231 case 1 : 2273 case 1 :
1232 // InternalApplicationConfiguration.g:455:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) 2274 // InternalApplicationConfiguration.g:725:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) )
1233 { 2275 {
1234 otherlv_5=(Token)match(input,15,FOLLOW_10); 2276 otherlv_5=(Token)match(input,18,FOLLOW_6); if (state.failed) return current;
2277 if ( state.backtracking==0 ) {
1235 2278
1236 newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); 2279 newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0());
1237 2280
1238 // InternalApplicationConfiguration.g:459:5: ( (lv_exclusion_6_0= ruleMetamodelElement ) ) 2281 }
1239 // InternalApplicationConfiguration.g:460:6: (lv_exclusion_6_0= ruleMetamodelElement ) 2282 // InternalApplicationConfiguration.g:729:5: ( (lv_exclusion_6_0= ruleMetamodelElement ) )
2283 // InternalApplicationConfiguration.g:730:6: (lv_exclusion_6_0= ruleMetamodelElement )
1240 { 2284 {
1241 // InternalApplicationConfiguration.g:460:6: (lv_exclusion_6_0= ruleMetamodelElement ) 2285 // InternalApplicationConfiguration.g:730:6: (lv_exclusion_6_0= ruleMetamodelElement )
1242 // InternalApplicationConfiguration.g:461:7: lv_exclusion_6_0= ruleMetamodelElement 2286 // InternalApplicationConfiguration.g:731:7: lv_exclusion_6_0= ruleMetamodelElement
1243 { 2287 {
2288 if ( state.backtracking==0 ) {
1244 2289
1245 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); 2290 newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0());
1246 2291
1247 pushFollow(FOLLOW_9); 2292 }
2293 pushFollow(FOLLOW_12);
1248 lv_exclusion_6_0=ruleMetamodelElement(); 2294 lv_exclusion_6_0=ruleMetamodelElement();
1249 2295
1250 state._fsp--; 2296 state._fsp--;
1251 2297 if (state.failed) return current;
1252 2298 if ( state.backtracking==0 ) {
1253 if (current==null) { 2299
1254 current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); 2300 if (current==null) {
1255 } 2301 current = createModelElementForParent(grammarAccess.getAllPackageEntryRule());
1256 add( 2302 }
1257 current, 2303 add(
1258 "exclusion", 2304 current,
1259 lv_exclusion_6_0, 2305 "exclusion",
1260 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); 2306 lv_exclusion_6_0,
1261 afterParserOrEnumRuleCall(); 2307 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement");
1262 2308 afterParserOrEnumRuleCall();
2309
2310 }
1263 2311
1264 } 2312 }
1265 2313
@@ -1271,14 +2319,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1271 break; 2319 break;
1272 2320
1273 default : 2321 default :
1274 break loop6; 2322 break loop10;
1275 } 2323 }
1276 } while (true); 2324 } while (true);
1277 2325
1278 otherlv_7=(Token)match(input,16,FOLLOW_2); 2326 otherlv_7=(Token)match(input,19,FOLLOW_2); if (state.failed) return current;
2327 if ( state.backtracking==0 ) {
1279 2328
1280 newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); 2329 newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4());
1281 2330
2331 }
1282 2332
1283 } 2333 }
1284 break; 2334 break;
@@ -1291,9 +2341,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1291 2341
1292 } 2342 }
1293 2343
2344 if ( state.backtracking==0 ) {
1294 2345
1295 leaveRule(); 2346 leaveRule();
1296 2347
2348 }
1297 } 2349 }
1298 2350
1299 catch (RecognitionException re) { 2351 catch (RecognitionException re) {
@@ -1308,7 +2360,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1308 2360
1309 2361
1310 // $ANTLR start "entryRuleMetamodelElement" 2362 // $ANTLR start "entryRuleMetamodelElement"
1311 // InternalApplicationConfiguration.g:488:1: entryRuleMetamodelElement returns [EObject current=null] : iv_ruleMetamodelElement= ruleMetamodelElement EOF ; 2363 // InternalApplicationConfiguration.g:758:1: entryRuleMetamodelElement returns [EObject current=null] : iv_ruleMetamodelElement= ruleMetamodelElement EOF ;
1312 public final EObject entryRuleMetamodelElement() throws RecognitionException { 2364 public final EObject entryRuleMetamodelElement() throws RecognitionException {
1313 EObject current = null; 2365 EObject current = null;
1314 2366
@@ -1316,17 +2368,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1316 2368
1317 2369
1318 try { 2370 try {
1319 // InternalApplicationConfiguration.g:488:57: (iv_ruleMetamodelElement= ruleMetamodelElement EOF ) 2371 // InternalApplicationConfiguration.g:758:57: (iv_ruleMetamodelElement= ruleMetamodelElement EOF )
1320 // InternalApplicationConfiguration.g:489:2: iv_ruleMetamodelElement= ruleMetamodelElement EOF 2372 // InternalApplicationConfiguration.g:759:2: iv_ruleMetamodelElement= ruleMetamodelElement EOF
1321 { 2373 {
1322 newCompositeNode(grammarAccess.getMetamodelElementRule()); 2374 if ( state.backtracking==0 ) {
2375 newCompositeNode(grammarAccess.getMetamodelElementRule());
2376 }
1323 pushFollow(FOLLOW_1); 2377 pushFollow(FOLLOW_1);
1324 iv_ruleMetamodelElement=ruleMetamodelElement(); 2378 iv_ruleMetamodelElement=ruleMetamodelElement();
1325 2379
1326 state._fsp--; 2380 state._fsp--;
1327 2381 if (state.failed) return current;
1328 current =iv_ruleMetamodelElement; 2382 if ( state.backtracking==0 ) {
1329 match(input,EOF,FOLLOW_2); 2383 current =iv_ruleMetamodelElement;
2384 }
2385 match(input,EOF,FOLLOW_2); if (state.failed) return current;
1330 2386
1331 } 2387 }
1332 2388
@@ -1344,11 +2400,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1344 2400
1345 2401
1346 // $ANTLR start "ruleMetamodelElement" 2402 // $ANTLR start "ruleMetamodelElement"
1347 // InternalApplicationConfiguration.g:495:1: ruleMetamodelElement returns [EObject current=null] : ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ; 2403 // InternalApplicationConfiguration.g:765:1: ruleMetamodelElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ;
1348 public final EObject ruleMetamodelElement() throws RecognitionException { 2404 public final EObject ruleMetamodelElement() throws RecognitionException {
1349 EObject current = null; 2405 EObject current = null;
1350 2406
1351 Token otherlv_0=null;
1352 Token otherlv_1=null; 2407 Token otherlv_1=null;
1353 Token otherlv_2=null; 2408 Token otherlv_2=null;
1354 Token otherlv_3=null; 2409 Token otherlv_3=null;
@@ -1358,109 +2413,145 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1358 enterRule(); 2413 enterRule();
1359 2414
1360 try { 2415 try {
1361 // InternalApplicationConfiguration.g:501:2: ( ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ) 2416 // InternalApplicationConfiguration.g:771:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) )
1362 // InternalApplicationConfiguration.g:502:2: ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) 2417 // InternalApplicationConfiguration.g:772:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? )
1363 { 2418 {
1364 // InternalApplicationConfiguration.g:502:2: ( ( ( (otherlv_0= RULE_ID ) ) 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 ) ) )? )
1365 // InternalApplicationConfiguration.g:503:3: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? 2420 // InternalApplicationConfiguration.g:773:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )?
1366 { 2421 {
1367 // InternalApplicationConfiguration.g:503:3: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' )? 2422 // InternalApplicationConfiguration.g:773:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )?
1368 int alt8=2; 2423 int alt12=2;
1369 int LA8_0 = input.LA(1); 2424 int LA12_0 = input.LA(1);
1370 2425
1371 if ( (LA8_0==RULE_ID) ) { 2426 if ( (LA12_0==RULE_ID) ) {
1372 int LA8_1 = input.LA(2); 2427 int LA12_1 = input.LA(2);
1373 2428
1374 if ( (LA8_1==19) ) { 2429 if ( (LA12_1==11) ) {
1375 alt8=1; 2430 int LA12_2 = input.LA(3);
2431
2432 if ( (LA12_2==RULE_ID) ) {
2433 int LA12_5 = input.LA(4);
2434
2435 if ( (LA12_5==11||LA12_5==22) ) {
2436 alt12=1;
2437 }
2438 }
2439 }
2440 else if ( (LA12_1==22) ) {
2441 alt12=1;
1376 } 2442 }
1377 } 2443 }
1378 switch (alt8) { 2444 switch (alt12) {
1379 case 1 : 2445 case 1 :
1380 // InternalApplicationConfiguration.g:504:4: ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' 2446 // InternalApplicationConfiguration.g:774:4: ( ( ruleQualifiedName ) ) otherlv_1= '::'
1381 { 2447 {
1382 // InternalApplicationConfiguration.g:504:4: ( (otherlv_0= RULE_ID ) ) 2448 // InternalApplicationConfiguration.g:774:4: ( ( ruleQualifiedName ) )
1383 // InternalApplicationConfiguration.g:505:5: (otherlv_0= RULE_ID ) 2449 // InternalApplicationConfiguration.g:775:5: ( ruleQualifiedName )
1384 { 2450 {
1385 // InternalApplicationConfiguration.g:505:5: (otherlv_0= RULE_ID ) 2451 // InternalApplicationConfiguration.g:775:5: ( ruleQualifiedName )
1386 // InternalApplicationConfiguration.g:506:6: otherlv_0= RULE_ID 2452 // InternalApplicationConfiguration.g:776:6: ruleQualifiedName
1387 { 2453 {
2454 if ( state.backtracking==0 ) {
1388 2455
1389 if (current==null) { 2456 if (current==null) {
1390 current = createModelElement(grammarAccess.getMetamodelElementRule()); 2457 current = createModelElement(grammarAccess.getMetamodelElementRule());
1391 } 2458 }
1392 2459
1393 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_13); 2460 }
2461 if ( state.backtracking==0 ) {
1394 2462
1395 newLeafNode(otherlv_0, grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); 2463 newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0());
1396 2464
2465 }
2466 pushFollow(FOLLOW_15);
2467 ruleQualifiedName();
2468
2469 state._fsp--;
2470 if (state.failed) return current;
2471 if ( state.backtracking==0 ) {
2472
2473 afterParserOrEnumRuleCall();
2474
2475 }
1397 2476
1398 } 2477 }
1399 2478
1400 2479
1401 } 2480 }
1402 2481
1403 otherlv_1=(Token)match(input,19,FOLLOW_10); 2482 otherlv_1=(Token)match(input,22,FOLLOW_6); if (state.failed) return current;
2483 if ( state.backtracking==0 ) {
1404 2484
1405 newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); 2485 newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1());
1406 2486
2487 }
1407 2488
1408 } 2489 }
1409 break; 2490 break;
1410 2491
1411 } 2492 }
1412 2493
1413 // InternalApplicationConfiguration.g:522:3: ( (otherlv_2= RULE_ID ) ) 2494 // InternalApplicationConfiguration.g:795:3: ( (otherlv_2= RULE_ID ) )
1414 // InternalApplicationConfiguration.g:523:4: (otherlv_2= RULE_ID ) 2495 // InternalApplicationConfiguration.g:796:4: (otherlv_2= RULE_ID )
1415 { 2496 {
1416 // InternalApplicationConfiguration.g:523:4: (otherlv_2= RULE_ID ) 2497 // InternalApplicationConfiguration.g:796:4: (otherlv_2= RULE_ID )
1417 // InternalApplicationConfiguration.g:524:5: otherlv_2= RULE_ID 2498 // InternalApplicationConfiguration.g:797:5: otherlv_2= RULE_ID
1418 { 2499 {
2500 if ( state.backtracking==0 ) {
1419 2501
1420 if (current==null) { 2502 if (current==null) {
1421 current = createModelElement(grammarAccess.getMetamodelElementRule()); 2503 current = createModelElement(grammarAccess.getMetamodelElementRule());
1422 } 2504 }
1423 2505
1424 otherlv_2=(Token)match(input,RULE_ID,FOLLOW_14); 2506 }
2507 otherlv_2=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current;
2508 if ( state.backtracking==0 ) {
1425 2509
1426 newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); 2510 newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0());
1427 2511
2512 }
1428 2513
1429 } 2514 }
1430 2515
1431 2516
1432 } 2517 }
1433 2518
1434 // InternalApplicationConfiguration.g:535:3: (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? 2519 // InternalApplicationConfiguration.g:808:3: (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )?
1435 int alt9=2; 2520 int alt13=2;
1436 int LA9_0 = input.LA(1); 2521 int LA13_0 = input.LA(1);
1437 2522
1438 if ( (LA9_0==20) ) { 2523 if ( (LA13_0==11) ) {
1439 alt9=1; 2524 alt13=1;
1440 } 2525 }
1441 switch (alt9) { 2526 switch (alt13) {
1442 case 1 : 2527 case 1 :
1443 // InternalApplicationConfiguration.g:536:4: otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) 2528 // InternalApplicationConfiguration.g:809:4: otherlv_3= '.' ( (otherlv_4= RULE_ID ) )
1444 { 2529 {
1445 otherlv_3=(Token)match(input,20,FOLLOW_10); 2530 otherlv_3=(Token)match(input,11,FOLLOW_6); if (state.failed) return current;
2531 if ( state.backtracking==0 ) {
1446 2532
1447 newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); 2533 newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0());
1448 2534
1449 // InternalApplicationConfiguration.g:540:4: ( (otherlv_4= RULE_ID ) ) 2535 }
1450 // InternalApplicationConfiguration.g:541:5: (otherlv_4= RULE_ID ) 2536 // InternalApplicationConfiguration.g:813:4: ( (otherlv_4= RULE_ID ) )
2537 // InternalApplicationConfiguration.g:814:5: (otherlv_4= RULE_ID )
1451 { 2538 {
1452 // InternalApplicationConfiguration.g:541:5: (otherlv_4= RULE_ID ) 2539 // InternalApplicationConfiguration.g:814:5: (otherlv_4= RULE_ID )
1453 // InternalApplicationConfiguration.g:542:6: otherlv_4= RULE_ID 2540 // InternalApplicationConfiguration.g:815:6: otherlv_4= RULE_ID
1454 { 2541 {
2542 if ( state.backtracking==0 ) {
1455 2543
1456 if (current==null) { 2544 if (current==null) {
1457 current = createModelElement(grammarAccess.getMetamodelElementRule()); 2545 current = createModelElement(grammarAccess.getMetamodelElementRule());
1458 } 2546 }
1459 2547
1460 otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2); 2548 }
2549 otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
2550 if ( state.backtracking==0 ) {
1461 2551
1462 newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); 2552 newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0());
1463 2553
2554 }
1464 2555
1465 } 2556 }
1466 2557
@@ -1479,9 +2570,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1479 2570
1480 } 2571 }
1481 2572
2573 if ( state.backtracking==0 ) {
1482 2574
1483 leaveRule(); 2575 leaveRule();
1484 2576
2577 }
1485 } 2578 }
1486 2579
1487 catch (RecognitionException re) { 2580 catch (RecognitionException re) {
@@ -1496,7 +2589,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1496 2589
1497 2590
1498 // $ANTLR start "entryRuleMetamodelDeclaration" 2591 // $ANTLR start "entryRuleMetamodelDeclaration"
1499 // InternalApplicationConfiguration.g:558:1: entryRuleMetamodelDeclaration returns [EObject current=null] : iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ; 2592 // InternalApplicationConfiguration.g:831:1: entryRuleMetamodelDeclaration returns [EObject current=null] : iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ;
1500 public final EObject entryRuleMetamodelDeclaration() throws RecognitionException { 2593 public final EObject entryRuleMetamodelDeclaration() throws RecognitionException {
1501 EObject current = null; 2594 EObject current = null;
1502 2595
@@ -1504,17 +2597,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1504 2597
1505 2598
1506 try { 2599 try {
1507 // InternalApplicationConfiguration.g:558:61: (iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ) 2600 // InternalApplicationConfiguration.g:831:61: (iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF )
1508 // InternalApplicationConfiguration.g:559:2: iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF 2601 // InternalApplicationConfiguration.g:832:2: iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF
1509 { 2602 {
1510 newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); 2603 if ( state.backtracking==0 ) {
2604 newCompositeNode(grammarAccess.getMetamodelDeclarationRule());
2605 }
1511 pushFollow(FOLLOW_1); 2606 pushFollow(FOLLOW_1);
1512 iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration(); 2607 iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration();
1513 2608
1514 state._fsp--; 2609 state._fsp--;
1515 2610 if (state.failed) return current;
1516 current =iv_ruleMetamodelDeclaration; 2611 if ( state.backtracking==0 ) {
1517 match(input,EOF,FOLLOW_2); 2612 current =iv_ruleMetamodelDeclaration;
2613 }
2614 match(input,EOF,FOLLOW_2); if (state.failed) return current;
1518 2615
1519 } 2616 }
1520 2617
@@ -1532,7 +2629,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1532 2629
1533 2630
1534 // $ANTLR start "ruleMetamodelDeclaration" 2631 // $ANTLR start "ruleMetamodelDeclaration"
1535 // InternalApplicationConfiguration.g:565:1: ruleMetamodelDeclaration returns [EObject current=null] : (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ; 2632 // InternalApplicationConfiguration.g:838:1: ruleMetamodelDeclaration returns [EObject current=null] : (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ;
1536 public final EObject ruleMetamodelDeclaration() throws RecognitionException { 2633 public final EObject ruleMetamodelDeclaration() throws RecognitionException {
1537 EObject current = null; 2634 EObject current = null;
1538 2635
@@ -1545,67 +2642,77 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1545 enterRule(); 2642 enterRule();
1546 2643
1547 try { 2644 try {
1548 // InternalApplicationConfiguration.g:571:2: ( (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ) 2645 // InternalApplicationConfiguration.g:844:2: ( (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) )
1549 // InternalApplicationConfiguration.g:572:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) 2646 // InternalApplicationConfiguration.g:845:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) )
1550 { 2647 {
1551 // InternalApplicationConfiguration.g:572: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 ) ) )
1552 // InternalApplicationConfiguration.g:573:3: otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) 2649 // InternalApplicationConfiguration.g:846:3: otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) )
1553 { 2650 {
1554 otherlv_0=(Token)match(input,21,FOLLOW_10); 2651 otherlv_0=(Token)match(input,23,FOLLOW_6); if (state.failed) return current;
2652 if ( state.backtracking==0 ) {
1555 2653
1556 newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); 2654 newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0());
1557 2655
1558 // InternalApplicationConfiguration.g:577:3: ( (lv_name_1_0= RULE_ID ) ) 2656 }
1559 // InternalApplicationConfiguration.g:578:4: (lv_name_1_0= RULE_ID ) 2657 // InternalApplicationConfiguration.g:850:3: ( (lv_name_1_0= RULE_ID ) )
2658 // InternalApplicationConfiguration.g:851:4: (lv_name_1_0= RULE_ID )
1560 { 2659 {
1561 // InternalApplicationConfiguration.g:578:4: (lv_name_1_0= RULE_ID ) 2660 // InternalApplicationConfiguration.g:851:4: (lv_name_1_0= RULE_ID )
1562 // InternalApplicationConfiguration.g:579:5: lv_name_1_0= RULE_ID 2661 // InternalApplicationConfiguration.g:852:5: lv_name_1_0= RULE_ID
1563 { 2662 {
1564 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_12); 2663 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current;
1565 2664 if ( state.backtracking==0 ) {
1566 newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0());
1567
1568 2665
1569 if (current==null) { 2666 newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0());
1570 current = createModelElement(grammarAccess.getMetamodelDeclarationRule()); 2667
1571 } 2668 }
1572 setWithLastConsumed( 2669 if ( state.backtracking==0 ) {
1573 current, 2670
1574 "name", 2671 if (current==null) {
1575 lv_name_1_0, 2672 current = createModelElement(grammarAccess.getMetamodelDeclarationRule());
1576 "org.eclipse.xtext.common.Terminals.ID"); 2673 }
1577 2674 setWithLastConsumed(
2675 current,
2676 "name",
2677 lv_name_1_0,
2678 "org.eclipse.xtext.common.Terminals.ID");
2679
2680 }
1578 2681
1579 } 2682 }
1580 2683
1581 2684
1582 } 2685 }
1583 2686
1584 // InternalApplicationConfiguration.g:595:3: ( (lv_specification_2_0= ruleMetamodelSpecification ) ) 2687 // InternalApplicationConfiguration.g:868:3: ( (lv_specification_2_0= ruleMetamodelSpecification ) )
1585 // InternalApplicationConfiguration.g:596:4: (lv_specification_2_0= ruleMetamodelSpecification ) 2688 // InternalApplicationConfiguration.g:869:4: (lv_specification_2_0= ruleMetamodelSpecification )
1586 { 2689 {
1587 // InternalApplicationConfiguration.g:596:4: (lv_specification_2_0= ruleMetamodelSpecification ) 2690 // InternalApplicationConfiguration.g:869:4: (lv_specification_2_0= ruleMetamodelSpecification )
1588 // InternalApplicationConfiguration.g:597:5: lv_specification_2_0= ruleMetamodelSpecification 2691 // InternalApplicationConfiguration.g:870:5: lv_specification_2_0= ruleMetamodelSpecification
1589 { 2692 {
2693 if ( state.backtracking==0 ) {
1590 2694
1591 newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); 2695 newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0());
1592 2696
2697 }
1593 pushFollow(FOLLOW_2); 2698 pushFollow(FOLLOW_2);
1594 lv_specification_2_0=ruleMetamodelSpecification(); 2699 lv_specification_2_0=ruleMetamodelSpecification();
1595 2700
1596 state._fsp--; 2701 state._fsp--;
1597 2702 if (state.failed) return current;
1598 2703 if ( state.backtracking==0 ) {
1599 if (current==null) { 2704
1600 current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule()); 2705 if (current==null) {
1601 } 2706 current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule());
1602 set( 2707 }
1603 current, 2708 set(
1604 "specification", 2709 current,
1605 lv_specification_2_0, 2710 "specification",
1606 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); 2711 lv_specification_2_0,
1607 afterParserOrEnumRuleCall(); 2712 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification");
1608 2713 afterParserOrEnumRuleCall();
2714
2715 }
1609 2716
1610 } 2717 }
1611 2718
@@ -1618,9 +2725,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1618 2725
1619 } 2726 }
1620 2727
2728 if ( state.backtracking==0 ) {
1621 2729
1622 leaveRule(); 2730 leaveRule();
1623 2731
2732 }
1624 } 2733 }
1625 2734
1626 catch (RecognitionException re) { 2735 catch (RecognitionException re) {
@@ -1635,7 +2744,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1635 2744
1636 2745
1637 // $ANTLR start "entryRuleMetamodelReference" 2746 // $ANTLR start "entryRuleMetamodelReference"
1638 // InternalApplicationConfiguration.g:618:1: entryRuleMetamodelReference returns [EObject current=null] : iv_ruleMetamodelReference= ruleMetamodelReference EOF ; 2747 // InternalApplicationConfiguration.g:891:1: entryRuleMetamodelReference returns [EObject current=null] : iv_ruleMetamodelReference= ruleMetamodelReference EOF ;
1639 public final EObject entryRuleMetamodelReference() throws RecognitionException { 2748 public final EObject entryRuleMetamodelReference() throws RecognitionException {
1640 EObject current = null; 2749 EObject current = null;
1641 2750
@@ -1643,17 +2752,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1643 2752
1644 2753
1645 try { 2754 try {
1646 // InternalApplicationConfiguration.g:618:59: (iv_ruleMetamodelReference= ruleMetamodelReference EOF ) 2755 // InternalApplicationConfiguration.g:891:59: (iv_ruleMetamodelReference= ruleMetamodelReference EOF )
1647 // InternalApplicationConfiguration.g:619:2: iv_ruleMetamodelReference= ruleMetamodelReference EOF 2756 // InternalApplicationConfiguration.g:892:2: iv_ruleMetamodelReference= ruleMetamodelReference EOF
1648 { 2757 {
1649 newCompositeNode(grammarAccess.getMetamodelReferenceRule()); 2758 if ( state.backtracking==0 ) {
2759 newCompositeNode(grammarAccess.getMetamodelReferenceRule());
2760 }
1650 pushFollow(FOLLOW_1); 2761 pushFollow(FOLLOW_1);
1651 iv_ruleMetamodelReference=ruleMetamodelReference(); 2762 iv_ruleMetamodelReference=ruleMetamodelReference();
1652 2763
1653 state._fsp--; 2764 state._fsp--;
1654 2765 if (state.failed) return current;
1655 current =iv_ruleMetamodelReference; 2766 if ( state.backtracking==0 ) {
1656 match(input,EOF,FOLLOW_2); 2767 current =iv_ruleMetamodelReference;
2768 }
2769 match(input,EOF,FOLLOW_2); if (state.failed) return current;
1657 2770
1658 } 2771 }
1659 2772
@@ -1671,7 +2784,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1671 2784
1672 2785
1673 // $ANTLR start "ruleMetamodelReference" 2786 // $ANTLR start "ruleMetamodelReference"
1674 // InternalApplicationConfiguration.g:625:1: ruleMetamodelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; 2787 // InternalApplicationConfiguration.g:898:1: ruleMetamodelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
1675 public final EObject ruleMetamodelReference() throws RecognitionException { 2788 public final EObject ruleMetamodelReference() throws RecognitionException {
1676 EObject current = null; 2789 EObject current = null;
1677 2790
@@ -1681,24 +2794,28 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1681 enterRule(); 2794 enterRule();
1682 2795
1683 try { 2796 try {
1684 // InternalApplicationConfiguration.g:631:2: ( ( (otherlv_0= RULE_ID ) ) ) 2797 // InternalApplicationConfiguration.g:904:2: ( ( (otherlv_0= RULE_ID ) ) )
1685 // InternalApplicationConfiguration.g:632:2: ( (otherlv_0= RULE_ID ) ) 2798 // InternalApplicationConfiguration.g:905:2: ( (otherlv_0= RULE_ID ) )
1686 { 2799 {
1687 // InternalApplicationConfiguration.g:632:2: ( (otherlv_0= RULE_ID ) ) 2800 // InternalApplicationConfiguration.g:905:2: ( (otherlv_0= RULE_ID ) )
1688 // InternalApplicationConfiguration.g:633:3: (otherlv_0= RULE_ID ) 2801 // InternalApplicationConfiguration.g:906:3: (otherlv_0= RULE_ID )
1689 { 2802 {
1690 // InternalApplicationConfiguration.g:633:3: (otherlv_0= RULE_ID ) 2803 // InternalApplicationConfiguration.g:906:3: (otherlv_0= RULE_ID )
1691 // InternalApplicationConfiguration.g:634:4: otherlv_0= RULE_ID 2804 // InternalApplicationConfiguration.g:907:4: otherlv_0= RULE_ID
1692 { 2805 {
2806 if ( state.backtracking==0 ) {
1693 2807
1694 if (current==null) { 2808 if (current==null) {
1695 current = createModelElement(grammarAccess.getMetamodelReferenceRule()); 2809 current = createModelElement(grammarAccess.getMetamodelReferenceRule());
1696 } 2810 }
1697 2811
1698 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); 2812 }
2813 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
2814 if ( state.backtracking==0 ) {
1699 2815
1700 newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); 2816 newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0());
1701 2817
2818 }
1702 2819
1703 } 2820 }
1704 2821
@@ -1708,9 +2825,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1708 2825
1709 } 2826 }
1710 2827
2828 if ( state.backtracking==0 ) {
1711 2829
1712 leaveRule(); 2830 leaveRule();
1713 2831
2832 }
1714 } 2833 }
1715 2834
1716 catch (RecognitionException re) { 2835 catch (RecognitionException re) {
@@ -1723,24 +2842,6591 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl
1723 } 2842 }
1724 // $ANTLR end "ruleMetamodelReference" 2843 // $ANTLR end "ruleMetamodelReference"
1725 2844
2845
2846 // $ANTLR start "entryRuleMetamodel"
2847 // InternalApplicationConfiguration.g:921:1: entryRuleMetamodel returns [EObject current=null] : iv_ruleMetamodel= ruleMetamodel EOF ;
2848 public final EObject entryRuleMetamodel() throws RecognitionException {
2849 EObject current = null;
2850
2851 EObject iv_ruleMetamodel = null;
2852
2853
2854 try {
2855 // InternalApplicationConfiguration.g:921:50: (iv_ruleMetamodel= ruleMetamodel EOF )
2856 // InternalApplicationConfiguration.g:922:2: iv_ruleMetamodel= ruleMetamodel EOF
2857 {
2858 if ( state.backtracking==0 ) {
2859 newCompositeNode(grammarAccess.getMetamodelRule());
2860 }
2861 pushFollow(FOLLOW_1);
2862 iv_ruleMetamodel=ruleMetamodel();
2863
2864 state._fsp--;
2865 if (state.failed) return current;
2866 if ( state.backtracking==0 ) {
2867 current =iv_ruleMetamodel;
2868 }
2869 match(input,EOF,FOLLOW_2); if (state.failed) return current;
2870
2871 }
2872
2873 }
2874
2875 catch (RecognitionException re) {
2876 recover(input,re);
2877 appendSkippedTokens();
2878 }
2879 finally {
2880 }
2881 return current;
2882 }
2883 // $ANTLR end "entryRuleMetamodel"
2884
2885
2886 // $ANTLR start "ruleMetamodel"
2887 // InternalApplicationConfiguration.g:928:1: ruleMetamodel returns [EObject current=null] : (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ;
2888 public final EObject ruleMetamodel() throws RecognitionException {
2889 EObject current = null;
2890
2891 EObject this_MetamodelReference_0 = null;
2892
2893 EObject this_MetamodelSpecification_1 = null;
2894
2895
2896
2897 enterRule();
2898
2899 try {
2900 // InternalApplicationConfiguration.g:934:2: ( (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) )
2901 // InternalApplicationConfiguration.g:935:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification )
2902 {
2903 // InternalApplicationConfiguration.g:935:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification )
2904 int alt14=2;
2905 int LA14_0 = input.LA(1);
2906
2907 if ( (LA14_0==RULE_ID) ) {
2908 alt14=1;
2909 }
2910 else if ( (LA14_0==17) ) {
2911 alt14=2;
2912 }
2913 else {
2914 if (state.backtracking>0) {state.failed=true; return current;}
2915 NoViableAltException nvae =
2916 new NoViableAltException("", 14, 0, input);
2917
2918 throw nvae;
2919 }
2920 switch (alt14) {
2921 case 1 :
2922 // InternalApplicationConfiguration.g:936:3: this_MetamodelReference_0= ruleMetamodelReference
2923 {
2924 if ( state.backtracking==0 ) {
2925
2926 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0());
2927
2928 }
2929 pushFollow(FOLLOW_2);
2930 this_MetamodelReference_0=ruleMetamodelReference();
2931
2932 state._fsp--;
2933 if (state.failed) return current;
2934 if ( state.backtracking==0 ) {
2935
2936 current = this_MetamodelReference_0;
2937 afterParserOrEnumRuleCall();
2938
2939 }
2940
2941 }
2942 break;
2943 case 2 :
2944 // InternalApplicationConfiguration.g:945:3: this_MetamodelSpecification_1= ruleMetamodelSpecification
2945 {
2946 if ( state.backtracking==0 ) {
2947
2948 newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1());
2949
2950 }
2951 pushFollow(FOLLOW_2);
2952 this_MetamodelSpecification_1=ruleMetamodelSpecification();
2953
2954 state._fsp--;
2955 if (state.failed) return current;
2956 if ( state.backtracking==0 ) {
2957
2958 current = this_MetamodelSpecification_1;
2959 afterParserOrEnumRuleCall();
2960
2961 }
2962
2963 }
2964 break;
2965
2966 }
2967
2968
2969 }
2970
2971 if ( state.backtracking==0 ) {
2972
2973 leaveRule();
2974
2975 }
2976 }
2977
2978 catch (RecognitionException re) {
2979 recover(input,re);
2980 appendSkippedTokens();
2981 }
2982 finally {
2983 }
2984 return current;
2985 }
2986 // $ANTLR end "ruleMetamodel"
2987
2988
2989 // $ANTLR start "entryRulePartialModelSpecification"
2990 // InternalApplicationConfiguration.g:957:1: entryRulePartialModelSpecification returns [EObject current=null] : iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ;
2991 public final EObject entryRulePartialModelSpecification() throws RecognitionException {
2992 EObject current = null;
2993
2994 EObject iv_rulePartialModelSpecification = null;
2995
2996
2997 try {
2998 // InternalApplicationConfiguration.g:957:66: (iv_rulePartialModelSpecification= rulePartialModelSpecification EOF )
2999 // InternalApplicationConfiguration.g:958:2: iv_rulePartialModelSpecification= rulePartialModelSpecification EOF
3000 {
3001 if ( state.backtracking==0 ) {
3002 newCompositeNode(grammarAccess.getPartialModelSpecificationRule());
3003 }
3004 pushFollow(FOLLOW_1);
3005 iv_rulePartialModelSpecification=rulePartialModelSpecification();
3006
3007 state._fsp--;
3008 if (state.failed) return current;
3009 if ( state.backtracking==0 ) {
3010 current =iv_rulePartialModelSpecification;
3011 }
3012 match(input,EOF,FOLLOW_2); if (state.failed) return current;
3013
3014 }
3015
3016 }
3017
3018 catch (RecognitionException re) {
3019 recover(input,re);
3020 appendSkippedTokens();
3021 }
3022 finally {
3023 }
3024 return current;
3025 }
3026 // $ANTLR end "entryRulePartialModelSpecification"
3027
3028
3029 // $ANTLR start "rulePartialModelSpecification"
3030 // 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= '}' ) ;
3031 public final EObject rulePartialModelSpecification() throws RecognitionException {
3032 EObject current = null;
3033
3034 Token otherlv_0=null;
3035 Token otherlv_2=null;
3036 Token otherlv_4=null;
3037 EObject lv_entry_1_0 = null;
3038
3039 EObject lv_entry_3_0 = null;
3040
3041
3042
3043 enterRule();
3044
3045 try {
3046 // InternalApplicationConfiguration.g:970:2: ( (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) )
3047 // InternalApplicationConfiguration.g:971:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' )
3048 {
3049 // InternalApplicationConfiguration.g:971:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' )
3050 // InternalApplicationConfiguration.g:972:3: otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}'
3051 {
3052 otherlv_0=(Token)match(input,17,FOLLOW_16); if (state.failed) return current;
3053 if ( state.backtracking==0 ) {
3054
3055 newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0());
3056
3057 }
3058 // InternalApplicationConfiguration.g:976:3: ( (lv_entry_1_0= rulePartialModelEntry ) )
3059 // InternalApplicationConfiguration.g:977:4: (lv_entry_1_0= rulePartialModelEntry )
3060 {
3061 // InternalApplicationConfiguration.g:977:4: (lv_entry_1_0= rulePartialModelEntry )
3062 // InternalApplicationConfiguration.g:978:5: lv_entry_1_0= rulePartialModelEntry
3063 {
3064 if ( state.backtracking==0 ) {
3065
3066 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0());
3067
3068 }
3069 pushFollow(FOLLOW_12);
3070 lv_entry_1_0=rulePartialModelEntry();
3071
3072 state._fsp--;
3073 if (state.failed) return current;
3074 if ( state.backtracking==0 ) {
3075
3076 if (current==null) {
3077 current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule());
3078 }
3079 add(
3080 current,
3081 "entry",
3082 lv_entry_1_0,
3083 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry");
3084 afterParserOrEnumRuleCall();
3085
3086 }
3087
3088 }
3089
3090
3091 }
3092
3093 // InternalApplicationConfiguration.g:995:3: (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )?
3094 int alt15=2;
3095 int LA15_0 = input.LA(1);
3096
3097 if ( (LA15_0==18) ) {
3098 alt15=1;
3099 }
3100 switch (alt15) {
3101 case 1 :
3102 // InternalApplicationConfiguration.g:996:4: otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) )
3103 {
3104 otherlv_2=(Token)match(input,18,FOLLOW_16); if (state.failed) return current;
3105 if ( state.backtracking==0 ) {
3106
3107 newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0());
3108
3109 }
3110 // InternalApplicationConfiguration.g:1000:4: ( (lv_entry_3_0= rulePartialModelEntry ) )
3111 // InternalApplicationConfiguration.g:1001:5: (lv_entry_3_0= rulePartialModelEntry )
3112 {
3113 // InternalApplicationConfiguration.g:1001:5: (lv_entry_3_0= rulePartialModelEntry )
3114 // InternalApplicationConfiguration.g:1002:6: lv_entry_3_0= rulePartialModelEntry
3115 {
3116 if ( state.backtracking==0 ) {
3117
3118 newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0());
3119
3120 }
3121 pushFollow(FOLLOW_17);
3122 lv_entry_3_0=rulePartialModelEntry();
3123
3124 state._fsp--;
3125 if (state.failed) return current;
3126 if ( state.backtracking==0 ) {
3127
3128 if (current==null) {
3129 current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule());
3130 }
3131 add(
3132 current,
3133 "entry",
3134 lv_entry_3_0,
3135 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry");
3136 afterParserOrEnumRuleCall();
3137
3138 }
3139
3140 }
3141
3142
3143 }
3144
3145
3146 }
3147 break;
3148
3149 }
3150
3151 otherlv_4=(Token)match(input,19,FOLLOW_2); if (state.failed) return current;
3152 if ( state.backtracking==0 ) {
3153
3154 newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3());
3155
3156 }
3157
3158 }
3159
3160
3161 }
3162
3163 if ( state.backtracking==0 ) {
3164
3165 leaveRule();
3166
3167 }
3168 }
3169
3170 catch (RecognitionException re) {
3171 recover(input,re);
3172 appendSkippedTokens();
3173 }
3174 finally {
3175 }
3176 return current;
3177 }
3178 // $ANTLR end "rulePartialModelSpecification"
3179
3180
3181 // $ANTLR start "entryRulePartialModelEntry"
3182 // InternalApplicationConfiguration.g:1028:1: entryRulePartialModelEntry returns [EObject current=null] : iv_rulePartialModelEntry= rulePartialModelEntry EOF ;
3183 public final EObject entryRulePartialModelEntry() throws RecognitionException {
3184 EObject current = null;
3185
3186 EObject iv_rulePartialModelEntry = null;
3187
3188
3189 try {
3190 // InternalApplicationConfiguration.g:1028:58: (iv_rulePartialModelEntry= rulePartialModelEntry EOF )
3191 // InternalApplicationConfiguration.g:1029:2: iv_rulePartialModelEntry= rulePartialModelEntry EOF
3192 {
3193 if ( state.backtracking==0 ) {
3194 newCompositeNode(grammarAccess.getPartialModelEntryRule());
3195 }
3196 pushFollow(FOLLOW_1);
3197 iv_rulePartialModelEntry=rulePartialModelEntry();
3198
3199 state._fsp--;
3200 if (state.failed) return current;
3201 if ( state.backtracking==0 ) {
3202 current =iv_rulePartialModelEntry;
3203 }
3204 match(input,EOF,FOLLOW_2); if (state.failed) return current;
3205
3206 }
3207
3208 }
3209
3210 catch (RecognitionException re) {
3211 recover(input,re);
3212 appendSkippedTokens();
3213 }
3214 finally {
3215 }
3216 return current;
3217 }
3218 // $ANTLR end "entryRulePartialModelEntry"
3219
3220
3221 // $ANTLR start "rulePartialModelEntry"
3222 // InternalApplicationConfiguration.g:1035:1: rulePartialModelEntry returns [EObject current=null] : (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ;
3223 public final EObject rulePartialModelEntry() throws RecognitionException {
3224 EObject current = null;
3225
3226 EObject this_ModelEntry_0 = null;
3227
3228 EObject this_FolderEntry_1 = null;
3229
3230
3231
3232 enterRule();
3233
3234 try {
3235 // InternalApplicationConfiguration.g:1041:2: ( (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) )
3236 // InternalApplicationConfiguration.g:1042:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry )
3237 {
3238 // InternalApplicationConfiguration.g:1042:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry )
3239 int alt16=2;
3240 int LA16_0 = input.LA(1);
3241
3242 if ( ((LA16_0>=RULE_ID && LA16_0<=RULE_STRING)) ) {
3243 alt16=1;
3244 }
3245 else if ( (LA16_0==24) ) {
3246 alt16=2;
3247 }
3248 else {
3249 if (state.backtracking>0) {state.failed=true; return current;}
3250 NoViableAltException nvae =
3251 new NoViableAltException("", 16, 0, input);
3252
3253 throw nvae;
3254 }
3255 switch (alt16) {
3256 case 1 :
3257 // InternalApplicationConfiguration.g:1043:3: this_ModelEntry_0= ruleModelEntry
3258 {
3259 if ( state.backtracking==0 ) {
3260
3261 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0());
3262
3263 }
3264 pushFollow(FOLLOW_2);
3265 this_ModelEntry_0=ruleModelEntry();
3266
3267 state._fsp--;
3268 if (state.failed) return current;
3269 if ( state.backtracking==0 ) {
3270
3271 current = this_ModelEntry_0;
3272 afterParserOrEnumRuleCall();
3273
3274 }
3275
3276 }
3277 break;
3278 case 2 :
3279 // InternalApplicationConfiguration.g:1052:3: this_FolderEntry_1= ruleFolderEntry
3280 {
3281 if ( state.backtracking==0 ) {
3282
3283 newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1());
3284
3285 }
3286 pushFollow(FOLLOW_2);
3287 this_FolderEntry_1=ruleFolderEntry();
3288
3289 state._fsp--;
3290 if (state.failed) return current;
3291 if ( state.backtracking==0 ) {
3292
3293 current = this_FolderEntry_1;
3294 afterParserOrEnumRuleCall();
3295
3296 }
3297
3298 }
3299 break;
3300
3301 }
3302
3303
3304 }
3305
3306 if ( state.backtracking==0 ) {
3307
3308 leaveRule();
3309
3310 }
3311 }
3312
3313 catch (RecognitionException re) {
3314 recover(input,re);
3315 appendSkippedTokens();
3316 }
3317 finally {
3318 }
3319 return current;
3320 }
3321 // $ANTLR end "rulePartialModelEntry"
3322
3323
3324 // $ANTLR start "entryRuleModelEntry"
3325 // InternalApplicationConfiguration.g:1064:1: entryRuleModelEntry returns [EObject current=null] : iv_ruleModelEntry= ruleModelEntry EOF ;
3326 public final EObject entryRuleModelEntry() throws RecognitionException {
3327 EObject current = null;
3328
3329 EObject iv_ruleModelEntry = null;
3330
3331
3332 try {
3333 // InternalApplicationConfiguration.g:1064:51: (iv_ruleModelEntry= ruleModelEntry EOF )
3334 // InternalApplicationConfiguration.g:1065:2: iv_ruleModelEntry= ruleModelEntry EOF
3335 {
3336 if ( state.backtracking==0 ) {
3337 newCompositeNode(grammarAccess.getModelEntryRule());
3338 }
3339 pushFollow(FOLLOW_1);
3340 iv_ruleModelEntry=ruleModelEntry();
3341
3342 state._fsp--;
3343 if (state.failed) return current;
3344 if ( state.backtracking==0 ) {
3345 current =iv_ruleModelEntry;
3346 }
3347 match(input,EOF,FOLLOW_2); if (state.failed) return current;
3348
3349 }
3350
3351 }
3352
3353 catch (RecognitionException re) {
3354 recover(input,re);
3355 appendSkippedTokens();
3356 }
3357 finally {
3358 }
3359 return current;
3360 }
3361 // $ANTLR end "entryRuleModelEntry"
3362
3363
3364 // $ANTLR start "ruleModelEntry"
3365 // InternalApplicationConfiguration.g:1071:1: ruleModelEntry returns [EObject current=null] : ( (lv_path_0_0= ruleFile ) ) ;
3366 public final EObject ruleModelEntry() throws RecognitionException {
3367 EObject current = null;
3368
3369 EObject lv_path_0_0 = null;
3370
3371
3372
3373 enterRule();
3374
3375 try {
3376 // InternalApplicationConfiguration.g:1077:2: ( ( (lv_path_0_0= ruleFile ) ) )
3377 // InternalApplicationConfiguration.g:1078:2: ( (lv_path_0_0= ruleFile ) )
3378 {
3379 // InternalApplicationConfiguration.g:1078:2: ( (lv_path_0_0= ruleFile ) )
3380 // InternalApplicationConfiguration.g:1079:3: (lv_path_0_0= ruleFile )
3381 {
3382 // InternalApplicationConfiguration.g:1079:3: (lv_path_0_0= ruleFile )
3383 // InternalApplicationConfiguration.g:1080:4: lv_path_0_0= ruleFile
3384 {
3385 if ( state.backtracking==0 ) {
3386
3387 newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0());
3388
3389 }
3390 pushFollow(FOLLOW_2);
3391 lv_path_0_0=ruleFile();
3392
3393 state._fsp--;
3394 if (state.failed) return current;
3395 if ( state.backtracking==0 ) {
3396
3397 if (current==null) {
3398 current = createModelElementForParent(grammarAccess.getModelEntryRule());
3399 }
3400 set(
3401 current,
3402 "path",
3403 lv_path_0_0,
3404 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
3405 afterParserOrEnumRuleCall();
3406
3407 }
3408
3409 }
3410
3411
3412 }
3413
3414
3415 }
3416
3417 if ( state.backtracking==0 ) {
3418
3419 leaveRule();
3420
3421 }
3422 }
3423
3424 catch (RecognitionException re) {
3425 recover(input,re);
3426 appendSkippedTokens();
3427 }
3428 finally {
3429 }
3430 return current;
3431 }
3432 // $ANTLR end "ruleModelEntry"
3433
3434
3435 // $ANTLR start "entryRuleFolderEntry"
3436 // InternalApplicationConfiguration.g:1100:1: entryRuleFolderEntry returns [EObject current=null] : iv_ruleFolderEntry= ruleFolderEntry EOF ;
3437 public final EObject entryRuleFolderEntry() throws RecognitionException {
3438 EObject current = null;
3439
3440 EObject iv_ruleFolderEntry = null;
3441
3442
3443 try {
3444 // InternalApplicationConfiguration.g:1100:52: (iv_ruleFolderEntry= ruleFolderEntry EOF )
3445 // InternalApplicationConfiguration.g:1101:2: iv_ruleFolderEntry= ruleFolderEntry EOF
3446 {
3447 if ( state.backtracking==0 ) {
3448 newCompositeNode(grammarAccess.getFolderEntryRule());
3449 }
3450 pushFollow(FOLLOW_1);
3451 iv_ruleFolderEntry=ruleFolderEntry();
3452
3453 state._fsp--;
3454 if (state.failed) return current;
3455 if ( state.backtracking==0 ) {
3456 current =iv_ruleFolderEntry;
3457 }
3458 match(input,EOF,FOLLOW_2); if (state.failed) return current;
3459
3460 }
3461
3462 }
3463
3464 catch (RecognitionException re) {
3465 recover(input,re);
3466 appendSkippedTokens();
3467 }
3468 finally {
3469 }
3470 return current;
3471 }
3472 // $ANTLR end "entryRuleFolderEntry"
3473
3474
3475 // $ANTLR start "ruleFolderEntry"
3476 // 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= '}' )? ) ;
3477 public final EObject ruleFolderEntry() throws RecognitionException {
3478 EObject current = null;
3479
3480 Token otherlv_0=null;
3481 Token otherlv_2=null;
3482 Token otherlv_3=null;
3483 Token otherlv_5=null;
3484 Token otherlv_7=null;
3485 EObject lv_path_1_0 = null;
3486
3487 EObject lv_exclusion_4_0 = null;
3488
3489 EObject lv_exclusion_6_0 = null;
3490
3491
3492
3493 enterRule();
3494
3495 try {
3496 // 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= '}' )? ) )
3497 // 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= '}' )? )
3498 {
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= '}' )? )
3500 // 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= '}' )?
3501 {
3502 otherlv_0=(Token)match(input,24,FOLLOW_18); if (state.failed) return current;
3503 if ( state.backtracking==0 ) {
3504
3505 newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0());
3506
3507 }
3508 // InternalApplicationConfiguration.g:1119:3: ( (lv_path_1_0= ruleFile ) )
3509 // InternalApplicationConfiguration.g:1120:4: (lv_path_1_0= ruleFile )
3510 {
3511 // InternalApplicationConfiguration.g:1120:4: (lv_path_1_0= ruleFile )
3512 // InternalApplicationConfiguration.g:1121:5: lv_path_1_0= ruleFile
3513 {
3514 if ( state.backtracking==0 ) {
3515
3516 newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0());
3517
3518 }
3519 pushFollow(FOLLOW_13);
3520 lv_path_1_0=ruleFile();
3521
3522 state._fsp--;
3523 if (state.failed) return current;
3524 if ( state.backtracking==0 ) {
3525
3526 if (current==null) {
3527 current = createModelElementForParent(grammarAccess.getFolderEntryRule());
3528 }
3529 set(
3530 current,
3531 "path",
3532 lv_path_1_0,
3533 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
3534 afterParserOrEnumRuleCall();
3535
3536 }
3537
3538 }
3539
3540
3541 }
3542
3543 // InternalApplicationConfiguration.g:1138:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )?
3544 int alt18=2;
3545 int LA18_0 = input.LA(1);
3546
3547 if ( (LA18_0==21) ) {
3548 alt18=1;
3549 }
3550 switch (alt18) {
3551 case 1 :
3552 // InternalApplicationConfiguration.g:1139:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}'
3553 {
3554 otherlv_2=(Token)match(input,21,FOLLOW_14); if (state.failed) return current;
3555 if ( state.backtracking==0 ) {
3556
3557 newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0());
3558
3559 }
3560 otherlv_3=(Token)match(input,17,FOLLOW_18); if (state.failed) return current;
3561 if ( state.backtracking==0 ) {
3562
3563 newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1());
3564
3565 }
3566 // InternalApplicationConfiguration.g:1147:4: ( (lv_exclusion_4_0= ruleModelEntry ) )
3567 // InternalApplicationConfiguration.g:1148:5: (lv_exclusion_4_0= ruleModelEntry )
3568 {
3569 // InternalApplicationConfiguration.g:1148:5: (lv_exclusion_4_0= ruleModelEntry )
3570 // InternalApplicationConfiguration.g:1149:6: lv_exclusion_4_0= ruleModelEntry
3571 {
3572 if ( state.backtracking==0 ) {
3573
3574 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0());
3575
3576 }
3577 pushFollow(FOLLOW_12);
3578 lv_exclusion_4_0=ruleModelEntry();
3579
3580 state._fsp--;
3581 if (state.failed) return current;
3582 if ( state.backtracking==0 ) {
3583
3584 if (current==null) {
3585 current = createModelElementForParent(grammarAccess.getFolderEntryRule());
3586 }
3587 add(
3588 current,
3589 "exclusion",
3590 lv_exclusion_4_0,
3591 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry");
3592 afterParserOrEnumRuleCall();
3593
3594 }
3595
3596 }
3597
3598
3599 }
3600
3601 // InternalApplicationConfiguration.g:1166:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )*
3602 loop17:
3603 do {
3604 int alt17=2;
3605 int LA17_0 = input.LA(1);
3606
3607 if ( (LA17_0==18) ) {
3608 alt17=1;
3609 }
3610
3611
3612 switch (alt17) {
3613 case 1 :
3614 // InternalApplicationConfiguration.g:1167:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) )
3615 {
3616 otherlv_5=(Token)match(input,18,FOLLOW_18); if (state.failed) return current;
3617 if ( state.backtracking==0 ) {
3618
3619 newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0());
3620
3621 }
3622 // InternalApplicationConfiguration.g:1171:5: ( (lv_exclusion_6_0= ruleModelEntry ) )
3623 // InternalApplicationConfiguration.g:1172:6: (lv_exclusion_6_0= ruleModelEntry )
3624 {
3625 // InternalApplicationConfiguration.g:1172:6: (lv_exclusion_6_0= ruleModelEntry )
3626 // InternalApplicationConfiguration.g:1173:7: lv_exclusion_6_0= ruleModelEntry
3627 {
3628 if ( state.backtracking==0 ) {
3629
3630 newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0());
3631
3632 }
3633 pushFollow(FOLLOW_12);
3634 lv_exclusion_6_0=ruleModelEntry();
3635
3636 state._fsp--;
3637 if (state.failed) return current;
3638 if ( state.backtracking==0 ) {
3639
3640 if (current==null) {
3641 current = createModelElementForParent(grammarAccess.getFolderEntryRule());
3642 }
3643 add(
3644 current,
3645 "exclusion",
3646 lv_exclusion_6_0,
3647 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry");
3648 afterParserOrEnumRuleCall();
3649
3650 }
3651
3652 }
3653
3654
3655 }
3656
3657
3658 }
3659 break;
3660
3661 default :
3662 break loop17;
3663 }
3664 } while (true);
3665
3666 otherlv_7=(Token)match(input,19,FOLLOW_2); if (state.failed) return current;
3667 if ( state.backtracking==0 ) {
3668
3669 newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4());
3670
3671 }
3672
3673 }
3674 break;
3675
3676 }
3677
3678
3679 }
3680
3681
3682 }
3683
3684 if ( state.backtracking==0 ) {
3685
3686 leaveRule();
3687
3688 }
3689 }
3690
3691 catch (RecognitionException re) {
3692 recover(input,re);
3693 appendSkippedTokens();
3694 }
3695 finally {
3696 }
3697 return current;
3698 }
3699 // $ANTLR end "ruleFolderEntry"
3700
3701
3702 // $ANTLR start "entryRulePartialModelDeclaration"
3703 // InternalApplicationConfiguration.g:1200:1: entryRulePartialModelDeclaration returns [EObject current=null] : iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ;
3704 public final EObject entryRulePartialModelDeclaration() throws RecognitionException {
3705 EObject current = null;
3706
3707 EObject iv_rulePartialModelDeclaration = null;
3708
3709
3710 try {
3711 // InternalApplicationConfiguration.g:1200:64: (iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF )
3712 // InternalApplicationConfiguration.g:1201:2: iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF
3713 {
3714 if ( state.backtracking==0 ) {
3715 newCompositeNode(grammarAccess.getPartialModelDeclarationRule());
3716 }
3717 pushFollow(FOLLOW_1);
3718 iv_rulePartialModelDeclaration=rulePartialModelDeclaration();
3719
3720 state._fsp--;
3721 if (state.failed) return current;
3722 if ( state.backtracking==0 ) {
3723 current =iv_rulePartialModelDeclaration;
3724 }
3725 match(input,EOF,FOLLOW_2); if (state.failed) return current;
3726
3727 }
3728
3729 }
3730
3731 catch (RecognitionException re) {
3732 recover(input,re);
3733 appendSkippedTokens();
3734 }
3735 finally {
3736 }
3737 return current;
3738 }
3739 // $ANTLR end "entryRulePartialModelDeclaration"
3740
3741
3742 // $ANTLR start "rulePartialModelDeclaration"
3743 // InternalApplicationConfiguration.g:1207:1: rulePartialModelDeclaration returns [EObject current=null] : (otherlv_0= 'partial-model' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ;
3744 public final EObject rulePartialModelDeclaration() throws RecognitionException {
3745 EObject current = null;
3746
3747 Token otherlv_0=null;
3748 Token lv_name_1_0=null;
3749 EObject lv_specification_2_0 = null;
3750
3751
3752
3753 enterRule();
3754
3755 try {
3756 // InternalApplicationConfiguration.g:1213:2: ( (otherlv_0= 'partial-model' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) )
3757 // InternalApplicationConfiguration.g:1214:2: (otherlv_0= 'partial-model' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) )
3758 {
3759 // InternalApplicationConfiguration.g:1214:2: (otherlv_0= 'partial-model' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) )
3760 // InternalApplicationConfiguration.g:1215:3: otherlv_0= 'partial-model' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) )
3761 {
3762 otherlv_0=(Token)match(input,25,FOLLOW_6); if (state.failed) return current;
3763 if ( state.backtracking==0 ) {
3764
3765 newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getPartialModelKeyword_0());
3766
3767 }
3768 // InternalApplicationConfiguration.g:1219:3: ( (lv_name_1_0= RULE_ID ) )
3769 // InternalApplicationConfiguration.g:1220:4: (lv_name_1_0= RULE_ID )
3770 {
3771 // InternalApplicationConfiguration.g:1220:4: (lv_name_1_0= RULE_ID )
3772 // InternalApplicationConfiguration.g:1221:5: lv_name_1_0= RULE_ID
3773 {
3774 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current;
3775 if ( state.backtracking==0 ) {
3776
3777 newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0());
3778
3779 }
3780 if ( state.backtracking==0 ) {
3781
3782 if (current==null) {
3783 current = createModelElement(grammarAccess.getPartialModelDeclarationRule());
3784 }
3785 setWithLastConsumed(
3786 current,
3787 "name",
3788 lv_name_1_0,
3789 "org.eclipse.xtext.common.Terminals.ID");
3790
3791 }
3792
3793 }
3794
3795
3796 }
3797
3798 // InternalApplicationConfiguration.g:1237:3: ( (lv_specification_2_0= rulePartialModelSpecification ) )
3799 // InternalApplicationConfiguration.g:1238:4: (lv_specification_2_0= rulePartialModelSpecification )
3800 {
3801 // InternalApplicationConfiguration.g:1238:4: (lv_specification_2_0= rulePartialModelSpecification )
3802 // InternalApplicationConfiguration.g:1239:5: lv_specification_2_0= rulePartialModelSpecification
3803 {
3804 if ( state.backtracking==0 ) {
3805
3806 newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0());
3807
3808 }
3809 pushFollow(FOLLOW_2);
3810 lv_specification_2_0=rulePartialModelSpecification();
3811
3812 state._fsp--;
3813 if (state.failed) return current;
3814 if ( state.backtracking==0 ) {
3815
3816 if (current==null) {
3817 current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule());
3818 }
3819 set(
3820 current,
3821 "specification",
3822 lv_specification_2_0,
3823 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification");
3824 afterParserOrEnumRuleCall();
3825
3826 }
3827
3828 }
3829
3830
3831 }
3832
3833
3834 }
3835
3836
3837 }
3838
3839 if ( state.backtracking==0 ) {
3840
3841 leaveRule();
3842
3843 }
3844 }
3845
3846 catch (RecognitionException re) {
3847 recover(input,re);
3848 appendSkippedTokens();
3849 }
3850 finally {
3851 }
3852 return current;
3853 }
3854 // $ANTLR end "rulePartialModelDeclaration"
3855
3856
3857 // $ANTLR start "entryRulePartialModelReference"
3858 // InternalApplicationConfiguration.g:1260:1: entryRulePartialModelReference returns [EObject current=null] : iv_rulePartialModelReference= rulePartialModelReference EOF ;
3859 public final EObject entryRulePartialModelReference() throws RecognitionException {
3860 EObject current = null;
3861
3862 EObject iv_rulePartialModelReference = null;
3863
3864
3865 try {
3866 // InternalApplicationConfiguration.g:1260:62: (iv_rulePartialModelReference= rulePartialModelReference EOF )
3867 // InternalApplicationConfiguration.g:1261:2: iv_rulePartialModelReference= rulePartialModelReference EOF
3868 {
3869 if ( state.backtracking==0 ) {
3870 newCompositeNode(grammarAccess.getPartialModelReferenceRule());
3871 }
3872 pushFollow(FOLLOW_1);
3873 iv_rulePartialModelReference=rulePartialModelReference();
3874
3875 state._fsp--;
3876 if (state.failed) return current;
3877 if ( state.backtracking==0 ) {
3878 current =iv_rulePartialModelReference;
3879 }
3880 match(input,EOF,FOLLOW_2); if (state.failed) return current;
3881
3882 }
3883
3884 }
3885
3886 catch (RecognitionException re) {
3887 recover(input,re);
3888 appendSkippedTokens();
3889 }
3890 finally {
3891 }
3892 return current;
3893 }
3894 // $ANTLR end "entryRulePartialModelReference"
3895
3896
3897 // $ANTLR start "rulePartialModelReference"
3898 // InternalApplicationConfiguration.g:1267:1: rulePartialModelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
3899 public final EObject rulePartialModelReference() throws RecognitionException {
3900 EObject current = null;
3901
3902 Token otherlv_0=null;
3903
3904
3905 enterRule();
3906
3907 try {
3908 // InternalApplicationConfiguration.g:1273:2: ( ( (otherlv_0= RULE_ID ) ) )
3909 // InternalApplicationConfiguration.g:1274:2: ( (otherlv_0= RULE_ID ) )
3910 {
3911 // InternalApplicationConfiguration.g:1274:2: ( (otherlv_0= RULE_ID ) )
3912 // InternalApplicationConfiguration.g:1275:3: (otherlv_0= RULE_ID )
3913 {
3914 // InternalApplicationConfiguration.g:1275:3: (otherlv_0= RULE_ID )
3915 // InternalApplicationConfiguration.g:1276:4: otherlv_0= RULE_ID
3916 {
3917 if ( state.backtracking==0 ) {
3918
3919 if (current==null) {
3920 current = createModelElement(grammarAccess.getPartialModelReferenceRule());
3921 }
3922
3923 }
3924 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
3925 if ( state.backtracking==0 ) {
3926
3927 newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0());
3928
3929 }
3930
3931 }
3932
3933
3934 }
3935
3936
3937 }
3938
3939 if ( state.backtracking==0 ) {
3940
3941 leaveRule();
3942
3943 }
3944 }
3945
3946 catch (RecognitionException re) {
3947 recover(input,re);
3948 appendSkippedTokens();
3949 }
3950 finally {
3951 }
3952 return current;
3953 }
3954 // $ANTLR end "rulePartialModelReference"
3955
3956
3957 // $ANTLR start "entryRulePartialModel"
3958 // InternalApplicationConfiguration.g:1290:1: entryRulePartialModel returns [EObject current=null] : iv_rulePartialModel= rulePartialModel EOF ;
3959 public final EObject entryRulePartialModel() throws RecognitionException {
3960 EObject current = null;
3961
3962 EObject iv_rulePartialModel = null;
3963
3964
3965 try {
3966 // InternalApplicationConfiguration.g:1290:53: (iv_rulePartialModel= rulePartialModel EOF )
3967 // InternalApplicationConfiguration.g:1291:2: iv_rulePartialModel= rulePartialModel EOF
3968 {
3969 if ( state.backtracking==0 ) {
3970 newCompositeNode(grammarAccess.getPartialModelRule());
3971 }
3972 pushFollow(FOLLOW_1);
3973 iv_rulePartialModel=rulePartialModel();
3974
3975 state._fsp--;
3976 if (state.failed) return current;
3977 if ( state.backtracking==0 ) {
3978 current =iv_rulePartialModel;
3979 }
3980 match(input,EOF,FOLLOW_2); if (state.failed) return current;
3981
3982 }
3983
3984 }
3985
3986 catch (RecognitionException re) {
3987 recover(input,re);
3988 appendSkippedTokens();
3989 }
3990 finally {
3991 }
3992 return current;
3993 }
3994 // $ANTLR end "entryRulePartialModel"
3995
3996
3997 // $ANTLR start "rulePartialModel"
3998 // InternalApplicationConfiguration.g:1297:1: rulePartialModel returns [EObject current=null] : (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ;
3999 public final EObject rulePartialModel() throws RecognitionException {
4000 EObject current = null;
4001
4002 EObject this_PartialModelSpecification_0 = null;
4003
4004 EObject this_PartialModelReference_1 = null;
4005
4006
4007
4008 enterRule();
4009
4010 try {
4011 // InternalApplicationConfiguration.g:1303:2: ( (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) )
4012 // InternalApplicationConfiguration.g:1304:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference )
4013 {
4014 // InternalApplicationConfiguration.g:1304:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference )
4015 int alt19=2;
4016 int LA19_0 = input.LA(1);
4017
4018 if ( (LA19_0==17) ) {
4019 alt19=1;
4020 }
4021 else if ( (LA19_0==RULE_ID) ) {
4022 alt19=2;
4023 }
4024 else {
4025 if (state.backtracking>0) {state.failed=true; return current;}
4026 NoViableAltException nvae =
4027 new NoViableAltException("", 19, 0, input);
4028
4029 throw nvae;
4030 }
4031 switch (alt19) {
4032 case 1 :
4033 // InternalApplicationConfiguration.g:1305:3: this_PartialModelSpecification_0= rulePartialModelSpecification
4034 {
4035 if ( state.backtracking==0 ) {
4036
4037 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0());
4038
4039 }
4040 pushFollow(FOLLOW_2);
4041 this_PartialModelSpecification_0=rulePartialModelSpecification();
4042
4043 state._fsp--;
4044 if (state.failed) return current;
4045 if ( state.backtracking==0 ) {
4046
4047 current = this_PartialModelSpecification_0;
4048 afterParserOrEnumRuleCall();
4049
4050 }
4051
4052 }
4053 break;
4054 case 2 :
4055 // InternalApplicationConfiguration.g:1314:3: this_PartialModelReference_1= rulePartialModelReference
4056 {
4057 if ( state.backtracking==0 ) {
4058
4059 newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1());
4060
4061 }
4062 pushFollow(FOLLOW_2);
4063 this_PartialModelReference_1=rulePartialModelReference();
4064
4065 state._fsp--;
4066 if (state.failed) return current;
4067 if ( state.backtracking==0 ) {
4068
4069 current = this_PartialModelReference_1;
4070 afterParserOrEnumRuleCall();
4071
4072 }
4073
4074 }
4075 break;
4076
4077 }
4078
4079
4080 }
4081
4082 if ( state.backtracking==0 ) {
4083
4084 leaveRule();
4085
4086 }
4087 }
4088
4089 catch (RecognitionException re) {
4090 recover(input,re);
4091 appendSkippedTokens();
4092 }
4093 finally {
4094 }
4095 return current;
4096 }
4097 // $ANTLR end "rulePartialModel"
4098
4099
4100 // $ANTLR start "entryRulePatternSpecification"
4101 // InternalApplicationConfiguration.g:1326:1: entryRulePatternSpecification returns [EObject current=null] : iv_rulePatternSpecification= rulePatternSpecification EOF ;
4102 public final EObject entryRulePatternSpecification() throws RecognitionException {
4103 EObject current = null;
4104
4105 EObject iv_rulePatternSpecification = null;
4106
4107
4108 try {
4109 // InternalApplicationConfiguration.g:1326:61: (iv_rulePatternSpecification= rulePatternSpecification EOF )
4110 // InternalApplicationConfiguration.g:1327:2: iv_rulePatternSpecification= rulePatternSpecification EOF
4111 {
4112 if ( state.backtracking==0 ) {
4113 newCompositeNode(grammarAccess.getPatternSpecificationRule());
4114 }
4115 pushFollow(FOLLOW_1);
4116 iv_rulePatternSpecification=rulePatternSpecification();
4117
4118 state._fsp--;
4119 if (state.failed) return current;
4120 if ( state.backtracking==0 ) {
4121 current =iv_rulePatternSpecification;
4122 }
4123 match(input,EOF,FOLLOW_2); if (state.failed) return current;
4124
4125 }
4126
4127 }
4128
4129 catch (RecognitionException re) {
4130 recover(input,re);
4131 appendSkippedTokens();
4132 }
4133 finally {
4134 }
4135 return current;
4136 }
4137 // $ANTLR end "entryRulePatternSpecification"
4138
4139
4140 // $ANTLR start "rulePatternSpecification"
4141 // 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= '}' ) ;
4142 public final EObject rulePatternSpecification() throws RecognitionException {
4143 EObject current = null;
4144
4145 Token otherlv_0=null;
4146 Token otherlv_2=null;
4147 Token otherlv_4=null;
4148 EObject lv_entries_1_0 = null;
4149
4150 EObject lv_entries_3_0 = null;
4151
4152
4153
4154 enterRule();
4155
4156 try {
4157 // InternalApplicationConfiguration.g:1339:2: ( (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) )
4158 // InternalApplicationConfiguration.g:1340:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' )
4159 {
4160 // InternalApplicationConfiguration.g:1340:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' )
4161 // InternalApplicationConfiguration.g:1341:3: otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}'
4162 {
4163 otherlv_0=(Token)match(input,17,FOLLOW_11); if (state.failed) return current;
4164 if ( state.backtracking==0 ) {
4165
4166 newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0());
4167
4168 }
4169 // InternalApplicationConfiguration.g:1345:3: ( (lv_entries_1_0= rulePatternEntry ) )
4170 // InternalApplicationConfiguration.g:1346:4: (lv_entries_1_0= rulePatternEntry )
4171 {
4172 // InternalApplicationConfiguration.g:1346:4: (lv_entries_1_0= rulePatternEntry )
4173 // InternalApplicationConfiguration.g:1347:5: lv_entries_1_0= rulePatternEntry
4174 {
4175 if ( state.backtracking==0 ) {
4176
4177 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0());
4178
4179 }
4180 pushFollow(FOLLOW_12);
4181 lv_entries_1_0=rulePatternEntry();
4182
4183 state._fsp--;
4184 if (state.failed) return current;
4185 if ( state.backtracking==0 ) {
4186
4187 if (current==null) {
4188 current = createModelElementForParent(grammarAccess.getPatternSpecificationRule());
4189 }
4190 add(
4191 current,
4192 "entries",
4193 lv_entries_1_0,
4194 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry");
4195 afterParserOrEnumRuleCall();
4196
4197 }
4198
4199 }
4200
4201
4202 }
4203
4204 // InternalApplicationConfiguration.g:1364:3: (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )*
4205 loop20:
4206 do {
4207 int alt20=2;
4208 int LA20_0 = input.LA(1);
4209
4210 if ( (LA20_0==18) ) {
4211 alt20=1;
4212 }
4213
4214
4215 switch (alt20) {
4216 case 1 :
4217 // InternalApplicationConfiguration.g:1365:4: otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) )
4218 {
4219 otherlv_2=(Token)match(input,18,FOLLOW_11); if (state.failed) return current;
4220 if ( state.backtracking==0 ) {
4221
4222 newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0());
4223
4224 }
4225 // InternalApplicationConfiguration.g:1369:4: ( (lv_entries_3_0= rulePatternEntry ) )
4226 // InternalApplicationConfiguration.g:1370:5: (lv_entries_3_0= rulePatternEntry )
4227 {
4228 // InternalApplicationConfiguration.g:1370:5: (lv_entries_3_0= rulePatternEntry )
4229 // InternalApplicationConfiguration.g:1371:6: lv_entries_3_0= rulePatternEntry
4230 {
4231 if ( state.backtracking==0 ) {
4232
4233 newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0());
4234
4235 }
4236 pushFollow(FOLLOW_12);
4237 lv_entries_3_0=rulePatternEntry();
4238
4239 state._fsp--;
4240 if (state.failed) return current;
4241 if ( state.backtracking==0 ) {
4242
4243 if (current==null) {
4244 current = createModelElementForParent(grammarAccess.getPatternSpecificationRule());
4245 }
4246 add(
4247 current,
4248 "entries",
4249 lv_entries_3_0,
4250 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry");
4251 afterParserOrEnumRuleCall();
4252
4253 }
4254
4255 }
4256
4257
4258 }
4259
4260
4261 }
4262 break;
4263
4264 default :
4265 break loop20;
4266 }
4267 } while (true);
4268
4269 otherlv_4=(Token)match(input,19,FOLLOW_2); if (state.failed) return current;
4270 if ( state.backtracking==0 ) {
4271
4272 newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3());
4273
4274 }
4275
4276 }
4277
4278
4279 }
4280
4281 if ( state.backtracking==0 ) {
4282
4283 leaveRule();
4284
4285 }
4286 }
4287
4288 catch (RecognitionException re) {
4289 recover(input,re);
4290 appendSkippedTokens();
4291 }
4292 finally {
4293 }
4294 return current;
4295 }
4296 // $ANTLR end "rulePatternSpecification"
4297
4298
4299 // $ANTLR start "entryRulePatternEntry"
4300 // InternalApplicationConfiguration.g:1397:1: entryRulePatternEntry returns [EObject current=null] : iv_rulePatternEntry= rulePatternEntry EOF ;
4301 public final EObject entryRulePatternEntry() throws RecognitionException {
4302 EObject current = null;
4303
4304 EObject iv_rulePatternEntry = null;
4305
4306
4307 try {
4308 // InternalApplicationConfiguration.g:1397:53: (iv_rulePatternEntry= rulePatternEntry EOF )
4309 // InternalApplicationConfiguration.g:1398:2: iv_rulePatternEntry= rulePatternEntry EOF
4310 {
4311 if ( state.backtracking==0 ) {
4312 newCompositeNode(grammarAccess.getPatternEntryRule());
4313 }
4314 pushFollow(FOLLOW_1);
4315 iv_rulePatternEntry=rulePatternEntry();
4316
4317 state._fsp--;
4318 if (state.failed) return current;
4319 if ( state.backtracking==0 ) {
4320 current =iv_rulePatternEntry;
4321 }
4322 match(input,EOF,FOLLOW_2); if (state.failed) return current;
4323
4324 }
4325
4326 }
4327
4328 catch (RecognitionException re) {
4329 recover(input,re);
4330 appendSkippedTokens();
4331 }
4332 finally {
4333 }
4334 return current;
4335 }
4336 // $ANTLR end "entryRulePatternEntry"
4337
4338
4339 // $ANTLR start "rulePatternEntry"
4340 // InternalApplicationConfiguration.g:1404:1: rulePatternEntry returns [EObject current=null] : (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ;
4341 public final EObject rulePatternEntry() throws RecognitionException {
4342 EObject current = null;
4343
4344 EObject this_PatternElement_0 = null;
4345
4346 EObject this_AllPatternEntry_1 = null;
4347
4348
4349
4350 enterRule();
4351
4352 try {
4353 // InternalApplicationConfiguration.g:1410:2: ( (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) )
4354 // InternalApplicationConfiguration.g:1411:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry )
4355 {
4356 // InternalApplicationConfiguration.g:1411:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry )
4357 int alt21=2;
4358 int LA21_0 = input.LA(1);
4359
4360 if ( (LA21_0==RULE_ID) ) {
4361 alt21=1;
4362 }
4363 else if ( (LA21_0==20) ) {
4364 alt21=2;
4365 }
4366 else {
4367 if (state.backtracking>0) {state.failed=true; return current;}
4368 NoViableAltException nvae =
4369 new NoViableAltException("", 21, 0, input);
4370
4371 throw nvae;
4372 }
4373 switch (alt21) {
4374 case 1 :
4375 // InternalApplicationConfiguration.g:1412:3: this_PatternElement_0= rulePatternElement
4376 {
4377 if ( state.backtracking==0 ) {
4378
4379 newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0());
4380
4381 }
4382 pushFollow(FOLLOW_2);
4383 this_PatternElement_0=rulePatternElement();
4384
4385 state._fsp--;
4386 if (state.failed) return current;
4387 if ( state.backtracking==0 ) {
4388
4389 current = this_PatternElement_0;
4390 afterParserOrEnumRuleCall();
4391
4392 }
4393
4394 }
4395 break;
4396 case 2 :
4397 // InternalApplicationConfiguration.g:1421:3: this_AllPatternEntry_1= ruleAllPatternEntry
4398 {
4399 if ( state.backtracking==0 ) {
4400
4401 newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1());
4402
4403 }
4404 pushFollow(FOLLOW_2);
4405 this_AllPatternEntry_1=ruleAllPatternEntry();
4406
4407 state._fsp--;
4408 if (state.failed) return current;
4409 if ( state.backtracking==0 ) {
4410
4411 current = this_AllPatternEntry_1;
4412 afterParserOrEnumRuleCall();
4413
4414 }
4415
4416 }
4417 break;
4418
4419 }
4420
4421
4422 }
4423
4424 if ( state.backtracking==0 ) {
4425
4426 leaveRule();
4427
4428 }
4429 }
4430
4431 catch (RecognitionException re) {
4432 recover(input,re);
4433 appendSkippedTokens();
4434 }
4435 finally {
4436 }
4437 return current;
4438 }
4439 // $ANTLR end "rulePatternEntry"
4440
4441
4442 // $ANTLR start "entryRuleAllPatternEntry"
4443 // InternalApplicationConfiguration.g:1433:1: entryRuleAllPatternEntry returns [EObject current=null] : iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ;
4444 public final EObject entryRuleAllPatternEntry() throws RecognitionException {
4445 EObject current = null;
4446
4447 EObject iv_ruleAllPatternEntry = null;
4448
4449
4450 try {
4451 // InternalApplicationConfiguration.g:1433:56: (iv_ruleAllPatternEntry= ruleAllPatternEntry EOF )
4452 // InternalApplicationConfiguration.g:1434:2: iv_ruleAllPatternEntry= ruleAllPatternEntry EOF
4453 {
4454 if ( state.backtracking==0 ) {
4455 newCompositeNode(grammarAccess.getAllPatternEntryRule());
4456 }
4457 pushFollow(FOLLOW_1);
4458 iv_ruleAllPatternEntry=ruleAllPatternEntry();
4459
4460 state._fsp--;
4461 if (state.failed) return current;
4462 if ( state.backtracking==0 ) {
4463 current =iv_ruleAllPatternEntry;
4464 }
4465 match(input,EOF,FOLLOW_2); if (state.failed) return current;
4466
4467 }
4468
4469 }
4470
4471 catch (RecognitionException re) {
4472 recover(input,re);
4473 appendSkippedTokens();
4474 }
4475 finally {
4476 }
4477 return current;
4478 }
4479 // $ANTLR end "entryRuleAllPatternEntry"
4480
4481
4482 // $ANTLR start "ruleAllPatternEntry"
4483 // 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= '}' )? ) ;
4484 public final EObject ruleAllPatternEntry() throws RecognitionException {
4485 EObject current = null;
4486
4487 Token otherlv_0=null;
4488 Token otherlv_2=null;
4489 Token otherlv_3=null;
4490 Token otherlv_5=null;
4491 Token otherlv_7=null;
4492 EObject lv_exclusuion_4_0 = null;
4493
4494 EObject lv_exclusuion_6_0 = null;
4495
4496
4497
4498 enterRule();
4499
4500 try {
4501 // 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= '}' )? ) )
4502 // 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= '}' )? )
4503 {
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= '}' )? )
4505 // 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= '}' )?
4506 {
4507 otherlv_0=(Token)match(input,20,FOLLOW_6); if (state.failed) return current;
4508 if ( state.backtracking==0 ) {
4509
4510 newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0());
4511
4512 }
4513 // InternalApplicationConfiguration.g:1452:3: ( ( ruleQualifiedName ) )
4514 // InternalApplicationConfiguration.g:1453:4: ( ruleQualifiedName )
4515 {
4516 // InternalApplicationConfiguration.g:1453:4: ( ruleQualifiedName )
4517 // InternalApplicationConfiguration.g:1454:5: ruleQualifiedName
4518 {
4519 if ( state.backtracking==0 ) {
4520
4521 if (current==null) {
4522 current = createModelElement(grammarAccess.getAllPatternEntryRule());
4523 }
4524
4525 }
4526 if ( state.backtracking==0 ) {
4527
4528 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0());
4529
4530 }
4531 pushFollow(FOLLOW_13);
4532 ruleQualifiedName();
4533
4534 state._fsp--;
4535 if (state.failed) return current;
4536 if ( state.backtracking==0 ) {
4537
4538 afterParserOrEnumRuleCall();
4539
4540 }
4541
4542 }
4543
4544
4545 }
4546
4547 // InternalApplicationConfiguration.g:1468:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )?
4548 int alt23=2;
4549 int LA23_0 = input.LA(1);
4550
4551 if ( (LA23_0==21) ) {
4552 alt23=1;
4553 }
4554 switch (alt23) {
4555 case 1 :
4556 // InternalApplicationConfiguration.g:1469:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}'
4557 {
4558 otherlv_2=(Token)match(input,21,FOLLOW_14); if (state.failed) return current;
4559 if ( state.backtracking==0 ) {
4560
4561 newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0());
4562
4563 }
4564 otherlv_3=(Token)match(input,17,FOLLOW_6); if (state.failed) return current;
4565 if ( state.backtracking==0 ) {
4566
4567 newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1());
4568
4569 }
4570 // InternalApplicationConfiguration.g:1477:4: ( (lv_exclusuion_4_0= rulePatternElement ) )
4571 // InternalApplicationConfiguration.g:1478:5: (lv_exclusuion_4_0= rulePatternElement )
4572 {
4573 // InternalApplicationConfiguration.g:1478:5: (lv_exclusuion_4_0= rulePatternElement )
4574 // InternalApplicationConfiguration.g:1479:6: lv_exclusuion_4_0= rulePatternElement
4575 {
4576 if ( state.backtracking==0 ) {
4577
4578 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0());
4579
4580 }
4581 pushFollow(FOLLOW_12);
4582 lv_exclusuion_4_0=rulePatternElement();
4583
4584 state._fsp--;
4585 if (state.failed) return current;
4586 if ( state.backtracking==0 ) {
4587
4588 if (current==null) {
4589 current = createModelElementForParent(grammarAccess.getAllPatternEntryRule());
4590 }
4591 add(
4592 current,
4593 "exclusuion",
4594 lv_exclusuion_4_0,
4595 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement");
4596 afterParserOrEnumRuleCall();
4597
4598 }
4599
4600 }
4601
4602
4603 }
4604
4605 // InternalApplicationConfiguration.g:1496:4: (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )*
4606 loop22:
4607 do {
4608 int alt22=2;
4609 int LA22_0 = input.LA(1);
4610
4611 if ( (LA22_0==18) ) {
4612 alt22=1;
4613 }
4614
4615
4616 switch (alt22) {
4617 case 1 :
4618 // InternalApplicationConfiguration.g:1497:5: otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) )
4619 {
4620 otherlv_5=(Token)match(input,18,FOLLOW_6); if (state.failed) return current;
4621 if ( state.backtracking==0 ) {
4622
4623 newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0());
4624
4625 }
4626 // InternalApplicationConfiguration.g:1501:5: ( (lv_exclusuion_6_0= rulePatternElement ) )
4627 // InternalApplicationConfiguration.g:1502:6: (lv_exclusuion_6_0= rulePatternElement )
4628 {
4629 // InternalApplicationConfiguration.g:1502:6: (lv_exclusuion_6_0= rulePatternElement )
4630 // InternalApplicationConfiguration.g:1503:7: lv_exclusuion_6_0= rulePatternElement
4631 {
4632 if ( state.backtracking==0 ) {
4633
4634 newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0());
4635
4636 }
4637 pushFollow(FOLLOW_12);
4638 lv_exclusuion_6_0=rulePatternElement();
4639
4640 state._fsp--;
4641 if (state.failed) return current;
4642 if ( state.backtracking==0 ) {
4643
4644 if (current==null) {
4645 current = createModelElementForParent(grammarAccess.getAllPatternEntryRule());
4646 }
4647 add(
4648 current,
4649 "exclusuion",
4650 lv_exclusuion_6_0,
4651 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement");
4652 afterParserOrEnumRuleCall();
4653
4654 }
4655
4656 }
4657
4658
4659 }
4660
4661
4662 }
4663 break;
4664
4665 default :
4666 break loop22;
4667 }
4668 } while (true);
4669
4670 otherlv_7=(Token)match(input,19,FOLLOW_2); if (state.failed) return current;
4671 if ( state.backtracking==0 ) {
4672
4673 newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4());
4674
4675 }
4676
4677 }
4678 break;
4679
4680 }
4681
4682
4683 }
4684
4685
4686 }
4687
4688 if ( state.backtracking==0 ) {
4689
4690 leaveRule();
4691
4692 }
4693 }
4694
4695 catch (RecognitionException re) {
4696 recover(input,re);
4697 appendSkippedTokens();
4698 }
4699 finally {
4700 }
4701 return current;
4702 }
4703 // $ANTLR end "ruleAllPatternEntry"
4704
4705
4706 // $ANTLR start "entryRulePatternElement"
4707 // InternalApplicationConfiguration.g:1530:1: entryRulePatternElement returns [EObject current=null] : iv_rulePatternElement= rulePatternElement EOF ;
4708 public final EObject entryRulePatternElement() throws RecognitionException {
4709 EObject current = null;
4710
4711 EObject iv_rulePatternElement = null;
4712
4713
4714 try {
4715 // InternalApplicationConfiguration.g:1530:55: (iv_rulePatternElement= rulePatternElement EOF )
4716 // InternalApplicationConfiguration.g:1531:2: iv_rulePatternElement= rulePatternElement EOF
4717 {
4718 if ( state.backtracking==0 ) {
4719 newCompositeNode(grammarAccess.getPatternElementRule());
4720 }
4721 pushFollow(FOLLOW_1);
4722 iv_rulePatternElement=rulePatternElement();
4723
4724 state._fsp--;
4725 if (state.failed) return current;
4726 if ( state.backtracking==0 ) {
4727 current =iv_rulePatternElement;
4728 }
4729 match(input,EOF,FOLLOW_2); if (state.failed) return current;
4730
4731 }
4732
4733 }
4734
4735 catch (RecognitionException re) {
4736 recover(input,re);
4737 appendSkippedTokens();
4738 }
4739 finally {
4740 }
4741 return current;
4742 }
4743 // $ANTLR end "entryRulePatternElement"
4744
4745
4746 // $ANTLR start "rulePatternElement"
4747 // InternalApplicationConfiguration.g:1537:1: rulePatternElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ;
4748 public final EObject rulePatternElement() throws RecognitionException {
4749 EObject current = null;
4750
4751 Token otherlv_1=null;
4752 Token otherlv_2=null;
4753
4754
4755 enterRule();
4756
4757 try {
4758 // InternalApplicationConfiguration.g:1543:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) )
4759 // InternalApplicationConfiguration.g:1544:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) )
4760 {
4761 // InternalApplicationConfiguration.g:1544:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) )
4762 // InternalApplicationConfiguration.g:1545:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) )
4763 {
4764 // InternalApplicationConfiguration.g:1545:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )?
4765 int alt24=2;
4766 int LA24_0 = input.LA(1);
4767
4768 if ( (LA24_0==RULE_ID) ) {
4769 int LA24_1 = input.LA(2);
4770
4771 if ( (LA24_1==11||LA24_1==22) ) {
4772 alt24=1;
4773 }
4774 }
4775 switch (alt24) {
4776 case 1 :
4777 // InternalApplicationConfiguration.g:1546:4: ( ( ruleQualifiedName ) ) otherlv_1= '::'
4778 {
4779 // InternalApplicationConfiguration.g:1546:4: ( ( ruleQualifiedName ) )
4780 // InternalApplicationConfiguration.g:1547:5: ( ruleQualifiedName )
4781 {
4782 // InternalApplicationConfiguration.g:1547:5: ( ruleQualifiedName )
4783 // InternalApplicationConfiguration.g:1548:6: ruleQualifiedName
4784 {
4785 if ( state.backtracking==0 ) {
4786
4787 if (current==null) {
4788 current = createModelElement(grammarAccess.getPatternElementRule());
4789 }
4790
4791 }
4792 if ( state.backtracking==0 ) {
4793
4794 newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0());
4795
4796 }
4797 pushFollow(FOLLOW_15);
4798 ruleQualifiedName();
4799
4800 state._fsp--;
4801 if (state.failed) return current;
4802 if ( state.backtracking==0 ) {
4803
4804 afterParserOrEnumRuleCall();
4805
4806 }
4807
4808 }
4809
4810
4811 }
4812
4813 otherlv_1=(Token)match(input,22,FOLLOW_6); if (state.failed) return current;
4814 if ( state.backtracking==0 ) {
4815
4816 newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1());
4817
4818 }
4819
4820 }
4821 break;
4822
4823 }
4824
4825 // InternalApplicationConfiguration.g:1567:3: ( (otherlv_2= RULE_ID ) )
4826 // InternalApplicationConfiguration.g:1568:4: (otherlv_2= RULE_ID )
4827 {
4828 // InternalApplicationConfiguration.g:1568:4: (otherlv_2= RULE_ID )
4829 // InternalApplicationConfiguration.g:1569:5: otherlv_2= RULE_ID
4830 {
4831 if ( state.backtracking==0 ) {
4832
4833 if (current==null) {
4834 current = createModelElement(grammarAccess.getPatternElementRule());
4835 }
4836
4837 }
4838 otherlv_2=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
4839 if ( state.backtracking==0 ) {
4840
4841 newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0());
4842
4843 }
4844
4845 }
4846
4847
4848 }
4849
4850
4851 }
4852
4853
4854 }
4855
4856 if ( state.backtracking==0 ) {
4857
4858 leaveRule();
4859
4860 }
4861 }
4862
4863 catch (RecognitionException re) {
4864 recover(input,re);
4865 appendSkippedTokens();
4866 }
4867 finally {
4868 }
4869 return current;
4870 }
4871 // $ANTLR end "rulePatternElement"
4872
4873
4874 // $ANTLR start "entryRuleGraphPatternDeclaration"
4875 // InternalApplicationConfiguration.g:1584:1: entryRuleGraphPatternDeclaration returns [EObject current=null] : iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ;
4876 public final EObject entryRuleGraphPatternDeclaration() throws RecognitionException {
4877 EObject current = null;
4878
4879 EObject iv_ruleGraphPatternDeclaration = null;
4880
4881
4882 try {
4883 // InternalApplicationConfiguration.g:1584:64: (iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF )
4884 // InternalApplicationConfiguration.g:1585:2: iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF
4885 {
4886 if ( state.backtracking==0 ) {
4887 newCompositeNode(grammarAccess.getGraphPatternDeclarationRule());
4888 }
4889 pushFollow(FOLLOW_1);
4890 iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration();
4891
4892 state._fsp--;
4893 if (state.failed) return current;
4894 if ( state.backtracking==0 ) {
4895 current =iv_ruleGraphPatternDeclaration;
4896 }
4897 match(input,EOF,FOLLOW_2); if (state.failed) return current;
4898
4899 }
4900
4901 }
4902
4903 catch (RecognitionException re) {
4904 recover(input,re);
4905 appendSkippedTokens();
4906 }
4907 finally {
4908 }
4909 return current;
4910 }
4911 // $ANTLR end "entryRuleGraphPatternDeclaration"
4912
4913
4914 // $ANTLR start "ruleGraphPatternDeclaration"
4915 // InternalApplicationConfiguration.g:1591:1: ruleGraphPatternDeclaration returns [EObject current=null] : (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ;
4916 public final EObject ruleGraphPatternDeclaration() throws RecognitionException {
4917 EObject current = null;
4918
4919 Token otherlv_0=null;
4920 Token lv_name_1_0=null;
4921 EObject lv_specification_2_0 = null;
4922
4923
4924
4925 enterRule();
4926
4927 try {
4928 // InternalApplicationConfiguration.g:1597:2: ( (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) )
4929 // InternalApplicationConfiguration.g:1598:2: (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) )
4930 {
4931 // InternalApplicationConfiguration.g:1598:2: (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) )
4932 // InternalApplicationConfiguration.g:1599:3: otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) )
4933 {
4934 otherlv_0=(Token)match(input,26,FOLLOW_6); if (state.failed) return current;
4935 if ( state.backtracking==0 ) {
4936
4937 newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getPatternsKeyword_0());
4938
4939 }
4940 // InternalApplicationConfiguration.g:1603:3: ( (lv_name_1_0= RULE_ID ) )
4941 // InternalApplicationConfiguration.g:1604:4: (lv_name_1_0= RULE_ID )
4942 {
4943 // InternalApplicationConfiguration.g:1604:4: (lv_name_1_0= RULE_ID )
4944 // InternalApplicationConfiguration.g:1605:5: lv_name_1_0= RULE_ID
4945 {
4946 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current;
4947 if ( state.backtracking==0 ) {
4948
4949 newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0());
4950
4951 }
4952 if ( state.backtracking==0 ) {
4953
4954 if (current==null) {
4955 current = createModelElement(grammarAccess.getGraphPatternDeclarationRule());
4956 }
4957 setWithLastConsumed(
4958 current,
4959 "name",
4960 lv_name_1_0,
4961 "org.eclipse.xtext.common.Terminals.ID");
4962
4963 }
4964
4965 }
4966
4967
4968 }
4969
4970 // InternalApplicationConfiguration.g:1621:3: ( (lv_specification_2_0= rulePatternSpecification ) )
4971 // InternalApplicationConfiguration.g:1622:4: (lv_specification_2_0= rulePatternSpecification )
4972 {
4973 // InternalApplicationConfiguration.g:1622:4: (lv_specification_2_0= rulePatternSpecification )
4974 // InternalApplicationConfiguration.g:1623:5: lv_specification_2_0= rulePatternSpecification
4975 {
4976 if ( state.backtracking==0 ) {
4977
4978 newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0());
4979
4980 }
4981 pushFollow(FOLLOW_2);
4982 lv_specification_2_0=rulePatternSpecification();
4983
4984 state._fsp--;
4985 if (state.failed) return current;
4986 if ( state.backtracking==0 ) {
4987
4988 if (current==null) {
4989 current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule());
4990 }
4991 set(
4992 current,
4993 "specification",
4994 lv_specification_2_0,
4995 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification");
4996 afterParserOrEnumRuleCall();
4997
4998 }
4999
5000 }
5001
5002
5003 }
5004
5005
5006 }
5007
5008
5009 }
5010
5011 if ( state.backtracking==0 ) {
5012
5013 leaveRule();
5014
5015 }
5016 }
5017
5018 catch (RecognitionException re) {
5019 recover(input,re);
5020 appendSkippedTokens();
5021 }
5022 finally {
5023 }
5024 return current;
5025 }
5026 // $ANTLR end "ruleGraphPatternDeclaration"
5027
5028
5029 // $ANTLR start "entryRuleGraphPatternReference"
5030 // InternalApplicationConfiguration.g:1644:1: entryRuleGraphPatternReference returns [EObject current=null] : iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ;
5031 public final EObject entryRuleGraphPatternReference() throws RecognitionException {
5032 EObject current = null;
5033
5034 EObject iv_ruleGraphPatternReference = null;
5035
5036
5037 try {
5038 // InternalApplicationConfiguration.g:1644:62: (iv_ruleGraphPatternReference= ruleGraphPatternReference EOF )
5039 // InternalApplicationConfiguration.g:1645:2: iv_ruleGraphPatternReference= ruleGraphPatternReference EOF
5040 {
5041 if ( state.backtracking==0 ) {
5042 newCompositeNode(grammarAccess.getGraphPatternReferenceRule());
5043 }
5044 pushFollow(FOLLOW_1);
5045 iv_ruleGraphPatternReference=ruleGraphPatternReference();
5046
5047 state._fsp--;
5048 if (state.failed) return current;
5049 if ( state.backtracking==0 ) {
5050 current =iv_ruleGraphPatternReference;
5051 }
5052 match(input,EOF,FOLLOW_2); if (state.failed) return current;
5053
5054 }
5055
5056 }
5057
5058 catch (RecognitionException re) {
5059 recover(input,re);
5060 appendSkippedTokens();
5061 }
5062 finally {
5063 }
5064 return current;
5065 }
5066 // $ANTLR end "entryRuleGraphPatternReference"
5067
5068
5069 // $ANTLR start "ruleGraphPatternReference"
5070 // InternalApplicationConfiguration.g:1651:1: ruleGraphPatternReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
5071 public final EObject ruleGraphPatternReference() throws RecognitionException {
5072 EObject current = null;
5073
5074 Token otherlv_0=null;
5075
5076
5077 enterRule();
5078
5079 try {
5080 // InternalApplicationConfiguration.g:1657:2: ( ( (otherlv_0= RULE_ID ) ) )
5081 // InternalApplicationConfiguration.g:1658:2: ( (otherlv_0= RULE_ID ) )
5082 {
5083 // InternalApplicationConfiguration.g:1658:2: ( (otherlv_0= RULE_ID ) )
5084 // InternalApplicationConfiguration.g:1659:3: (otherlv_0= RULE_ID )
5085 {
5086 // InternalApplicationConfiguration.g:1659:3: (otherlv_0= RULE_ID )
5087 // InternalApplicationConfiguration.g:1660:4: otherlv_0= RULE_ID
5088 {
5089 if ( state.backtracking==0 ) {
5090
5091 if (current==null) {
5092 current = createModelElement(grammarAccess.getGraphPatternReferenceRule());
5093 }
5094
5095 }
5096 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
5097 if ( state.backtracking==0 ) {
5098
5099 newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0());
5100
5101 }
5102
5103 }
5104
5105
5106 }
5107
5108
5109 }
5110
5111 if ( state.backtracking==0 ) {
5112
5113 leaveRule();
5114
5115 }
5116 }
5117
5118 catch (RecognitionException re) {
5119 recover(input,re);
5120 appendSkippedTokens();
5121 }
5122 finally {
5123 }
5124 return current;
5125 }
5126 // $ANTLR end "ruleGraphPatternReference"
5127
5128
5129 // $ANTLR start "entryRuleGraphPattern"
5130 // InternalApplicationConfiguration.g:1674:1: entryRuleGraphPattern returns [EObject current=null] : iv_ruleGraphPattern= ruleGraphPattern EOF ;
5131 public final EObject entryRuleGraphPattern() throws RecognitionException {
5132 EObject current = null;
5133
5134 EObject iv_ruleGraphPattern = null;
5135
5136
5137 try {
5138 // InternalApplicationConfiguration.g:1674:53: (iv_ruleGraphPattern= ruleGraphPattern EOF )
5139 // InternalApplicationConfiguration.g:1675:2: iv_ruleGraphPattern= ruleGraphPattern EOF
5140 {
5141 if ( state.backtracking==0 ) {
5142 newCompositeNode(grammarAccess.getGraphPatternRule());
5143 }
5144 pushFollow(FOLLOW_1);
5145 iv_ruleGraphPattern=ruleGraphPattern();
5146
5147 state._fsp--;
5148 if (state.failed) return current;
5149 if ( state.backtracking==0 ) {
5150 current =iv_ruleGraphPattern;
5151 }
5152 match(input,EOF,FOLLOW_2); if (state.failed) return current;
5153
5154 }
5155
5156 }
5157
5158 catch (RecognitionException re) {
5159 recover(input,re);
5160 appendSkippedTokens();
5161 }
5162 finally {
5163 }
5164 return current;
5165 }
5166 // $ANTLR end "entryRuleGraphPattern"
5167
5168
5169 // $ANTLR start "ruleGraphPattern"
5170 // InternalApplicationConfiguration.g:1681:1: ruleGraphPattern returns [EObject current=null] : (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ;
5171 public final EObject ruleGraphPattern() throws RecognitionException {
5172 EObject current = null;
5173
5174 EObject this_GraphPatternReference_0 = null;
5175
5176 EObject this_PatternSpecification_1 = null;
5177
5178
5179
5180 enterRule();
5181
5182 try {
5183 // InternalApplicationConfiguration.g:1687:2: ( (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) )
5184 // InternalApplicationConfiguration.g:1688:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification )
5185 {
5186 // InternalApplicationConfiguration.g:1688:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification )
5187 int alt25=2;
5188 int LA25_0 = input.LA(1);
5189
5190 if ( (LA25_0==RULE_ID) ) {
5191 alt25=1;
5192 }
5193 else if ( (LA25_0==17) ) {
5194 alt25=2;
5195 }
5196 else {
5197 if (state.backtracking>0) {state.failed=true; return current;}
5198 NoViableAltException nvae =
5199 new NoViableAltException("", 25, 0, input);
5200
5201 throw nvae;
5202 }
5203 switch (alt25) {
5204 case 1 :
5205 // InternalApplicationConfiguration.g:1689:3: this_GraphPatternReference_0= ruleGraphPatternReference
5206 {
5207 if ( state.backtracking==0 ) {
5208
5209 newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0());
5210
5211 }
5212 pushFollow(FOLLOW_2);
5213 this_GraphPatternReference_0=ruleGraphPatternReference();
5214
5215 state._fsp--;
5216 if (state.failed) return current;
5217 if ( state.backtracking==0 ) {
5218
5219 current = this_GraphPatternReference_0;
5220 afterParserOrEnumRuleCall();
5221
5222 }
5223
5224 }
5225 break;
5226 case 2 :
5227 // InternalApplicationConfiguration.g:1698:3: this_PatternSpecification_1= rulePatternSpecification
5228 {
5229 if ( state.backtracking==0 ) {
5230
5231 newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1());
5232
5233 }
5234 pushFollow(FOLLOW_2);
5235 this_PatternSpecification_1=rulePatternSpecification();
5236
5237 state._fsp--;
5238 if (state.failed) return current;
5239 if ( state.backtracking==0 ) {
5240
5241 current = this_PatternSpecification_1;
5242 afterParserOrEnumRuleCall();
5243
5244 }
5245
5246 }
5247 break;
5248
5249 }
5250
5251
5252 }
5253
5254 if ( state.backtracking==0 ) {
5255
5256 leaveRule();
5257
5258 }
5259 }
5260
5261 catch (RecognitionException re) {
5262 recover(input,re);
5263 appendSkippedTokens();
5264 }
5265 finally {
5266 }
5267 return current;
5268 }
5269 // $ANTLR end "ruleGraphPattern"
5270
5271
5272 // $ANTLR start "entryRuleConfigSpecification"
5273 // InternalApplicationConfiguration.g:1710:1: entryRuleConfigSpecification returns [EObject current=null] : iv_ruleConfigSpecification= ruleConfigSpecification EOF ;
5274 public final EObject entryRuleConfigSpecification() throws RecognitionException {
5275 EObject current = null;
5276
5277 EObject iv_ruleConfigSpecification = null;
5278
5279
5280 try {
5281 // InternalApplicationConfiguration.g:1710:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF )
5282 // InternalApplicationConfiguration.g:1711:2: iv_ruleConfigSpecification= ruleConfigSpecification EOF
5283 {
5284 if ( state.backtracking==0 ) {
5285 newCompositeNode(grammarAccess.getConfigSpecificationRule());
5286 }
5287 pushFollow(FOLLOW_1);
5288 iv_ruleConfigSpecification=ruleConfigSpecification();
5289
5290 state._fsp--;
5291 if (state.failed) return current;
5292 if ( state.backtracking==0 ) {
5293 current =iv_ruleConfigSpecification;
5294 }
5295 match(input,EOF,FOLLOW_2); if (state.failed) return current;
5296
5297 }
5298
5299 }
5300
5301 catch (RecognitionException re) {
5302 recover(input,re);
5303 appendSkippedTokens();
5304 }
5305 finally {
5306 }
5307 return current;
5308 }
5309 // $ANTLR end "entryRuleConfigSpecification"
5310
5311
5312 // $ANTLR start "ruleConfigSpecification"
5313 // 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= '}' ) ;
5314 public final EObject ruleConfigSpecification() throws RecognitionException {
5315 EObject current = null;
5316
5317 Token otherlv_1=null;
5318 Token otherlv_3=null;
5319 Token otherlv_5=null;
5320 EObject lv_entries_2_0 = null;
5321
5322 EObject lv_entries_4_0 = null;
5323
5324
5325
5326 enterRule();
5327
5328 try {
5329 // InternalApplicationConfiguration.g:1723:2: ( ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) )
5330 // InternalApplicationConfiguration.g:1724:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' )
5331 {
5332 // InternalApplicationConfiguration.g:1724:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' )
5333 // InternalApplicationConfiguration.g:1725:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}'
5334 {
5335 // InternalApplicationConfiguration.g:1725:3: ()
5336 // InternalApplicationConfiguration.g:1726:4:
5337 {
5338 if ( state.backtracking==0 ) {
5339
5340 current = forceCreateModelElement(
5341 grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(),
5342 current);
5343
5344 }
5345
5346 }
5347
5348 otherlv_1=(Token)match(input,17,FOLLOW_19); if (state.failed) return current;
5349 if ( state.backtracking==0 ) {
5350
5351 newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1());
5352
5353 }
5354 // InternalApplicationConfiguration.g:1736:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )?
5355 int alt27=2;
5356 int LA27_0 = input.LA(1);
5357
5358 if ( (LA27_0==RULE_STRING) ) {
5359 alt27=1;
5360 }
5361 switch (alt27) {
5362 case 1 :
5363 // InternalApplicationConfiguration.g:1737:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )*
5364 {
5365 // InternalApplicationConfiguration.g:1737:4: ( (lv_entries_2_0= ruleConfigEntry ) )
5366 // InternalApplicationConfiguration.g:1738:5: (lv_entries_2_0= ruleConfigEntry )
5367 {
5368 // InternalApplicationConfiguration.g:1738:5: (lv_entries_2_0= ruleConfigEntry )
5369 // InternalApplicationConfiguration.g:1739:6: lv_entries_2_0= ruleConfigEntry
5370 {
5371 if ( state.backtracking==0 ) {
5372
5373 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0());
5374
5375 }
5376 pushFollow(FOLLOW_12);
5377 lv_entries_2_0=ruleConfigEntry();
5378
5379 state._fsp--;
5380 if (state.failed) return current;
5381 if ( state.backtracking==0 ) {
5382
5383 if (current==null) {
5384 current = createModelElementForParent(grammarAccess.getConfigSpecificationRule());
5385 }
5386 add(
5387 current,
5388 "entries",
5389 lv_entries_2_0,
5390 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry");
5391 afterParserOrEnumRuleCall();
5392
5393 }
5394
5395 }
5396
5397
5398 }
5399
5400 // InternalApplicationConfiguration.g:1756:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )*
5401 loop26:
5402 do {
5403 int alt26=2;
5404 int LA26_0 = input.LA(1);
5405
5406 if ( (LA26_0==18) ) {
5407 alt26=1;
5408 }
5409
5410
5411 switch (alt26) {
5412 case 1 :
5413 // InternalApplicationConfiguration.g:1757:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) )
5414 {
5415 otherlv_3=(Token)match(input,18,FOLLOW_8); if (state.failed) return current;
5416 if ( state.backtracking==0 ) {
5417
5418 newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0());
5419
5420 }
5421 // InternalApplicationConfiguration.g:1761:5: ( (lv_entries_4_0= ruleConfigEntry ) )
5422 // InternalApplicationConfiguration.g:1762:6: (lv_entries_4_0= ruleConfigEntry )
5423 {
5424 // InternalApplicationConfiguration.g:1762:6: (lv_entries_4_0= ruleConfigEntry )
5425 // InternalApplicationConfiguration.g:1763:7: lv_entries_4_0= ruleConfigEntry
5426 {
5427 if ( state.backtracking==0 ) {
5428
5429 newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0());
5430
5431 }
5432 pushFollow(FOLLOW_12);
5433 lv_entries_4_0=ruleConfigEntry();
5434
5435 state._fsp--;
5436 if (state.failed) return current;
5437 if ( state.backtracking==0 ) {
5438
5439 if (current==null) {
5440 current = createModelElementForParent(grammarAccess.getConfigSpecificationRule());
5441 }
5442 add(
5443 current,
5444 "entries",
5445 lv_entries_4_0,
5446 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry");
5447 afterParserOrEnumRuleCall();
5448
5449 }
5450
5451 }
5452
5453
5454 }
5455
5456
5457 }
5458 break;
5459
5460 default :
5461 break loop26;
5462 }
5463 } while (true);
5464
5465
5466 }
5467 break;
5468
5469 }
5470
5471 otherlv_5=(Token)match(input,19,FOLLOW_2); if (state.failed) return current;
5472 if ( state.backtracking==0 ) {
5473
5474 newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3());
5475
5476 }
5477
5478 }
5479
5480
5481 }
5482
5483 if ( state.backtracking==0 ) {
5484
5485 leaveRule();
5486
5487 }
5488 }
5489
5490 catch (RecognitionException re) {
5491 recover(input,re);
5492 appendSkippedTokens();
5493 }
5494 finally {
5495 }
5496 return current;
5497 }
5498 // $ANTLR end "ruleConfigSpecification"
5499
5500
5501 // $ANTLR start "entryRuleConfigDeclaration"
5502 // InternalApplicationConfiguration.g:1790:1: entryRuleConfigDeclaration returns [EObject current=null] : iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ;
5503 public final EObject entryRuleConfigDeclaration() throws RecognitionException {
5504 EObject current = null;
5505
5506 EObject iv_ruleConfigDeclaration = null;
5507
5508
5509 try {
5510 // InternalApplicationConfiguration.g:1790:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF )
5511 // InternalApplicationConfiguration.g:1791:2: iv_ruleConfigDeclaration= ruleConfigDeclaration EOF
5512 {
5513 if ( state.backtracking==0 ) {
5514 newCompositeNode(grammarAccess.getConfigDeclarationRule());
5515 }
5516 pushFollow(FOLLOW_1);
5517 iv_ruleConfigDeclaration=ruleConfigDeclaration();
5518
5519 state._fsp--;
5520 if (state.failed) return current;
5521 if ( state.backtracking==0 ) {
5522 current =iv_ruleConfigDeclaration;
5523 }
5524 match(input,EOF,FOLLOW_2); if (state.failed) return current;
5525
5526 }
5527
5528 }
5529
5530 catch (RecognitionException re) {
5531 recover(input,re);
5532 appendSkippedTokens();
5533 }
5534 finally {
5535 }
5536 return current;
5537 }
5538 // $ANTLR end "entryRuleConfigDeclaration"
5539
5540
5541 // $ANTLR start "ruleConfigDeclaration"
5542 // InternalApplicationConfiguration.g:1797:1: ruleConfigDeclaration returns [EObject current=null] : (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ;
5543 public final EObject ruleConfigDeclaration() throws RecognitionException {
5544 EObject current = null;
5545
5546 Token otherlv_0=null;
5547 Token lv_name_1_0=null;
5548 EObject lv_specification_2_0 = null;
5549
5550
5551
5552 enterRule();
5553
5554 try {
5555 // InternalApplicationConfiguration.g:1803:2: ( (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) )
5556 // InternalApplicationConfiguration.g:1804:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) )
5557 {
5558 // InternalApplicationConfiguration.g:1804:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) )
5559 // InternalApplicationConfiguration.g:1805:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) )
5560 {
5561 otherlv_0=(Token)match(input,27,FOLLOW_6); if (state.failed) return current;
5562 if ( state.backtracking==0 ) {
5563
5564 newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0());
5565
5566 }
5567 // InternalApplicationConfiguration.g:1809:3: ( (lv_name_1_0= RULE_ID ) )
5568 // InternalApplicationConfiguration.g:1810:4: (lv_name_1_0= RULE_ID )
5569 {
5570 // InternalApplicationConfiguration.g:1810:4: (lv_name_1_0= RULE_ID )
5571 // InternalApplicationConfiguration.g:1811:5: lv_name_1_0= RULE_ID
5572 {
5573 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current;
5574 if ( state.backtracking==0 ) {
5575
5576 newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0());
5577
5578 }
5579 if ( state.backtracking==0 ) {
5580
5581 if (current==null) {
5582 current = createModelElement(grammarAccess.getConfigDeclarationRule());
5583 }
5584 setWithLastConsumed(
5585 current,
5586 "name",
5587 lv_name_1_0,
5588 "org.eclipse.xtext.common.Terminals.ID");
5589
5590 }
5591
5592 }
5593
5594
5595 }
5596
5597 // InternalApplicationConfiguration.g:1827:3: ( (lv_specification_2_0= ruleConfigSpecification ) )
5598 // InternalApplicationConfiguration.g:1828:4: (lv_specification_2_0= ruleConfigSpecification )
5599 {
5600 // InternalApplicationConfiguration.g:1828:4: (lv_specification_2_0= ruleConfigSpecification )
5601 // InternalApplicationConfiguration.g:1829:5: lv_specification_2_0= ruleConfigSpecification
5602 {
5603 if ( state.backtracking==0 ) {
5604
5605 newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0());
5606
5607 }
5608 pushFollow(FOLLOW_2);
5609 lv_specification_2_0=ruleConfigSpecification();
5610
5611 state._fsp--;
5612 if (state.failed) return current;
5613 if ( state.backtracking==0 ) {
5614
5615 if (current==null) {
5616 current = createModelElementForParent(grammarAccess.getConfigDeclarationRule());
5617 }
5618 set(
5619 current,
5620 "specification",
5621 lv_specification_2_0,
5622 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification");
5623 afterParserOrEnumRuleCall();
5624
5625 }
5626
5627 }
5628
5629
5630 }
5631
5632
5633 }
5634
5635
5636 }
5637
5638 if ( state.backtracking==0 ) {
5639
5640 leaveRule();
5641
5642 }
5643 }
5644
5645 catch (RecognitionException re) {
5646 recover(input,re);
5647 appendSkippedTokens();
5648 }
5649 finally {
5650 }
5651 return current;
5652 }
5653 // $ANTLR end "ruleConfigDeclaration"
5654
5655
5656 // $ANTLR start "entryRuleConfigEntry"
5657 // InternalApplicationConfiguration.g:1850:1: entryRuleConfigEntry returns [EObject current=null] : iv_ruleConfigEntry= ruleConfigEntry EOF ;
5658 public final EObject entryRuleConfigEntry() throws RecognitionException {
5659 EObject current = null;
5660
5661 EObject iv_ruleConfigEntry = null;
5662
5663
5664 try {
5665 // InternalApplicationConfiguration.g:1850:52: (iv_ruleConfigEntry= ruleConfigEntry EOF )
5666 // InternalApplicationConfiguration.g:1851:2: iv_ruleConfigEntry= ruleConfigEntry EOF
5667 {
5668 if ( state.backtracking==0 ) {
5669 newCompositeNode(grammarAccess.getConfigEntryRule());
5670 }
5671 pushFollow(FOLLOW_1);
5672 iv_ruleConfigEntry=ruleConfigEntry();
5673
5674 state._fsp--;
5675 if (state.failed) return current;
5676 if ( state.backtracking==0 ) {
5677 current =iv_ruleConfigEntry;
5678 }
5679 match(input,EOF,FOLLOW_2); if (state.failed) return current;
5680
5681 }
5682
5683 }
5684
5685 catch (RecognitionException re) {
5686 recover(input,re);
5687 appendSkippedTokens();
5688 }
5689 finally {
5690 }
5691 return current;
5692 }
5693 // $ANTLR end "entryRuleConfigEntry"
5694
5695
5696 // $ANTLR start "ruleConfigEntry"
5697 // InternalApplicationConfiguration.g:1857:1: ruleConfigEntry returns [EObject current=null] : ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ;
5698 public final EObject ruleConfigEntry() throws RecognitionException {
5699 EObject current = null;
5700
5701 Token lv_key_0_0=null;
5702 Token otherlv_1=null;
5703 Token lv_value_2_0=null;
5704
5705
5706 enterRule();
5707
5708 try {
5709 // InternalApplicationConfiguration.g:1863:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) )
5710 // InternalApplicationConfiguration.g:1864:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) )
5711 {
5712 // InternalApplicationConfiguration.g:1864:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) )
5713 // InternalApplicationConfiguration.g:1865:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) )
5714 {
5715 // InternalApplicationConfiguration.g:1865:3: ( (lv_key_0_0= RULE_STRING ) )
5716 // InternalApplicationConfiguration.g:1866:4: (lv_key_0_0= RULE_STRING )
5717 {
5718 // InternalApplicationConfiguration.g:1866:4: (lv_key_0_0= RULE_STRING )
5719 // InternalApplicationConfiguration.g:1867:5: lv_key_0_0= RULE_STRING
5720 {
5721 lv_key_0_0=(Token)match(input,RULE_STRING,FOLLOW_10); if (state.failed) return current;
5722 if ( state.backtracking==0 ) {
5723
5724 newLeafNode(lv_key_0_0, grammarAccess.getConfigEntryAccess().getKeySTRINGTerminalRuleCall_0_0());
5725
5726 }
5727 if ( state.backtracking==0 ) {
5728
5729 if (current==null) {
5730 current = createModelElement(grammarAccess.getConfigEntryRule());
5731 }
5732 setWithLastConsumed(
5733 current,
5734 "key",
5735 lv_key_0_0,
5736 "org.eclipse.xtext.common.Terminals.STRING");
5737
5738 }
5739
5740 }
5741
5742
5743 }
5744
5745 otherlv_1=(Token)match(input,16,FOLLOW_8); if (state.failed) return current;
5746 if ( state.backtracking==0 ) {
5747
5748 newLeafNode(otherlv_1, grammarAccess.getConfigEntryAccess().getEqualsSignKeyword_1());
5749
5750 }
5751 // InternalApplicationConfiguration.g:1887:3: ( (lv_value_2_0= RULE_STRING ) )
5752 // InternalApplicationConfiguration.g:1888:4: (lv_value_2_0= RULE_STRING )
5753 {
5754 // InternalApplicationConfiguration.g:1888:4: (lv_value_2_0= RULE_STRING )
5755 // InternalApplicationConfiguration.g:1889:5: lv_value_2_0= RULE_STRING
5756 {
5757 lv_value_2_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current;
5758 if ( state.backtracking==0 ) {
5759
5760 newLeafNode(lv_value_2_0, grammarAccess.getConfigEntryAccess().getValueSTRINGTerminalRuleCall_2_0());
5761
5762 }
5763 if ( state.backtracking==0 ) {
5764
5765 if (current==null) {
5766 current = createModelElement(grammarAccess.getConfigEntryRule());
5767 }
5768 setWithLastConsumed(
5769 current,
5770 "value",
5771 lv_value_2_0,
5772 "org.eclipse.xtext.common.Terminals.STRING");
5773
5774 }
5775
5776 }
5777
5778
5779 }
5780
5781
5782 }
5783
5784
5785 }
5786
5787 if ( state.backtracking==0 ) {
5788
5789 leaveRule();
5790
5791 }
5792 }
5793
5794 catch (RecognitionException re) {
5795 recover(input,re);
5796 appendSkippedTokens();
5797 }
5798 finally {
5799 }
5800 return current;
5801 }
5802 // $ANTLR end "ruleConfigEntry"
5803
5804
5805 // $ANTLR start "entryRuleConfigReference"
5806 // InternalApplicationConfiguration.g:1909:1: entryRuleConfigReference returns [EObject current=null] : iv_ruleConfigReference= ruleConfigReference EOF ;
5807 public final EObject entryRuleConfigReference() throws RecognitionException {
5808 EObject current = null;
5809
5810 EObject iv_ruleConfigReference = null;
5811
5812
5813 try {
5814 // InternalApplicationConfiguration.g:1909:56: (iv_ruleConfigReference= ruleConfigReference EOF )
5815 // InternalApplicationConfiguration.g:1910:2: iv_ruleConfigReference= ruleConfigReference EOF
5816 {
5817 if ( state.backtracking==0 ) {
5818 newCompositeNode(grammarAccess.getConfigReferenceRule());
5819 }
5820 pushFollow(FOLLOW_1);
5821 iv_ruleConfigReference=ruleConfigReference();
5822
5823 state._fsp--;
5824 if (state.failed) return current;
5825 if ( state.backtracking==0 ) {
5826 current =iv_ruleConfigReference;
5827 }
5828 match(input,EOF,FOLLOW_2); if (state.failed) return current;
5829
5830 }
5831
5832 }
5833
5834 catch (RecognitionException re) {
5835 recover(input,re);
5836 appendSkippedTokens();
5837 }
5838 finally {
5839 }
5840 return current;
5841 }
5842 // $ANTLR end "entryRuleConfigReference"
5843
5844
5845 // $ANTLR start "ruleConfigReference"
5846 // InternalApplicationConfiguration.g:1916:1: ruleConfigReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
5847 public final EObject ruleConfigReference() throws RecognitionException {
5848 EObject current = null;
5849
5850 Token otherlv_0=null;
5851
5852
5853 enterRule();
5854
5855 try {
5856 // InternalApplicationConfiguration.g:1922:2: ( ( (otherlv_0= RULE_ID ) ) )
5857 // InternalApplicationConfiguration.g:1923:2: ( (otherlv_0= RULE_ID ) )
5858 {
5859 // InternalApplicationConfiguration.g:1923:2: ( (otherlv_0= RULE_ID ) )
5860 // InternalApplicationConfiguration.g:1924:3: (otherlv_0= RULE_ID )
5861 {
5862 // InternalApplicationConfiguration.g:1924:3: (otherlv_0= RULE_ID )
5863 // InternalApplicationConfiguration.g:1925:4: otherlv_0= RULE_ID
5864 {
5865 if ( state.backtracking==0 ) {
5866
5867 if (current==null) {
5868 current = createModelElement(grammarAccess.getConfigReferenceRule());
5869 }
5870
5871 }
5872 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
5873 if ( state.backtracking==0 ) {
5874
5875 newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0());
5876
5877 }
5878
5879 }
5880
5881
5882 }
5883
5884
5885 }
5886
5887 if ( state.backtracking==0 ) {
5888
5889 leaveRule();
5890
5891 }
5892 }
5893
5894 catch (RecognitionException re) {
5895 recover(input,re);
5896 appendSkippedTokens();
5897 }
5898 finally {
5899 }
5900 return current;
5901 }
5902 // $ANTLR end "ruleConfigReference"
5903
5904
5905 // $ANTLR start "entryRuleConfig"
5906 // InternalApplicationConfiguration.g:1939:1: entryRuleConfig returns [EObject current=null] : iv_ruleConfig= ruleConfig EOF ;
5907 public final EObject entryRuleConfig() throws RecognitionException {
5908 EObject current = null;
5909
5910 EObject iv_ruleConfig = null;
5911
5912
5913 try {
5914 // InternalApplicationConfiguration.g:1939:47: (iv_ruleConfig= ruleConfig EOF )
5915 // InternalApplicationConfiguration.g:1940:2: iv_ruleConfig= ruleConfig EOF
5916 {
5917 if ( state.backtracking==0 ) {
5918 newCompositeNode(grammarAccess.getConfigRule());
5919 }
5920 pushFollow(FOLLOW_1);
5921 iv_ruleConfig=ruleConfig();
5922
5923 state._fsp--;
5924 if (state.failed) return current;
5925 if ( state.backtracking==0 ) {
5926 current =iv_ruleConfig;
5927 }
5928 match(input,EOF,FOLLOW_2); if (state.failed) return current;
5929
5930 }
5931
5932 }
5933
5934 catch (RecognitionException re) {
5935 recover(input,re);
5936 appendSkippedTokens();
5937 }
5938 finally {
5939 }
5940 return current;
5941 }
5942 // $ANTLR end "entryRuleConfig"
5943
5944
5945 // $ANTLR start "ruleConfig"
5946 // InternalApplicationConfiguration.g:1946:1: ruleConfig returns [EObject current=null] : (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ;
5947 public final EObject ruleConfig() throws RecognitionException {
5948 EObject current = null;
5949
5950 EObject this_ConfigSpecification_0 = null;
5951
5952 EObject this_ConfigReference_1 = null;
5953
5954
5955
5956 enterRule();
5957
5958 try {
5959 // InternalApplicationConfiguration.g:1952:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) )
5960 // InternalApplicationConfiguration.g:1953:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference )
5961 {
5962 // InternalApplicationConfiguration.g:1953:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference )
5963 int alt28=2;
5964 int LA28_0 = input.LA(1);
5965
5966 if ( (LA28_0==17) ) {
5967 alt28=1;
5968 }
5969 else if ( (LA28_0==RULE_ID) ) {
5970 alt28=2;
5971 }
5972 else {
5973 if (state.backtracking>0) {state.failed=true; return current;}
5974 NoViableAltException nvae =
5975 new NoViableAltException("", 28, 0, input);
5976
5977 throw nvae;
5978 }
5979 switch (alt28) {
5980 case 1 :
5981 // InternalApplicationConfiguration.g:1954:3: this_ConfigSpecification_0= ruleConfigSpecification
5982 {
5983 if ( state.backtracking==0 ) {
5984
5985 newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0());
5986
5987 }
5988 pushFollow(FOLLOW_2);
5989 this_ConfigSpecification_0=ruleConfigSpecification();
5990
5991 state._fsp--;
5992 if (state.failed) return current;
5993 if ( state.backtracking==0 ) {
5994
5995 current = this_ConfigSpecification_0;
5996 afterParserOrEnumRuleCall();
5997
5998 }
5999
6000 }
6001 break;
6002 case 2 :
6003 // InternalApplicationConfiguration.g:1963:3: this_ConfigReference_1= ruleConfigReference
6004 {
6005 if ( state.backtracking==0 ) {
6006
6007 newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1());
6008
6009 }
6010 pushFollow(FOLLOW_2);
6011 this_ConfigReference_1=ruleConfigReference();
6012
6013 state._fsp--;
6014 if (state.failed) return current;
6015 if ( state.backtracking==0 ) {
6016
6017 current = this_ConfigReference_1;
6018 afterParserOrEnumRuleCall();
6019
6020 }
6021
6022 }
6023 break;
6024
6025 }
6026
6027
6028 }
6029
6030 if ( state.backtracking==0 ) {
6031
6032 leaveRule();
6033
6034 }
6035 }
6036
6037 catch (RecognitionException re) {
6038 recover(input,re);
6039 appendSkippedTokens();
6040 }
6041 finally {
6042 }
6043 return current;
6044 }
6045 // $ANTLR end "ruleConfig"
6046
6047
6048 // $ANTLR start "entryRuleScopeSpecification"
6049 // InternalApplicationConfiguration.g:1975:1: entryRuleScopeSpecification returns [EObject current=null] : iv_ruleScopeSpecification= ruleScopeSpecification EOF ;
6050 public final EObject entryRuleScopeSpecification() throws RecognitionException {
6051 EObject current = null;
6052
6053 EObject iv_ruleScopeSpecification = null;
6054
6055
6056 try {
6057 // InternalApplicationConfiguration.g:1975:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF )
6058 // InternalApplicationConfiguration.g:1976:2: iv_ruleScopeSpecification= ruleScopeSpecification EOF
6059 {
6060 if ( state.backtracking==0 ) {
6061 newCompositeNode(grammarAccess.getScopeSpecificationRule());
6062 }
6063 pushFollow(FOLLOW_1);
6064 iv_ruleScopeSpecification=ruleScopeSpecification();
6065
6066 state._fsp--;
6067 if (state.failed) return current;
6068 if ( state.backtracking==0 ) {
6069 current =iv_ruleScopeSpecification;
6070 }
6071 match(input,EOF,FOLLOW_2); if (state.failed) return current;
6072
6073 }
6074
6075 }
6076
6077 catch (RecognitionException re) {
6078 recover(input,re);
6079 appendSkippedTokens();
6080 }
6081 finally {
6082 }
6083 return current;
6084 }
6085 // $ANTLR end "entryRuleScopeSpecification"
6086
6087
6088 // $ANTLR start "ruleScopeSpecification"
6089 // 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= '}' ) ;
6090 public final EObject ruleScopeSpecification() throws RecognitionException {
6091 EObject current = null;
6092
6093 Token otherlv_1=null;
6094 Token otherlv_3=null;
6095 Token otherlv_5=null;
6096 EObject lv_scopes_2_0 = null;
6097
6098 EObject lv_scopes_4_0 = null;
6099
6100
6101
6102 enterRule();
6103
6104 try {
6105 // InternalApplicationConfiguration.g:1988:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) )
6106 // InternalApplicationConfiguration.g:1989:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' )
6107 {
6108 // InternalApplicationConfiguration.g:1989:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' )
6109 // InternalApplicationConfiguration.g:1990:3: () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}'
6110 {
6111 // InternalApplicationConfiguration.g:1990:3: ()
6112 // InternalApplicationConfiguration.g:1991:4:
6113 {
6114 if ( state.backtracking==0 ) {
6115
6116 current = forceCreateModelElement(
6117 grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(),
6118 current);
6119
6120 }
6121
6122 }
6123
6124 otherlv_1=(Token)match(input,17,FOLLOW_20); if (state.failed) return current;
6125 if ( state.backtracking==0 ) {
6126
6127 newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1());
6128
6129 }
6130 // InternalApplicationConfiguration.g:2001:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )?
6131 int alt30=2;
6132 int LA30_0 = input.LA(1);
6133
6134 if ( (LA30_0==RULE_INT||LA30_0==30) ) {
6135 alt30=1;
6136 }
6137 switch (alt30) {
6138 case 1 :
6139 // InternalApplicationConfiguration.g:2002:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )*
6140 {
6141 // InternalApplicationConfiguration.g:2002:4: ( (lv_scopes_2_0= ruleTypeScope ) )
6142 // InternalApplicationConfiguration.g:2003:5: (lv_scopes_2_0= ruleTypeScope )
6143 {
6144 // InternalApplicationConfiguration.g:2003:5: (lv_scopes_2_0= ruleTypeScope )
6145 // InternalApplicationConfiguration.g:2004:6: lv_scopes_2_0= ruleTypeScope
6146 {
6147 if ( state.backtracking==0 ) {
6148
6149 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0());
6150
6151 }
6152 pushFollow(FOLLOW_12);
6153 lv_scopes_2_0=ruleTypeScope();
6154
6155 state._fsp--;
6156 if (state.failed) return current;
6157 if ( state.backtracking==0 ) {
6158
6159 if (current==null) {
6160 current = createModelElementForParent(grammarAccess.getScopeSpecificationRule());
6161 }
6162 add(
6163 current,
6164 "scopes",
6165 lv_scopes_2_0,
6166 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope");
6167 afterParserOrEnumRuleCall();
6168
6169 }
6170
6171 }
6172
6173
6174 }
6175
6176 // InternalApplicationConfiguration.g:2021:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )*
6177 loop29:
6178 do {
6179 int alt29=2;
6180 int LA29_0 = input.LA(1);
6181
6182 if ( (LA29_0==18) ) {
6183 alt29=1;
6184 }
6185
6186
6187 switch (alt29) {
6188 case 1 :
6189 // InternalApplicationConfiguration.g:2022:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) )
6190 {
6191 otherlv_3=(Token)match(input,18,FOLLOW_21); if (state.failed) return current;
6192 if ( state.backtracking==0 ) {
6193
6194 newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0());
6195
6196 }
6197 // InternalApplicationConfiguration.g:2026:5: ( (lv_scopes_4_0= ruleTypeScope ) )
6198 // InternalApplicationConfiguration.g:2027:6: (lv_scopes_4_0= ruleTypeScope )
6199 {
6200 // InternalApplicationConfiguration.g:2027:6: (lv_scopes_4_0= ruleTypeScope )
6201 // InternalApplicationConfiguration.g:2028:7: lv_scopes_4_0= ruleTypeScope
6202 {
6203 if ( state.backtracking==0 ) {
6204
6205 newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0());
6206
6207 }
6208 pushFollow(FOLLOW_12);
6209 lv_scopes_4_0=ruleTypeScope();
6210
6211 state._fsp--;
6212 if (state.failed) return current;
6213 if ( state.backtracking==0 ) {
6214
6215 if (current==null) {
6216 current = createModelElementForParent(grammarAccess.getScopeSpecificationRule());
6217 }
6218 add(
6219 current,
6220 "scopes",
6221 lv_scopes_4_0,
6222 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope");
6223 afterParserOrEnumRuleCall();
6224
6225 }
6226
6227 }
6228
6229
6230 }
6231
6232
6233 }
6234 break;
6235
6236 default :
6237 break loop29;
6238 }
6239 } while (true);
6240
6241
6242 }
6243 break;
6244
6245 }
6246
6247 otherlv_5=(Token)match(input,19,FOLLOW_2); if (state.failed) return current;
6248 if ( state.backtracking==0 ) {
6249
6250 newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3());
6251
6252 }
6253
6254 }
6255
6256
6257 }
6258
6259 if ( state.backtracking==0 ) {
6260
6261 leaveRule();
6262
6263 }
6264 }
6265
6266 catch (RecognitionException re) {
6267 recover(input,re);
6268 appendSkippedTokens();
6269 }
6270 finally {
6271 }
6272 return current;
6273 }
6274 // $ANTLR end "ruleScopeSpecification"
6275
6276
6277 // $ANTLR start "entryRuleTypeScope"
6278 // InternalApplicationConfiguration.g:2055:1: entryRuleTypeScope returns [EObject current=null] : iv_ruleTypeScope= ruleTypeScope EOF ;
6279 public final EObject entryRuleTypeScope() throws RecognitionException {
6280 EObject current = null;
6281
6282 EObject iv_ruleTypeScope = null;
6283
6284
6285 try {
6286 // InternalApplicationConfiguration.g:2055:50: (iv_ruleTypeScope= ruleTypeScope EOF )
6287 // InternalApplicationConfiguration.g:2056:2: iv_ruleTypeScope= ruleTypeScope EOF
6288 {
6289 if ( state.backtracking==0 ) {
6290 newCompositeNode(grammarAccess.getTypeScopeRule());
6291 }
6292 pushFollow(FOLLOW_1);
6293 iv_ruleTypeScope=ruleTypeScope();
6294
6295 state._fsp--;
6296 if (state.failed) return current;
6297 if ( state.backtracking==0 ) {
6298 current =iv_ruleTypeScope;
6299 }
6300 match(input,EOF,FOLLOW_2); if (state.failed) return current;
6301
6302 }
6303
6304 }
6305
6306 catch (RecognitionException re) {
6307 recover(input,re);
6308 appendSkippedTokens();
6309 }
6310 finally {
6311 }
6312 return current;
6313 }
6314 // $ANTLR end "entryRuleTypeScope"
6315
6316
6317 // $ANTLR start "ruleTypeScope"
6318 // InternalApplicationConfiguration.g:2062:1: ruleTypeScope returns [EObject current=null] : ( ( ( (lv_min_0_0= RULE_INT ) ) ( ( (lv_greather_1_0= '<' ) ) | ( (lv_greaterOrEqual_2_0= '<=' ) ) ) )? otherlv_3= '#' ( (lv_type_4_0= ruleTypeReference ) ) ( ( ( (lv_less_5_0= '<' ) ) | ( (lv_lessOrEqual_6_0= '<=' ) ) ) ( (lv_max_7_0= RULE_INT ) ) )? ) ;
6319 public final EObject ruleTypeScope() throws RecognitionException {
6320 EObject current = null;
6321
6322 Token lv_min_0_0=null;
6323 Token lv_greather_1_0=null;
6324 Token lv_greaterOrEqual_2_0=null;
6325 Token otherlv_3=null;
6326 Token lv_less_5_0=null;
6327 Token lv_lessOrEqual_6_0=null;
6328 Token lv_max_7_0=null;
6329 EObject lv_type_4_0 = null;
6330
6331
6332
6333 enterRule();
6334
6335 try {
6336 // InternalApplicationConfiguration.g:2068:2: ( ( ( ( (lv_min_0_0= RULE_INT ) ) ( ( (lv_greather_1_0= '<' ) ) | ( (lv_greaterOrEqual_2_0= '<=' ) ) ) )? otherlv_3= '#' ( (lv_type_4_0= ruleTypeReference ) ) ( ( ( (lv_less_5_0= '<' ) ) | ( (lv_lessOrEqual_6_0= '<=' ) ) ) ( (lv_max_7_0= RULE_INT ) ) )? ) )
6337 // InternalApplicationConfiguration.g:2069:2: ( ( ( (lv_min_0_0= RULE_INT ) ) ( ( (lv_greather_1_0= '<' ) ) | ( (lv_greaterOrEqual_2_0= '<=' ) ) ) )? otherlv_3= '#' ( (lv_type_4_0= ruleTypeReference ) ) ( ( ( (lv_less_5_0= '<' ) ) | ( (lv_lessOrEqual_6_0= '<=' ) ) ) ( (lv_max_7_0= RULE_INT ) ) )? )
6338 {
6339 // InternalApplicationConfiguration.g:2069:2: ( ( ( (lv_min_0_0= RULE_INT ) ) ( ( (lv_greather_1_0= '<' ) ) | ( (lv_greaterOrEqual_2_0= '<=' ) ) ) )? otherlv_3= '#' ( (lv_type_4_0= ruleTypeReference ) ) ( ( ( (lv_less_5_0= '<' ) ) | ( (lv_lessOrEqual_6_0= '<=' ) ) ) ( (lv_max_7_0= RULE_INT ) ) )? )
6340 // InternalApplicationConfiguration.g:2070:3: ( ( (lv_min_0_0= RULE_INT ) ) ( ( (lv_greather_1_0= '<' ) ) | ( (lv_greaterOrEqual_2_0= '<=' ) ) ) )? otherlv_3= '#' ( (lv_type_4_0= ruleTypeReference ) ) ( ( ( (lv_less_5_0= '<' ) ) | ( (lv_lessOrEqual_6_0= '<=' ) ) ) ( (lv_max_7_0= RULE_INT ) ) )?
6341 {
6342 // InternalApplicationConfiguration.g:2070:3: ( ( (lv_min_0_0= RULE_INT ) ) ( ( (lv_greather_1_0= '<' ) ) | ( (lv_greaterOrEqual_2_0= '<=' ) ) ) )?
6343 int alt32=2;
6344 int LA32_0 = input.LA(1);
6345
6346 if ( (LA32_0==RULE_INT) ) {
6347 alt32=1;
6348 }
6349 switch (alt32) {
6350 case 1 :
6351 // InternalApplicationConfiguration.g:2071:4: ( (lv_min_0_0= RULE_INT ) ) ( ( (lv_greather_1_0= '<' ) ) | ( (lv_greaterOrEqual_2_0= '<=' ) ) )
6352 {
6353 // InternalApplicationConfiguration.g:2071:4: ( (lv_min_0_0= RULE_INT ) )
6354 // InternalApplicationConfiguration.g:2072:5: (lv_min_0_0= RULE_INT )
6355 {
6356 // InternalApplicationConfiguration.g:2072:5: (lv_min_0_0= RULE_INT )
6357 // InternalApplicationConfiguration.g:2073:6: lv_min_0_0= RULE_INT
6358 {
6359 lv_min_0_0=(Token)match(input,RULE_INT,FOLLOW_22); if (state.failed) return current;
6360 if ( state.backtracking==0 ) {
6361
6362 newLeafNode(lv_min_0_0, grammarAccess.getTypeScopeAccess().getMinINTTerminalRuleCall_0_0_0());
6363
6364 }
6365 if ( state.backtracking==0 ) {
6366
6367 if (current==null) {
6368 current = createModelElement(grammarAccess.getTypeScopeRule());
6369 }
6370 setWithLastConsumed(
6371 current,
6372 "min",
6373 lv_min_0_0,
6374 "org.eclipse.xtext.common.Terminals.INT");
6375
6376 }
6377
6378 }
6379
6380
6381 }
6382
6383 // InternalApplicationConfiguration.g:2089:4: ( ( (lv_greather_1_0= '<' ) ) | ( (lv_greaterOrEqual_2_0= '<=' ) ) )
6384 int alt31=2;
6385 int LA31_0 = input.LA(1);
6386
6387 if ( (LA31_0==28) ) {
6388 alt31=1;
6389 }
6390 else if ( (LA31_0==29) ) {
6391 alt31=2;
6392 }
6393 else {
6394 if (state.backtracking>0) {state.failed=true; return current;}
6395 NoViableAltException nvae =
6396 new NoViableAltException("", 31, 0, input);
6397
6398 throw nvae;
6399 }
6400 switch (alt31) {
6401 case 1 :
6402 // InternalApplicationConfiguration.g:2090:5: ( (lv_greather_1_0= '<' ) )
6403 {
6404 // InternalApplicationConfiguration.g:2090:5: ( (lv_greather_1_0= '<' ) )
6405 // InternalApplicationConfiguration.g:2091:6: (lv_greather_1_0= '<' )
6406 {
6407 // InternalApplicationConfiguration.g:2091:6: (lv_greather_1_0= '<' )
6408 // InternalApplicationConfiguration.g:2092:7: lv_greather_1_0= '<'
6409 {
6410 lv_greather_1_0=(Token)match(input,28,FOLLOW_23); if (state.failed) return current;
6411 if ( state.backtracking==0 ) {
6412
6413 newLeafNode(lv_greather_1_0, grammarAccess.getTypeScopeAccess().getGreatherLessThanSignKeyword_0_1_0_0());
6414
6415 }
6416 if ( state.backtracking==0 ) {
6417
6418 if (current==null) {
6419 current = createModelElement(grammarAccess.getTypeScopeRule());
6420 }
6421 setWithLastConsumed(current, "greather", true, "<");
6422
6423 }
6424
6425 }
6426
6427
6428 }
6429
6430
6431 }
6432 break;
6433 case 2 :
6434 // InternalApplicationConfiguration.g:2105:5: ( (lv_greaterOrEqual_2_0= '<=' ) )
6435 {
6436 // InternalApplicationConfiguration.g:2105:5: ( (lv_greaterOrEqual_2_0= '<=' ) )
6437 // InternalApplicationConfiguration.g:2106:6: (lv_greaterOrEqual_2_0= '<=' )
6438 {
6439 // InternalApplicationConfiguration.g:2106:6: (lv_greaterOrEqual_2_0= '<=' )
6440 // InternalApplicationConfiguration.g:2107:7: lv_greaterOrEqual_2_0= '<='
6441 {
6442 lv_greaterOrEqual_2_0=(Token)match(input,29,FOLLOW_23); if (state.failed) return current;
6443 if ( state.backtracking==0 ) {
6444
6445 newLeafNode(lv_greaterOrEqual_2_0, grammarAccess.getTypeScopeAccess().getGreaterOrEqualLessThanSignEqualsSignKeyword_0_1_1_0());
6446
6447 }
6448 if ( state.backtracking==0 ) {
6449
6450 if (current==null) {
6451 current = createModelElement(grammarAccess.getTypeScopeRule());
6452 }
6453 setWithLastConsumed(current, "greaterOrEqual", true, "<=");
6454
6455 }
6456
6457 }
6458
6459
6460 }
6461
6462
6463 }
6464 break;
6465
6466 }
6467
6468
6469 }
6470 break;
6471
6472 }
6473
6474 otherlv_3=(Token)match(input,30,FOLLOW_24); if (state.failed) return current;
6475 if ( state.backtracking==0 ) {
6476
6477 newLeafNode(otherlv_3, grammarAccess.getTypeScopeAccess().getNumberSignKeyword_1());
6478
6479 }
6480 // InternalApplicationConfiguration.g:2125:3: ( (lv_type_4_0= ruleTypeReference ) )
6481 // InternalApplicationConfiguration.g:2126:4: (lv_type_4_0= ruleTypeReference )
6482 {
6483 // InternalApplicationConfiguration.g:2126:4: (lv_type_4_0= ruleTypeReference )
6484 // InternalApplicationConfiguration.g:2127:5: lv_type_4_0= ruleTypeReference
6485 {
6486 if ( state.backtracking==0 ) {
6487
6488 newCompositeNode(grammarAccess.getTypeScopeAccess().getTypeTypeReferenceParserRuleCall_2_0());
6489
6490 }
6491 pushFollow(FOLLOW_25);
6492 lv_type_4_0=ruleTypeReference();
6493
6494 state._fsp--;
6495 if (state.failed) return current;
6496 if ( state.backtracking==0 ) {
6497
6498 if (current==null) {
6499 current = createModelElementForParent(grammarAccess.getTypeScopeRule());
6500 }
6501 set(
6502 current,
6503 "type",
6504 lv_type_4_0,
6505 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeReference");
6506 afterParserOrEnumRuleCall();
6507
6508 }
6509
6510 }
6511
6512
6513 }
6514
6515 // InternalApplicationConfiguration.g:2144:3: ( ( ( (lv_less_5_0= '<' ) ) | ( (lv_lessOrEqual_6_0= '<=' ) ) ) ( (lv_max_7_0= RULE_INT ) ) )?
6516 int alt34=2;
6517 int LA34_0 = input.LA(1);
6518
6519 if ( ((LA34_0>=28 && LA34_0<=29)) ) {
6520 alt34=1;
6521 }
6522 switch (alt34) {
6523 case 1 :
6524 // InternalApplicationConfiguration.g:2145:4: ( ( (lv_less_5_0= '<' ) ) | ( (lv_lessOrEqual_6_0= '<=' ) ) ) ( (lv_max_7_0= RULE_INT ) )
6525 {
6526 // InternalApplicationConfiguration.g:2145:4: ( ( (lv_less_5_0= '<' ) ) | ( (lv_lessOrEqual_6_0= '<=' ) ) )
6527 int alt33=2;
6528 int LA33_0 = input.LA(1);
6529
6530 if ( (LA33_0==28) ) {
6531 alt33=1;
6532 }
6533 else if ( (LA33_0==29) ) {
6534 alt33=2;
6535 }
6536 else {
6537 if (state.backtracking>0) {state.failed=true; return current;}
6538 NoViableAltException nvae =
6539 new NoViableAltException("", 33, 0, input);
6540
6541 throw nvae;
6542 }
6543 switch (alt33) {
6544 case 1 :
6545 // InternalApplicationConfiguration.g:2146:5: ( (lv_less_5_0= '<' ) )
6546 {
6547 // InternalApplicationConfiguration.g:2146:5: ( (lv_less_5_0= '<' ) )
6548 // InternalApplicationConfiguration.g:2147:6: (lv_less_5_0= '<' )
6549 {
6550 // InternalApplicationConfiguration.g:2147:6: (lv_less_5_0= '<' )
6551 // InternalApplicationConfiguration.g:2148:7: lv_less_5_0= '<'
6552 {
6553 lv_less_5_0=(Token)match(input,28,FOLLOW_26); if (state.failed) return current;
6554 if ( state.backtracking==0 ) {
6555
6556 newLeafNode(lv_less_5_0, grammarAccess.getTypeScopeAccess().getLessLessThanSignKeyword_3_0_0_0());
6557
6558 }
6559 if ( state.backtracking==0 ) {
6560
6561 if (current==null) {
6562 current = createModelElement(grammarAccess.getTypeScopeRule());
6563 }
6564 setWithLastConsumed(current, "less", true, "<");
6565
6566 }
6567
6568 }
6569
6570
6571 }
6572
6573
6574 }
6575 break;
6576 case 2 :
6577 // InternalApplicationConfiguration.g:2161:5: ( (lv_lessOrEqual_6_0= '<=' ) )
6578 {
6579 // InternalApplicationConfiguration.g:2161:5: ( (lv_lessOrEqual_6_0= '<=' ) )
6580 // InternalApplicationConfiguration.g:2162:6: (lv_lessOrEqual_6_0= '<=' )
6581 {
6582 // InternalApplicationConfiguration.g:2162:6: (lv_lessOrEqual_6_0= '<=' )
6583 // InternalApplicationConfiguration.g:2163:7: lv_lessOrEqual_6_0= '<='
6584 {
6585 lv_lessOrEqual_6_0=(Token)match(input,29,FOLLOW_26); if (state.failed) return current;
6586 if ( state.backtracking==0 ) {
6587
6588 newLeafNode(lv_lessOrEqual_6_0, grammarAccess.getTypeScopeAccess().getLessOrEqualLessThanSignEqualsSignKeyword_3_0_1_0());
6589
6590 }
6591 if ( state.backtracking==0 ) {
6592
6593 if (current==null) {
6594 current = createModelElement(grammarAccess.getTypeScopeRule());
6595 }
6596 setWithLastConsumed(current, "lessOrEqual", true, "<=");
6597
6598 }
6599
6600 }
6601
6602
6603 }
6604
6605
6606 }
6607 break;
6608
6609 }
6610
6611 // InternalApplicationConfiguration.g:2176:4: ( (lv_max_7_0= RULE_INT ) )
6612 // InternalApplicationConfiguration.g:2177:5: (lv_max_7_0= RULE_INT )
6613 {
6614 // InternalApplicationConfiguration.g:2177:5: (lv_max_7_0= RULE_INT )
6615 // InternalApplicationConfiguration.g:2178:6: lv_max_7_0= RULE_INT
6616 {
6617 lv_max_7_0=(Token)match(input,RULE_INT,FOLLOW_2); if (state.failed) return current;
6618 if ( state.backtracking==0 ) {
6619
6620 newLeafNode(lv_max_7_0, grammarAccess.getTypeScopeAccess().getMaxINTTerminalRuleCall_3_1_0());
6621
6622 }
6623 if ( state.backtracking==0 ) {
6624
6625 if (current==null) {
6626 current = createModelElement(grammarAccess.getTypeScopeRule());
6627 }
6628 setWithLastConsumed(
6629 current,
6630 "max",
6631 lv_max_7_0,
6632 "org.eclipse.xtext.common.Terminals.INT");
6633
6634 }
6635
6636 }
6637
6638
6639 }
6640
6641
6642 }
6643 break;
6644
6645 }
6646
6647
6648 }
6649
6650
6651 }
6652
6653 if ( state.backtracking==0 ) {
6654
6655 leaveRule();
6656
6657 }
6658 }
6659
6660 catch (RecognitionException re) {
6661 recover(input,re);
6662 appendSkippedTokens();
6663 }
6664 finally {
6665 }
6666 return current;
6667 }
6668 // $ANTLR end "ruleTypeScope"
6669
6670
6671 // $ANTLR start "entryRuleTypeReference"
6672 // InternalApplicationConfiguration.g:2199:1: entryRuleTypeReference returns [EObject current=null] : iv_ruleTypeReference= ruleTypeReference EOF ;
6673 public final EObject entryRuleTypeReference() throws RecognitionException {
6674 EObject current = null;
6675
6676 EObject iv_ruleTypeReference = null;
6677
6678
6679 try {
6680 // InternalApplicationConfiguration.g:2199:54: (iv_ruleTypeReference= ruleTypeReference EOF )
6681 // InternalApplicationConfiguration.g:2200:2: iv_ruleTypeReference= ruleTypeReference EOF
6682 {
6683 if ( state.backtracking==0 ) {
6684 newCompositeNode(grammarAccess.getTypeReferenceRule());
6685 }
6686 pushFollow(FOLLOW_1);
6687 iv_ruleTypeReference=ruleTypeReference();
6688
6689 state._fsp--;
6690 if (state.failed) return current;
6691 if ( state.backtracking==0 ) {
6692 current =iv_ruleTypeReference;
6693 }
6694 match(input,EOF,FOLLOW_2); if (state.failed) return current;
6695
6696 }
6697
6698 }
6699
6700 catch (RecognitionException re) {
6701 recover(input,re);
6702 appendSkippedTokens();
6703 }
6704 finally {
6705 }
6706 return current;
6707 }
6708 // $ANTLR end "entryRuleTypeReference"
6709
6710
6711 // $ANTLR start "ruleTypeReference"
6712 // InternalApplicationConfiguration.g:2206: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 ) ;
6713 public final EObject ruleTypeReference() throws RecognitionException {
6714 EObject current = null;
6715
6716 EObject this_ClassReference_0 = null;
6717
6718 EObject this_ObjectReference_1 = null;
6719
6720 EObject this_IntegerReference_2 = null;
6721
6722 EObject this_RealReference_3 = null;
6723
6724 EObject this_StringReference_4 = null;
6725
6726
6727
6728 enterRule();
6729
6730 try {
6731 // InternalApplicationConfiguration.g:2212:2: ( (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) )
6732 // InternalApplicationConfiguration.g:2213:2: (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference )
6733 {
6734 // InternalApplicationConfiguration.g:2213:2: (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference )
6735 int alt35=5;
6736 switch ( input.LA(1) ) {
6737 case 31:
6738 {
6739 alt35=1;
6740 }
6741 break;
6742 case 33:
6743 {
6744 alt35=2;
6745 }
6746 break;
6747 case 34:
6748 {
6749 alt35=3;
6750 }
6751 break;
6752 case 35:
6753 {
6754 alt35=4;
6755 }
6756 break;
6757 case 36:
6758 {
6759 alt35=5;
6760 }
6761 break;
6762 default:
6763 if (state.backtracking>0) {state.failed=true; return current;}
6764 NoViableAltException nvae =
6765 new NoViableAltException("", 35, 0, input);
6766
6767 throw nvae;
6768 }
6769
6770 switch (alt35) {
6771 case 1 :
6772 // InternalApplicationConfiguration.g:2214:3: this_ClassReference_0= ruleClassReference
6773 {
6774 if ( state.backtracking==0 ) {
6775
6776 newCompositeNode(grammarAccess.getTypeReferenceAccess().getClassReferenceParserRuleCall_0());
6777
6778 }
6779 pushFollow(FOLLOW_2);
6780 this_ClassReference_0=ruleClassReference();
6781
6782 state._fsp--;
6783 if (state.failed) return current;
6784 if ( state.backtracking==0 ) {
6785
6786 current = this_ClassReference_0;
6787 afterParserOrEnumRuleCall();
6788
6789 }
6790
6791 }
6792 break;
6793 case 2 :
6794 // InternalApplicationConfiguration.g:2223:3: this_ObjectReference_1= ruleObjectReference
6795 {
6796 if ( state.backtracking==0 ) {
6797
6798 newCompositeNode(grammarAccess.getTypeReferenceAccess().getObjectReferenceParserRuleCall_1());
6799
6800 }
6801 pushFollow(FOLLOW_2);
6802 this_ObjectReference_1=ruleObjectReference();
6803
6804 state._fsp--;
6805 if (state.failed) return current;
6806 if ( state.backtracking==0 ) {
6807
6808 current = this_ObjectReference_1;
6809 afterParserOrEnumRuleCall();
6810
6811 }
6812
6813 }
6814 break;
6815 case 3 :
6816 // InternalApplicationConfiguration.g:2232:3: this_IntegerReference_2= ruleIntegerReference
6817 {
6818 if ( state.backtracking==0 ) {
6819
6820 newCompositeNode(grammarAccess.getTypeReferenceAccess().getIntegerReferenceParserRuleCall_2());
6821
6822 }
6823 pushFollow(FOLLOW_2);
6824 this_IntegerReference_2=ruleIntegerReference();
6825
6826 state._fsp--;
6827 if (state.failed) return current;
6828 if ( state.backtracking==0 ) {
6829
6830 current = this_IntegerReference_2;
6831 afterParserOrEnumRuleCall();
6832
6833 }
6834
6835 }
6836 break;
6837 case 4 :
6838 // InternalApplicationConfiguration.g:2241:3: this_RealReference_3= ruleRealReference
6839 {
6840 if ( state.backtracking==0 ) {
6841
6842 newCompositeNode(grammarAccess.getTypeReferenceAccess().getRealReferenceParserRuleCall_3());
6843
6844 }
6845 pushFollow(FOLLOW_2);
6846 this_RealReference_3=ruleRealReference();
6847
6848 state._fsp--;
6849 if (state.failed) return current;
6850 if ( state.backtracking==0 ) {
6851
6852 current = this_RealReference_3;
6853 afterParserOrEnumRuleCall();
6854
6855 }
6856
6857 }
6858 break;
6859 case 5 :
6860 // InternalApplicationConfiguration.g:2250:3: this_StringReference_4= ruleStringReference
6861 {
6862 if ( state.backtracking==0 ) {
6863
6864 newCompositeNode(grammarAccess.getTypeReferenceAccess().getStringReferenceParserRuleCall_4());
6865
6866 }
6867 pushFollow(FOLLOW_2);
6868 this_StringReference_4=ruleStringReference();
6869
6870 state._fsp--;
6871 if (state.failed) return current;
6872 if ( state.backtracking==0 ) {
6873
6874 current = this_StringReference_4;
6875 afterParserOrEnumRuleCall();
6876
6877 }
6878
6879 }
6880 break;
6881
6882 }
6883
6884
6885 }
6886
6887 if ( state.backtracking==0 ) {
6888
6889 leaveRule();
6890
6891 }
6892 }
6893
6894 catch (RecognitionException re) {
6895 recover(input,re);
6896 appendSkippedTokens();
6897 }
6898 finally {
6899 }
6900 return current;
6901 }
6902 // $ANTLR end "ruleTypeReference"
6903
6904
6905 // $ANTLR start "entryRuleClassReference"
6906 // InternalApplicationConfiguration.g:2262:1: entryRuleClassReference returns [EObject current=null] : iv_ruleClassReference= ruleClassReference EOF ;
6907 public final EObject entryRuleClassReference() throws RecognitionException {
6908 EObject current = null;
6909
6910 EObject iv_ruleClassReference = null;
6911
6912
6913 try {
6914 // InternalApplicationConfiguration.g:2262:55: (iv_ruleClassReference= ruleClassReference EOF )
6915 // InternalApplicationConfiguration.g:2263:2: iv_ruleClassReference= ruleClassReference EOF
6916 {
6917 if ( state.backtracking==0 ) {
6918 newCompositeNode(grammarAccess.getClassReferenceRule());
6919 }
6920 pushFollow(FOLLOW_1);
6921 iv_ruleClassReference=ruleClassReference();
6922
6923 state._fsp--;
6924 if (state.failed) return current;
6925 if ( state.backtracking==0 ) {
6926 current =iv_ruleClassReference;
6927 }
6928 match(input,EOF,FOLLOW_2); if (state.failed) return current;
6929
6930 }
6931
6932 }
6933
6934 catch (RecognitionException re) {
6935 recover(input,re);
6936 appendSkippedTokens();
6937 }
6938 finally {
6939 }
6940 return current;
6941 }
6942 // $ANTLR end "entryRuleClassReference"
6943
6944
6945 // $ANTLR start "ruleClassReference"
6946 // InternalApplicationConfiguration.g:2269:1: ruleClassReference returns [EObject current=null] : (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) ;
6947 public final EObject ruleClassReference() throws RecognitionException {
6948 EObject current = null;
6949
6950 Token otherlv_0=null;
6951 Token otherlv_2=null;
6952 EObject lv_element_1_0 = null;
6953
6954
6955
6956 enterRule();
6957
6958 try {
6959 // InternalApplicationConfiguration.g:2275:2: ( (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) )
6960 // InternalApplicationConfiguration.g:2276:2: (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' )
6961 {
6962 // InternalApplicationConfiguration.g:2276:2: (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' )
6963 // InternalApplicationConfiguration.g:2277:3: otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']'
6964 {
6965 otherlv_0=(Token)match(input,31,FOLLOW_6); if (state.failed) return current;
6966 if ( state.backtracking==0 ) {
6967
6968 newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLeftSquareBracketKeyword_0());
6969
6970 }
6971 // InternalApplicationConfiguration.g:2281:3: ( (lv_element_1_0= ruleMetamodelElement ) )
6972 // InternalApplicationConfiguration.g:2282:4: (lv_element_1_0= ruleMetamodelElement )
6973 {
6974 // InternalApplicationConfiguration.g:2282:4: (lv_element_1_0= ruleMetamodelElement )
6975 // InternalApplicationConfiguration.g:2283:5: lv_element_1_0= ruleMetamodelElement
6976 {
6977 if ( state.backtracking==0 ) {
6978
6979 newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0());
6980
6981 }
6982 pushFollow(FOLLOW_27);
6983 lv_element_1_0=ruleMetamodelElement();
6984
6985 state._fsp--;
6986 if (state.failed) return current;
6987 if ( state.backtracking==0 ) {
6988
6989 if (current==null) {
6990 current = createModelElementForParent(grammarAccess.getClassReferenceRule());
6991 }
6992 set(
6993 current,
6994 "element",
6995 lv_element_1_0,
6996 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement");
6997 afterParserOrEnumRuleCall();
6998
6999 }
7000
7001 }
7002
7003
7004 }
7005
7006 otherlv_2=(Token)match(input,32,FOLLOW_2); if (state.failed) return current;
7007 if ( state.backtracking==0 ) {
7008
7009 newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getRightSquareBracketKeyword_2());
7010
7011 }
7012
7013 }
7014
7015
7016 }
7017
7018 if ( state.backtracking==0 ) {
7019
7020 leaveRule();
7021
7022 }
7023 }
7024
7025 catch (RecognitionException re) {
7026 recover(input,re);
7027 appendSkippedTokens();
7028 }
7029 finally {
7030 }
7031 return current;
7032 }
7033 // $ANTLR end "ruleClassReference"
7034
7035
7036 // $ANTLR start "entryRuleObjectReference"
7037 // InternalApplicationConfiguration.g:2308:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ;
7038 public final EObject entryRuleObjectReference() throws RecognitionException {
7039 EObject current = null;
7040
7041 EObject iv_ruleObjectReference = null;
7042
7043
7044 try {
7045 // InternalApplicationConfiguration.g:2308:56: (iv_ruleObjectReference= ruleObjectReference EOF )
7046 // InternalApplicationConfiguration.g:2309:2: iv_ruleObjectReference= ruleObjectReference EOF
7047 {
7048 if ( state.backtracking==0 ) {
7049 newCompositeNode(grammarAccess.getObjectReferenceRule());
7050 }
7051 pushFollow(FOLLOW_1);
7052 iv_ruleObjectReference=ruleObjectReference();
7053
7054 state._fsp--;
7055 if (state.failed) return current;
7056 if ( state.backtracking==0 ) {
7057 current =iv_ruleObjectReference;
7058 }
7059 match(input,EOF,FOLLOW_2); if (state.failed) return current;
7060
7061 }
7062
7063 }
7064
7065 catch (RecognitionException re) {
7066 recover(input,re);
7067 appendSkippedTokens();
7068 }
7069 finally {
7070 }
7071 return current;
7072 }
7073 // $ANTLR end "entryRuleObjectReference"
7074
7075
7076 // $ANTLR start "ruleObjectReference"
7077 // InternalApplicationConfiguration.g:2315:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'Object' ) ;
7078 public final EObject ruleObjectReference() throws RecognitionException {
7079 EObject current = null;
7080
7081 Token otherlv_1=null;
7082
7083
7084 enterRule();
7085
7086 try {
7087 // InternalApplicationConfiguration.g:2321:2: ( ( () otherlv_1= 'Object' ) )
7088 // InternalApplicationConfiguration.g:2322:2: ( () otherlv_1= 'Object' )
7089 {
7090 // InternalApplicationConfiguration.g:2322:2: ( () otherlv_1= 'Object' )
7091 // InternalApplicationConfiguration.g:2323:3: () otherlv_1= 'Object'
7092 {
7093 // InternalApplicationConfiguration.g:2323:3: ()
7094 // InternalApplicationConfiguration.g:2324:4:
7095 {
7096 if ( state.backtracking==0 ) {
7097
7098 current = forceCreateModelElement(
7099 grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(),
7100 current);
7101
7102 }
7103
7104 }
7105
7106 otherlv_1=(Token)match(input,33,FOLLOW_2); if (state.failed) return current;
7107 if ( state.backtracking==0 ) {
7108
7109 newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getObjectKeyword_1());
7110
7111 }
7112
7113 }
7114
7115
7116 }
7117
7118 if ( state.backtracking==0 ) {
7119
7120 leaveRule();
7121
7122 }
7123 }
7124
7125 catch (RecognitionException re) {
7126 recover(input,re);
7127 appendSkippedTokens();
7128 }
7129 finally {
7130 }
7131 return current;
7132 }
7133 // $ANTLR end "ruleObjectReference"
7134
7135
7136 // $ANTLR start "entryRuleIntegerReference"
7137 // InternalApplicationConfiguration.g:2338:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ;
7138 public final EObject entryRuleIntegerReference() throws RecognitionException {
7139 EObject current = null;
7140
7141 EObject iv_ruleIntegerReference = null;
7142
7143
7144 try {
7145 // InternalApplicationConfiguration.g:2338:57: (iv_ruleIntegerReference= ruleIntegerReference EOF )
7146 // InternalApplicationConfiguration.g:2339:2: iv_ruleIntegerReference= ruleIntegerReference EOF
7147 {
7148 if ( state.backtracking==0 ) {
7149 newCompositeNode(grammarAccess.getIntegerReferenceRule());
7150 }
7151 pushFollow(FOLLOW_1);
7152 iv_ruleIntegerReference=ruleIntegerReference();
7153
7154 state._fsp--;
7155 if (state.failed) return current;
7156 if ( state.backtracking==0 ) {
7157 current =iv_ruleIntegerReference;
7158 }
7159 match(input,EOF,FOLLOW_2); if (state.failed) return current;
7160
7161 }
7162
7163 }
7164
7165 catch (RecognitionException re) {
7166 recover(input,re);
7167 appendSkippedTokens();
7168 }
7169 finally {
7170 }
7171 return current;
7172 }
7173 // $ANTLR end "entryRuleIntegerReference"
7174
7175
7176 // $ANTLR start "ruleIntegerReference"
7177 // InternalApplicationConfiguration.g:2345:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ;
7178 public final EObject ruleIntegerReference() throws RecognitionException {
7179 EObject current = null;
7180
7181 Token otherlv_1=null;
7182
7183
7184 enterRule();
7185
7186 try {
7187 // InternalApplicationConfiguration.g:2351:2: ( ( () otherlv_1= 'int' ) )
7188 // InternalApplicationConfiguration.g:2352:2: ( () otherlv_1= 'int' )
7189 {
7190 // InternalApplicationConfiguration.g:2352:2: ( () otherlv_1= 'int' )
7191 // InternalApplicationConfiguration.g:2353:3: () otherlv_1= 'int'
7192 {
7193 // InternalApplicationConfiguration.g:2353:3: ()
7194 // InternalApplicationConfiguration.g:2354:4:
7195 {
7196 if ( state.backtracking==0 ) {
7197
7198 current = forceCreateModelElement(
7199 grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(),
7200 current);
7201
7202 }
7203
7204 }
7205
7206 otherlv_1=(Token)match(input,34,FOLLOW_2); if (state.failed) return current;
7207 if ( state.backtracking==0 ) {
7208
7209 newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1());
7210
7211 }
7212
7213 }
7214
7215
7216 }
7217
7218 if ( state.backtracking==0 ) {
7219
7220 leaveRule();
7221
7222 }
7223 }
7224
7225 catch (RecognitionException re) {
7226 recover(input,re);
7227 appendSkippedTokens();
7228 }
7229 finally {
7230 }
7231 return current;
7232 }
7233 // $ANTLR end "ruleIntegerReference"
7234
7235
7236 // $ANTLR start "entryRuleRealReference"
7237 // InternalApplicationConfiguration.g:2368:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ;
7238 public final EObject entryRuleRealReference() throws RecognitionException {
7239 EObject current = null;
7240
7241 EObject iv_ruleRealReference = null;
7242
7243
7244 try {
7245 // InternalApplicationConfiguration.g:2368:54: (iv_ruleRealReference= ruleRealReference EOF )
7246 // InternalApplicationConfiguration.g:2369:2: iv_ruleRealReference= ruleRealReference EOF
7247 {
7248 if ( state.backtracking==0 ) {
7249 newCompositeNode(grammarAccess.getRealReferenceRule());
7250 }
7251 pushFollow(FOLLOW_1);
7252 iv_ruleRealReference=ruleRealReference();
7253
7254 state._fsp--;
7255 if (state.failed) return current;
7256 if ( state.backtracking==0 ) {
7257 current =iv_ruleRealReference;
7258 }
7259 match(input,EOF,FOLLOW_2); if (state.failed) return current;
7260
7261 }
7262
7263 }
7264
7265 catch (RecognitionException re) {
7266 recover(input,re);
7267 appendSkippedTokens();
7268 }
7269 finally {
7270 }
7271 return current;
7272 }
7273 // $ANTLR end "entryRuleRealReference"
7274
7275
7276 // $ANTLR start "ruleRealReference"
7277 // InternalApplicationConfiguration.g:2375:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ;
7278 public final EObject ruleRealReference() throws RecognitionException {
7279 EObject current = null;
7280
7281 Token otherlv_1=null;
7282
7283
7284 enterRule();
7285
7286 try {
7287 // InternalApplicationConfiguration.g:2381:2: ( ( () otherlv_1= 'real' ) )
7288 // InternalApplicationConfiguration.g:2382:2: ( () otherlv_1= 'real' )
7289 {
7290 // InternalApplicationConfiguration.g:2382:2: ( () otherlv_1= 'real' )
7291 // InternalApplicationConfiguration.g:2383:3: () otherlv_1= 'real'
7292 {
7293 // InternalApplicationConfiguration.g:2383:3: ()
7294 // InternalApplicationConfiguration.g:2384:4:
7295 {
7296 if ( state.backtracking==0 ) {
7297
7298 current = forceCreateModelElement(
7299 grammarAccess.getRealReferenceAccess().getRealScopeAction_0(),
7300 current);
7301
7302 }
7303
7304 }
7305
7306 otherlv_1=(Token)match(input,35,FOLLOW_2); if (state.failed) return current;
7307 if ( state.backtracking==0 ) {
7308
7309 newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1());
7310
7311 }
7312
7313 }
7314
7315
7316 }
7317
7318 if ( state.backtracking==0 ) {
7319
7320 leaveRule();
7321
7322 }
7323 }
7324
7325 catch (RecognitionException re) {
7326 recover(input,re);
7327 appendSkippedTokens();
7328 }
7329 finally {
7330 }
7331 return current;
7332 }
7333 // $ANTLR end "ruleRealReference"
7334
7335
7336 // $ANTLR start "entryRuleStringReference"
7337 // InternalApplicationConfiguration.g:2398:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ;
7338 public final EObject entryRuleStringReference() throws RecognitionException {
7339 EObject current = null;
7340
7341 EObject iv_ruleStringReference = null;
7342
7343
7344 try {
7345 // InternalApplicationConfiguration.g:2398:56: (iv_ruleStringReference= ruleStringReference EOF )
7346 // InternalApplicationConfiguration.g:2399:2: iv_ruleStringReference= ruleStringReference EOF
7347 {
7348 if ( state.backtracking==0 ) {
7349 newCompositeNode(grammarAccess.getStringReferenceRule());
7350 }
7351 pushFollow(FOLLOW_1);
7352 iv_ruleStringReference=ruleStringReference();
7353
7354 state._fsp--;
7355 if (state.failed) return current;
7356 if ( state.backtracking==0 ) {
7357 current =iv_ruleStringReference;
7358 }
7359 match(input,EOF,FOLLOW_2); if (state.failed) return current;
7360
7361 }
7362
7363 }
7364
7365 catch (RecognitionException re) {
7366 recover(input,re);
7367 appendSkippedTokens();
7368 }
7369 finally {
7370 }
7371 return current;
7372 }
7373 // $ANTLR end "entryRuleStringReference"
7374
7375
7376 // $ANTLR start "ruleStringReference"
7377 // InternalApplicationConfiguration.g:2405:1: ruleStringReference returns [EObject current=null] : ( () otherlv_1= 'string' ) ;
7378 public final EObject ruleStringReference() throws RecognitionException {
7379 EObject current = null;
7380
7381 Token otherlv_1=null;
7382
7383
7384 enterRule();
7385
7386 try {
7387 // InternalApplicationConfiguration.g:2411:2: ( ( () otherlv_1= 'string' ) )
7388 // InternalApplicationConfiguration.g:2412:2: ( () otherlv_1= 'string' )
7389 {
7390 // InternalApplicationConfiguration.g:2412:2: ( () otherlv_1= 'string' )
7391 // InternalApplicationConfiguration.g:2413:3: () otherlv_1= 'string'
7392 {
7393 // InternalApplicationConfiguration.g:2413:3: ()
7394 // InternalApplicationConfiguration.g:2414:4:
7395 {
7396 if ( state.backtracking==0 ) {
7397
7398 current = forceCreateModelElement(
7399 grammarAccess.getStringReferenceAccess().getStringScopeAction_0(),
7400 current);
7401
7402 }
7403
7404 }
7405
7406 otherlv_1=(Token)match(input,36,FOLLOW_2); if (state.failed) return current;
7407 if ( state.backtracking==0 ) {
7408
7409 newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1());
7410
7411 }
7412
7413 }
7414
7415
7416 }
7417
7418 if ( state.backtracking==0 ) {
7419
7420 leaveRule();
7421
7422 }
7423 }
7424
7425 catch (RecognitionException re) {
7426 recover(input,re);
7427 appendSkippedTokens();
7428 }
7429 finally {
7430 }
7431 return current;
7432 }
7433 // $ANTLR end "ruleStringReference"
7434
7435
7436 // $ANTLR start "entryRuleScopeDeclaration"
7437 // InternalApplicationConfiguration.g:2428:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ;
7438 public final EObject entryRuleScopeDeclaration() throws RecognitionException {
7439 EObject current = null;
7440
7441 EObject iv_ruleScopeDeclaration = null;
7442
7443
7444 try {
7445 // InternalApplicationConfiguration.g:2428:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF )
7446 // InternalApplicationConfiguration.g:2429:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF
7447 {
7448 if ( state.backtracking==0 ) {
7449 newCompositeNode(grammarAccess.getScopeDeclarationRule());
7450 }
7451 pushFollow(FOLLOW_1);
7452 iv_ruleScopeDeclaration=ruleScopeDeclaration();
7453
7454 state._fsp--;
7455 if (state.failed) return current;
7456 if ( state.backtracking==0 ) {
7457 current =iv_ruleScopeDeclaration;
7458 }
7459 match(input,EOF,FOLLOW_2); if (state.failed) return current;
7460
7461 }
7462
7463 }
7464
7465 catch (RecognitionException re) {
7466 recover(input,re);
7467 appendSkippedTokens();
7468 }
7469 finally {
7470 }
7471 return current;
7472 }
7473 // $ANTLR end "entryRuleScopeDeclaration"
7474
7475
7476 // $ANTLR start "ruleScopeDeclaration"
7477 // InternalApplicationConfiguration.g:2435:1: ruleScopeDeclaration returns [EObject current=null] : (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ;
7478 public final EObject ruleScopeDeclaration() throws RecognitionException {
7479 EObject current = null;
7480
7481 Token otherlv_0=null;
7482 Token lv_name_1_0=null;
7483 EObject lv_specification_2_0 = null;
7484
7485
7486
7487 enterRule();
7488
7489 try {
7490 // InternalApplicationConfiguration.g:2441:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) )
7491 // InternalApplicationConfiguration.g:2442:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) )
7492 {
7493 // InternalApplicationConfiguration.g:2442:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) )
7494 // InternalApplicationConfiguration.g:2443:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) )
7495 {
7496 otherlv_0=(Token)match(input,37,FOLLOW_6); if (state.failed) return current;
7497 if ( state.backtracking==0 ) {
7498
7499 newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0());
7500
7501 }
7502 // InternalApplicationConfiguration.g:2447:3: ( (lv_name_1_0= RULE_ID ) )
7503 // InternalApplicationConfiguration.g:2448:4: (lv_name_1_0= RULE_ID )
7504 {
7505 // InternalApplicationConfiguration.g:2448:4: (lv_name_1_0= RULE_ID )
7506 // InternalApplicationConfiguration.g:2449:5: lv_name_1_0= RULE_ID
7507 {
7508 lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current;
7509 if ( state.backtracking==0 ) {
7510
7511 newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0());
7512
7513 }
7514 if ( state.backtracking==0 ) {
7515
7516 if (current==null) {
7517 current = createModelElement(grammarAccess.getScopeDeclarationRule());
7518 }
7519 setWithLastConsumed(
7520 current,
7521 "name",
7522 lv_name_1_0,
7523 "org.eclipse.xtext.common.Terminals.ID");
7524
7525 }
7526
7527 }
7528
7529
7530 }
7531
7532 // InternalApplicationConfiguration.g:2465:3: ( (lv_specification_2_0= ruleScopeSpecification ) )
7533 // InternalApplicationConfiguration.g:2466:4: (lv_specification_2_0= ruleScopeSpecification )
7534 {
7535 // InternalApplicationConfiguration.g:2466:4: (lv_specification_2_0= ruleScopeSpecification )
7536 // InternalApplicationConfiguration.g:2467:5: lv_specification_2_0= ruleScopeSpecification
7537 {
7538 if ( state.backtracking==0 ) {
7539
7540 newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0());
7541
7542 }
7543 pushFollow(FOLLOW_2);
7544 lv_specification_2_0=ruleScopeSpecification();
7545
7546 state._fsp--;
7547 if (state.failed) return current;
7548 if ( state.backtracking==0 ) {
7549
7550 if (current==null) {
7551 current = createModelElementForParent(grammarAccess.getScopeDeclarationRule());
7552 }
7553 set(
7554 current,
7555 "specification",
7556 lv_specification_2_0,
7557 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification");
7558 afterParserOrEnumRuleCall();
7559
7560 }
7561
7562 }
7563
7564
7565 }
7566
7567
7568 }
7569
7570
7571 }
7572
7573 if ( state.backtracking==0 ) {
7574
7575 leaveRule();
7576
7577 }
7578 }
7579
7580 catch (RecognitionException re) {
7581 recover(input,re);
7582 appendSkippedTokens();
7583 }
7584 finally {
7585 }
7586 return current;
7587 }
7588 // $ANTLR end "ruleScopeDeclaration"
7589
7590
7591 // $ANTLR start "entryRuleScopeReference"
7592 // InternalApplicationConfiguration.g:2488:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ;
7593 public final EObject entryRuleScopeReference() throws RecognitionException {
7594 EObject current = null;
7595
7596 EObject iv_ruleScopeReference = null;
7597
7598
7599 try {
7600 // InternalApplicationConfiguration.g:2488:55: (iv_ruleScopeReference= ruleScopeReference EOF )
7601 // InternalApplicationConfiguration.g:2489:2: iv_ruleScopeReference= ruleScopeReference EOF
7602 {
7603 if ( state.backtracking==0 ) {
7604 newCompositeNode(grammarAccess.getScopeReferenceRule());
7605 }
7606 pushFollow(FOLLOW_1);
7607 iv_ruleScopeReference=ruleScopeReference();
7608
7609 state._fsp--;
7610 if (state.failed) return current;
7611 if ( state.backtracking==0 ) {
7612 current =iv_ruleScopeReference;
7613 }
7614 match(input,EOF,FOLLOW_2); if (state.failed) return current;
7615
7616 }
7617
7618 }
7619
7620 catch (RecognitionException re) {
7621 recover(input,re);
7622 appendSkippedTokens();
7623 }
7624 finally {
7625 }
7626 return current;
7627 }
7628 // $ANTLR end "entryRuleScopeReference"
7629
7630
7631 // $ANTLR start "ruleScopeReference"
7632 // InternalApplicationConfiguration.g:2495:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ;
7633 public final EObject ruleScopeReference() throws RecognitionException {
7634 EObject current = null;
7635
7636 Token otherlv_0=null;
7637
7638
7639 enterRule();
7640
7641 try {
7642 // InternalApplicationConfiguration.g:2501:2: ( ( (otherlv_0= RULE_ID ) ) )
7643 // InternalApplicationConfiguration.g:2502:2: ( (otherlv_0= RULE_ID ) )
7644 {
7645 // InternalApplicationConfiguration.g:2502:2: ( (otherlv_0= RULE_ID ) )
7646 // InternalApplicationConfiguration.g:2503:3: (otherlv_0= RULE_ID )
7647 {
7648 // InternalApplicationConfiguration.g:2503:3: (otherlv_0= RULE_ID )
7649 // InternalApplicationConfiguration.g:2504:4: otherlv_0= RULE_ID
7650 {
7651 if ( state.backtracking==0 ) {
7652
7653 if (current==null) {
7654 current = createModelElement(grammarAccess.getScopeReferenceRule());
7655 }
7656
7657 }
7658 otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
7659 if ( state.backtracking==0 ) {
7660
7661 newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0());
7662
7663 }
7664
7665 }
7666
7667
7668 }
7669
7670
7671 }
7672
7673 if ( state.backtracking==0 ) {
7674
7675 leaveRule();
7676
7677 }
7678 }
7679
7680 catch (RecognitionException re) {
7681 recover(input,re);
7682 appendSkippedTokens();
7683 }
7684 finally {
7685 }
7686 return current;
7687 }
7688 // $ANTLR end "ruleScopeReference"
7689
7690
7691 // $ANTLR start "entryRuleScope"
7692 // InternalApplicationConfiguration.g:2518:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ;
7693 public final EObject entryRuleScope() throws RecognitionException {
7694 EObject current = null;
7695
7696 EObject iv_ruleScope = null;
7697
7698
7699 try {
7700 // InternalApplicationConfiguration.g:2518:46: (iv_ruleScope= ruleScope EOF )
7701 // InternalApplicationConfiguration.g:2519:2: iv_ruleScope= ruleScope EOF
7702 {
7703 if ( state.backtracking==0 ) {
7704 newCompositeNode(grammarAccess.getScopeRule());
7705 }
7706 pushFollow(FOLLOW_1);
7707 iv_ruleScope=ruleScope();
7708
7709 state._fsp--;
7710 if (state.failed) return current;
7711 if ( state.backtracking==0 ) {
7712 current =iv_ruleScope;
7713 }
7714 match(input,EOF,FOLLOW_2); if (state.failed) return current;
7715
7716 }
7717
7718 }
7719
7720 catch (RecognitionException re) {
7721 recover(input,re);
7722 appendSkippedTokens();
7723 }
7724 finally {
7725 }
7726 return current;
7727 }
7728 // $ANTLR end "entryRuleScope"
7729
7730
7731 // $ANTLR start "ruleScope"
7732 // InternalApplicationConfiguration.g:2525:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ;
7733 public final EObject ruleScope() throws RecognitionException {
7734 EObject current = null;
7735
7736 EObject this_ScopeSpecification_0 = null;
7737
7738 EObject this_ScopeReference_1 = null;
7739
7740
7741
7742 enterRule();
7743
7744 try {
7745 // InternalApplicationConfiguration.g:2531:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) )
7746 // InternalApplicationConfiguration.g:2532:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference )
7747 {
7748 // InternalApplicationConfiguration.g:2532:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference )
7749 int alt36=2;
7750 int LA36_0 = input.LA(1);
7751
7752 if ( (LA36_0==17) ) {
7753 alt36=1;
7754 }
7755 else if ( (LA36_0==RULE_ID) ) {
7756 alt36=2;
7757 }
7758 else {
7759 if (state.backtracking>0) {state.failed=true; return current;}
7760 NoViableAltException nvae =
7761 new NoViableAltException("", 36, 0, input);
7762
7763 throw nvae;
7764 }
7765 switch (alt36) {
7766 case 1 :
7767 // InternalApplicationConfiguration.g:2533:3: this_ScopeSpecification_0= ruleScopeSpecification
7768 {
7769 if ( state.backtracking==0 ) {
7770
7771 newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0());
7772
7773 }
7774 pushFollow(FOLLOW_2);
7775 this_ScopeSpecification_0=ruleScopeSpecification();
7776
7777 state._fsp--;
7778 if (state.failed) return current;
7779 if ( state.backtracking==0 ) {
7780
7781 current = this_ScopeSpecification_0;
7782 afterParserOrEnumRuleCall();
7783
7784 }
7785
7786 }
7787 break;
7788 case 2 :
7789 // InternalApplicationConfiguration.g:2542:3: this_ScopeReference_1= ruleScopeReference
7790 {
7791 if ( state.backtracking==0 ) {
7792
7793 newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1());
7794
7795 }
7796 pushFollow(FOLLOW_2);
7797 this_ScopeReference_1=ruleScopeReference();
7798
7799 state._fsp--;
7800 if (state.failed) return current;
7801 if ( state.backtracking==0 ) {
7802
7803 current = this_ScopeReference_1;
7804 afterParserOrEnumRuleCall();
7805
7806 }
7807
7808 }
7809 break;
7810
7811 }
7812
7813
7814 }
7815
7816 if ( state.backtracking==0 ) {
7817
7818 leaveRule();
7819
7820 }
7821 }
7822
7823 catch (RecognitionException re) {
7824 recover(input,re);
7825 appendSkippedTokens();
7826 }
7827 finally {
7828 }
7829 return current;
7830 }
7831 // $ANTLR end "ruleScope"
7832
7833
7834 // $ANTLR start "entryRuleTask"
7835 // InternalApplicationConfiguration.g:2554:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ;
7836 public final EObject entryRuleTask() throws RecognitionException {
7837 EObject current = null;
7838
7839 EObject iv_ruleTask = null;
7840
7841
7842 try {
7843 // InternalApplicationConfiguration.g:2554:45: (iv_ruleTask= ruleTask EOF )
7844 // InternalApplicationConfiguration.g:2555:2: iv_ruleTask= ruleTask EOF
7845 {
7846 if ( state.backtracking==0 ) {
7847 newCompositeNode(grammarAccess.getTaskRule());
7848 }
7849 pushFollow(FOLLOW_1);
7850 iv_ruleTask=ruleTask();
7851
7852 state._fsp--;
7853 if (state.failed) return current;
7854 if ( state.backtracking==0 ) {
7855 current =iv_ruleTask;
7856 }
7857 match(input,EOF,FOLLOW_2); if (state.failed) return current;
7858
7859 }
7860
7861 }
7862
7863 catch (RecognitionException re) {
7864 recover(input,re);
7865 appendSkippedTokens();
7866 }
7867 finally {
7868 }
7869 return current;
7870 }
7871 // $ANTLR end "entryRuleTask"
7872
7873
7874 // $ANTLR start "ruleTask"
7875 // InternalApplicationConfiguration.g:2561:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ;
7876 public final EObject ruleTask() throws RecognitionException {
7877 EObject current = null;
7878
7879 EObject this_GenerationTask_0 = null;
7880
7881
7882
7883 enterRule();
7884
7885 try {
7886 // InternalApplicationConfiguration.g:2567:2: (this_GenerationTask_0= ruleGenerationTask )
7887 // InternalApplicationConfiguration.g:2568:2: this_GenerationTask_0= ruleGenerationTask
7888 {
7889 if ( state.backtracking==0 ) {
7890
7891 newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall());
7892
7893 }
7894 pushFollow(FOLLOW_2);
7895 this_GenerationTask_0=ruleGenerationTask();
7896
7897 state._fsp--;
7898 if (state.failed) return current;
7899 if ( state.backtracking==0 ) {
7900
7901 current = this_GenerationTask_0;
7902 afterParserOrEnumRuleCall();
7903
7904 }
7905
7906 }
7907
7908 if ( state.backtracking==0 ) {
7909
7910 leaveRule();
7911
7912 }
7913 }
7914
7915 catch (RecognitionException re) {
7916 recover(input,re);
7917 appendSkippedTokens();
7918 }
7919 finally {
7920 }
7921 return current;
7922 }
7923 // $ANTLR end "ruleTask"
7924
7925
7926 // $ANTLR start "entryRuleGenerationTask"
7927 // InternalApplicationConfiguration.g:2579:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ;
7928 public final EObject entryRuleGenerationTask() throws RecognitionException {
7929 EObject current = null;
7930
7931 EObject iv_ruleGenerationTask = null;
7932
7933
7934 try {
7935 // InternalApplicationConfiguration.g:2579:55: (iv_ruleGenerationTask= ruleGenerationTask EOF )
7936 // InternalApplicationConfiguration.g:2580:2: iv_ruleGenerationTask= ruleGenerationTask EOF
7937 {
7938 if ( state.backtracking==0 ) {
7939 newCompositeNode(grammarAccess.getGenerationTaskRule());
7940 }
7941 pushFollow(FOLLOW_1);
7942 iv_ruleGenerationTask=ruleGenerationTask();
7943
7944 state._fsp--;
7945 if (state.failed) return current;
7946 if ( state.backtracking==0 ) {
7947 current =iv_ruleGenerationTask;
7948 }
7949 match(input,EOF,FOLLOW_2); if (state.failed) return current;
7950
7951 }
7952
7953 }
7954
7955 catch (RecognitionException re) {
7956 recover(input,re);
7957 appendSkippedTokens();
7958 }
7959 finally {
7960 }
7961 return current;
7962 }
7963 // $ANTLR end "entryRuleGenerationTask"
7964
7965
7966 // $ANTLR start "ruleGenerationTask"
7967 // InternalApplicationConfiguration.g:2586: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= '}' ) ;
7968 public final EObject ruleGenerationTask() throws RecognitionException {
7969 EObject current = null;
7970
7971 Token otherlv_0=null;
7972 Token otherlv_2=null;
7973 Token otherlv_4=null;
7974 Token otherlv_5=null;
7975 Token otherlv_7=null;
7976 Token otherlv_8=null;
7977 Token otherlv_10=null;
7978 Token otherlv_11=null;
7979 Token otherlv_13=null;
7980 Token otherlv_14=null;
7981 Token otherlv_16=null;
7982 Token otherlv_17=null;
7983 Token lv_number_18_0=null;
7984 Token otherlv_19=null;
7985 Token otherlv_20=null;
7986 Token lv_runs_21_0=null;
7987 Token otherlv_22=null;
7988 Token otherlv_23=null;
7989 Token otherlv_25=null;
7990 Token otherlv_26=null;
7991 Token otherlv_28=null;
7992 Token otherlv_29=null;
7993 Token otherlv_31=null;
7994 Token otherlv_32=null;
7995 Token otherlv_34=null;
7996 Token otherlv_35=null;
7997 Token otherlv_37=null;
7998 Token otherlv_38=null;
7999 Token otherlv_40=null;
8000 EObject lv_metamodel_6_0 = null;
8001
8002 EObject lv_partialModel_9_0 = null;
8003
8004 EObject lv_patterns_12_0 = null;
8005
8006 EObject lv_scope_15_0 = null;
8007
8008 Enumerator lv_solver_24_0 = null;
8009
8010 EObject lv_config_27_0 = null;
8011
8012 EObject lv_tagetFolder_30_0 = null;
8013
8014 EObject lv_debugFolder_33_0 = null;
8015
8016 EObject lv_targetLogFile_36_0 = null;
8017
8018 EObject lv_targetStatisticsFile_39_0 = null;
8019
8020
8021
8022 enterRule();
8023
8024 try {
8025 // InternalApplicationConfiguration.g:2592: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= '}' ) )
8026 // InternalApplicationConfiguration.g:2593: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= '}' )
8027 {
8028 // InternalApplicationConfiguration.g:2593: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= '}' )
8029 // InternalApplicationConfiguration.g:2594: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= '}'
8030 {
8031 otherlv_0=(Token)match(input,38,FOLLOW_14); if (state.failed) return current;
8032 if ( state.backtracking==0 ) {
8033
8034 newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0());
8035
8036 }
8037 // InternalApplicationConfiguration.g:2598:3: ()
8038 // InternalApplicationConfiguration.g:2599:4:
8039 {
8040 if ( state.backtracking==0 ) {
8041
8042 current = forceCreateModelElement(
8043 grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(),
8044 current);
8045
8046 }
8047
8048 }
8049
8050 otherlv_2=(Token)match(input,17,FOLLOW_28); if (state.failed) return current;
8051 if ( state.backtracking==0 ) {
8052
8053 newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2());
8054
8055 }
8056 // InternalApplicationConfiguration.g:2609: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 ) ) ) ) ) ) )* ) ) )
8057 // InternalApplicationConfiguration.g:2610: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 ) ) ) ) ) ) )* ) )
8058 {
8059 // InternalApplicationConfiguration.g:2610: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 ) ) ) ) ) ) )* ) )
8060 // InternalApplicationConfiguration.g:2611: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 ) ) ) ) ) ) )* )
8061 {
8062 getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
8063 // InternalApplicationConfiguration.g:2614: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 ) ) ) ) ) ) )* )
8064 // InternalApplicationConfiguration.g:2615: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 ) ) ) ) ) ) )*
8065 {
8066 // InternalApplicationConfiguration.g:2615: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 ) ) ) ) ) ) )*
8067 loop37:
8068 do {
8069 int alt37=13;
8070 alt37 = dfa37.predict(input);
8071 switch (alt37) {
8072 case 1 :
8073 // InternalApplicationConfiguration.g:2616:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) )
8074 {
8075 // InternalApplicationConfiguration.g:2616:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) )
8076 // InternalApplicationConfiguration.g:2617:5: {...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) )
8077 {
8078 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {
8079 if (state.backtracking>0) {state.failed=true; return current;}
8080 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)");
8081 }
8082 // InternalApplicationConfiguration.g:2617:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) )
8083 // InternalApplicationConfiguration.g:2618:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) )
8084 {
8085 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0);
8086 // InternalApplicationConfiguration.g:2621:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) )
8087 // InternalApplicationConfiguration.g:2621:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) )
8088 {
8089 if ( !((true)) ) {
8090 if (state.backtracking>0) {state.failed=true; return current;}
8091 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
8092 }
8093 // InternalApplicationConfiguration.g:2621:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) )
8094 // InternalApplicationConfiguration.g:2621:20: otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) )
8095 {
8096 otherlv_4=(Token)match(input,23,FOLLOW_10); if (state.failed) return current;
8097 if ( state.backtracking==0 ) {
8098
8099 newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0());
8100
8101 }
8102 otherlv_5=(Token)match(input,16,FOLLOW_29); if (state.failed) return current;
8103 if ( state.backtracking==0 ) {
8104
8105 newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1());
8106
8107 }
8108 // InternalApplicationConfiguration.g:2629:9: ( (lv_metamodel_6_0= ruleMetamodel ) )
8109 // InternalApplicationConfiguration.g:2630:10: (lv_metamodel_6_0= ruleMetamodel )
8110 {
8111 // InternalApplicationConfiguration.g:2630:10: (lv_metamodel_6_0= ruleMetamodel )
8112 // InternalApplicationConfiguration.g:2631:11: lv_metamodel_6_0= ruleMetamodel
8113 {
8114 if ( state.backtracking==0 ) {
8115
8116 newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0());
8117
8118 }
8119 pushFollow(FOLLOW_28);
8120 lv_metamodel_6_0=ruleMetamodel();
8121
8122 state._fsp--;
8123 if (state.failed) return current;
8124 if ( state.backtracking==0 ) {
8125
8126 if (current==null) {
8127 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
8128 }
8129 set(
8130 current,
8131 "metamodel",
8132 lv_metamodel_6_0,
8133 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel");
8134 afterParserOrEnumRuleCall();
8135
8136 }
8137
8138 }
8139
8140
8141 }
8142
8143
8144 }
8145
8146
8147 }
8148
8149 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
8150
8151 }
8152
8153
8154 }
8155
8156
8157 }
8158 break;
8159 case 2 :
8160 // InternalApplicationConfiguration.g:2654:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) )
8161 {
8162 // InternalApplicationConfiguration.g:2654:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) )
8163 // InternalApplicationConfiguration.g:2655:5: {...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) )
8164 {
8165 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {
8166 if (state.backtracking>0) {state.failed=true; return current;}
8167 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)");
8168 }
8169 // InternalApplicationConfiguration.g:2655:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) )
8170 // InternalApplicationConfiguration.g:2656:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) )
8171 {
8172 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1);
8173 // InternalApplicationConfiguration.g:2659:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) )
8174 // InternalApplicationConfiguration.g:2659:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) )
8175 {
8176 if ( !((true)) ) {
8177 if (state.backtracking>0) {state.failed=true; return current;}
8178 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
8179 }
8180 // InternalApplicationConfiguration.g:2659:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) )
8181 // InternalApplicationConfiguration.g:2659:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) )
8182 {
8183 otherlv_7=(Token)match(input,25,FOLLOW_10); if (state.failed) return current;
8184 if ( state.backtracking==0 ) {
8185
8186 newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0());
8187
8188 }
8189 otherlv_8=(Token)match(input,16,FOLLOW_29); if (state.failed) return current;
8190 if ( state.backtracking==0 ) {
8191
8192 newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1());
8193
8194 }
8195 // InternalApplicationConfiguration.g:2667:9: ( (lv_partialModel_9_0= rulePartialModel ) )
8196 // InternalApplicationConfiguration.g:2668:10: (lv_partialModel_9_0= rulePartialModel )
8197 {
8198 // InternalApplicationConfiguration.g:2668:10: (lv_partialModel_9_0= rulePartialModel )
8199 // InternalApplicationConfiguration.g:2669:11: lv_partialModel_9_0= rulePartialModel
8200 {
8201 if ( state.backtracking==0 ) {
8202
8203 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0());
8204
8205 }
8206 pushFollow(FOLLOW_28);
8207 lv_partialModel_9_0=rulePartialModel();
8208
8209 state._fsp--;
8210 if (state.failed) return current;
8211 if ( state.backtracking==0 ) {
8212
8213 if (current==null) {
8214 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
8215 }
8216 set(
8217 current,
8218 "partialModel",
8219 lv_partialModel_9_0,
8220 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel");
8221 afterParserOrEnumRuleCall();
8222
8223 }
8224
8225 }
8226
8227
8228 }
8229
8230
8231 }
8232
8233
8234 }
8235
8236 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
8237
8238 }
8239
8240
8241 }
8242
8243
8244 }
8245 break;
8246 case 3 :
8247 // InternalApplicationConfiguration.g:2692:4: ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) )
8248 {
8249 // InternalApplicationConfiguration.g:2692:4: ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) )
8250 // InternalApplicationConfiguration.g:2693:5: {...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) )
8251 {
8252 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {
8253 if (state.backtracking>0) {state.failed=true; return current;}
8254 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)");
8255 }
8256 // InternalApplicationConfiguration.g:2693:111: ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) )
8257 // InternalApplicationConfiguration.g:2694:6: ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) )
8258 {
8259 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2);
8260 // InternalApplicationConfiguration.g:2697:9: ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) )
8261 // InternalApplicationConfiguration.g:2697:10: {...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) )
8262 {
8263 if ( !((true)) ) {
8264 if (state.backtracking>0) {state.failed=true; return current;}
8265 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
8266 }
8267 // InternalApplicationConfiguration.g:2697:19: (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) )
8268 // InternalApplicationConfiguration.g:2697:20: otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) )
8269 {
8270 otherlv_10=(Token)match(input,26,FOLLOW_10); if (state.failed) return current;
8271 if ( state.backtracking==0 ) {
8272
8273 newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getPatternsKeyword_3_2_0());
8274
8275 }
8276 otherlv_11=(Token)match(input,16,FOLLOW_29); if (state.failed) return current;
8277 if ( state.backtracking==0 ) {
8278
8279 newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1());
8280
8281 }
8282 // InternalApplicationConfiguration.g:2705:9: ( (lv_patterns_12_0= ruleGraphPattern ) )
8283 // InternalApplicationConfiguration.g:2706:10: (lv_patterns_12_0= ruleGraphPattern )
8284 {
8285 // InternalApplicationConfiguration.g:2706:10: (lv_patterns_12_0= ruleGraphPattern )
8286 // InternalApplicationConfiguration.g:2707:11: lv_patterns_12_0= ruleGraphPattern
8287 {
8288 if ( state.backtracking==0 ) {
8289
8290 newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0());
8291
8292 }
8293 pushFollow(FOLLOW_28);
8294 lv_patterns_12_0=ruleGraphPattern();
8295
8296 state._fsp--;
8297 if (state.failed) return current;
8298 if ( state.backtracking==0 ) {
8299
8300 if (current==null) {
8301 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
8302 }
8303 set(
8304 current,
8305 "patterns",
8306 lv_patterns_12_0,
8307 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern");
8308 afterParserOrEnumRuleCall();
8309
8310 }
8311
8312 }
8313
8314
8315 }
8316
8317
8318 }
8319
8320
8321 }
8322
8323 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
8324
8325 }
8326
8327
8328 }
8329
8330
8331 }
8332 break;
8333 case 4 :
8334 // InternalApplicationConfiguration.g:2730:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) )
8335 {
8336 // InternalApplicationConfiguration.g:2730:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) )
8337 // InternalApplicationConfiguration.g:2731:5: {...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) )
8338 {
8339 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {
8340 if (state.backtracking>0) {state.failed=true; return current;}
8341 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)");
8342 }
8343 // InternalApplicationConfiguration.g:2731:111: ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) )
8344 // InternalApplicationConfiguration.g:2732:6: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) )
8345 {
8346 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3);
8347 // InternalApplicationConfiguration.g:2735:9: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) )
8348 // InternalApplicationConfiguration.g:2735:10: {...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) )
8349 {
8350 if ( !((true)) ) {
8351 if (state.backtracking>0) {state.failed=true; return current;}
8352 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
8353 }
8354 // InternalApplicationConfiguration.g:2735:19: (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) )
8355 // InternalApplicationConfiguration.g:2735:20: otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) )
8356 {
8357 otherlv_13=(Token)match(input,37,FOLLOW_10); if (state.failed) return current;
8358 if ( state.backtracking==0 ) {
8359
8360 newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0());
8361
8362 }
8363 otherlv_14=(Token)match(input,16,FOLLOW_29); if (state.failed) return current;
8364 if ( state.backtracking==0 ) {
8365
8366 newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1());
8367
8368 }
8369 // InternalApplicationConfiguration.g:2743:9: ( (lv_scope_15_0= ruleScope ) )
8370 // InternalApplicationConfiguration.g:2744:10: (lv_scope_15_0= ruleScope )
8371 {
8372 // InternalApplicationConfiguration.g:2744:10: (lv_scope_15_0= ruleScope )
8373 // InternalApplicationConfiguration.g:2745:11: lv_scope_15_0= ruleScope
8374 {
8375 if ( state.backtracking==0 ) {
8376
8377 newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_3_2_0());
8378
8379 }
8380 pushFollow(FOLLOW_28);
8381 lv_scope_15_0=ruleScope();
8382
8383 state._fsp--;
8384 if (state.failed) return current;
8385 if ( state.backtracking==0 ) {
8386
8387 if (current==null) {
8388 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
8389 }
8390 set(
8391 current,
8392 "scope",
8393 lv_scope_15_0,
8394 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope");
8395 afterParserOrEnumRuleCall();
8396
8397 }
8398
8399 }
8400
8401
8402 }
8403
8404
8405 }
8406
8407
8408 }
8409
8410 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
8411
8412 }
8413
8414
8415 }
8416
8417
8418 }
8419 break;
8420 case 5 :
8421 // InternalApplicationConfiguration.g:2768:4: ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) )
8422 {
8423 // InternalApplicationConfiguration.g:2768:4: ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) )
8424 // InternalApplicationConfiguration.g:2769:5: {...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) )
8425 {
8426 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {
8427 if (state.backtracking>0) {state.failed=true; return current;}
8428 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)");
8429 }
8430 // InternalApplicationConfiguration.g:2769:111: ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) )
8431 // InternalApplicationConfiguration.g:2770:6: ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) )
8432 {
8433 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4);
8434 // InternalApplicationConfiguration.g:2773:9: ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) )
8435 // InternalApplicationConfiguration.g:2773:10: {...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) )
8436 {
8437 if ( !((true)) ) {
8438 if (state.backtracking>0) {state.failed=true; return current;}
8439 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
8440 }
8441 // InternalApplicationConfiguration.g:2773:19: (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) )
8442 // InternalApplicationConfiguration.g:2773:20: otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) )
8443 {
8444 otherlv_16=(Token)match(input,39,FOLLOW_10); if (state.failed) return current;
8445 if ( state.backtracking==0 ) {
8446
8447 newLeafNode(otherlv_16, grammarAccess.getGenerationTaskAccess().getNumberKeyword_3_4_0());
8448
8449 }
8450 otherlv_17=(Token)match(input,16,FOLLOW_26); if (state.failed) return current;
8451 if ( state.backtracking==0 ) {
8452
8453 newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1());
8454
8455 }
8456 // InternalApplicationConfiguration.g:2781:9: ( (lv_number_18_0= RULE_INT ) )
8457 // InternalApplicationConfiguration.g:2782:10: (lv_number_18_0= RULE_INT )
8458 {
8459 // InternalApplicationConfiguration.g:2782:10: (lv_number_18_0= RULE_INT )
8460 // InternalApplicationConfiguration.g:2783:11: lv_number_18_0= RULE_INT
8461 {
8462 lv_number_18_0=(Token)match(input,RULE_INT,FOLLOW_28); if (state.failed) return current;
8463 if ( state.backtracking==0 ) {
8464
8465 newLeafNode(lv_number_18_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_4_2_0());
8466
8467 }
8468 if ( state.backtracking==0 ) {
8469
8470 if (current==null) {
8471 current = createModelElement(grammarAccess.getGenerationTaskRule());
8472 }
8473 setWithLastConsumed(
8474 current,
8475 "number",
8476 lv_number_18_0,
8477 "org.eclipse.xtext.common.Terminals.INT");
8478
8479 }
8480
8481 }
8482
8483
8484 }
8485
8486
8487 }
8488
8489
8490 }
8491
8492 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
8493
8494 }
8495
8496
8497 }
8498
8499
8500 }
8501 break;
8502 case 6 :
8503 // InternalApplicationConfiguration.g:2805:4: ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) )
8504 {
8505 // InternalApplicationConfiguration.g:2805:4: ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) )
8506 // InternalApplicationConfiguration.g:2806:5: {...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) )
8507 {
8508 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {
8509 if (state.backtracking>0) {state.failed=true; return current;}
8510 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)");
8511 }
8512 // InternalApplicationConfiguration.g:2806:111: ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) )
8513 // InternalApplicationConfiguration.g:2807:6: ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) )
8514 {
8515 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5);
8516 // InternalApplicationConfiguration.g:2810:9: ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) )
8517 // InternalApplicationConfiguration.g:2810:10: {...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) )
8518 {
8519 if ( !((true)) ) {
8520 if (state.backtracking>0) {state.failed=true; return current;}
8521 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
8522 }
8523 // InternalApplicationConfiguration.g:2810:19: (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) )
8524 // InternalApplicationConfiguration.g:2810:20: otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) )
8525 {
8526 otherlv_19=(Token)match(input,40,FOLLOW_10); if (state.failed) return current;
8527 if ( state.backtracking==0 ) {
8528
8529 newLeafNode(otherlv_19, grammarAccess.getGenerationTaskAccess().getRunsKeyword_3_5_0());
8530
8531 }
8532 otherlv_20=(Token)match(input,16,FOLLOW_26); if (state.failed) return current;
8533 if ( state.backtracking==0 ) {
8534
8535 newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1());
8536
8537 }
8538 // InternalApplicationConfiguration.g:2818:9: ( (lv_runs_21_0= RULE_INT ) )
8539 // InternalApplicationConfiguration.g:2819:10: (lv_runs_21_0= RULE_INT )
8540 {
8541 // InternalApplicationConfiguration.g:2819:10: (lv_runs_21_0= RULE_INT )
8542 // InternalApplicationConfiguration.g:2820:11: lv_runs_21_0= RULE_INT
8543 {
8544 lv_runs_21_0=(Token)match(input,RULE_INT,FOLLOW_28); if (state.failed) return current;
8545 if ( state.backtracking==0 ) {
8546
8547 newLeafNode(lv_runs_21_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_5_2_0());
8548
8549 }
8550 if ( state.backtracking==0 ) {
8551
8552 if (current==null) {
8553 current = createModelElement(grammarAccess.getGenerationTaskRule());
8554 }
8555 setWithLastConsumed(
8556 current,
8557 "runs",
8558 lv_runs_21_0,
8559 "org.eclipse.xtext.common.Terminals.INT");
8560
8561 }
8562
8563 }
8564
8565
8566 }
8567
8568
8569 }
8570
8571
8572 }
8573
8574 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
8575
8576 }
8577
8578
8579 }
8580
8581
8582 }
8583 break;
8584 case 7 :
8585 // InternalApplicationConfiguration.g:2842:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) )
8586 {
8587 // InternalApplicationConfiguration.g:2842:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) )
8588 // InternalApplicationConfiguration.g:2843:5: {...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) )
8589 {
8590 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {
8591 if (state.backtracking>0) {state.failed=true; return current;}
8592 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)");
8593 }
8594 // InternalApplicationConfiguration.g:2843:111: ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) )
8595 // InternalApplicationConfiguration.g:2844:6: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) )
8596 {
8597 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6);
8598 // InternalApplicationConfiguration.g:2847:9: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) )
8599 // InternalApplicationConfiguration.g:2847:10: {...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) )
8600 {
8601 if ( !((true)) ) {
8602 if (state.backtracking>0) {state.failed=true; return current;}
8603 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
8604 }
8605 // InternalApplicationConfiguration.g:2847:19: (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) )
8606 // InternalApplicationConfiguration.g:2847:20: otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) )
8607 {
8608 otherlv_22=(Token)match(input,41,FOLLOW_10); if (state.failed) return current;
8609 if ( state.backtracking==0 ) {
8610
8611 newLeafNode(otherlv_22, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0());
8612
8613 }
8614 otherlv_23=(Token)match(input,16,FOLLOW_30); if (state.failed) return current;
8615 if ( state.backtracking==0 ) {
8616
8617 newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1());
8618
8619 }
8620 // InternalApplicationConfiguration.g:2855:9: ( (lv_solver_24_0= ruleSolver ) )
8621 // InternalApplicationConfiguration.g:2856:10: (lv_solver_24_0= ruleSolver )
8622 {
8623 // InternalApplicationConfiguration.g:2856:10: (lv_solver_24_0= ruleSolver )
8624 // InternalApplicationConfiguration.g:2857:11: lv_solver_24_0= ruleSolver
8625 {
8626 if ( state.backtracking==0 ) {
8627
8628 newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_6_2_0());
8629
8630 }
8631 pushFollow(FOLLOW_28);
8632 lv_solver_24_0=ruleSolver();
8633
8634 state._fsp--;
8635 if (state.failed) return current;
8636 if ( state.backtracking==0 ) {
8637
8638 if (current==null) {
8639 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
8640 }
8641 set(
8642 current,
8643 "solver",
8644 lv_solver_24_0,
8645 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver");
8646 afterParserOrEnumRuleCall();
8647
8648 }
8649
8650 }
8651
8652
8653 }
8654
8655
8656 }
8657
8658
8659 }
8660
8661 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
8662
8663 }
8664
8665
8666 }
8667
8668
8669 }
8670 break;
8671 case 8 :
8672 // InternalApplicationConfiguration.g:2880:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) )
8673 {
8674 // InternalApplicationConfiguration.g:2880:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) )
8675 // InternalApplicationConfiguration.g:2881:5: {...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) )
8676 {
8677 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {
8678 if (state.backtracking>0) {state.failed=true; return current;}
8679 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)");
8680 }
8681 // InternalApplicationConfiguration.g:2881:111: ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) )
8682 // InternalApplicationConfiguration.g:2882:6: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) )
8683 {
8684 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7);
8685 // InternalApplicationConfiguration.g:2885:9: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) )
8686 // InternalApplicationConfiguration.g:2885:10: {...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) )
8687 {
8688 if ( !((true)) ) {
8689 if (state.backtracking>0) {state.failed=true; return current;}
8690 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
8691 }
8692 // InternalApplicationConfiguration.g:2885:19: (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) )
8693 // InternalApplicationConfiguration.g:2885:20: otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) )
8694 {
8695 otherlv_25=(Token)match(input,27,FOLLOW_10); if (state.failed) return current;
8696 if ( state.backtracking==0 ) {
8697
8698 newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_7_0());
8699
8700 }
8701 otherlv_26=(Token)match(input,16,FOLLOW_29); if (state.failed) return current;
8702 if ( state.backtracking==0 ) {
8703
8704 newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1());
8705
8706 }
8707 // InternalApplicationConfiguration.g:2893:9: ( (lv_config_27_0= ruleConfig ) )
8708 // InternalApplicationConfiguration.g:2894:10: (lv_config_27_0= ruleConfig )
8709 {
8710 // InternalApplicationConfiguration.g:2894:10: (lv_config_27_0= ruleConfig )
8711 // InternalApplicationConfiguration.g:2895:11: lv_config_27_0= ruleConfig
8712 {
8713 if ( state.backtracking==0 ) {
8714
8715 newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_7_2_0());
8716
8717 }
8718 pushFollow(FOLLOW_28);
8719 lv_config_27_0=ruleConfig();
8720
8721 state._fsp--;
8722 if (state.failed) return current;
8723 if ( state.backtracking==0 ) {
8724
8725 if (current==null) {
8726 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
8727 }
8728 set(
8729 current,
8730 "config",
8731 lv_config_27_0,
8732 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config");
8733 afterParserOrEnumRuleCall();
8734
8735 }
8736
8737 }
8738
8739
8740 }
8741
8742
8743 }
8744
8745
8746 }
8747
8748 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
8749
8750 }
8751
8752
8753 }
8754
8755
8756 }
8757 break;
8758 case 9 :
8759 // InternalApplicationConfiguration.g:2918:4: ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) )
8760 {
8761 // InternalApplicationConfiguration.g:2918:4: ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) )
8762 // InternalApplicationConfiguration.g:2919:5: {...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) )
8763 {
8764 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {
8765 if (state.backtracking>0) {state.failed=true; return current;}
8766 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)");
8767 }
8768 // InternalApplicationConfiguration.g:2919:111: ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) )
8769 // InternalApplicationConfiguration.g:2920:6: ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) )
8770 {
8771 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8);
8772 // InternalApplicationConfiguration.g:2923:9: ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) )
8773 // InternalApplicationConfiguration.g:2923:10: {...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) )
8774 {
8775 if ( !((true)) ) {
8776 if (state.backtracking>0) {state.failed=true; return current;}
8777 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
8778 }
8779 // InternalApplicationConfiguration.g:2923:19: (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) )
8780 // InternalApplicationConfiguration.g:2923:20: otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) )
8781 {
8782 otherlv_28=(Token)match(input,42,FOLLOW_10); if (state.failed) return current;
8783 if ( state.backtracking==0 ) {
8784
8785 newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_8_0());
8786
8787 }
8788 otherlv_29=(Token)match(input,16,FOLLOW_18); if (state.failed) return current;
8789 if ( state.backtracking==0 ) {
8790
8791 newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1());
8792
8793 }
8794 // InternalApplicationConfiguration.g:2931:9: ( (lv_tagetFolder_30_0= ruleFile ) )
8795 // InternalApplicationConfiguration.g:2932:10: (lv_tagetFolder_30_0= ruleFile )
8796 {
8797 // InternalApplicationConfiguration.g:2932:10: (lv_tagetFolder_30_0= ruleFile )
8798 // InternalApplicationConfiguration.g:2933:11: lv_tagetFolder_30_0= ruleFile
8799 {
8800 if ( state.backtracking==0 ) {
8801
8802 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_8_2_0());
8803
8804 }
8805 pushFollow(FOLLOW_28);
8806 lv_tagetFolder_30_0=ruleFile();
8807
8808 state._fsp--;
8809 if (state.failed) return current;
8810 if ( state.backtracking==0 ) {
8811
8812 if (current==null) {
8813 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
8814 }
8815 set(
8816 current,
8817 "tagetFolder",
8818 lv_tagetFolder_30_0,
8819 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
8820 afterParserOrEnumRuleCall();
8821
8822 }
8823
8824 }
8825
8826
8827 }
8828
8829
8830 }
8831
8832
8833 }
8834
8835 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
8836
8837 }
8838
8839
8840 }
8841
8842
8843 }
8844 break;
8845 case 10 :
8846 // InternalApplicationConfiguration.g:2956:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) )
8847 {
8848 // InternalApplicationConfiguration.g:2956:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) )
8849 // InternalApplicationConfiguration.g:2957:5: {...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) )
8850 {
8851 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {
8852 if (state.backtracking>0) {state.failed=true; return current;}
8853 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)");
8854 }
8855 // InternalApplicationConfiguration.g:2957:111: ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) )
8856 // InternalApplicationConfiguration.g:2958:6: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) )
8857 {
8858 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9);
8859 // InternalApplicationConfiguration.g:2961:9: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) )
8860 // InternalApplicationConfiguration.g:2961:10: {...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) )
8861 {
8862 if ( !((true)) ) {
8863 if (state.backtracking>0) {state.failed=true; return current;}
8864 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
8865 }
8866 // InternalApplicationConfiguration.g:2961:19: (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) )
8867 // InternalApplicationConfiguration.g:2961:20: otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) )
8868 {
8869 otherlv_31=(Token)match(input,43,FOLLOW_10); if (state.failed) return current;
8870 if ( state.backtracking==0 ) {
8871
8872 newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0());
8873
8874 }
8875 otherlv_32=(Token)match(input,16,FOLLOW_18); if (state.failed) return current;
8876 if ( state.backtracking==0 ) {
8877
8878 newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1());
8879
8880 }
8881 // InternalApplicationConfiguration.g:2969:9: ( (lv_debugFolder_33_0= ruleFile ) )
8882 // InternalApplicationConfiguration.g:2970:10: (lv_debugFolder_33_0= ruleFile )
8883 {
8884 // InternalApplicationConfiguration.g:2970:10: (lv_debugFolder_33_0= ruleFile )
8885 // InternalApplicationConfiguration.g:2971:11: lv_debugFolder_33_0= ruleFile
8886 {
8887 if ( state.backtracking==0 ) {
8888
8889 newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0());
8890
8891 }
8892 pushFollow(FOLLOW_28);
8893 lv_debugFolder_33_0=ruleFile();
8894
8895 state._fsp--;
8896 if (state.failed) return current;
8897 if ( state.backtracking==0 ) {
8898
8899 if (current==null) {
8900 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
8901 }
8902 set(
8903 current,
8904 "debugFolder",
8905 lv_debugFolder_33_0,
8906 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
8907 afterParserOrEnumRuleCall();
8908
8909 }
8910
8911 }
8912
8913
8914 }
8915
8916
8917 }
8918
8919
8920 }
8921
8922 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
8923
8924 }
8925
8926
8927 }
8928
8929
8930 }
8931 break;
8932 case 11 :
8933 // InternalApplicationConfiguration.g:2994:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) )
8934 {
8935 // InternalApplicationConfiguration.g:2994:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) )
8936 // InternalApplicationConfiguration.g:2995:5: {...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) )
8937 {
8938 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {
8939 if (state.backtracking>0) {state.failed=true; return current;}
8940 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)");
8941 }
8942 // InternalApplicationConfiguration.g:2995:112: ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) )
8943 // InternalApplicationConfiguration.g:2996:6: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) )
8944 {
8945 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10);
8946 // InternalApplicationConfiguration.g:2999:9: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) )
8947 // InternalApplicationConfiguration.g:2999:10: {...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) )
8948 {
8949 if ( !((true)) ) {
8950 if (state.backtracking>0) {state.failed=true; return current;}
8951 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
8952 }
8953 // InternalApplicationConfiguration.g:2999:19: (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) )
8954 // InternalApplicationConfiguration.g:2999:20: otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) )
8955 {
8956 otherlv_34=(Token)match(input,44,FOLLOW_10); if (state.failed) return current;
8957 if ( state.backtracking==0 ) {
8958
8959 newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0());
8960
8961 }
8962 otherlv_35=(Token)match(input,16,FOLLOW_18); if (state.failed) return current;
8963 if ( state.backtracking==0 ) {
8964
8965 newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1());
8966
8967 }
8968 // InternalApplicationConfiguration.g:3007:9: ( (lv_targetLogFile_36_0= ruleFile ) )
8969 // InternalApplicationConfiguration.g:3008:10: (lv_targetLogFile_36_0= ruleFile )
8970 {
8971 // InternalApplicationConfiguration.g:3008:10: (lv_targetLogFile_36_0= ruleFile )
8972 // InternalApplicationConfiguration.g:3009:11: lv_targetLogFile_36_0= ruleFile
8973 {
8974 if ( state.backtracking==0 ) {
8975
8976 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0());
8977
8978 }
8979 pushFollow(FOLLOW_28);
8980 lv_targetLogFile_36_0=ruleFile();
8981
8982 state._fsp--;
8983 if (state.failed) return current;
8984 if ( state.backtracking==0 ) {
8985
8986 if (current==null) {
8987 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
8988 }
8989 set(
8990 current,
8991 "targetLogFile",
8992 lv_targetLogFile_36_0,
8993 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
8994 afterParserOrEnumRuleCall();
8995
8996 }
8997
8998 }
8999
9000
9001 }
9002
9003
9004 }
9005
9006
9007 }
9008
9009 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
9010
9011 }
9012
9013
9014 }
9015
9016
9017 }
9018 break;
9019 case 12 :
9020 // InternalApplicationConfiguration.g:3032:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) )
9021 {
9022 // InternalApplicationConfiguration.g:3032:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) )
9023 // InternalApplicationConfiguration.g:3033:5: {...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) )
9024 {
9025 if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {
9026 if (state.backtracking>0) {state.failed=true; return current;}
9027 throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)");
9028 }
9029 // InternalApplicationConfiguration.g:3033:112: ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) )
9030 // InternalApplicationConfiguration.g:3034:6: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) )
9031 {
9032 getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11);
9033 // InternalApplicationConfiguration.g:3037:9: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) )
9034 // InternalApplicationConfiguration.g:3037:10: {...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) )
9035 {
9036 if ( !((true)) ) {
9037 if (state.backtracking>0) {state.failed=true; return current;}
9038 throw new FailedPredicateException(input, "ruleGenerationTask", "true");
9039 }
9040 // InternalApplicationConfiguration.g:3037:19: (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) )
9041 // InternalApplicationConfiguration.g:3037:20: otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) )
9042 {
9043 otherlv_37=(Token)match(input,45,FOLLOW_10); if (state.failed) return current;
9044 if ( state.backtracking==0 ) {
9045
9046 newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0());
9047
9048 }
9049 otherlv_38=(Token)match(input,16,FOLLOW_18); if (state.failed) return current;
9050 if ( state.backtracking==0 ) {
9051
9052 newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1());
9053
9054 }
9055 // InternalApplicationConfiguration.g:3045:9: ( (lv_targetStatisticsFile_39_0= ruleFile ) )
9056 // InternalApplicationConfiguration.g:3046:10: (lv_targetStatisticsFile_39_0= ruleFile )
9057 {
9058 // InternalApplicationConfiguration.g:3046:10: (lv_targetStatisticsFile_39_0= ruleFile )
9059 // InternalApplicationConfiguration.g:3047:11: lv_targetStatisticsFile_39_0= ruleFile
9060 {
9061 if ( state.backtracking==0 ) {
9062
9063 newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0());
9064
9065 }
9066 pushFollow(FOLLOW_28);
9067 lv_targetStatisticsFile_39_0=ruleFile();
9068
9069 state._fsp--;
9070 if (state.failed) return current;
9071 if ( state.backtracking==0 ) {
9072
9073 if (current==null) {
9074 current = createModelElementForParent(grammarAccess.getGenerationTaskRule());
9075 }
9076 set(
9077 current,
9078 "targetStatisticsFile",
9079 lv_targetStatisticsFile_39_0,
9080 "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File");
9081 afterParserOrEnumRuleCall();
9082
9083 }
9084
9085 }
9086
9087
9088 }
9089
9090
9091 }
9092
9093
9094 }
9095
9096 getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
9097
9098 }
9099
9100
9101 }
9102
9103
9104 }
9105 break;
9106
9107 default :
9108 break loop37;
9109 }
9110 } while (true);
9111
9112
9113 }
9114
9115
9116 }
9117
9118 getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3());
9119
9120 }
9121
9122 otherlv_40=(Token)match(input,19,FOLLOW_2); if (state.failed) return current;
9123 if ( state.backtracking==0 ) {
9124
9125 newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4());
9126
9127 }
9128
9129 }
9130
9131
9132 }
9133
9134 if ( state.backtracking==0 ) {
9135
9136 leaveRule();
9137
9138 }
9139 }
9140
9141 catch (RecognitionException re) {
9142 recover(input,re);
9143 appendSkippedTokens();
9144 }
9145 finally {
9146 }
9147 return current;
9148 }
9149 // $ANTLR end "ruleGenerationTask"
9150
9151
9152 // $ANTLR start "ruleSolver"
9153 // InternalApplicationConfiguration.g:3085:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ;
9154 public final Enumerator ruleSolver() throws RecognitionException {
9155 Enumerator current = null;
9156
9157 Token enumLiteral_0=null;
9158 Token enumLiteral_1=null;
9159 Token enumLiteral_2=null;
9160
9161
9162 enterRule();
9163
9164 try {
9165 // InternalApplicationConfiguration.g:3091:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) )
9166 // InternalApplicationConfiguration.g:3092:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) )
9167 {
9168 // InternalApplicationConfiguration.g:3092:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) )
9169 int alt38=3;
9170 switch ( input.LA(1) ) {
9171 case 46:
9172 {
9173 alt38=1;
9174 }
9175 break;
9176 case 47:
9177 {
9178 alt38=2;
9179 }
9180 break;
9181 case 48:
9182 {
9183 alt38=3;
9184 }
9185 break;
9186 default:
9187 if (state.backtracking>0) {state.failed=true; return current;}
9188 NoViableAltException nvae =
9189 new NoViableAltException("", 38, 0, input);
9190
9191 throw nvae;
9192 }
9193
9194 switch (alt38) {
9195 case 1 :
9196 // InternalApplicationConfiguration.g:3093:3: (enumLiteral_0= 'SMTSolver' )
9197 {
9198 // InternalApplicationConfiguration.g:3093:3: (enumLiteral_0= 'SMTSolver' )
9199 // InternalApplicationConfiguration.g:3094:4: enumLiteral_0= 'SMTSolver'
9200 {
9201 enumLiteral_0=(Token)match(input,46,FOLLOW_2); if (state.failed) return current;
9202 if ( state.backtracking==0 ) {
9203
9204 current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
9205 newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0());
9206
9207 }
9208
9209 }
9210
9211
9212 }
9213 break;
9214 case 2 :
9215 // InternalApplicationConfiguration.g:3101:3: (enumLiteral_1= 'AlloySolver' )
9216 {
9217 // InternalApplicationConfiguration.g:3101:3: (enumLiteral_1= 'AlloySolver' )
9218 // InternalApplicationConfiguration.g:3102:4: enumLiteral_1= 'AlloySolver'
9219 {
9220 enumLiteral_1=(Token)match(input,47,FOLLOW_2); if (state.failed) return current;
9221 if ( state.backtracking==0 ) {
9222
9223 current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
9224 newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1());
9225
9226 }
9227
9228 }
9229
9230
9231 }
9232 break;
9233 case 3 :
9234 // InternalApplicationConfiguration.g:3109:3: (enumLiteral_2= 'ViatraSolver' )
9235 {
9236 // InternalApplicationConfiguration.g:3109:3: (enumLiteral_2= 'ViatraSolver' )
9237 // InternalApplicationConfiguration.g:3110:4: enumLiteral_2= 'ViatraSolver'
9238 {
9239 enumLiteral_2=(Token)match(input,48,FOLLOW_2); if (state.failed) return current;
9240 if ( state.backtracking==0 ) {
9241
9242 current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
9243 newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2());
9244
9245 }
9246
9247 }
9248
9249
9250 }
9251 break;
9252
9253 }
9254
9255
9256 }
9257
9258 if ( state.backtracking==0 ) {
9259
9260 leaveRule();
9261
9262 }
9263 }
9264
9265 catch (RecognitionException re) {
9266 recover(input,re);
9267 appendSkippedTokens();
9268 }
9269 finally {
9270 }
9271 return current;
9272 }
9273 // $ANTLR end "ruleSolver"
9274
9275 // $ANTLR start synpred1_InternalApplicationConfiguration
9276 public final void synpred1_InternalApplicationConfiguration_fragment() throws RecognitionException {
9277 // InternalApplicationConfiguration.g:182:5: ( '.' )
9278 // InternalApplicationConfiguration.g:182:6: '.'
9279 {
9280 match(input,11,FOLLOW_2); if (state.failed) return ;
9281
9282 }
9283 }
9284 // $ANTLR end synpred1_InternalApplicationConfiguration
9285
1726 // Delegated rules 9286 // Delegated rules
1727 9287
9288 public final boolean synpred1_InternalApplicationConfiguration() {
9289 state.backtracking++;
9290 int start = input.mark();
9291 try {
9292 synpred1_InternalApplicationConfiguration_fragment(); // can never throw exception
9293 } catch (RecognitionException re) {
9294 System.err.println("impossible: "+re);
9295 }
9296 boolean success = !state.failed;
9297 input.rewind(start);
9298 state.backtracking--;
9299 state.failed=false;
9300 return success;
9301 }
9302
9303
9304 protected DFA37 dfa37 = new DFA37(this);
9305 static final String dfa_1s = "\16\uffff";
9306 static final String dfa_2s = "\1\23\15\uffff";
9307 static final String dfa_3s = "\1\55\15\uffff";
9308 static final String dfa_4s = "\1\uffff\1\15\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14";
9309 static final String dfa_5s = "\1\0\15\uffff}>";
9310 static final String[] dfa_6s = {
9311 "\1\1\3\uffff\1\2\1\uffff\1\3\1\4\1\11\11\uffff\1\5\1\uffff\1\6\1\7\1\10\1\12\1\13\1\14\1\15",
9312 "",
9313 "",
9314 "",
9315 "",
9316 "",
9317 "",
9318 "",
9319 "",
9320 "",
9321 "",
9322 "",
9323 "",
9324 ""
9325 };
9326
9327 static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s);
9328 static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s);
9329 static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s);
9330 static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s);
9331 static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s);
9332 static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s);
9333
9334 class DFA37 extends DFA {
9335
9336 public DFA37(BaseRecognizer recognizer) {
9337 this.recognizer = recognizer;
9338 this.decisionNumber = 37;
9339 this.eot = dfa_1;
9340 this.eof = dfa_1;
9341 this.min = dfa_2;
9342 this.max = dfa_3;
9343 this.accept = dfa_4;
9344 this.special = dfa_5;
9345 this.transition = dfa_6;
9346 }
9347 public String getDescription() {
9348 return "()* loopback of 2615: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 ) ) ) ) ) ) )*";
9349 }
9350 public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
9351 TokenStream input = (TokenStream)_input;
9352 int _s = s;
9353 switch ( s ) {
9354 case 0 :
9355 int LA37_0 = input.LA(1);
1728 9356
9357
9358 int index37_0 = input.index();
9359 input.rewind();
9360 s = -1;
9361 if ( (LA37_0==19) ) {s = 1;}
9362
9363 else if ( LA37_0 == 23 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 2;}
9364
9365 else if ( LA37_0 == 25 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 3;}
9366
9367 else if ( LA37_0 == 26 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 4;}
9368
9369 else if ( LA37_0 == 37 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 5;}
9370
9371 else if ( LA37_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 6;}
9372
9373 else if ( LA37_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 7;}
9374
9375 else if ( LA37_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 8;}
9376
9377 else if ( LA37_0 == 27 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 9;}
9378
9379 else if ( LA37_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 10;}
9380
9381 else if ( LA37_0 == 43 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 11;}
9382
9383 else if ( LA37_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 12;}
9384
9385 else if ( LA37_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 13;}
9386
9387
9388 input.seek(index37_0);
9389 if ( s>=0 ) return s;
9390 break;
9391 }
9392 if (state.backtracking>0) {state.failed=true; return -1;}
9393 NoViableAltException nvae =
9394 new NoViableAltException(getDescription(), 37, _s, input);
9395 error(nvae);
9396 throw nvae;
9397 }
9398 }
1729 9399
1730 9400
1731 public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); 9401 public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
1732 public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); 9402 public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
1733 public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000200802L}); 9403 public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x000000600E809002L});
1734 public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000200002L}); 9404 public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x000000600E808002L});
1735 public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000001000L}); 9405 public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000802L});
1736 public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000010L}); 9406 public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000010L});
1737 public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000002000L}); 9407 public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000002000L});
1738 public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000020020L}); 9408 public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000020L});
1739 public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000018000L}); 9409 public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000004000L});
1740 public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000000020L}); 9410 public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000010000L});
1741 public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000040002L}); 9411 public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000100010L});
1742 public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000004000L}); 9412 public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x00000000000C0000L});
1743 public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000080000L}); 9413 public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000200002L});
1744 public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000100002L}); 9414 public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000020000L});
1745 9415 public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000400000L});
1746} \ No newline at end of file 9416 public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000001000030L});
9417 public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000080000L});
9418 public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000000030L});
9419 public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000080020L});
9420 public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000040080040L});
9421 public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000040000040L});
9422 public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000030000000L});
9423 public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000040000000L});
9424 public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000001E80000000L});
9425 public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000030000002L});
9426 public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000000040L});
9427 public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000100000000L});
9428 public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x00003FA00E880000L});
9429 public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000000020010L});
9430 public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0001C00000000000L});
9431
9432}