diff options
author | 2018-01-17 00:54:44 +0100 | |
---|---|---|
committer | 2018-01-17 00:54:44 +0100 | |
commit | 0a31d5448e92d915c7163c3985fa0807f67d3f06 (patch) | |
tree | 1a106505c98df6398f2b5fe183771fc315f1e87a /Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal | |
parent | Scope patched for metamodel specification (diff) | |
download | VIATRA-Generator-0a31d5448e92d915c7163c3985fa0807f67d3f06.tar.gz VIATRA-Generator-0a31d5448e92d915c7163c3985fa0807f67d3f06.tar.zst VIATRA-Generator-0a31d5448e92d915c7163c3985fa0807f67d3f06.zip |
Scoping and linking of Viatra Packages and Patterns is completed
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal')
4 files changed, 11955 insertions, 773 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g index f7f57fab..13039f39 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g | |||
@@ -23,6 +23,7 @@ import org.eclipse.xtext.parser.*; | |||
23 | import org.eclipse.xtext.parser.impl.*; | 23 | import org.eclipse.xtext.parser.impl.*; |
24 | import org.eclipse.emf.ecore.util.EcoreUtil; | 24 | import org.eclipse.emf.ecore.util.EcoreUtil; |
25 | import org.eclipse.emf.ecore.EObject; | 25 | import org.eclipse.emf.ecore.EObject; |
26 | import org.eclipse.emf.common.util.Enumerator; | ||
26 | import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; | 27 | import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; |
27 | import org.eclipse.xtext.parser.antlr.XtextTokenStream; | 28 | import org.eclipse.xtext.parser.antlr.XtextTokenStream; |
28 | import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; | 29 | import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; |
@@ -132,39 +133,68 @@ ruleCommand returns [EObject current=null] | |||
132 | @after { | 133 | @after { |
133 | leaveRule(); | 134 | leaveRule(); |
134 | }: | 135 | }: |
135 | { | 136 | ( |
136 | newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall()); | 137 | { |
137 | } | 138 | newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); |
138 | this_Declaration_0=ruleDeclaration | 139 | } |
139 | { | 140 | this_Declaration_0=ruleDeclaration |
140 | $current = $this_Declaration_0.current; | 141 | { |
141 | afterParserOrEnumRuleCall(); | 142 | $current = $this_Declaration_0.current; |
142 | } | 143 | afterParserOrEnumRuleCall(); |
144 | } | ||
145 | | | ||
146 | { | ||
147 | newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); | ||
148 | } | ||
149 | this_Task_1=ruleTask | ||
150 | { | ||
151 | $current = $this_Task_1.current; | ||
152 | afterParserOrEnumRuleCall(); | ||
153 | } | ||
154 | ) | ||
143 | ; | 155 | ; |
144 | 156 | ||
145 | // Entry rule entryRuleDeclaration | 157 | // Entry rule entryRuleQualifiedName |
146 | entryRuleDeclaration returns [EObject current=null]: | 158 | entryRuleQualifiedName returns [String current=null]: |
147 | { newCompositeNode(grammarAccess.getDeclarationRule()); } | 159 | { newCompositeNode(grammarAccess.getQualifiedNameRule()); } |
148 | iv_ruleDeclaration=ruleDeclaration | 160 | iv_ruleQualifiedName=ruleQualifiedName |
149 | { $current=$iv_ruleDeclaration.current; } | 161 | { $current=$iv_ruleQualifiedName.current.getText(); } |
150 | EOF; | 162 | EOF; |
151 | 163 | ||
152 | // Rule Declaration | 164 | // Rule QualifiedName |
153 | ruleDeclaration returns [EObject current=null] | 165 | ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] |
154 | @init { | 166 | @init { |
155 | enterRule(); | 167 | enterRule(); |
156 | } | 168 | } |
157 | @after { | 169 | @after { |
158 | leaveRule(); | 170 | leaveRule(); |
159 | }: | 171 | }: |
160 | { | 172 | ( |
161 | newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall()); | 173 | this_ID_0=RULE_ID |
162 | } | 174 | { |
163 | this_MetamodelDeclaration_0=ruleMetamodelDeclaration | 175 | $current.merge(this_ID_0); |
164 | { | 176 | } |
165 | $current = $this_MetamodelDeclaration_0.current; | 177 | { |
166 | afterParserOrEnumRuleCall(); | 178 | newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); |
167 | } | 179 | } |
180 | ( | ||
181 | ( | ||
182 | ('.')=> | ||
183 | kw='.' | ||
184 | { | ||
185 | $current.merge(kw); | ||
186 | newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); | ||
187 | } | ||
188 | ) | ||
189 | this_ID_2=RULE_ID | ||
190 | { | ||
191 | $current.merge(this_ID_2); | ||
192 | } | ||
193 | { | ||
194 | newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); | ||
195 | } | ||
196 | )* | ||
197 | ) | ||
168 | ; | 198 | ; |
169 | 199 | ||
170 | // Entry rule entryRuleImport | 200 | // Entry rule entryRuleImport |
@@ -283,6 +313,243 @@ ruleViatraImport returns [EObject current=null] | |||
283 | ) | 313 | ) |
284 | ; | 314 | ; |
285 | 315 | ||
316 | // Entry rule entryRuleDeclaration | ||
317 | entryRuleDeclaration returns [EObject current=null]: | ||
318 | { newCompositeNode(grammarAccess.getDeclarationRule()); } | ||
319 | iv_ruleDeclaration=ruleDeclaration | ||
320 | { $current=$iv_ruleDeclaration.current; } | ||
321 | EOF; | ||
322 | |||
323 | // Rule Declaration | ||
324 | ruleDeclaration returns [EObject current=null] | ||
325 | @init { | ||
326 | enterRule(); | ||
327 | } | ||
328 | @after { | ||
329 | leaveRule(); | ||
330 | }: | ||
331 | ( | ||
332 | { | ||
333 | newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); | ||
334 | } | ||
335 | this_FileDeclaration_0=ruleFileDeclaration | ||
336 | { | ||
337 | $current = $this_FileDeclaration_0.current; | ||
338 | afterParserOrEnumRuleCall(); | ||
339 | } | ||
340 | | | ||
341 | { | ||
342 | newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); | ||
343 | } | ||
344 | this_MetamodelDeclaration_1=ruleMetamodelDeclaration | ||
345 | { | ||
346 | $current = $this_MetamodelDeclaration_1.current; | ||
347 | afterParserOrEnumRuleCall(); | ||
348 | } | ||
349 | | | ||
350 | { | ||
351 | newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); | ||
352 | } | ||
353 | this_PartialModelDeclaration_2=rulePartialModelDeclaration | ||
354 | { | ||
355 | $current = $this_PartialModelDeclaration_2.current; | ||
356 | afterParserOrEnumRuleCall(); | ||
357 | } | ||
358 | | | ||
359 | { | ||
360 | newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); | ||
361 | } | ||
362 | this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration | ||
363 | { | ||
364 | $current = $this_GraphPatternDeclaration_3.current; | ||
365 | afterParserOrEnumRuleCall(); | ||
366 | } | ||
367 | | | ||
368 | { | ||
369 | newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); | ||
370 | } | ||
371 | this_ConfigDeclaration_4=ruleConfigDeclaration | ||
372 | { | ||
373 | $current = $this_ConfigDeclaration_4.current; | ||
374 | afterParserOrEnumRuleCall(); | ||
375 | } | ||
376 | | | ||
377 | { | ||
378 | newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); | ||
379 | } | ||
380 | this_ScopeDeclaration_5=ruleScopeDeclaration | ||
381 | { | ||
382 | $current = $this_ScopeDeclaration_5.current; | ||
383 | afterParserOrEnumRuleCall(); | ||
384 | } | ||
385 | ) | ||
386 | ; | ||
387 | |||
388 | // Entry rule entryRuleFileSpecification | ||
389 | entryRuleFileSpecification returns [EObject current=null]: | ||
390 | { newCompositeNode(grammarAccess.getFileSpecificationRule()); } | ||
391 | iv_ruleFileSpecification=ruleFileSpecification | ||
392 | { $current=$iv_ruleFileSpecification.current; } | ||
393 | EOF; | ||
394 | |||
395 | // Rule FileSpecification | ||
396 | ruleFileSpecification returns [EObject current=null] | ||
397 | @init { | ||
398 | enterRule(); | ||
399 | } | ||
400 | @after { | ||
401 | leaveRule(); | ||
402 | }: | ||
403 | ( | ||
404 | ( | ||
405 | lv_path_0_0=RULE_STRING | ||
406 | { | ||
407 | newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); | ||
408 | } | ||
409 | { | ||
410 | if ($current==null) { | ||
411 | $current = createModelElement(grammarAccess.getFileSpecificationRule()); | ||
412 | } | ||
413 | setWithLastConsumed( | ||
414 | $current, | ||
415 | "path", | ||
416 | lv_path_0_0, | ||
417 | "org.eclipse.xtext.common.Terminals.STRING"); | ||
418 | } | ||
419 | ) | ||
420 | ) | ||
421 | ; | ||
422 | |||
423 | // Entry rule entryRuleFileDeclaration | ||
424 | entryRuleFileDeclaration returns [EObject current=null]: | ||
425 | { newCompositeNode(grammarAccess.getFileDeclarationRule()); } | ||
426 | iv_ruleFileDeclaration=ruleFileDeclaration | ||
427 | { $current=$iv_ruleFileDeclaration.current; } | ||
428 | EOF; | ||
429 | |||
430 | // Rule FileDeclaration | ||
431 | ruleFileDeclaration returns [EObject current=null] | ||
432 | @init { | ||
433 | enterRule(); | ||
434 | } | ||
435 | @after { | ||
436 | leaveRule(); | ||
437 | }: | ||
438 | ( | ||
439 | otherlv_0='file' | ||
440 | { | ||
441 | newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); | ||
442 | } | ||
443 | ( | ||
444 | ( | ||
445 | lv_name_1_0=RULE_ID | ||
446 | { | ||
447 | newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); | ||
448 | } | ||
449 | { | ||
450 | if ($current==null) { | ||
451 | $current = createModelElement(grammarAccess.getFileDeclarationRule()); | ||
452 | } | ||
453 | setWithLastConsumed( | ||
454 | $current, | ||
455 | "name", | ||
456 | lv_name_1_0, | ||
457 | "org.eclipse.xtext.common.Terminals.ID"); | ||
458 | } | ||
459 | ) | ||
460 | ) | ||
461 | otherlv_2='=' | ||
462 | { | ||
463 | newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); | ||
464 | } | ||
465 | ( | ||
466 | ( | ||
467 | { | ||
468 | newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); | ||
469 | } | ||
470 | lv_specification_3_0=ruleFileSpecification | ||
471 | { | ||
472 | if ($current==null) { | ||
473 | $current = createModelElementForParent(grammarAccess.getFileDeclarationRule()); | ||
474 | } | ||
475 | set( | ||
476 | $current, | ||
477 | "specification", | ||
478 | lv_specification_3_0, | ||
479 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); | ||
480 | afterParserOrEnumRuleCall(); | ||
481 | } | ||
482 | ) | ||
483 | ) | ||
484 | ) | ||
485 | ; | ||
486 | |||
487 | // Entry rule entryRuleFileReference | ||
488 | entryRuleFileReference returns [EObject current=null]: | ||
489 | { newCompositeNode(grammarAccess.getFileReferenceRule()); } | ||
490 | iv_ruleFileReference=ruleFileReference | ||
491 | { $current=$iv_ruleFileReference.current; } | ||
492 | EOF; | ||
493 | |||
494 | // Rule FileReference | ||
495 | ruleFileReference returns [EObject current=null] | ||
496 | @init { | ||
497 | enterRule(); | ||
498 | } | ||
499 | @after { | ||
500 | leaveRule(); | ||
501 | }: | ||
502 | ( | ||
503 | ( | ||
504 | { | ||
505 | if ($current==null) { | ||
506 | $current = createModelElement(grammarAccess.getFileReferenceRule()); | ||
507 | } | ||
508 | } | ||
509 | otherlv_0=RULE_ID | ||
510 | { | ||
511 | newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); | ||
512 | } | ||
513 | ) | ||
514 | ) | ||
515 | ; | ||
516 | |||
517 | // Entry rule entryRuleFile | ||
518 | entryRuleFile returns [EObject current=null]: | ||
519 | { newCompositeNode(grammarAccess.getFileRule()); } | ||
520 | iv_ruleFile=ruleFile | ||
521 | { $current=$iv_ruleFile.current; } | ||
522 | EOF; | ||
523 | |||
524 | // Rule File | ||
525 | ruleFile returns [EObject current=null] | ||
526 | @init { | ||
527 | enterRule(); | ||
528 | } | ||
529 | @after { | ||
530 | leaveRule(); | ||
531 | }: | ||
532 | ( | ||
533 | { | ||
534 | newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); | ||
535 | } | ||
536 | this_FileSpecification_0=ruleFileSpecification | ||
537 | { | ||
538 | $current = $this_FileSpecification_0.current; | ||
539 | afterParserOrEnumRuleCall(); | ||
540 | } | ||
541 | | | ||
542 | { | ||
543 | newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); | ||
544 | } | ||
545 | this_FileReference_1=ruleFileReference | ||
546 | { | ||
547 | $current = $this_FileReference_1.current; | ||
548 | afterParserOrEnumRuleCall(); | ||
549 | } | ||
550 | ) | ||
551 | ; | ||
552 | |||
286 | // Entry rule entryRuleMetamodelSpecification | 553 | // Entry rule entryRuleMetamodelSpecification |
287 | entryRuleMetamodelSpecification returns [EObject current=null]: | 554 | entryRuleMetamodelSpecification returns [EObject current=null]: |
288 | { newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); } | 555 | { newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); } |
@@ -417,9 +684,12 @@ ruleAllPackageEntry returns [EObject current=null] | |||
417 | $current = createModelElement(grammarAccess.getAllPackageEntryRule()); | 684 | $current = createModelElement(grammarAccess.getAllPackageEntryRule()); |
418 | } | 685 | } |
419 | } | 686 | } |
420 | otherlv_1=RULE_ID | ||
421 | { | 687 | { |
422 | newLeafNode(otherlv_1, grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); | 688 | newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); |
689 | } | ||
690 | ruleQualifiedName | ||
691 | { | ||
692 | afterParserOrEnumRuleCall(); | ||
423 | } | 693 | } |
424 | ) | 694 | ) |
425 | ) | 695 | ) |
@@ -508,9 +778,12 @@ ruleMetamodelElement returns [EObject current=null] | |||
508 | $current = createModelElement(grammarAccess.getMetamodelElementRule()); | 778 | $current = createModelElement(grammarAccess.getMetamodelElementRule()); |
509 | } | 779 | } |
510 | } | 780 | } |
511 | otherlv_0=RULE_ID | ||
512 | { | 781 | { |
513 | newLeafNode(otherlv_0, grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); | 782 | newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); |
783 | } | ||
784 | ruleQualifiedName | ||
785 | { | ||
786 | afterParserOrEnumRuleCall(); | ||
514 | } | 787 | } |
515 | ) | 788 | ) |
516 | ) | 789 | ) |
@@ -644,6 +917,2205 @@ ruleMetamodelReference returns [EObject current=null] | |||
644 | ) | 917 | ) |
645 | ; | 918 | ; |
646 | 919 | ||
920 | // Entry rule entryRuleMetamodel | ||
921 | entryRuleMetamodel returns [EObject current=null]: | ||
922 | { newCompositeNode(grammarAccess.getMetamodelRule()); } | ||
923 | iv_ruleMetamodel=ruleMetamodel | ||
924 | { $current=$iv_ruleMetamodel.current; } | ||
925 | EOF; | ||
926 | |||
927 | // Rule Metamodel | ||
928 | ruleMetamodel returns [EObject current=null] | ||
929 | @init { | ||
930 | enterRule(); | ||
931 | } | ||
932 | @after { | ||
933 | leaveRule(); | ||
934 | }: | ||
935 | ( | ||
936 | { | ||
937 | newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); | ||
938 | } | ||
939 | this_MetamodelReference_0=ruleMetamodelReference | ||
940 | { | ||
941 | $current = $this_MetamodelReference_0.current; | ||
942 | afterParserOrEnumRuleCall(); | ||
943 | } | ||
944 | | | ||
945 | { | ||
946 | newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); | ||
947 | } | ||
948 | this_MetamodelSpecification_1=ruleMetamodelSpecification | ||
949 | { | ||
950 | $current = $this_MetamodelSpecification_1.current; | ||
951 | afterParserOrEnumRuleCall(); | ||
952 | } | ||
953 | ) | ||
954 | ; | ||
955 | |||
956 | // Entry rule entryRulePartialModelSpecification | ||
957 | entryRulePartialModelSpecification returns [EObject current=null]: | ||
958 | { newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); } | ||
959 | iv_rulePartialModelSpecification=rulePartialModelSpecification | ||
960 | { $current=$iv_rulePartialModelSpecification.current; } | ||
961 | EOF; | ||
962 | |||
963 | // Rule PartialModelSpecification | ||
964 | rulePartialModelSpecification returns [EObject current=null] | ||
965 | @init { | ||
966 | enterRule(); | ||
967 | } | ||
968 | @after { | ||
969 | leaveRule(); | ||
970 | }: | ||
971 | ( | ||
972 | otherlv_0='{' | ||
973 | { | ||
974 | newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); | ||
975 | } | ||
976 | ( | ||
977 | ( | ||
978 | { | ||
979 | newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); | ||
980 | } | ||
981 | lv_entry_1_0=rulePartialModelEntry | ||
982 | { | ||
983 | if ($current==null) { | ||
984 | $current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); | ||
985 | } | ||
986 | add( | ||
987 | $current, | ||
988 | "entry", | ||
989 | lv_entry_1_0, | ||
990 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); | ||
991 | afterParserOrEnumRuleCall(); | ||
992 | } | ||
993 | ) | ||
994 | ) | ||
995 | ( | ||
996 | otherlv_2=',' | ||
997 | { | ||
998 | newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); | ||
999 | } | ||
1000 | ( | ||
1001 | ( | ||
1002 | { | ||
1003 | newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); | ||
1004 | } | ||
1005 | lv_entry_3_0=rulePartialModelEntry | ||
1006 | { | ||
1007 | if ($current==null) { | ||
1008 | $current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); | ||
1009 | } | ||
1010 | add( | ||
1011 | $current, | ||
1012 | "entry", | ||
1013 | lv_entry_3_0, | ||
1014 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); | ||
1015 | afterParserOrEnumRuleCall(); | ||
1016 | } | ||
1017 | ) | ||
1018 | ) | ||
1019 | )? | ||
1020 | otherlv_4='}' | ||
1021 | { | ||
1022 | newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); | ||
1023 | } | ||
1024 | ) | ||
1025 | ; | ||
1026 | |||
1027 | // Entry rule entryRulePartialModelEntry | ||
1028 | entryRulePartialModelEntry returns [EObject current=null]: | ||
1029 | { newCompositeNode(grammarAccess.getPartialModelEntryRule()); } | ||
1030 | iv_rulePartialModelEntry=rulePartialModelEntry | ||
1031 | { $current=$iv_rulePartialModelEntry.current; } | ||
1032 | EOF; | ||
1033 | |||
1034 | // Rule PartialModelEntry | ||
1035 | rulePartialModelEntry returns [EObject current=null] | ||
1036 | @init { | ||
1037 | enterRule(); | ||
1038 | } | ||
1039 | @after { | ||
1040 | leaveRule(); | ||
1041 | }: | ||
1042 | ( | ||
1043 | { | ||
1044 | newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); | ||
1045 | } | ||
1046 | this_ModelEntry_0=ruleModelEntry | ||
1047 | { | ||
1048 | $current = $this_ModelEntry_0.current; | ||
1049 | afterParserOrEnumRuleCall(); | ||
1050 | } | ||
1051 | | | ||
1052 | { | ||
1053 | newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); | ||
1054 | } | ||
1055 | this_FolderEntry_1=ruleFolderEntry | ||
1056 | { | ||
1057 | $current = $this_FolderEntry_1.current; | ||
1058 | afterParserOrEnumRuleCall(); | ||
1059 | } | ||
1060 | ) | ||
1061 | ; | ||
1062 | |||
1063 | // Entry rule entryRuleModelEntry | ||
1064 | entryRuleModelEntry returns [EObject current=null]: | ||
1065 | { newCompositeNode(grammarAccess.getModelEntryRule()); } | ||
1066 | iv_ruleModelEntry=ruleModelEntry | ||
1067 | { $current=$iv_ruleModelEntry.current; } | ||
1068 | EOF; | ||
1069 | |||
1070 | // Rule ModelEntry | ||
1071 | ruleModelEntry returns [EObject current=null] | ||
1072 | @init { | ||
1073 | enterRule(); | ||
1074 | } | ||
1075 | @after { | ||
1076 | leaveRule(); | ||
1077 | }: | ||
1078 | ( | ||
1079 | ( | ||
1080 | { | ||
1081 | newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); | ||
1082 | } | ||
1083 | lv_path_0_0=ruleFile | ||
1084 | { | ||
1085 | if ($current==null) { | ||
1086 | $current = createModelElementForParent(grammarAccess.getModelEntryRule()); | ||
1087 | } | ||
1088 | set( | ||
1089 | $current, | ||
1090 | "path", | ||
1091 | lv_path_0_0, | ||
1092 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); | ||
1093 | afterParserOrEnumRuleCall(); | ||
1094 | } | ||
1095 | ) | ||
1096 | ) | ||
1097 | ; | ||
1098 | |||
1099 | // Entry rule entryRuleFolderEntry | ||
1100 | entryRuleFolderEntry returns [EObject current=null]: | ||
1101 | { newCompositeNode(grammarAccess.getFolderEntryRule()); } | ||
1102 | iv_ruleFolderEntry=ruleFolderEntry | ||
1103 | { $current=$iv_ruleFolderEntry.current; } | ||
1104 | EOF; | ||
1105 | |||
1106 | // Rule FolderEntry | ||
1107 | ruleFolderEntry returns [EObject current=null] | ||
1108 | @init { | ||
1109 | enterRule(); | ||
1110 | } | ||
1111 | @after { | ||
1112 | leaveRule(); | ||
1113 | }: | ||
1114 | ( | ||
1115 | otherlv_0='folder' | ||
1116 | { | ||
1117 | newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); | ||
1118 | } | ||
1119 | ( | ||
1120 | ( | ||
1121 | { | ||
1122 | newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); | ||
1123 | } | ||
1124 | lv_path_1_0=ruleFile | ||
1125 | { | ||
1126 | if ($current==null) { | ||
1127 | $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); | ||
1128 | } | ||
1129 | set( | ||
1130 | $current, | ||
1131 | "path", | ||
1132 | lv_path_1_0, | ||
1133 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); | ||
1134 | afterParserOrEnumRuleCall(); | ||
1135 | } | ||
1136 | ) | ||
1137 | ) | ||
1138 | ( | ||
1139 | otherlv_2='excluding' | ||
1140 | { | ||
1141 | newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); | ||
1142 | } | ||
1143 | otherlv_3='{' | ||
1144 | { | ||
1145 | newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); | ||
1146 | } | ||
1147 | ( | ||
1148 | ( | ||
1149 | { | ||
1150 | newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); | ||
1151 | } | ||
1152 | lv_exclusion_4_0=ruleModelEntry | ||
1153 | { | ||
1154 | if ($current==null) { | ||
1155 | $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); | ||
1156 | } | ||
1157 | add( | ||
1158 | $current, | ||
1159 | "exclusion", | ||
1160 | lv_exclusion_4_0, | ||
1161 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); | ||
1162 | afterParserOrEnumRuleCall(); | ||
1163 | } | ||
1164 | ) | ||
1165 | ) | ||
1166 | ( | ||
1167 | otherlv_5=',' | ||
1168 | { | ||
1169 | newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); | ||
1170 | } | ||
1171 | ( | ||
1172 | ( | ||
1173 | { | ||
1174 | newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); | ||
1175 | } | ||
1176 | lv_exclusion_6_0=ruleModelEntry | ||
1177 | { | ||
1178 | if ($current==null) { | ||
1179 | $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); | ||
1180 | } | ||
1181 | add( | ||
1182 | $current, | ||
1183 | "exclusion", | ||
1184 | lv_exclusion_6_0, | ||
1185 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); | ||
1186 | afterParserOrEnumRuleCall(); | ||
1187 | } | ||
1188 | ) | ||
1189 | ) | ||
1190 | )* | ||
1191 | otherlv_7='}' | ||
1192 | { | ||
1193 | newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); | ||
1194 | } | ||
1195 | )? | ||
1196 | ) | ||
1197 | ; | ||
1198 | |||
1199 | // Entry rule entryRulePartialModelDeclaration | ||
1200 | entryRulePartialModelDeclaration returns [EObject current=null]: | ||
1201 | { newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); } | ||
1202 | iv_rulePartialModelDeclaration=rulePartialModelDeclaration | ||
1203 | { $current=$iv_rulePartialModelDeclaration.current; } | ||
1204 | EOF; | ||
1205 | |||
1206 | // Rule PartialModelDeclaration | ||
1207 | rulePartialModelDeclaration returns [EObject current=null] | ||
1208 | @init { | ||
1209 | enterRule(); | ||
1210 | } | ||
1211 | @after { | ||
1212 | leaveRule(); | ||
1213 | }: | ||
1214 | ( | ||
1215 | otherlv_0='partial-model' | ||
1216 | { | ||
1217 | newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getPartialModelKeyword_0()); | ||
1218 | } | ||
1219 | ( | ||
1220 | ( | ||
1221 | lv_name_1_0=RULE_ID | ||
1222 | { | ||
1223 | newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); | ||
1224 | } | ||
1225 | { | ||
1226 | if ($current==null) { | ||
1227 | $current = createModelElement(grammarAccess.getPartialModelDeclarationRule()); | ||
1228 | } | ||
1229 | setWithLastConsumed( | ||
1230 | $current, | ||
1231 | "name", | ||
1232 | lv_name_1_0, | ||
1233 | "org.eclipse.xtext.common.Terminals.ID"); | ||
1234 | } | ||
1235 | ) | ||
1236 | ) | ||
1237 | ( | ||
1238 | ( | ||
1239 | { | ||
1240 | newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); | ||
1241 | } | ||
1242 | lv_specification_2_0=rulePartialModelSpecification | ||
1243 | { | ||
1244 | if ($current==null) { | ||
1245 | $current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule()); | ||
1246 | } | ||
1247 | set( | ||
1248 | $current, | ||
1249 | "specification", | ||
1250 | lv_specification_2_0, | ||
1251 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); | ||
1252 | afterParserOrEnumRuleCall(); | ||
1253 | } | ||
1254 | ) | ||
1255 | ) | ||
1256 | ) | ||
1257 | ; | ||
1258 | |||
1259 | // Entry rule entryRulePartialModelReference | ||
1260 | entryRulePartialModelReference returns [EObject current=null]: | ||
1261 | { newCompositeNode(grammarAccess.getPartialModelReferenceRule()); } | ||
1262 | iv_rulePartialModelReference=rulePartialModelReference | ||
1263 | { $current=$iv_rulePartialModelReference.current; } | ||
1264 | EOF; | ||
1265 | |||
1266 | // Rule PartialModelReference | ||
1267 | rulePartialModelReference returns [EObject current=null] | ||
1268 | @init { | ||
1269 | enterRule(); | ||
1270 | } | ||
1271 | @after { | ||
1272 | leaveRule(); | ||
1273 | }: | ||
1274 | ( | ||
1275 | ( | ||
1276 | { | ||
1277 | if ($current==null) { | ||
1278 | $current = createModelElement(grammarAccess.getPartialModelReferenceRule()); | ||
1279 | } | ||
1280 | } | ||
1281 | otherlv_0=RULE_ID | ||
1282 | { | ||
1283 | newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); | ||
1284 | } | ||
1285 | ) | ||
1286 | ) | ||
1287 | ; | ||
1288 | |||
1289 | // Entry rule entryRulePartialModel | ||
1290 | entryRulePartialModel returns [EObject current=null]: | ||
1291 | { newCompositeNode(grammarAccess.getPartialModelRule()); } | ||
1292 | iv_rulePartialModel=rulePartialModel | ||
1293 | { $current=$iv_rulePartialModel.current; } | ||
1294 | EOF; | ||
1295 | |||
1296 | // Rule PartialModel | ||
1297 | rulePartialModel returns [EObject current=null] | ||
1298 | @init { | ||
1299 | enterRule(); | ||
1300 | } | ||
1301 | @after { | ||
1302 | leaveRule(); | ||
1303 | }: | ||
1304 | ( | ||
1305 | { | ||
1306 | newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); | ||
1307 | } | ||
1308 | this_PartialModelSpecification_0=rulePartialModelSpecification | ||
1309 | { | ||
1310 | $current = $this_PartialModelSpecification_0.current; | ||
1311 | afterParserOrEnumRuleCall(); | ||
1312 | } | ||
1313 | | | ||
1314 | { | ||
1315 | newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); | ||
1316 | } | ||
1317 | this_PartialModelReference_1=rulePartialModelReference | ||
1318 | { | ||
1319 | $current = $this_PartialModelReference_1.current; | ||
1320 | afterParserOrEnumRuleCall(); | ||
1321 | } | ||
1322 | ) | ||
1323 | ; | ||
1324 | |||
1325 | // Entry rule entryRulePatternSpecification | ||
1326 | entryRulePatternSpecification returns [EObject current=null]: | ||
1327 | { newCompositeNode(grammarAccess.getPatternSpecificationRule()); } | ||
1328 | iv_rulePatternSpecification=rulePatternSpecification | ||
1329 | { $current=$iv_rulePatternSpecification.current; } | ||
1330 | EOF; | ||
1331 | |||
1332 | // Rule PatternSpecification | ||
1333 | rulePatternSpecification returns [EObject current=null] | ||
1334 | @init { | ||
1335 | enterRule(); | ||
1336 | } | ||
1337 | @after { | ||
1338 | leaveRule(); | ||
1339 | }: | ||
1340 | ( | ||
1341 | otherlv_0='{' | ||
1342 | { | ||
1343 | newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); | ||
1344 | } | ||
1345 | ( | ||
1346 | ( | ||
1347 | { | ||
1348 | newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); | ||
1349 | } | ||
1350 | lv_entries_1_0=rulePatternEntry | ||
1351 | { | ||
1352 | if ($current==null) { | ||
1353 | $current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); | ||
1354 | } | ||
1355 | add( | ||
1356 | $current, | ||
1357 | "entries", | ||
1358 | lv_entries_1_0, | ||
1359 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); | ||
1360 | afterParserOrEnumRuleCall(); | ||
1361 | } | ||
1362 | ) | ||
1363 | ) | ||
1364 | ( | ||
1365 | otherlv_2=',' | ||
1366 | { | ||
1367 | newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); | ||
1368 | } | ||
1369 | ( | ||
1370 | ( | ||
1371 | { | ||
1372 | newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); | ||
1373 | } | ||
1374 | lv_entries_3_0=rulePatternEntry | ||
1375 | { | ||
1376 | if ($current==null) { | ||
1377 | $current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); | ||
1378 | } | ||
1379 | add( | ||
1380 | $current, | ||
1381 | "entries", | ||
1382 | lv_entries_3_0, | ||
1383 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); | ||
1384 | afterParserOrEnumRuleCall(); | ||
1385 | } | ||
1386 | ) | ||
1387 | ) | ||
1388 | )* | ||
1389 | otherlv_4='}' | ||
1390 | { | ||
1391 | newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); | ||
1392 | } | ||
1393 | ) | ||
1394 | ; | ||
1395 | |||
1396 | // Entry rule entryRulePatternEntry | ||
1397 | entryRulePatternEntry returns [EObject current=null]: | ||
1398 | { newCompositeNode(grammarAccess.getPatternEntryRule()); } | ||
1399 | iv_rulePatternEntry=rulePatternEntry | ||
1400 | { $current=$iv_rulePatternEntry.current; } | ||
1401 | EOF; | ||
1402 | |||
1403 | // Rule PatternEntry | ||
1404 | rulePatternEntry returns [EObject current=null] | ||
1405 | @init { | ||
1406 | enterRule(); | ||
1407 | } | ||
1408 | @after { | ||
1409 | leaveRule(); | ||
1410 | }: | ||
1411 | ( | ||
1412 | { | ||
1413 | newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); | ||
1414 | } | ||
1415 | this_PatternElement_0=rulePatternElement | ||
1416 | { | ||
1417 | $current = $this_PatternElement_0.current; | ||
1418 | afterParserOrEnumRuleCall(); | ||
1419 | } | ||
1420 | | | ||
1421 | { | ||
1422 | newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); | ||
1423 | } | ||
1424 | this_AllPatternEntry_1=ruleAllPatternEntry | ||
1425 | { | ||
1426 | $current = $this_AllPatternEntry_1.current; | ||
1427 | afterParserOrEnumRuleCall(); | ||
1428 | } | ||
1429 | ) | ||
1430 | ; | ||
1431 | |||
1432 | // Entry rule entryRuleAllPatternEntry | ||
1433 | entryRuleAllPatternEntry returns [EObject current=null]: | ||
1434 | { newCompositeNode(grammarAccess.getAllPatternEntryRule()); } | ||
1435 | iv_ruleAllPatternEntry=ruleAllPatternEntry | ||
1436 | { $current=$iv_ruleAllPatternEntry.current; } | ||
1437 | EOF; | ||
1438 | |||
1439 | // Rule AllPatternEntry | ||
1440 | ruleAllPatternEntry returns [EObject current=null] | ||
1441 | @init { | ||
1442 | enterRule(); | ||
1443 | } | ||
1444 | @after { | ||
1445 | leaveRule(); | ||
1446 | }: | ||
1447 | ( | ||
1448 | otherlv_0='package' | ||
1449 | { | ||
1450 | newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); | ||
1451 | } | ||
1452 | ( | ||
1453 | ( | ||
1454 | { | ||
1455 | if ($current==null) { | ||
1456 | $current = createModelElement(grammarAccess.getAllPatternEntryRule()); | ||
1457 | } | ||
1458 | } | ||
1459 | { | ||
1460 | newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); | ||
1461 | } | ||
1462 | ruleQualifiedName | ||
1463 | { | ||
1464 | afterParserOrEnumRuleCall(); | ||
1465 | } | ||
1466 | ) | ||
1467 | ) | ||
1468 | ( | ||
1469 | otherlv_2='excluding' | ||
1470 | { | ||
1471 | newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); | ||
1472 | } | ||
1473 | otherlv_3='{' | ||
1474 | { | ||
1475 | newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); | ||
1476 | } | ||
1477 | ( | ||
1478 | ( | ||
1479 | { | ||
1480 | newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); | ||
1481 | } | ||
1482 | lv_exclusuion_4_0=rulePatternElement | ||
1483 | { | ||
1484 | if ($current==null) { | ||
1485 | $current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); | ||
1486 | } | ||
1487 | add( | ||
1488 | $current, | ||
1489 | "exclusuion", | ||
1490 | lv_exclusuion_4_0, | ||
1491 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); | ||
1492 | afterParserOrEnumRuleCall(); | ||
1493 | } | ||
1494 | ) | ||
1495 | ) | ||
1496 | ( | ||
1497 | otherlv_5=',' | ||
1498 | { | ||
1499 | newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); | ||
1500 | } | ||
1501 | ( | ||
1502 | ( | ||
1503 | { | ||
1504 | newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); | ||
1505 | } | ||
1506 | lv_exclusuion_6_0=rulePatternElement | ||
1507 | { | ||
1508 | if ($current==null) { | ||
1509 | $current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); | ||
1510 | } | ||
1511 | add( | ||
1512 | $current, | ||
1513 | "exclusuion", | ||
1514 | lv_exclusuion_6_0, | ||
1515 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); | ||
1516 | afterParserOrEnumRuleCall(); | ||
1517 | } | ||
1518 | ) | ||
1519 | ) | ||
1520 | )* | ||
1521 | otherlv_7='}' | ||
1522 | { | ||
1523 | newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); | ||
1524 | } | ||
1525 | )? | ||
1526 | ) | ||
1527 | ; | ||
1528 | |||
1529 | // Entry rule entryRulePatternElement | ||
1530 | entryRulePatternElement returns [EObject current=null]: | ||
1531 | { newCompositeNode(grammarAccess.getPatternElementRule()); } | ||
1532 | iv_rulePatternElement=rulePatternElement | ||
1533 | { $current=$iv_rulePatternElement.current; } | ||
1534 | EOF; | ||
1535 | |||
1536 | // Rule PatternElement | ||
1537 | rulePatternElement returns [EObject current=null] | ||
1538 | @init { | ||
1539 | enterRule(); | ||
1540 | } | ||
1541 | @after { | ||
1542 | leaveRule(); | ||
1543 | }: | ||
1544 | ( | ||
1545 | ( | ||
1546 | ( | ||
1547 | ( | ||
1548 | { | ||
1549 | if ($current==null) { | ||
1550 | $current = createModelElement(grammarAccess.getPatternElementRule()); | ||
1551 | } | ||
1552 | } | ||
1553 | { | ||
1554 | newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); | ||
1555 | } | ||
1556 | ruleQualifiedName | ||
1557 | { | ||
1558 | afterParserOrEnumRuleCall(); | ||
1559 | } | ||
1560 | ) | ||
1561 | ) | ||
1562 | otherlv_1='::' | ||
1563 | { | ||
1564 | newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); | ||
1565 | } | ||
1566 | )? | ||
1567 | ( | ||
1568 | ( | ||
1569 | { | ||
1570 | if ($current==null) { | ||
1571 | $current = createModelElement(grammarAccess.getPatternElementRule()); | ||
1572 | } | ||
1573 | } | ||
1574 | otherlv_2=RULE_ID | ||
1575 | { | ||
1576 | newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); | ||
1577 | } | ||
1578 | ) | ||
1579 | ) | ||
1580 | ) | ||
1581 | ; | ||
1582 | |||
1583 | // Entry rule entryRuleGraphPatternDeclaration | ||
1584 | entryRuleGraphPatternDeclaration returns [EObject current=null]: | ||
1585 | { newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); } | ||
1586 | iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration | ||
1587 | { $current=$iv_ruleGraphPatternDeclaration.current; } | ||
1588 | EOF; | ||
1589 | |||
1590 | // Rule GraphPatternDeclaration | ||
1591 | ruleGraphPatternDeclaration returns [EObject current=null] | ||
1592 | @init { | ||
1593 | enterRule(); | ||
1594 | } | ||
1595 | @after { | ||
1596 | leaveRule(); | ||
1597 | }: | ||
1598 | ( | ||
1599 | otherlv_0='patterns' | ||
1600 | { | ||
1601 | newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getPatternsKeyword_0()); | ||
1602 | } | ||
1603 | ( | ||
1604 | ( | ||
1605 | lv_name_1_0=RULE_ID | ||
1606 | { | ||
1607 | newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); | ||
1608 | } | ||
1609 | { | ||
1610 | if ($current==null) { | ||
1611 | $current = createModelElement(grammarAccess.getGraphPatternDeclarationRule()); | ||
1612 | } | ||
1613 | setWithLastConsumed( | ||
1614 | $current, | ||
1615 | "name", | ||
1616 | lv_name_1_0, | ||
1617 | "org.eclipse.xtext.common.Terminals.ID"); | ||
1618 | } | ||
1619 | ) | ||
1620 | ) | ||
1621 | ( | ||
1622 | ( | ||
1623 | { | ||
1624 | newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); | ||
1625 | } | ||
1626 | lv_specification_2_0=rulePatternSpecification | ||
1627 | { | ||
1628 | if ($current==null) { | ||
1629 | $current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule()); | ||
1630 | } | ||
1631 | set( | ||
1632 | $current, | ||
1633 | "specification", | ||
1634 | lv_specification_2_0, | ||
1635 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); | ||
1636 | afterParserOrEnumRuleCall(); | ||
1637 | } | ||
1638 | ) | ||
1639 | ) | ||
1640 | ) | ||
1641 | ; | ||
1642 | |||
1643 | // Entry rule entryRuleGraphPatternReference | ||
1644 | entryRuleGraphPatternReference returns [EObject current=null]: | ||
1645 | { newCompositeNode(grammarAccess.getGraphPatternReferenceRule()); } | ||
1646 | iv_ruleGraphPatternReference=ruleGraphPatternReference | ||
1647 | { $current=$iv_ruleGraphPatternReference.current; } | ||
1648 | EOF; | ||
1649 | |||
1650 | // Rule GraphPatternReference | ||
1651 | ruleGraphPatternReference returns [EObject current=null] | ||
1652 | @init { | ||
1653 | enterRule(); | ||
1654 | } | ||
1655 | @after { | ||
1656 | leaveRule(); | ||
1657 | }: | ||
1658 | ( | ||
1659 | ( | ||
1660 | { | ||
1661 | if ($current==null) { | ||
1662 | $current = createModelElement(grammarAccess.getGraphPatternReferenceRule()); | ||
1663 | } | ||
1664 | } | ||
1665 | otherlv_0=RULE_ID | ||
1666 | { | ||
1667 | newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); | ||
1668 | } | ||
1669 | ) | ||
1670 | ) | ||
1671 | ; | ||
1672 | |||
1673 | // Entry rule entryRuleGraphPattern | ||
1674 | entryRuleGraphPattern returns [EObject current=null]: | ||
1675 | { newCompositeNode(grammarAccess.getGraphPatternRule()); } | ||
1676 | iv_ruleGraphPattern=ruleGraphPattern | ||
1677 | { $current=$iv_ruleGraphPattern.current; } | ||
1678 | EOF; | ||
1679 | |||
1680 | // Rule GraphPattern | ||
1681 | ruleGraphPattern returns [EObject current=null] | ||
1682 | @init { | ||
1683 | enterRule(); | ||
1684 | } | ||
1685 | @after { | ||
1686 | leaveRule(); | ||
1687 | }: | ||
1688 | ( | ||
1689 | { | ||
1690 | newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); | ||
1691 | } | ||
1692 | this_GraphPatternReference_0=ruleGraphPatternReference | ||
1693 | { | ||
1694 | $current = $this_GraphPatternReference_0.current; | ||
1695 | afterParserOrEnumRuleCall(); | ||
1696 | } | ||
1697 | | | ||
1698 | { | ||
1699 | newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); | ||
1700 | } | ||
1701 | this_PatternSpecification_1=rulePatternSpecification | ||
1702 | { | ||
1703 | $current = $this_PatternSpecification_1.current; | ||
1704 | afterParserOrEnumRuleCall(); | ||
1705 | } | ||
1706 | ) | ||
1707 | ; | ||
1708 | |||
1709 | // Entry rule entryRuleConfigSpecification | ||
1710 | entryRuleConfigSpecification returns [EObject current=null]: | ||
1711 | { newCompositeNode(grammarAccess.getConfigSpecificationRule()); } | ||
1712 | iv_ruleConfigSpecification=ruleConfigSpecification | ||
1713 | { $current=$iv_ruleConfigSpecification.current; } | ||
1714 | EOF; | ||
1715 | |||
1716 | // Rule ConfigSpecification | ||
1717 | ruleConfigSpecification returns [EObject current=null] | ||
1718 | @init { | ||
1719 | enterRule(); | ||
1720 | } | ||
1721 | @after { | ||
1722 | leaveRule(); | ||
1723 | }: | ||
1724 | ( | ||
1725 | ( | ||
1726 | { | ||
1727 | $current = forceCreateModelElement( | ||
1728 | grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(), | ||
1729 | $current); | ||
1730 | } | ||
1731 | ) | ||
1732 | otherlv_1='{' | ||
1733 | { | ||
1734 | newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); | ||
1735 | } | ||
1736 | ( | ||
1737 | ( | ||
1738 | ( | ||
1739 | { | ||
1740 | newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); | ||
1741 | } | ||
1742 | lv_entries_2_0=ruleConfigEntry | ||
1743 | { | ||
1744 | if ($current==null) { | ||
1745 | $current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); | ||
1746 | } | ||
1747 | add( | ||
1748 | $current, | ||
1749 | "entries", | ||
1750 | lv_entries_2_0, | ||
1751 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); | ||
1752 | afterParserOrEnumRuleCall(); | ||
1753 | } | ||
1754 | ) | ||
1755 | ) | ||
1756 | ( | ||
1757 | otherlv_3=',' | ||
1758 | { | ||
1759 | newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); | ||
1760 | } | ||
1761 | ( | ||
1762 | ( | ||
1763 | { | ||
1764 | newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); | ||
1765 | } | ||
1766 | lv_entries_4_0=ruleConfigEntry | ||
1767 | { | ||
1768 | if ($current==null) { | ||
1769 | $current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); | ||
1770 | } | ||
1771 | add( | ||
1772 | $current, | ||
1773 | "entries", | ||
1774 | lv_entries_4_0, | ||
1775 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); | ||
1776 | afterParserOrEnumRuleCall(); | ||
1777 | } | ||
1778 | ) | ||
1779 | ) | ||
1780 | )* | ||
1781 | )? | ||
1782 | otherlv_5='}' | ||
1783 | { | ||
1784 | newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); | ||
1785 | } | ||
1786 | ) | ||
1787 | ; | ||
1788 | |||
1789 | // Entry rule entryRuleConfigDeclaration | ||
1790 | entryRuleConfigDeclaration returns [EObject current=null]: | ||
1791 | { newCompositeNode(grammarAccess.getConfigDeclarationRule()); } | ||
1792 | iv_ruleConfigDeclaration=ruleConfigDeclaration | ||
1793 | { $current=$iv_ruleConfigDeclaration.current; } | ||
1794 | EOF; | ||
1795 | |||
1796 | // Rule ConfigDeclaration | ||
1797 | ruleConfigDeclaration returns [EObject current=null] | ||
1798 | @init { | ||
1799 | enterRule(); | ||
1800 | } | ||
1801 | @after { | ||
1802 | leaveRule(); | ||
1803 | }: | ||
1804 | ( | ||
1805 | otherlv_0='config' | ||
1806 | { | ||
1807 | newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); | ||
1808 | } | ||
1809 | ( | ||
1810 | ( | ||
1811 | lv_name_1_0=RULE_ID | ||
1812 | { | ||
1813 | newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); | ||
1814 | } | ||
1815 | { | ||
1816 | if ($current==null) { | ||
1817 | $current = createModelElement(grammarAccess.getConfigDeclarationRule()); | ||
1818 | } | ||
1819 | setWithLastConsumed( | ||
1820 | $current, | ||
1821 | "name", | ||
1822 | lv_name_1_0, | ||
1823 | "org.eclipse.xtext.common.Terminals.ID"); | ||
1824 | } | ||
1825 | ) | ||
1826 | ) | ||
1827 | ( | ||
1828 | ( | ||
1829 | { | ||
1830 | newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); | ||
1831 | } | ||
1832 | lv_specification_2_0=ruleConfigSpecification | ||
1833 | { | ||
1834 | if ($current==null) { | ||
1835 | $current = createModelElementForParent(grammarAccess.getConfigDeclarationRule()); | ||
1836 | } | ||
1837 | set( | ||
1838 | $current, | ||
1839 | "specification", | ||
1840 | lv_specification_2_0, | ||
1841 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); | ||
1842 | afterParserOrEnumRuleCall(); | ||
1843 | } | ||
1844 | ) | ||
1845 | ) | ||
1846 | ) | ||
1847 | ; | ||
1848 | |||
1849 | // Entry rule entryRuleConfigEntry | ||
1850 | entryRuleConfigEntry returns [EObject current=null]: | ||
1851 | { newCompositeNode(grammarAccess.getConfigEntryRule()); } | ||
1852 | iv_ruleConfigEntry=ruleConfigEntry | ||
1853 | { $current=$iv_ruleConfigEntry.current; } | ||
1854 | EOF; | ||
1855 | |||
1856 | // Rule ConfigEntry | ||
1857 | ruleConfigEntry returns [EObject current=null] | ||
1858 | @init { | ||
1859 | enterRule(); | ||
1860 | } | ||
1861 | @after { | ||
1862 | leaveRule(); | ||
1863 | }: | ||
1864 | ( | ||
1865 | ( | ||
1866 | ( | ||
1867 | lv_key_0_0=RULE_STRING | ||
1868 | { | ||
1869 | newLeafNode(lv_key_0_0, grammarAccess.getConfigEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); | ||
1870 | } | ||
1871 | { | ||
1872 | if ($current==null) { | ||
1873 | $current = createModelElement(grammarAccess.getConfigEntryRule()); | ||
1874 | } | ||
1875 | setWithLastConsumed( | ||
1876 | $current, | ||
1877 | "key", | ||
1878 | lv_key_0_0, | ||
1879 | "org.eclipse.xtext.common.Terminals.STRING"); | ||
1880 | } | ||
1881 | ) | ||
1882 | ) | ||
1883 | otherlv_1='=' | ||
1884 | { | ||
1885 | newLeafNode(otherlv_1, grammarAccess.getConfigEntryAccess().getEqualsSignKeyword_1()); | ||
1886 | } | ||
1887 | ( | ||
1888 | ( | ||
1889 | lv_value_2_0=RULE_STRING | ||
1890 | { | ||
1891 | newLeafNode(lv_value_2_0, grammarAccess.getConfigEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); | ||
1892 | } | ||
1893 | { | ||
1894 | if ($current==null) { | ||
1895 | $current = createModelElement(grammarAccess.getConfigEntryRule()); | ||
1896 | } | ||
1897 | setWithLastConsumed( | ||
1898 | $current, | ||
1899 | "value", | ||
1900 | lv_value_2_0, | ||
1901 | "org.eclipse.xtext.common.Terminals.STRING"); | ||
1902 | } | ||
1903 | ) | ||
1904 | ) | ||
1905 | ) | ||
1906 | ; | ||
1907 | |||
1908 | // Entry rule entryRuleConfigReference | ||
1909 | entryRuleConfigReference returns [EObject current=null]: | ||
1910 | { newCompositeNode(grammarAccess.getConfigReferenceRule()); } | ||
1911 | iv_ruleConfigReference=ruleConfigReference | ||
1912 | { $current=$iv_ruleConfigReference.current; } | ||
1913 | EOF; | ||
1914 | |||
1915 | // Rule ConfigReference | ||
1916 | ruleConfigReference returns [EObject current=null] | ||
1917 | @init { | ||
1918 | enterRule(); | ||
1919 | } | ||
1920 | @after { | ||
1921 | leaveRule(); | ||
1922 | }: | ||
1923 | ( | ||
1924 | ( | ||
1925 | { | ||
1926 | if ($current==null) { | ||
1927 | $current = createModelElement(grammarAccess.getConfigReferenceRule()); | ||
1928 | } | ||
1929 | } | ||
1930 | otherlv_0=RULE_ID | ||
1931 | { | ||
1932 | newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); | ||
1933 | } | ||
1934 | ) | ||
1935 | ) | ||
1936 | ; | ||
1937 | |||
1938 | // Entry rule entryRuleConfig | ||
1939 | entryRuleConfig returns [EObject current=null]: | ||
1940 | { newCompositeNode(grammarAccess.getConfigRule()); } | ||
1941 | iv_ruleConfig=ruleConfig | ||
1942 | { $current=$iv_ruleConfig.current; } | ||
1943 | EOF; | ||
1944 | |||
1945 | // Rule Config | ||
1946 | ruleConfig returns [EObject current=null] | ||
1947 | @init { | ||
1948 | enterRule(); | ||
1949 | } | ||
1950 | @after { | ||
1951 | leaveRule(); | ||
1952 | }: | ||
1953 | ( | ||
1954 | { | ||
1955 | newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); | ||
1956 | } | ||
1957 | this_ConfigSpecification_0=ruleConfigSpecification | ||
1958 | { | ||
1959 | $current = $this_ConfigSpecification_0.current; | ||
1960 | afterParserOrEnumRuleCall(); | ||
1961 | } | ||
1962 | | | ||
1963 | { | ||
1964 | newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); | ||
1965 | } | ||
1966 | this_ConfigReference_1=ruleConfigReference | ||
1967 | { | ||
1968 | $current = $this_ConfigReference_1.current; | ||
1969 | afterParserOrEnumRuleCall(); | ||
1970 | } | ||
1971 | ) | ||
1972 | ; | ||
1973 | |||
1974 | // Entry rule entryRuleScopeSpecification | ||
1975 | entryRuleScopeSpecification returns [EObject current=null]: | ||
1976 | { newCompositeNode(grammarAccess.getScopeSpecificationRule()); } | ||
1977 | iv_ruleScopeSpecification=ruleScopeSpecification | ||
1978 | { $current=$iv_ruleScopeSpecification.current; } | ||
1979 | EOF; | ||
1980 | |||
1981 | // Rule ScopeSpecification | ||
1982 | ruleScopeSpecification returns [EObject current=null] | ||
1983 | @init { | ||
1984 | enterRule(); | ||
1985 | } | ||
1986 | @after { | ||
1987 | leaveRule(); | ||
1988 | }: | ||
1989 | ( | ||
1990 | ( | ||
1991 | { | ||
1992 | $current = forceCreateModelElement( | ||
1993 | grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(), | ||
1994 | $current); | ||
1995 | } | ||
1996 | ) | ||
1997 | otherlv_1='{' | ||
1998 | { | ||
1999 | newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); | ||
2000 | } | ||
2001 | ( | ||
2002 | ( | ||
2003 | ( | ||
2004 | { | ||
2005 | newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); | ||
2006 | } | ||
2007 | lv_scopes_2_0=ruleTypeScope | ||
2008 | { | ||
2009 | if ($current==null) { | ||
2010 | $current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); | ||
2011 | } | ||
2012 | add( | ||
2013 | $current, | ||
2014 | "scopes", | ||
2015 | lv_scopes_2_0, | ||
2016 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); | ||
2017 | afterParserOrEnumRuleCall(); | ||
2018 | } | ||
2019 | ) | ||
2020 | ) | ||
2021 | ( | ||
2022 | otherlv_3=',' | ||
2023 | { | ||
2024 | newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); | ||
2025 | } | ||
2026 | ( | ||
2027 | ( | ||
2028 | { | ||
2029 | newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); | ||
2030 | } | ||
2031 | lv_scopes_4_0=ruleTypeScope | ||
2032 | { | ||
2033 | if ($current==null) { | ||
2034 | $current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); | ||
2035 | } | ||
2036 | add( | ||
2037 | $current, | ||
2038 | "scopes", | ||
2039 | lv_scopes_4_0, | ||
2040 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); | ||
2041 | afterParserOrEnumRuleCall(); | ||
2042 | } | ||
2043 | ) | ||
2044 | ) | ||
2045 | )* | ||
2046 | )? | ||
2047 | otherlv_5='}' | ||
2048 | { | ||
2049 | newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); | ||
2050 | } | ||
2051 | ) | ||
2052 | ; | ||
2053 | |||
2054 | // Entry rule entryRuleTypeScope | ||
2055 | entryRuleTypeScope returns [EObject current=null]: | ||
2056 | { newCompositeNode(grammarAccess.getTypeScopeRule()); } | ||
2057 | iv_ruleTypeScope=ruleTypeScope | ||
2058 | { $current=$iv_ruleTypeScope.current; } | ||
2059 | EOF; | ||
2060 | |||
2061 | // Rule TypeScope | ||
2062 | ruleTypeScope returns [EObject current=null] | ||
2063 | @init { | ||
2064 | enterRule(); | ||
2065 | } | ||
2066 | @after { | ||
2067 | leaveRule(); | ||
2068 | }: | ||
2069 | ( | ||
2070 | ( | ||
2071 | ( | ||
2072 | ( | ||
2073 | lv_min_0_0=RULE_INT | ||
2074 | { | ||
2075 | newLeafNode(lv_min_0_0, grammarAccess.getTypeScopeAccess().getMinINTTerminalRuleCall_0_0_0()); | ||
2076 | } | ||
2077 | { | ||
2078 | if ($current==null) { | ||
2079 | $current = createModelElement(grammarAccess.getTypeScopeRule()); | ||
2080 | } | ||
2081 | setWithLastConsumed( | ||
2082 | $current, | ||
2083 | "min", | ||
2084 | lv_min_0_0, | ||
2085 | "org.eclipse.xtext.common.Terminals.INT"); | ||
2086 | } | ||
2087 | ) | ||
2088 | ) | ||
2089 | ( | ||
2090 | ( | ||
2091 | ( | ||
2092 | lv_greather_1_0='<' | ||
2093 | { | ||
2094 | newLeafNode(lv_greather_1_0, grammarAccess.getTypeScopeAccess().getGreatherLessThanSignKeyword_0_1_0_0()); | ||
2095 | } | ||
2096 | { | ||
2097 | if ($current==null) { | ||
2098 | $current = createModelElement(grammarAccess.getTypeScopeRule()); | ||
2099 | } | ||
2100 | setWithLastConsumed($current, "greather", true, "<"); | ||
2101 | } | ||
2102 | ) | ||
2103 | ) | ||
2104 | | | ||
2105 | ( | ||
2106 | ( | ||
2107 | lv_greaterOrEqual_2_0='<=' | ||
2108 | { | ||
2109 | newLeafNode(lv_greaterOrEqual_2_0, grammarAccess.getTypeScopeAccess().getGreaterOrEqualLessThanSignEqualsSignKeyword_0_1_1_0()); | ||
2110 | } | ||
2111 | { | ||
2112 | if ($current==null) { | ||
2113 | $current = createModelElement(grammarAccess.getTypeScopeRule()); | ||
2114 | } | ||
2115 | setWithLastConsumed($current, "greaterOrEqual", true, "<="); | ||
2116 | } | ||
2117 | ) | ||
2118 | ) | ||
2119 | ) | ||
2120 | )? | ||
2121 | otherlv_3='#' | ||
2122 | { | ||
2123 | newLeafNode(otherlv_3, grammarAccess.getTypeScopeAccess().getNumberSignKeyword_1()); | ||
2124 | } | ||
2125 | ( | ||
2126 | ( | ||
2127 | { | ||
2128 | newCompositeNode(grammarAccess.getTypeScopeAccess().getTypeTypeReferenceParserRuleCall_2_0()); | ||
2129 | } | ||
2130 | lv_type_4_0=ruleTypeReference | ||
2131 | { | ||
2132 | if ($current==null) { | ||
2133 | $current = createModelElementForParent(grammarAccess.getTypeScopeRule()); | ||
2134 | } | ||
2135 | set( | ||
2136 | $current, | ||
2137 | "type", | ||
2138 | lv_type_4_0, | ||
2139 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeReference"); | ||
2140 | afterParserOrEnumRuleCall(); | ||
2141 | } | ||
2142 | ) | ||
2143 | ) | ||
2144 | ( | ||
2145 | ( | ||
2146 | ( | ||
2147 | ( | ||
2148 | lv_less_5_0='<' | ||
2149 | { | ||
2150 | newLeafNode(lv_less_5_0, grammarAccess.getTypeScopeAccess().getLessLessThanSignKeyword_3_0_0_0()); | ||
2151 | } | ||
2152 | { | ||
2153 | if ($current==null) { | ||
2154 | $current = createModelElement(grammarAccess.getTypeScopeRule()); | ||
2155 | } | ||
2156 | setWithLastConsumed($current, "less", true, "<"); | ||
2157 | } | ||
2158 | ) | ||
2159 | ) | ||
2160 | | | ||
2161 | ( | ||
2162 | ( | ||
2163 | lv_lessOrEqual_6_0='<=' | ||
2164 | { | ||
2165 | newLeafNode(lv_lessOrEqual_6_0, grammarAccess.getTypeScopeAccess().getLessOrEqualLessThanSignEqualsSignKeyword_3_0_1_0()); | ||
2166 | } | ||
2167 | { | ||
2168 | if ($current==null) { | ||
2169 | $current = createModelElement(grammarAccess.getTypeScopeRule()); | ||
2170 | } | ||
2171 | setWithLastConsumed($current, "lessOrEqual", true, "<="); | ||
2172 | } | ||
2173 | ) | ||
2174 | ) | ||
2175 | ) | ||
2176 | ( | ||
2177 | ( | ||
2178 | lv_max_7_0=RULE_INT | ||
2179 | { | ||
2180 | newLeafNode(lv_max_7_0, grammarAccess.getTypeScopeAccess().getMaxINTTerminalRuleCall_3_1_0()); | ||
2181 | } | ||
2182 | { | ||
2183 | if ($current==null) { | ||
2184 | $current = createModelElement(grammarAccess.getTypeScopeRule()); | ||
2185 | } | ||
2186 | setWithLastConsumed( | ||
2187 | $current, | ||
2188 | "max", | ||
2189 | lv_max_7_0, | ||
2190 | "org.eclipse.xtext.common.Terminals.INT"); | ||
2191 | } | ||
2192 | ) | ||
2193 | ) | ||
2194 | )? | ||
2195 | ) | ||
2196 | ; | ||
2197 | |||
2198 | // Entry rule entryRuleTypeReference | ||
2199 | entryRuleTypeReference returns [EObject current=null]: | ||
2200 | { newCompositeNode(grammarAccess.getTypeReferenceRule()); } | ||
2201 | iv_ruleTypeReference=ruleTypeReference | ||
2202 | { $current=$iv_ruleTypeReference.current; } | ||
2203 | EOF; | ||
2204 | |||
2205 | // Rule TypeReference | ||
2206 | ruleTypeReference returns [EObject current=null] | ||
2207 | @init { | ||
2208 | enterRule(); | ||
2209 | } | ||
2210 | @after { | ||
2211 | leaveRule(); | ||
2212 | }: | ||
2213 | ( | ||
2214 | { | ||
2215 | newCompositeNode(grammarAccess.getTypeReferenceAccess().getClassReferenceParserRuleCall_0()); | ||
2216 | } | ||
2217 | this_ClassReference_0=ruleClassReference | ||
2218 | { | ||
2219 | $current = $this_ClassReference_0.current; | ||
2220 | afterParserOrEnumRuleCall(); | ||
2221 | } | ||
2222 | | | ||
2223 | { | ||
2224 | newCompositeNode(grammarAccess.getTypeReferenceAccess().getObjectReferenceParserRuleCall_1()); | ||
2225 | } | ||
2226 | this_ObjectReference_1=ruleObjectReference | ||
2227 | { | ||
2228 | $current = $this_ObjectReference_1.current; | ||
2229 | afterParserOrEnumRuleCall(); | ||
2230 | } | ||
2231 | | | ||
2232 | { | ||
2233 | newCompositeNode(grammarAccess.getTypeReferenceAccess().getIntegerReferenceParserRuleCall_2()); | ||
2234 | } | ||
2235 | this_IntegerReference_2=ruleIntegerReference | ||
2236 | { | ||
2237 | $current = $this_IntegerReference_2.current; | ||
2238 | afterParserOrEnumRuleCall(); | ||
2239 | } | ||
2240 | | | ||
2241 | { | ||
2242 | newCompositeNode(grammarAccess.getTypeReferenceAccess().getRealReferenceParserRuleCall_3()); | ||
2243 | } | ||
2244 | this_RealReference_3=ruleRealReference | ||
2245 | { | ||
2246 | $current = $this_RealReference_3.current; | ||
2247 | afterParserOrEnumRuleCall(); | ||
2248 | } | ||
2249 | | | ||
2250 | { | ||
2251 | newCompositeNode(grammarAccess.getTypeReferenceAccess().getStringReferenceParserRuleCall_4()); | ||
2252 | } | ||
2253 | this_StringReference_4=ruleStringReference | ||
2254 | { | ||
2255 | $current = $this_StringReference_4.current; | ||
2256 | afterParserOrEnumRuleCall(); | ||
2257 | } | ||
2258 | ) | ||
2259 | ; | ||
2260 | |||
2261 | // Entry rule entryRuleClassReference | ||
2262 | entryRuleClassReference returns [EObject current=null]: | ||
2263 | { newCompositeNode(grammarAccess.getClassReferenceRule()); } | ||
2264 | iv_ruleClassReference=ruleClassReference | ||
2265 | { $current=$iv_ruleClassReference.current; } | ||
2266 | EOF; | ||
2267 | |||
2268 | // Rule ClassReference | ||
2269 | ruleClassReference returns [EObject current=null] | ||
2270 | @init { | ||
2271 | enterRule(); | ||
2272 | } | ||
2273 | @after { | ||
2274 | leaveRule(); | ||
2275 | }: | ||
2276 | ( | ||
2277 | otherlv_0='[' | ||
2278 | { | ||
2279 | newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLeftSquareBracketKeyword_0()); | ||
2280 | } | ||
2281 | ( | ||
2282 | ( | ||
2283 | { | ||
2284 | newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); | ||
2285 | } | ||
2286 | lv_element_1_0=ruleMetamodelElement | ||
2287 | { | ||
2288 | if ($current==null) { | ||
2289 | $current = createModelElementForParent(grammarAccess.getClassReferenceRule()); | ||
2290 | } | ||
2291 | set( | ||
2292 | $current, | ||
2293 | "element", | ||
2294 | lv_element_1_0, | ||
2295 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); | ||
2296 | afterParserOrEnumRuleCall(); | ||
2297 | } | ||
2298 | ) | ||
2299 | ) | ||
2300 | otherlv_2=']' | ||
2301 | { | ||
2302 | newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getRightSquareBracketKeyword_2()); | ||
2303 | } | ||
2304 | ) | ||
2305 | ; | ||
2306 | |||
2307 | // Entry rule entryRuleObjectReference | ||
2308 | entryRuleObjectReference returns [EObject current=null]: | ||
2309 | { newCompositeNode(grammarAccess.getObjectReferenceRule()); } | ||
2310 | iv_ruleObjectReference=ruleObjectReference | ||
2311 | { $current=$iv_ruleObjectReference.current; } | ||
2312 | EOF; | ||
2313 | |||
2314 | // Rule ObjectReference | ||
2315 | ruleObjectReference returns [EObject current=null] | ||
2316 | @init { | ||
2317 | enterRule(); | ||
2318 | } | ||
2319 | @after { | ||
2320 | leaveRule(); | ||
2321 | }: | ||
2322 | ( | ||
2323 | ( | ||
2324 | { | ||
2325 | $current = forceCreateModelElement( | ||
2326 | grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(), | ||
2327 | $current); | ||
2328 | } | ||
2329 | ) | ||
2330 | otherlv_1='Object' | ||
2331 | { | ||
2332 | newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getObjectKeyword_1()); | ||
2333 | } | ||
2334 | ) | ||
2335 | ; | ||
2336 | |||
2337 | // Entry rule entryRuleIntegerReference | ||
2338 | entryRuleIntegerReference returns [EObject current=null]: | ||
2339 | { newCompositeNode(grammarAccess.getIntegerReferenceRule()); } | ||
2340 | iv_ruleIntegerReference=ruleIntegerReference | ||
2341 | { $current=$iv_ruleIntegerReference.current; } | ||
2342 | EOF; | ||
2343 | |||
2344 | // Rule IntegerReference | ||
2345 | ruleIntegerReference returns [EObject current=null] | ||
2346 | @init { | ||
2347 | enterRule(); | ||
2348 | } | ||
2349 | @after { | ||
2350 | leaveRule(); | ||
2351 | }: | ||
2352 | ( | ||
2353 | ( | ||
2354 | { | ||
2355 | $current = forceCreateModelElement( | ||
2356 | grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(), | ||
2357 | $current); | ||
2358 | } | ||
2359 | ) | ||
2360 | otherlv_1='int' | ||
2361 | { | ||
2362 | newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); | ||
2363 | } | ||
2364 | ) | ||
2365 | ; | ||
2366 | |||
2367 | // Entry rule entryRuleRealReference | ||
2368 | entryRuleRealReference returns [EObject current=null]: | ||
2369 | { newCompositeNode(grammarAccess.getRealReferenceRule()); } | ||
2370 | iv_ruleRealReference=ruleRealReference | ||
2371 | { $current=$iv_ruleRealReference.current; } | ||
2372 | EOF; | ||
2373 | |||
2374 | // Rule RealReference | ||
2375 | ruleRealReference returns [EObject current=null] | ||
2376 | @init { | ||
2377 | enterRule(); | ||
2378 | } | ||
2379 | @after { | ||
2380 | leaveRule(); | ||
2381 | }: | ||
2382 | ( | ||
2383 | ( | ||
2384 | { | ||
2385 | $current = forceCreateModelElement( | ||
2386 | grammarAccess.getRealReferenceAccess().getRealScopeAction_0(), | ||
2387 | $current); | ||
2388 | } | ||
2389 | ) | ||
2390 | otherlv_1='real' | ||
2391 | { | ||
2392 | newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); | ||
2393 | } | ||
2394 | ) | ||
2395 | ; | ||
2396 | |||
2397 | // Entry rule entryRuleStringReference | ||
2398 | entryRuleStringReference returns [EObject current=null]: | ||
2399 | { newCompositeNode(grammarAccess.getStringReferenceRule()); } | ||
2400 | iv_ruleStringReference=ruleStringReference | ||
2401 | { $current=$iv_ruleStringReference.current; } | ||
2402 | EOF; | ||
2403 | |||
2404 | // Rule StringReference | ||
2405 | ruleStringReference returns [EObject current=null] | ||
2406 | @init { | ||
2407 | enterRule(); | ||
2408 | } | ||
2409 | @after { | ||
2410 | leaveRule(); | ||
2411 | }: | ||
2412 | ( | ||
2413 | ( | ||
2414 | { | ||
2415 | $current = forceCreateModelElement( | ||
2416 | grammarAccess.getStringReferenceAccess().getStringScopeAction_0(), | ||
2417 | $current); | ||
2418 | } | ||
2419 | ) | ||
2420 | otherlv_1='string' | ||
2421 | { | ||
2422 | newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); | ||
2423 | } | ||
2424 | ) | ||
2425 | ; | ||
2426 | |||
2427 | // Entry rule entryRuleScopeDeclaration | ||
2428 | entryRuleScopeDeclaration returns [EObject current=null]: | ||
2429 | { newCompositeNode(grammarAccess.getScopeDeclarationRule()); } | ||
2430 | iv_ruleScopeDeclaration=ruleScopeDeclaration | ||
2431 | { $current=$iv_ruleScopeDeclaration.current; } | ||
2432 | EOF; | ||
2433 | |||
2434 | // Rule ScopeDeclaration | ||
2435 | ruleScopeDeclaration returns [EObject current=null] | ||
2436 | @init { | ||
2437 | enterRule(); | ||
2438 | } | ||
2439 | @after { | ||
2440 | leaveRule(); | ||
2441 | }: | ||
2442 | ( | ||
2443 | otherlv_0='scope' | ||
2444 | { | ||
2445 | newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); | ||
2446 | } | ||
2447 | ( | ||
2448 | ( | ||
2449 | lv_name_1_0=RULE_ID | ||
2450 | { | ||
2451 | newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); | ||
2452 | } | ||
2453 | { | ||
2454 | if ($current==null) { | ||
2455 | $current = createModelElement(grammarAccess.getScopeDeclarationRule()); | ||
2456 | } | ||
2457 | setWithLastConsumed( | ||
2458 | $current, | ||
2459 | "name", | ||
2460 | lv_name_1_0, | ||
2461 | "org.eclipse.xtext.common.Terminals.ID"); | ||
2462 | } | ||
2463 | ) | ||
2464 | ) | ||
2465 | ( | ||
2466 | ( | ||
2467 | { | ||
2468 | newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); | ||
2469 | } | ||
2470 | lv_specification_2_0=ruleScopeSpecification | ||
2471 | { | ||
2472 | if ($current==null) { | ||
2473 | $current = createModelElementForParent(grammarAccess.getScopeDeclarationRule()); | ||
2474 | } | ||
2475 | set( | ||
2476 | $current, | ||
2477 | "specification", | ||
2478 | lv_specification_2_0, | ||
2479 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); | ||
2480 | afterParserOrEnumRuleCall(); | ||
2481 | } | ||
2482 | ) | ||
2483 | ) | ||
2484 | ) | ||
2485 | ; | ||
2486 | |||
2487 | // Entry rule entryRuleScopeReference | ||
2488 | entryRuleScopeReference returns [EObject current=null]: | ||
2489 | { newCompositeNode(grammarAccess.getScopeReferenceRule()); } | ||
2490 | iv_ruleScopeReference=ruleScopeReference | ||
2491 | { $current=$iv_ruleScopeReference.current; } | ||
2492 | EOF; | ||
2493 | |||
2494 | // Rule ScopeReference | ||
2495 | ruleScopeReference returns [EObject current=null] | ||
2496 | @init { | ||
2497 | enterRule(); | ||
2498 | } | ||
2499 | @after { | ||
2500 | leaveRule(); | ||
2501 | }: | ||
2502 | ( | ||
2503 | ( | ||
2504 | { | ||
2505 | if ($current==null) { | ||
2506 | $current = createModelElement(grammarAccess.getScopeReferenceRule()); | ||
2507 | } | ||
2508 | } | ||
2509 | otherlv_0=RULE_ID | ||
2510 | { | ||
2511 | newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); | ||
2512 | } | ||
2513 | ) | ||
2514 | ) | ||
2515 | ; | ||
2516 | |||
2517 | // Entry rule entryRuleScope | ||
2518 | entryRuleScope returns [EObject current=null]: | ||
2519 | { newCompositeNode(grammarAccess.getScopeRule()); } | ||
2520 | iv_ruleScope=ruleScope | ||
2521 | { $current=$iv_ruleScope.current; } | ||
2522 | EOF; | ||
2523 | |||
2524 | // Rule Scope | ||
2525 | ruleScope returns [EObject current=null] | ||
2526 | @init { | ||
2527 | enterRule(); | ||
2528 | } | ||
2529 | @after { | ||
2530 | leaveRule(); | ||
2531 | }: | ||
2532 | ( | ||
2533 | { | ||
2534 | newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); | ||
2535 | } | ||
2536 | this_ScopeSpecification_0=ruleScopeSpecification | ||
2537 | { | ||
2538 | $current = $this_ScopeSpecification_0.current; | ||
2539 | afterParserOrEnumRuleCall(); | ||
2540 | } | ||
2541 | | | ||
2542 | { | ||
2543 | newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); | ||
2544 | } | ||
2545 | this_ScopeReference_1=ruleScopeReference | ||
2546 | { | ||
2547 | $current = $this_ScopeReference_1.current; | ||
2548 | afterParserOrEnumRuleCall(); | ||
2549 | } | ||
2550 | ) | ||
2551 | ; | ||
2552 | |||
2553 | // Entry rule entryRuleTask | ||
2554 | entryRuleTask returns [EObject current=null]: | ||
2555 | { newCompositeNode(grammarAccess.getTaskRule()); } | ||
2556 | iv_ruleTask=ruleTask | ||
2557 | { $current=$iv_ruleTask.current; } | ||
2558 | EOF; | ||
2559 | |||
2560 | // Rule Task | ||
2561 | ruleTask returns [EObject current=null] | ||
2562 | @init { | ||
2563 | enterRule(); | ||
2564 | } | ||
2565 | @after { | ||
2566 | leaveRule(); | ||
2567 | }: | ||
2568 | { | ||
2569 | newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); | ||
2570 | } | ||
2571 | this_GenerationTask_0=ruleGenerationTask | ||
2572 | { | ||
2573 | $current = $this_GenerationTask_0.current; | ||
2574 | afterParserOrEnumRuleCall(); | ||
2575 | } | ||
2576 | ; | ||
2577 | |||
2578 | // Entry rule entryRuleGenerationTask | ||
2579 | entryRuleGenerationTask returns [EObject current=null]: | ||
2580 | { newCompositeNode(grammarAccess.getGenerationTaskRule()); } | ||
2581 | iv_ruleGenerationTask=ruleGenerationTask | ||
2582 | { $current=$iv_ruleGenerationTask.current; } | ||
2583 | EOF; | ||
2584 | |||
2585 | // Rule GenerationTask | ||
2586 | ruleGenerationTask returns [EObject current=null] | ||
2587 | @init { | ||
2588 | enterRule(); | ||
2589 | } | ||
2590 | @after { | ||
2591 | leaveRule(); | ||
2592 | }: | ||
2593 | ( | ||
2594 | otherlv_0='generate' | ||
2595 | { | ||
2596 | newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); | ||
2597 | } | ||
2598 | ( | ||
2599 | { | ||
2600 | $current = forceCreateModelElement( | ||
2601 | grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(), | ||
2602 | $current); | ||
2603 | } | ||
2604 | ) | ||
2605 | otherlv_2='{' | ||
2606 | { | ||
2607 | newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); | ||
2608 | } | ||
2609 | ( | ||
2610 | ( | ||
2611 | { | ||
2612 | getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
2613 | } | ||
2614 | ( | ||
2615 | ( | ||
2616 | ( | ||
2617 | {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)}?=>( | ||
2618 | { | ||
2619 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); | ||
2620 | } | ||
2621 | ({true}?=>(otherlv_4='metamodel' | ||
2622 | { | ||
2623 | newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); | ||
2624 | } | ||
2625 | otherlv_5='=' | ||
2626 | { | ||
2627 | newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); | ||
2628 | } | ||
2629 | ( | ||
2630 | ( | ||
2631 | { | ||
2632 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); | ||
2633 | } | ||
2634 | lv_metamodel_6_0=ruleMetamodel | ||
2635 | { | ||
2636 | if ($current==null) { | ||
2637 | $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); | ||
2638 | } | ||
2639 | set( | ||
2640 | $current, | ||
2641 | "metamodel", | ||
2642 | lv_metamodel_6_0, | ||
2643 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel"); | ||
2644 | afterParserOrEnumRuleCall(); | ||
2645 | } | ||
2646 | ) | ||
2647 | ) | ||
2648 | )) | ||
2649 | { | ||
2650 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
2651 | } | ||
2652 | ) | ||
2653 | )| | ||
2654 | ( | ||
2655 | {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)}?=>( | ||
2656 | { | ||
2657 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); | ||
2658 | } | ||
2659 | ({true}?=>(otherlv_7='partial-model' | ||
2660 | { | ||
2661 | newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); | ||
2662 | } | ||
2663 | otherlv_8='=' | ||
2664 | { | ||
2665 | newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); | ||
2666 | } | ||
2667 | ( | ||
2668 | ( | ||
2669 | { | ||
2670 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); | ||
2671 | } | ||
2672 | lv_partialModel_9_0=rulePartialModel | ||
2673 | { | ||
2674 | if ($current==null) { | ||
2675 | $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); | ||
2676 | } | ||
2677 | set( | ||
2678 | $current, | ||
2679 | "partialModel", | ||
2680 | lv_partialModel_9_0, | ||
2681 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); | ||
2682 | afterParserOrEnumRuleCall(); | ||
2683 | } | ||
2684 | ) | ||
2685 | ) | ||
2686 | )) | ||
2687 | { | ||
2688 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
2689 | } | ||
2690 | ) | ||
2691 | )| | ||
2692 | ( | ||
2693 | {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)}?=>( | ||
2694 | { | ||
2695 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); | ||
2696 | } | ||
2697 | ({true}?=>(otherlv_10='patterns' | ||
2698 | { | ||
2699 | newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getPatternsKeyword_3_2_0()); | ||
2700 | } | ||
2701 | otherlv_11='=' | ||
2702 | { | ||
2703 | newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); | ||
2704 | } | ||
2705 | ( | ||
2706 | ( | ||
2707 | { | ||
2708 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); | ||
2709 | } | ||
2710 | lv_patterns_12_0=ruleGraphPattern | ||
2711 | { | ||
2712 | if ($current==null) { | ||
2713 | $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); | ||
2714 | } | ||
2715 | set( | ||
2716 | $current, | ||
2717 | "patterns", | ||
2718 | lv_patterns_12_0, | ||
2719 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); | ||
2720 | afterParserOrEnumRuleCall(); | ||
2721 | } | ||
2722 | ) | ||
2723 | ) | ||
2724 | )) | ||
2725 | { | ||
2726 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
2727 | } | ||
2728 | ) | ||
2729 | )| | ||
2730 | ( | ||
2731 | {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)}?=>( | ||
2732 | { | ||
2733 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); | ||
2734 | } | ||
2735 | ({true}?=>(otherlv_13='scope' | ||
2736 | { | ||
2737 | newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0()); | ||
2738 | } | ||
2739 | otherlv_14='=' | ||
2740 | { | ||
2741 | newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); | ||
2742 | } | ||
2743 | ( | ||
2744 | ( | ||
2745 | { | ||
2746 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_3_2_0()); | ||
2747 | } | ||
2748 | lv_scope_15_0=ruleScope | ||
2749 | { | ||
2750 | if ($current==null) { | ||
2751 | $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); | ||
2752 | } | ||
2753 | set( | ||
2754 | $current, | ||
2755 | "scope", | ||
2756 | lv_scope_15_0, | ||
2757 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); | ||
2758 | afterParserOrEnumRuleCall(); | ||
2759 | } | ||
2760 | ) | ||
2761 | ) | ||
2762 | )) | ||
2763 | { | ||
2764 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
2765 | } | ||
2766 | ) | ||
2767 | )| | ||
2768 | ( | ||
2769 | {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)}?=>( | ||
2770 | { | ||
2771 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); | ||
2772 | } | ||
2773 | ({true}?=>(otherlv_16='number' | ||
2774 | { | ||
2775 | newLeafNode(otherlv_16, grammarAccess.getGenerationTaskAccess().getNumberKeyword_3_4_0()); | ||
2776 | } | ||
2777 | otherlv_17='=' | ||
2778 | { | ||
2779 | newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); | ||
2780 | } | ||
2781 | ( | ||
2782 | ( | ||
2783 | lv_number_18_0=RULE_INT | ||
2784 | { | ||
2785 | newLeafNode(lv_number_18_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_4_2_0()); | ||
2786 | } | ||
2787 | { | ||
2788 | if ($current==null) { | ||
2789 | $current = createModelElement(grammarAccess.getGenerationTaskRule()); | ||
2790 | } | ||
2791 | setWithLastConsumed( | ||
2792 | $current, | ||
2793 | "number", | ||
2794 | lv_number_18_0, | ||
2795 | "org.eclipse.xtext.common.Terminals.INT"); | ||
2796 | } | ||
2797 | ) | ||
2798 | ) | ||
2799 | )) | ||
2800 | { | ||
2801 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
2802 | } | ||
2803 | ) | ||
2804 | )| | ||
2805 | ( | ||
2806 | {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)}?=>( | ||
2807 | { | ||
2808 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); | ||
2809 | } | ||
2810 | ({true}?=>(otherlv_19='runs' | ||
2811 | { | ||
2812 | newLeafNode(otherlv_19, grammarAccess.getGenerationTaskAccess().getRunsKeyword_3_5_0()); | ||
2813 | } | ||
2814 | otherlv_20='=' | ||
2815 | { | ||
2816 | newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); | ||
2817 | } | ||
2818 | ( | ||
2819 | ( | ||
2820 | lv_runs_21_0=RULE_INT | ||
2821 | { | ||
2822 | newLeafNode(lv_runs_21_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_5_2_0()); | ||
2823 | } | ||
2824 | { | ||
2825 | if ($current==null) { | ||
2826 | $current = createModelElement(grammarAccess.getGenerationTaskRule()); | ||
2827 | } | ||
2828 | setWithLastConsumed( | ||
2829 | $current, | ||
2830 | "runs", | ||
2831 | lv_runs_21_0, | ||
2832 | "org.eclipse.xtext.common.Terminals.INT"); | ||
2833 | } | ||
2834 | ) | ||
2835 | ) | ||
2836 | )) | ||
2837 | { | ||
2838 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
2839 | } | ||
2840 | ) | ||
2841 | )| | ||
2842 | ( | ||
2843 | {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)}?=>( | ||
2844 | { | ||
2845 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); | ||
2846 | } | ||
2847 | ({true}?=>(otherlv_22='solver' | ||
2848 | { | ||
2849 | newLeafNode(otherlv_22, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0()); | ||
2850 | } | ||
2851 | otherlv_23='=' | ||
2852 | { | ||
2853 | newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); | ||
2854 | } | ||
2855 | ( | ||
2856 | ( | ||
2857 | { | ||
2858 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_6_2_0()); | ||
2859 | } | ||
2860 | lv_solver_24_0=ruleSolver | ||
2861 | { | ||
2862 | if ($current==null) { | ||
2863 | $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); | ||
2864 | } | ||
2865 | set( | ||
2866 | $current, | ||
2867 | "solver", | ||
2868 | lv_solver_24_0, | ||
2869 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); | ||
2870 | afterParserOrEnumRuleCall(); | ||
2871 | } | ||
2872 | ) | ||
2873 | ) | ||
2874 | )) | ||
2875 | { | ||
2876 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
2877 | } | ||
2878 | ) | ||
2879 | )| | ||
2880 | ( | ||
2881 | {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)}?=>( | ||
2882 | { | ||
2883 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); | ||
2884 | } | ||
2885 | ({true}?=>(otherlv_25='config' | ||
2886 | { | ||
2887 | newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_7_0()); | ||
2888 | } | ||
2889 | otherlv_26='=' | ||
2890 | { | ||
2891 | newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); | ||
2892 | } | ||
2893 | ( | ||
2894 | ( | ||
2895 | { | ||
2896 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_7_2_0()); | ||
2897 | } | ||
2898 | lv_config_27_0=ruleConfig | ||
2899 | { | ||
2900 | if ($current==null) { | ||
2901 | $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); | ||
2902 | } | ||
2903 | set( | ||
2904 | $current, | ||
2905 | "config", | ||
2906 | lv_config_27_0, | ||
2907 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); | ||
2908 | afterParserOrEnumRuleCall(); | ||
2909 | } | ||
2910 | ) | ||
2911 | ) | ||
2912 | )) | ||
2913 | { | ||
2914 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
2915 | } | ||
2916 | ) | ||
2917 | )| | ||
2918 | ( | ||
2919 | {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)}?=>( | ||
2920 | { | ||
2921 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); | ||
2922 | } | ||
2923 | ({true}?=>(otherlv_28='output' | ||
2924 | { | ||
2925 | newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_8_0()); | ||
2926 | } | ||
2927 | otherlv_29='=' | ||
2928 | { | ||
2929 | newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); | ||
2930 | } | ||
2931 | ( | ||
2932 | ( | ||
2933 | { | ||
2934 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_8_2_0()); | ||
2935 | } | ||
2936 | lv_tagetFolder_30_0=ruleFile | ||
2937 | { | ||
2938 | if ($current==null) { | ||
2939 | $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); | ||
2940 | } | ||
2941 | set( | ||
2942 | $current, | ||
2943 | "tagetFolder", | ||
2944 | lv_tagetFolder_30_0, | ||
2945 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); | ||
2946 | afterParserOrEnumRuleCall(); | ||
2947 | } | ||
2948 | ) | ||
2949 | ) | ||
2950 | )) | ||
2951 | { | ||
2952 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
2953 | } | ||
2954 | ) | ||
2955 | )| | ||
2956 | ( | ||
2957 | {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)}?=>( | ||
2958 | { | ||
2959 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); | ||
2960 | } | ||
2961 | ({true}?=>(otherlv_31='debug' | ||
2962 | { | ||
2963 | newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0()); | ||
2964 | } | ||
2965 | otherlv_32='=' | ||
2966 | { | ||
2967 | newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); | ||
2968 | } | ||
2969 | ( | ||
2970 | ( | ||
2971 | { | ||
2972 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0()); | ||
2973 | } | ||
2974 | lv_debugFolder_33_0=ruleFile | ||
2975 | { | ||
2976 | if ($current==null) { | ||
2977 | $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); | ||
2978 | } | ||
2979 | set( | ||
2980 | $current, | ||
2981 | "debugFolder", | ||
2982 | lv_debugFolder_33_0, | ||
2983 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); | ||
2984 | afterParserOrEnumRuleCall(); | ||
2985 | } | ||
2986 | ) | ||
2987 | ) | ||
2988 | )) | ||
2989 | { | ||
2990 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
2991 | } | ||
2992 | ) | ||
2993 | )| | ||
2994 | ( | ||
2995 | {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)}?=>( | ||
2996 | { | ||
2997 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); | ||
2998 | } | ||
2999 | ({true}?=>(otherlv_34='log' | ||
3000 | { | ||
3001 | newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0()); | ||
3002 | } | ||
3003 | otherlv_35='=' | ||
3004 | { | ||
3005 | newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); | ||
3006 | } | ||
3007 | ( | ||
3008 | ( | ||
3009 | { | ||
3010 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0()); | ||
3011 | } | ||
3012 | lv_targetLogFile_36_0=ruleFile | ||
3013 | { | ||
3014 | if ($current==null) { | ||
3015 | $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); | ||
3016 | } | ||
3017 | set( | ||
3018 | $current, | ||
3019 | "targetLogFile", | ||
3020 | lv_targetLogFile_36_0, | ||
3021 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); | ||
3022 | afterParserOrEnumRuleCall(); | ||
3023 | } | ||
3024 | ) | ||
3025 | ) | ||
3026 | )) | ||
3027 | { | ||
3028 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
3029 | } | ||
3030 | ) | ||
3031 | )| | ||
3032 | ( | ||
3033 | {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)}?=>( | ||
3034 | { | ||
3035 | getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); | ||
3036 | } | ||
3037 | ({true}?=>(otherlv_37='statistics' | ||
3038 | { | ||
3039 | newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0()); | ||
3040 | } | ||
3041 | otherlv_38='=' | ||
3042 | { | ||
3043 | newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); | ||
3044 | } | ||
3045 | ( | ||
3046 | ( | ||
3047 | { | ||
3048 | newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0()); | ||
3049 | } | ||
3050 | lv_targetStatisticsFile_39_0=ruleFile | ||
3051 | { | ||
3052 | if ($current==null) { | ||
3053 | $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); | ||
3054 | } | ||
3055 | set( | ||
3056 | $current, | ||
3057 | "targetStatisticsFile", | ||
3058 | lv_targetStatisticsFile_39_0, | ||
3059 | "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); | ||
3060 | afterParserOrEnumRuleCall(); | ||
3061 | } | ||
3062 | ) | ||
3063 | ) | ||
3064 | )) | ||
3065 | { | ||
3066 | getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
3067 | } | ||
3068 | ) | ||
3069 | ) | ||
3070 | )* | ||
3071 | ) | ||
3072 | ) | ||
3073 | { | ||
3074 | getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); | ||
3075 | } | ||
3076 | ) | ||
3077 | otherlv_40='}' | ||
3078 | { | ||
3079 | newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); | ||
3080 | } | ||
3081 | ) | ||
3082 | ; | ||
3083 | |||
3084 | // Rule Solver | ||
3085 | ruleSolver returns [Enumerator current=null] | ||
3086 | @init { | ||
3087 | enterRule(); | ||
3088 | } | ||
3089 | @after { | ||
3090 | leaveRule(); | ||
3091 | }: | ||
3092 | ( | ||
3093 | ( | ||
3094 | enumLiteral_0='SMTSolver' | ||
3095 | { | ||
3096 | $current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); | ||
3097 | newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); | ||
3098 | } | ||
3099 | ) | ||
3100 | | | ||
3101 | ( | ||
3102 | enumLiteral_1='AlloySolver' | ||
3103 | { | ||
3104 | $current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); | ||
3105 | newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); | ||
3106 | } | ||
3107 | ) | ||
3108 | | | ||
3109 | ( | ||
3110 | enumLiteral_2='ViatraSolver' | ||
3111 | { | ||
3112 | $current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); | ||
3113 | newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); | ||
3114 | } | ||
3115 | ) | ||
3116 | ) | ||
3117 | ; | ||
3118 | |||
647 | RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; | 3119 | RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; |
648 | 3120 | ||
649 | RULE_INT : ('0'..'9')+; | 3121 | RULE_INT : ('0'..'9')+; |
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens index 676ff381..0b45afaa 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens | |||
@@ -1,20 +1,47 @@ | |||
1 | ','=15 | 1 | '#'=30 |
2 | '.'=20 | 2 | ','=18 |
3 | '::'=19 | 3 | '.'=11 |
4 | 'epackage'=12 | 4 | '::'=22 |
5 | 'excluding'=18 | 5 | '<'=28 |
6 | 'import'=11 | 6 | '<='=29 |
7 | 'metamodel'=21 | 7 | '='=16 |
8 | 'package'=17 | 8 | 'AlloySolver'=47 |
9 | 'viatra'=13 | 9 | 'Object'=33 |
10 | '{'=14 | 10 | 'SMTSolver'=46 |
11 | '}'=16 | 11 | 'ViatraSolver'=48 |
12 | '['=31 | ||
13 | ']'=32 | ||
14 | 'config'=27 | ||
15 | 'debug'=43 | ||
16 | 'epackage'=13 | ||
17 | 'excluding'=21 | ||
18 | 'file'=15 | ||
19 | 'folder'=24 | ||
20 | 'generate'=38 | ||
21 | 'import'=12 | ||
22 | 'int'=34 | ||
23 | 'log'=44 | ||
24 | 'metamodel'=23 | ||
25 | 'number'=39 | ||
26 | 'output'=42 | ||
27 | 'package'=20 | ||
28 | 'partial-model'=25 | ||
29 | 'patterns'=26 | ||
30 | 'real'=35 | ||
31 | 'runs'=40 | ||
32 | 'scope'=37 | ||
33 | 'solver'=41 | ||
34 | 'statistics'=45 | ||
35 | 'string'=36 | ||
36 | 'viatra'=14 | ||
37 | '{'=17 | ||
38 | '}'=19 | ||
12 | RULE_ANY_OTHER=10 | 39 | RULE_ANY_OTHER=10 |
13 | RULE_ID=5 | 40 | RULE_ID=4 |
14 | RULE_INT=6 | 41 | RULE_INT=6 |
15 | RULE_ML_COMMENT=7 | 42 | RULE_ML_COMMENT=7 |
16 | RULE_SL_COMMENT=8 | 43 | RULE_SL_COMMENT=8 |
17 | RULE_STRING=4 | 44 | RULE_STRING=5 |
18 | RULE_WS=9 | 45 | RULE_WS=9 |
19 | T__11=11 | 46 | T__11=11 |
20 | T__12=12 | 47 | T__12=12 |
@@ -27,3 +54,30 @@ T__18=18 | |||
27 | T__19=19 | 54 | T__19=19 |
28 | T__20=20 | 55 | T__20=20 |
29 | T__21=21 | 56 | T__21=21 |
57 | T__22=22 | ||
58 | T__23=23 | ||
59 | T__24=24 | ||
60 | T__25=25 | ||
61 | T__26=26 | ||
62 | T__27=27 | ||
63 | T__28=28 | ||
64 | T__29=29 | ||
65 | T__30=30 | ||
66 | T__31=31 | ||
67 | T__32=32 | ||
68 | T__33=33 | ||
69 | T__34=34 | ||
70 | T__35=35 | ||
71 | T__36=36 | ||
72 | T__37=37 | ||
73 | T__38=38 | ||
74 | T__39=39 | ||
75 | T__40=40 | ||
76 | T__41=41 | ||
77 | T__42=42 | ||
78 | T__43=43 | ||
79 | T__44=44 | ||
80 | T__45=45 | ||
81 | T__46=46 | ||
82 | T__47=47 | ||
83 | T__48=48 | ||
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java index 730041a1..3474822c 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java | |||
@@ -12,8 +12,6 @@ import java.util.ArrayList; | |||
12 | 12 | ||
13 | @SuppressWarnings("all") | 13 | @SuppressWarnings("all") |
14 | public class InternalApplicationConfigurationLexer extends Lexer { | 14 | public class InternalApplicationConfigurationLexer extends Lexer { |
15 | public static final int RULE_STRING=4; | ||
16 | public static final int RULE_SL_COMMENT=8; | ||
17 | public static final int T__19=19; | 15 | public static final int T__19=19; |
18 | public static final int T__15=15; | 16 | public static final int T__15=15; |
19 | public static final int T__16=16; | 17 | public static final int T__16=16; |
@@ -23,14 +21,43 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
23 | public static final int T__12=12; | 21 | public static final int T__12=12; |
24 | public static final int T__13=13; | 22 | public static final int T__13=13; |
25 | public static final int T__14=14; | 23 | public static final int T__14=14; |
26 | public static final int EOF=-1; | 24 | public static final int RULE_ID=4; |
27 | public static final int RULE_ID=5; | 25 | public static final int T__26=26; |
28 | public static final int RULE_WS=9; | 26 | public static final int T__27=27; |
29 | public static final int RULE_ANY_OTHER=10; | 27 | public static final int T__28=28; |
30 | public static final int RULE_INT=6; | 28 | public static final int RULE_INT=6; |
29 | public static final int T__29=29; | ||
30 | public static final int T__22=22; | ||
31 | public static final int RULE_ML_COMMENT=7; | 31 | public static final int RULE_ML_COMMENT=7; |
32 | public static final int T__23=23; | ||
33 | public static final int T__24=24; | ||
34 | public static final int T__25=25; | ||
32 | public static final int T__20=20; | 35 | public static final int T__20=20; |
33 | public static final int T__21=21; | 36 | public static final int T__21=21; |
37 | public static final int RULE_STRING=5; | ||
38 | public static final int RULE_SL_COMMENT=8; | ||
39 | public static final int T__37=37; | ||
40 | public static final int T__38=38; | ||
41 | public static final int T__39=39; | ||
42 | public static final int T__33=33; | ||
43 | public static final int T__34=34; | ||
44 | public static final int T__35=35; | ||
45 | public static final int T__36=36; | ||
46 | public static final int EOF=-1; | ||
47 | public static final int T__30=30; | ||
48 | public static final int T__31=31; | ||
49 | public static final int T__32=32; | ||
50 | public static final int RULE_WS=9; | ||
51 | public static final int RULE_ANY_OTHER=10; | ||
52 | public static final int T__48=48; | ||
53 | public static final int T__44=44; | ||
54 | public static final int T__45=45; | ||
55 | public static final int T__46=46; | ||
56 | public static final int T__47=47; | ||
57 | public static final int T__40=40; | ||
58 | public static final int T__41=41; | ||
59 | public static final int T__42=42; | ||
60 | public static final int T__43=43; | ||
34 | 61 | ||
35 | // delegates | 62 | // delegates |
36 | // delegators | 63 | // delegators |
@@ -50,11 +77,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
50 | try { | 77 | try { |
51 | int _type = T__11; | 78 | int _type = T__11; |
52 | int _channel = DEFAULT_TOKEN_CHANNEL; | 79 | int _channel = DEFAULT_TOKEN_CHANNEL; |
53 | // InternalApplicationConfiguration.g:11:7: ( 'import' ) | 80 | // InternalApplicationConfiguration.g:11:7: ( '.' ) |
54 | // InternalApplicationConfiguration.g:11:9: 'import' | 81 | // InternalApplicationConfiguration.g:11:9: '.' |
55 | { | 82 | { |
56 | match("import"); | 83 | match('.'); |
57 | |||
58 | 84 | ||
59 | } | 85 | } |
60 | 86 | ||
@@ -71,10 +97,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
71 | try { | 97 | try { |
72 | int _type = T__12; | 98 | int _type = T__12; |
73 | int _channel = DEFAULT_TOKEN_CHANNEL; | 99 | int _channel = DEFAULT_TOKEN_CHANNEL; |
74 | // InternalApplicationConfiguration.g:12:7: ( 'epackage' ) | 100 | // InternalApplicationConfiguration.g:12:7: ( 'import' ) |
75 | // InternalApplicationConfiguration.g:12:9: 'epackage' | 101 | // InternalApplicationConfiguration.g:12:9: 'import' |
76 | { | 102 | { |
77 | match("epackage"); | 103 | match("import"); |
78 | 104 | ||
79 | 105 | ||
80 | } | 106 | } |
@@ -92,10 +118,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
92 | try { | 118 | try { |
93 | int _type = T__13; | 119 | int _type = T__13; |
94 | int _channel = DEFAULT_TOKEN_CHANNEL; | 120 | int _channel = DEFAULT_TOKEN_CHANNEL; |
95 | // InternalApplicationConfiguration.g:13:7: ( 'viatra' ) | 121 | // InternalApplicationConfiguration.g:13:7: ( 'epackage' ) |
96 | // InternalApplicationConfiguration.g:13:9: 'viatra' | 122 | // InternalApplicationConfiguration.g:13:9: 'epackage' |
97 | { | 123 | { |
98 | match("viatra"); | 124 | match("epackage"); |
99 | 125 | ||
100 | 126 | ||
101 | } | 127 | } |
@@ -113,10 +139,11 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
113 | try { | 139 | try { |
114 | int _type = T__14; | 140 | int _type = T__14; |
115 | int _channel = DEFAULT_TOKEN_CHANNEL; | 141 | int _channel = DEFAULT_TOKEN_CHANNEL; |
116 | // InternalApplicationConfiguration.g:14:7: ( '{' ) | 142 | // InternalApplicationConfiguration.g:14:7: ( 'viatra' ) |
117 | // InternalApplicationConfiguration.g:14:9: '{' | 143 | // InternalApplicationConfiguration.g:14:9: 'viatra' |
118 | { | 144 | { |
119 | match('{'); | 145 | match("viatra"); |
146 | |||
120 | 147 | ||
121 | } | 148 | } |
122 | 149 | ||
@@ -133,10 +160,11 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
133 | try { | 160 | try { |
134 | int _type = T__15; | 161 | int _type = T__15; |
135 | int _channel = DEFAULT_TOKEN_CHANNEL; | 162 | int _channel = DEFAULT_TOKEN_CHANNEL; |
136 | // InternalApplicationConfiguration.g:15:7: ( ',' ) | 163 | // InternalApplicationConfiguration.g:15:7: ( 'file' ) |
137 | // InternalApplicationConfiguration.g:15:9: ',' | 164 | // InternalApplicationConfiguration.g:15:9: 'file' |
138 | { | 165 | { |
139 | match(','); | 166 | match("file"); |
167 | |||
140 | 168 | ||
141 | } | 169 | } |
142 | 170 | ||
@@ -153,10 +181,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
153 | try { | 181 | try { |
154 | int _type = T__16; | 182 | int _type = T__16; |
155 | int _channel = DEFAULT_TOKEN_CHANNEL; | 183 | int _channel = DEFAULT_TOKEN_CHANNEL; |
156 | // InternalApplicationConfiguration.g:16:7: ( '}' ) | 184 | // InternalApplicationConfiguration.g:16:7: ( '=' ) |
157 | // InternalApplicationConfiguration.g:16:9: '}' | 185 | // InternalApplicationConfiguration.g:16:9: '=' |
158 | { | 186 | { |
159 | match('}'); | 187 | match('='); |
160 | 188 | ||
161 | } | 189 | } |
162 | 190 | ||
@@ -173,11 +201,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
173 | try { | 201 | try { |
174 | int _type = T__17; | 202 | int _type = T__17; |
175 | int _channel = DEFAULT_TOKEN_CHANNEL; | 203 | int _channel = DEFAULT_TOKEN_CHANNEL; |
176 | // InternalApplicationConfiguration.g:17:7: ( 'package' ) | 204 | // InternalApplicationConfiguration.g:17:7: ( '{' ) |
177 | // InternalApplicationConfiguration.g:17:9: 'package' | 205 | // InternalApplicationConfiguration.g:17:9: '{' |
178 | { | 206 | { |
179 | match("package"); | 207 | match('{'); |
180 | |||
181 | 208 | ||
182 | } | 209 | } |
183 | 210 | ||
@@ -194,11 +221,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
194 | try { | 221 | try { |
195 | int _type = T__18; | 222 | int _type = T__18; |
196 | int _channel = DEFAULT_TOKEN_CHANNEL; | 223 | int _channel = DEFAULT_TOKEN_CHANNEL; |
197 | // InternalApplicationConfiguration.g:18:7: ( 'excluding' ) | 224 | // InternalApplicationConfiguration.g:18:7: ( ',' ) |
198 | // InternalApplicationConfiguration.g:18:9: 'excluding' | 225 | // InternalApplicationConfiguration.g:18:9: ',' |
199 | { | 226 | { |
200 | match("excluding"); | 227 | match(','); |
201 | |||
202 | 228 | ||
203 | } | 229 | } |
204 | 230 | ||
@@ -215,11 +241,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
215 | try { | 241 | try { |
216 | int _type = T__19; | 242 | int _type = T__19; |
217 | int _channel = DEFAULT_TOKEN_CHANNEL; | 243 | int _channel = DEFAULT_TOKEN_CHANNEL; |
218 | // InternalApplicationConfiguration.g:19:7: ( '::' ) | 244 | // InternalApplicationConfiguration.g:19:7: ( '}' ) |
219 | // InternalApplicationConfiguration.g:19:9: '::' | 245 | // InternalApplicationConfiguration.g:19:9: '}' |
220 | { | 246 | { |
221 | match("::"); | 247 | match('}'); |
222 | |||
223 | 248 | ||
224 | } | 249 | } |
225 | 250 | ||
@@ -236,10 +261,11 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
236 | try { | 261 | try { |
237 | int _type = T__20; | 262 | int _type = T__20; |
238 | int _channel = DEFAULT_TOKEN_CHANNEL; | 263 | int _channel = DEFAULT_TOKEN_CHANNEL; |
239 | // InternalApplicationConfiguration.g:20:7: ( '.' ) | 264 | // InternalApplicationConfiguration.g:20:7: ( 'package' ) |
240 | // InternalApplicationConfiguration.g:20:9: '.' | 265 | // InternalApplicationConfiguration.g:20:9: 'package' |
241 | { | 266 | { |
242 | match('.'); | 267 | match("package"); |
268 | |||
243 | 269 | ||
244 | } | 270 | } |
245 | 271 | ||
@@ -256,10 +282,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
256 | try { | 282 | try { |
257 | int _type = T__21; | 283 | int _type = T__21; |
258 | int _channel = DEFAULT_TOKEN_CHANNEL; | 284 | int _channel = DEFAULT_TOKEN_CHANNEL; |
259 | // InternalApplicationConfiguration.g:21:7: ( 'metamodel' ) | 285 | // InternalApplicationConfiguration.g:21:7: ( 'excluding' ) |
260 | // InternalApplicationConfiguration.g:21:9: 'metamodel' | 286 | // InternalApplicationConfiguration.g:21:9: 'excluding' |
261 | { | 287 | { |
262 | match("metamodel"); | 288 | match("excluding"); |
263 | 289 | ||
264 | 290 | ||
265 | } | 291 | } |
@@ -272,15 +298,578 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
272 | } | 298 | } |
273 | // $ANTLR end "T__21" | 299 | // $ANTLR end "T__21" |
274 | 300 | ||
301 | // $ANTLR start "T__22" | ||
302 | public final void mT__22() throws RecognitionException { | ||
303 | try { | ||
304 | int _type = T__22; | ||
305 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
306 | // InternalApplicationConfiguration.g:22:7: ( '::' ) | ||
307 | // InternalApplicationConfiguration.g:22:9: '::' | ||
308 | { | ||
309 | match("::"); | ||
310 | |||
311 | |||
312 | } | ||
313 | |||
314 | state.type = _type; | ||
315 | state.channel = _channel; | ||
316 | } | ||
317 | finally { | ||
318 | } | ||
319 | } | ||
320 | // $ANTLR end "T__22" | ||
321 | |||
322 | // $ANTLR start "T__23" | ||
323 | public final void mT__23() throws RecognitionException { | ||
324 | try { | ||
325 | int _type = T__23; | ||
326 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
327 | // InternalApplicationConfiguration.g:23:7: ( 'metamodel' ) | ||
328 | // InternalApplicationConfiguration.g:23:9: 'metamodel' | ||
329 | { | ||
330 | match("metamodel"); | ||
331 | |||
332 | |||
333 | } | ||
334 | |||
335 | state.type = _type; | ||
336 | state.channel = _channel; | ||
337 | } | ||
338 | finally { | ||
339 | } | ||
340 | } | ||
341 | // $ANTLR end "T__23" | ||
342 | |||
343 | // $ANTLR start "T__24" | ||
344 | public final void mT__24() throws RecognitionException { | ||
345 | try { | ||
346 | int _type = T__24; | ||
347 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
348 | // InternalApplicationConfiguration.g:24:7: ( 'folder' ) | ||
349 | // InternalApplicationConfiguration.g:24:9: 'folder' | ||
350 | { | ||
351 | match("folder"); | ||
352 | |||
353 | |||
354 | } | ||
355 | |||
356 | state.type = _type; | ||
357 | state.channel = _channel; | ||
358 | } | ||
359 | finally { | ||
360 | } | ||
361 | } | ||
362 | // $ANTLR end "T__24" | ||
363 | |||
364 | // $ANTLR start "T__25" | ||
365 | public final void mT__25() throws RecognitionException { | ||
366 | try { | ||
367 | int _type = T__25; | ||
368 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
369 | // InternalApplicationConfiguration.g:25:7: ( 'partial-model' ) | ||
370 | // InternalApplicationConfiguration.g:25:9: 'partial-model' | ||
371 | { | ||
372 | match("partial-model"); | ||
373 | |||
374 | |||
375 | } | ||
376 | |||
377 | state.type = _type; | ||
378 | state.channel = _channel; | ||
379 | } | ||
380 | finally { | ||
381 | } | ||
382 | } | ||
383 | // $ANTLR end "T__25" | ||
384 | |||
385 | // $ANTLR start "T__26" | ||
386 | public final void mT__26() throws RecognitionException { | ||
387 | try { | ||
388 | int _type = T__26; | ||
389 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
390 | // InternalApplicationConfiguration.g:26:7: ( 'patterns' ) | ||
391 | // InternalApplicationConfiguration.g:26:9: 'patterns' | ||
392 | { | ||
393 | match("patterns"); | ||
394 | |||
395 | |||
396 | } | ||
397 | |||
398 | state.type = _type; | ||
399 | state.channel = _channel; | ||
400 | } | ||
401 | finally { | ||
402 | } | ||
403 | } | ||
404 | // $ANTLR end "T__26" | ||
405 | |||
406 | // $ANTLR start "T__27" | ||
407 | public final void mT__27() throws RecognitionException { | ||
408 | try { | ||
409 | int _type = T__27; | ||
410 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
411 | // InternalApplicationConfiguration.g:27:7: ( 'config' ) | ||
412 | // InternalApplicationConfiguration.g:27:9: 'config' | ||
413 | { | ||
414 | match("config"); | ||
415 | |||
416 | |||
417 | } | ||
418 | |||
419 | state.type = _type; | ||
420 | state.channel = _channel; | ||
421 | } | ||
422 | finally { | ||
423 | } | ||
424 | } | ||
425 | // $ANTLR end "T__27" | ||
426 | |||
427 | // $ANTLR start "T__28" | ||
428 | public final void mT__28() throws RecognitionException { | ||
429 | try { | ||
430 | int _type = T__28; | ||
431 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
432 | // InternalApplicationConfiguration.g:28:7: ( '<' ) | ||
433 | // InternalApplicationConfiguration.g:28:9: '<' | ||
434 | { | ||
435 | match('<'); | ||
436 | |||
437 | } | ||
438 | |||
439 | state.type = _type; | ||
440 | state.channel = _channel; | ||
441 | } | ||
442 | finally { | ||
443 | } | ||
444 | } | ||
445 | // $ANTLR end "T__28" | ||
446 | |||
447 | // $ANTLR start "T__29" | ||
448 | public final void mT__29() throws RecognitionException { | ||
449 | try { | ||
450 | int _type = T__29; | ||
451 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
452 | // InternalApplicationConfiguration.g:29:7: ( '<=' ) | ||
453 | // InternalApplicationConfiguration.g:29:9: '<=' | ||
454 | { | ||
455 | match("<="); | ||
456 | |||
457 | |||
458 | } | ||
459 | |||
460 | state.type = _type; | ||
461 | state.channel = _channel; | ||
462 | } | ||
463 | finally { | ||
464 | } | ||
465 | } | ||
466 | // $ANTLR end "T__29" | ||
467 | |||
468 | // $ANTLR start "T__30" | ||
469 | public final void mT__30() throws RecognitionException { | ||
470 | try { | ||
471 | int _type = T__30; | ||
472 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
473 | // InternalApplicationConfiguration.g:30:7: ( '#' ) | ||
474 | // InternalApplicationConfiguration.g:30:9: '#' | ||
475 | { | ||
476 | match('#'); | ||
477 | |||
478 | } | ||
479 | |||
480 | state.type = _type; | ||
481 | state.channel = _channel; | ||
482 | } | ||
483 | finally { | ||
484 | } | ||
485 | } | ||
486 | // $ANTLR end "T__30" | ||
487 | |||
488 | // $ANTLR start "T__31" | ||
489 | public final void mT__31() throws RecognitionException { | ||
490 | try { | ||
491 | int _type = T__31; | ||
492 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
493 | // InternalApplicationConfiguration.g:31:7: ( '[' ) | ||
494 | // InternalApplicationConfiguration.g:31:9: '[' | ||
495 | { | ||
496 | match('['); | ||
497 | |||
498 | } | ||
499 | |||
500 | state.type = _type; | ||
501 | state.channel = _channel; | ||
502 | } | ||
503 | finally { | ||
504 | } | ||
505 | } | ||
506 | // $ANTLR end "T__31" | ||
507 | |||
508 | // $ANTLR start "T__32" | ||
509 | public final void mT__32() throws RecognitionException { | ||
510 | try { | ||
511 | int _type = T__32; | ||
512 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
513 | // InternalApplicationConfiguration.g:32:7: ( ']' ) | ||
514 | // InternalApplicationConfiguration.g:32:9: ']' | ||
515 | { | ||
516 | match(']'); | ||
517 | |||
518 | } | ||
519 | |||
520 | state.type = _type; | ||
521 | state.channel = _channel; | ||
522 | } | ||
523 | finally { | ||
524 | } | ||
525 | } | ||
526 | // $ANTLR end "T__32" | ||
527 | |||
528 | // $ANTLR start "T__33" | ||
529 | public final void mT__33() throws RecognitionException { | ||
530 | try { | ||
531 | int _type = T__33; | ||
532 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
533 | // InternalApplicationConfiguration.g:33:7: ( 'Object' ) | ||
534 | // InternalApplicationConfiguration.g:33:9: 'Object' | ||
535 | { | ||
536 | match("Object"); | ||
537 | |||
538 | |||
539 | } | ||
540 | |||
541 | state.type = _type; | ||
542 | state.channel = _channel; | ||
543 | } | ||
544 | finally { | ||
545 | } | ||
546 | } | ||
547 | // $ANTLR end "T__33" | ||
548 | |||
549 | // $ANTLR start "T__34" | ||
550 | public final void mT__34() throws RecognitionException { | ||
551 | try { | ||
552 | int _type = T__34; | ||
553 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
554 | // InternalApplicationConfiguration.g:34:7: ( 'int' ) | ||
555 | // InternalApplicationConfiguration.g:34:9: 'int' | ||
556 | { | ||
557 | match("int"); | ||
558 | |||
559 | |||
560 | } | ||
561 | |||
562 | state.type = _type; | ||
563 | state.channel = _channel; | ||
564 | } | ||
565 | finally { | ||
566 | } | ||
567 | } | ||
568 | // $ANTLR end "T__34" | ||
569 | |||
570 | // $ANTLR start "T__35" | ||
571 | public final void mT__35() throws RecognitionException { | ||
572 | try { | ||
573 | int _type = T__35; | ||
574 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
575 | // InternalApplicationConfiguration.g:35:7: ( 'real' ) | ||
576 | // InternalApplicationConfiguration.g:35:9: 'real' | ||
577 | { | ||
578 | match("real"); | ||
579 | |||
580 | |||
581 | } | ||
582 | |||
583 | state.type = _type; | ||
584 | state.channel = _channel; | ||
585 | } | ||
586 | finally { | ||
587 | } | ||
588 | } | ||
589 | // $ANTLR end "T__35" | ||
590 | |||
591 | // $ANTLR start "T__36" | ||
592 | public final void mT__36() throws RecognitionException { | ||
593 | try { | ||
594 | int _type = T__36; | ||
595 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
596 | // InternalApplicationConfiguration.g:36:7: ( 'string' ) | ||
597 | // InternalApplicationConfiguration.g:36:9: 'string' | ||
598 | { | ||
599 | match("string"); | ||
600 | |||
601 | |||
602 | } | ||
603 | |||
604 | state.type = _type; | ||
605 | state.channel = _channel; | ||
606 | } | ||
607 | finally { | ||
608 | } | ||
609 | } | ||
610 | // $ANTLR end "T__36" | ||
611 | |||
612 | // $ANTLR start "T__37" | ||
613 | public final void mT__37() throws RecognitionException { | ||
614 | try { | ||
615 | int _type = T__37; | ||
616 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
617 | // InternalApplicationConfiguration.g:37:7: ( 'scope' ) | ||
618 | // InternalApplicationConfiguration.g:37:9: 'scope' | ||
619 | { | ||
620 | match("scope"); | ||
621 | |||
622 | |||
623 | } | ||
624 | |||
625 | state.type = _type; | ||
626 | state.channel = _channel; | ||
627 | } | ||
628 | finally { | ||
629 | } | ||
630 | } | ||
631 | // $ANTLR end "T__37" | ||
632 | |||
633 | // $ANTLR start "T__38" | ||
634 | public final void mT__38() throws RecognitionException { | ||
635 | try { | ||
636 | int _type = T__38; | ||
637 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
638 | // InternalApplicationConfiguration.g:38:7: ( 'generate' ) | ||
639 | // InternalApplicationConfiguration.g:38:9: 'generate' | ||
640 | { | ||
641 | match("generate"); | ||
642 | |||
643 | |||
644 | } | ||
645 | |||
646 | state.type = _type; | ||
647 | state.channel = _channel; | ||
648 | } | ||
649 | finally { | ||
650 | } | ||
651 | } | ||
652 | // $ANTLR end "T__38" | ||
653 | |||
654 | // $ANTLR start "T__39" | ||
655 | public final void mT__39() throws RecognitionException { | ||
656 | try { | ||
657 | int _type = T__39; | ||
658 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
659 | // InternalApplicationConfiguration.g:39:7: ( 'number' ) | ||
660 | // InternalApplicationConfiguration.g:39:9: 'number' | ||
661 | { | ||
662 | match("number"); | ||
663 | |||
664 | |||
665 | } | ||
666 | |||
667 | state.type = _type; | ||
668 | state.channel = _channel; | ||
669 | } | ||
670 | finally { | ||
671 | } | ||
672 | } | ||
673 | // $ANTLR end "T__39" | ||
674 | |||
675 | // $ANTLR start "T__40" | ||
676 | public final void mT__40() throws RecognitionException { | ||
677 | try { | ||
678 | int _type = T__40; | ||
679 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
680 | // InternalApplicationConfiguration.g:40:7: ( 'runs' ) | ||
681 | // InternalApplicationConfiguration.g:40:9: 'runs' | ||
682 | { | ||
683 | match("runs"); | ||
684 | |||
685 | |||
686 | } | ||
687 | |||
688 | state.type = _type; | ||
689 | state.channel = _channel; | ||
690 | } | ||
691 | finally { | ||
692 | } | ||
693 | } | ||
694 | // $ANTLR end "T__40" | ||
695 | |||
696 | // $ANTLR start "T__41" | ||
697 | public final void mT__41() throws RecognitionException { | ||
698 | try { | ||
699 | int _type = T__41; | ||
700 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
701 | // InternalApplicationConfiguration.g:41:7: ( 'solver' ) | ||
702 | // InternalApplicationConfiguration.g:41:9: 'solver' | ||
703 | { | ||
704 | match("solver"); | ||
705 | |||
706 | |||
707 | } | ||
708 | |||
709 | state.type = _type; | ||
710 | state.channel = _channel; | ||
711 | } | ||
712 | finally { | ||
713 | } | ||
714 | } | ||
715 | // $ANTLR end "T__41" | ||
716 | |||
717 | // $ANTLR start "T__42" | ||
718 | public final void mT__42() throws RecognitionException { | ||
719 | try { | ||
720 | int _type = T__42; | ||
721 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
722 | // InternalApplicationConfiguration.g:42:7: ( 'output' ) | ||
723 | // InternalApplicationConfiguration.g:42:9: 'output' | ||
724 | { | ||
725 | match("output"); | ||
726 | |||
727 | |||
728 | } | ||
729 | |||
730 | state.type = _type; | ||
731 | state.channel = _channel; | ||
732 | } | ||
733 | finally { | ||
734 | } | ||
735 | } | ||
736 | // $ANTLR end "T__42" | ||
737 | |||
738 | // $ANTLR start "T__43" | ||
739 | public final void mT__43() throws RecognitionException { | ||
740 | try { | ||
741 | int _type = T__43; | ||
742 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
743 | // InternalApplicationConfiguration.g:43:7: ( 'debug' ) | ||
744 | // InternalApplicationConfiguration.g:43:9: 'debug' | ||
745 | { | ||
746 | match("debug"); | ||
747 | |||
748 | |||
749 | } | ||
750 | |||
751 | state.type = _type; | ||
752 | state.channel = _channel; | ||
753 | } | ||
754 | finally { | ||
755 | } | ||
756 | } | ||
757 | // $ANTLR end "T__43" | ||
758 | |||
759 | // $ANTLR start "T__44" | ||
760 | public final void mT__44() throws RecognitionException { | ||
761 | try { | ||
762 | int _type = T__44; | ||
763 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
764 | // InternalApplicationConfiguration.g:44:7: ( 'log' ) | ||
765 | // InternalApplicationConfiguration.g:44:9: 'log' | ||
766 | { | ||
767 | match("log"); | ||
768 | |||
769 | |||
770 | } | ||
771 | |||
772 | state.type = _type; | ||
773 | state.channel = _channel; | ||
774 | } | ||
775 | finally { | ||
776 | } | ||
777 | } | ||
778 | // $ANTLR end "T__44" | ||
779 | |||
780 | // $ANTLR start "T__45" | ||
781 | public final void mT__45() throws RecognitionException { | ||
782 | try { | ||
783 | int _type = T__45; | ||
784 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
785 | // InternalApplicationConfiguration.g:45:7: ( 'statistics' ) | ||
786 | // InternalApplicationConfiguration.g:45:9: 'statistics' | ||
787 | { | ||
788 | match("statistics"); | ||
789 | |||
790 | |||
791 | } | ||
792 | |||
793 | state.type = _type; | ||
794 | state.channel = _channel; | ||
795 | } | ||
796 | finally { | ||
797 | } | ||
798 | } | ||
799 | // $ANTLR end "T__45" | ||
800 | |||
801 | // $ANTLR start "T__46" | ||
802 | public final void mT__46() throws RecognitionException { | ||
803 | try { | ||
804 | int _type = T__46; | ||
805 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
806 | // InternalApplicationConfiguration.g:46:7: ( 'SMTSolver' ) | ||
807 | // InternalApplicationConfiguration.g:46:9: 'SMTSolver' | ||
808 | { | ||
809 | match("SMTSolver"); | ||
810 | |||
811 | |||
812 | } | ||
813 | |||
814 | state.type = _type; | ||
815 | state.channel = _channel; | ||
816 | } | ||
817 | finally { | ||
818 | } | ||
819 | } | ||
820 | // $ANTLR end "T__46" | ||
821 | |||
822 | // $ANTLR start "T__47" | ||
823 | public final void mT__47() throws RecognitionException { | ||
824 | try { | ||
825 | int _type = T__47; | ||
826 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
827 | // InternalApplicationConfiguration.g:47:7: ( 'AlloySolver' ) | ||
828 | // InternalApplicationConfiguration.g:47:9: 'AlloySolver' | ||
829 | { | ||
830 | match("AlloySolver"); | ||
831 | |||
832 | |||
833 | } | ||
834 | |||
835 | state.type = _type; | ||
836 | state.channel = _channel; | ||
837 | } | ||
838 | finally { | ||
839 | } | ||
840 | } | ||
841 | // $ANTLR end "T__47" | ||
842 | |||
843 | // $ANTLR start "T__48" | ||
844 | public final void mT__48() throws RecognitionException { | ||
845 | try { | ||
846 | int _type = T__48; | ||
847 | int _channel = DEFAULT_TOKEN_CHANNEL; | ||
848 | // InternalApplicationConfiguration.g:48:7: ( 'ViatraSolver' ) | ||
849 | // InternalApplicationConfiguration.g:48:9: 'ViatraSolver' | ||
850 | { | ||
851 | match("ViatraSolver"); | ||
852 | |||
853 | |||
854 | } | ||
855 | |||
856 | state.type = _type; | ||
857 | state.channel = _channel; | ||
858 | } | ||
859 | finally { | ||
860 | } | ||
861 | } | ||
862 | // $ANTLR end "T__48" | ||
863 | |||
275 | // $ANTLR start "RULE_ID" | 864 | // $ANTLR start "RULE_ID" |
276 | public final void mRULE_ID() throws RecognitionException { | 865 | public final void mRULE_ID() throws RecognitionException { |
277 | try { | 866 | try { |
278 | int _type = RULE_ID; | 867 | int _type = RULE_ID; |
279 | int _channel = DEFAULT_TOKEN_CHANNEL; | 868 | int _channel = DEFAULT_TOKEN_CHANNEL; |
280 | // InternalApplicationConfiguration.g:647:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) | 869 | // InternalApplicationConfiguration.g:3119:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) |
281 | // InternalApplicationConfiguration.g:647:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | 870 | // InternalApplicationConfiguration.g:3119:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* |
282 | { | 871 | { |
283 | // InternalApplicationConfiguration.g:647:11: ( '^' )? | 872 | // InternalApplicationConfiguration.g:3119:11: ( '^' )? |
284 | int alt1=2; | 873 | int alt1=2; |
285 | int LA1_0 = input.LA(1); | 874 | int LA1_0 = input.LA(1); |
286 | 875 | ||
@@ -289,7 +878,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
289 | } | 878 | } |
290 | switch (alt1) { | 879 | switch (alt1) { |
291 | case 1 : | 880 | case 1 : |
292 | // InternalApplicationConfiguration.g:647:11: '^' | 881 | // InternalApplicationConfiguration.g:3119:11: '^' |
293 | { | 882 | { |
294 | match('^'); | 883 | match('^'); |
295 | 884 | ||
@@ -307,7 +896,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
307 | recover(mse); | 896 | recover(mse); |
308 | throw mse;} | 897 | throw mse;} |
309 | 898 | ||
310 | // InternalApplicationConfiguration.g:647:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* | 899 | // InternalApplicationConfiguration.g:3119:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* |
311 | loop2: | 900 | loop2: |
312 | do { | 901 | do { |
313 | int alt2=2; | 902 | int alt2=2; |
@@ -356,10 +945,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
356 | try { | 945 | try { |
357 | int _type = RULE_INT; | 946 | int _type = RULE_INT; |
358 | int _channel = DEFAULT_TOKEN_CHANNEL; | 947 | int _channel = DEFAULT_TOKEN_CHANNEL; |
359 | // InternalApplicationConfiguration.g:649:10: ( ( '0' .. '9' )+ ) | 948 | // InternalApplicationConfiguration.g:3121:10: ( ( '0' .. '9' )+ ) |
360 | // InternalApplicationConfiguration.g:649:12: ( '0' .. '9' )+ | 949 | // InternalApplicationConfiguration.g:3121:12: ( '0' .. '9' )+ |
361 | { | 950 | { |
362 | // InternalApplicationConfiguration.g:649:12: ( '0' .. '9' )+ | 951 | // InternalApplicationConfiguration.g:3121:12: ( '0' .. '9' )+ |
363 | int cnt3=0; | 952 | int cnt3=0; |
364 | loop3: | 953 | loop3: |
365 | do { | 954 | do { |
@@ -373,7 +962,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
373 | 962 | ||
374 | switch (alt3) { | 963 | switch (alt3) { |
375 | case 1 : | 964 | case 1 : |
376 | // InternalApplicationConfiguration.g:649:13: '0' .. '9' | 965 | // InternalApplicationConfiguration.g:3121:13: '0' .. '9' |
377 | { | 966 | { |
378 | matchRange('0','9'); | 967 | matchRange('0','9'); |
379 | 968 | ||
@@ -405,10 +994,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
405 | try { | 994 | try { |
406 | int _type = RULE_STRING; | 995 | int _type = RULE_STRING; |
407 | int _channel = DEFAULT_TOKEN_CHANNEL; | 996 | int _channel = DEFAULT_TOKEN_CHANNEL; |
408 | // InternalApplicationConfiguration.g:651:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) | 997 | // InternalApplicationConfiguration.g:3123:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) |
409 | // InternalApplicationConfiguration.g:651:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) | 998 | // InternalApplicationConfiguration.g:3123:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) |
410 | { | 999 | { |
411 | // InternalApplicationConfiguration.g:651:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) | 1000 | // InternalApplicationConfiguration.g:3123:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) |
412 | int alt6=2; | 1001 | int alt6=2; |
413 | int LA6_0 = input.LA(1); | 1002 | int LA6_0 = input.LA(1); |
414 | 1003 | ||
@@ -426,10 +1015,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
426 | } | 1015 | } |
427 | switch (alt6) { | 1016 | switch (alt6) { |
428 | case 1 : | 1017 | case 1 : |
429 | // InternalApplicationConfiguration.g:651:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | 1018 | // InternalApplicationConfiguration.g:3123:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' |
430 | { | 1019 | { |
431 | match('\"'); | 1020 | match('\"'); |
432 | // InternalApplicationConfiguration.g:651:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* | 1021 | // InternalApplicationConfiguration.g:3123:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* |
433 | loop4: | 1022 | loop4: |
434 | do { | 1023 | do { |
435 | int alt4=3; | 1024 | int alt4=3; |
@@ -445,7 +1034,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
445 | 1034 | ||
446 | switch (alt4) { | 1035 | switch (alt4) { |
447 | case 1 : | 1036 | case 1 : |
448 | // InternalApplicationConfiguration.g:651:21: '\\\\' . | 1037 | // InternalApplicationConfiguration.g:3123:21: '\\\\' . |
449 | { | 1038 | { |
450 | match('\\'); | 1039 | match('\\'); |
451 | matchAny(); | 1040 | matchAny(); |
@@ -453,7 +1042,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
453 | } | 1042 | } |
454 | break; | 1043 | break; |
455 | case 2 : | 1044 | case 2 : |
456 | // InternalApplicationConfiguration.g:651:28: ~ ( ( '\\\\' | '\"' ) ) | 1045 | // InternalApplicationConfiguration.g:3123:28: ~ ( ( '\\\\' | '\"' ) ) |
457 | { | 1046 | { |
458 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | 1047 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
459 | input.consume(); | 1048 | input.consume(); |
@@ -478,10 +1067,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
478 | } | 1067 | } |
479 | break; | 1068 | break; |
480 | case 2 : | 1069 | case 2 : |
481 | // InternalApplicationConfiguration.g:651:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' | 1070 | // InternalApplicationConfiguration.g:3123:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' |
482 | { | 1071 | { |
483 | match('\''); | 1072 | match('\''); |
484 | // InternalApplicationConfiguration.g:651:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* | 1073 | // InternalApplicationConfiguration.g:3123:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* |
485 | loop5: | 1074 | loop5: |
486 | do { | 1075 | do { |
487 | int alt5=3; | 1076 | int alt5=3; |
@@ -497,7 +1086,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
497 | 1086 | ||
498 | switch (alt5) { | 1087 | switch (alt5) { |
499 | case 1 : | 1088 | case 1 : |
500 | // InternalApplicationConfiguration.g:651:54: '\\\\' . | 1089 | // InternalApplicationConfiguration.g:3123:54: '\\\\' . |
501 | { | 1090 | { |
502 | match('\\'); | 1091 | match('\\'); |
503 | matchAny(); | 1092 | matchAny(); |
@@ -505,7 +1094,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
505 | } | 1094 | } |
506 | break; | 1095 | break; |
507 | case 2 : | 1096 | case 2 : |
508 | // InternalApplicationConfiguration.g:651:61: ~ ( ( '\\\\' | '\\'' ) ) | 1097 | // InternalApplicationConfiguration.g:3123:61: ~ ( ( '\\\\' | '\\'' ) ) |
509 | { | 1098 | { |
510 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { | 1099 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { |
511 | input.consume(); | 1100 | input.consume(); |
@@ -548,12 +1137,12 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
548 | try { | 1137 | try { |
549 | int _type = RULE_ML_COMMENT; | 1138 | int _type = RULE_ML_COMMENT; |
550 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1139 | int _channel = DEFAULT_TOKEN_CHANNEL; |
551 | // InternalApplicationConfiguration.g:653:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) | 1140 | // InternalApplicationConfiguration.g:3125:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) |
552 | // InternalApplicationConfiguration.g:653:19: '/*' ( options {greedy=false; } : . )* '*/' | 1141 | // InternalApplicationConfiguration.g:3125:19: '/*' ( options {greedy=false; } : . )* '*/' |
553 | { | 1142 | { |
554 | match("/*"); | 1143 | match("/*"); |
555 | 1144 | ||
556 | // InternalApplicationConfiguration.g:653:24: ( options {greedy=false; } : . )* | 1145 | // InternalApplicationConfiguration.g:3125:24: ( options {greedy=false; } : . )* |
557 | loop7: | 1146 | loop7: |
558 | do { | 1147 | do { |
559 | int alt7=2; | 1148 | int alt7=2; |
@@ -578,7 +1167,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
578 | 1167 | ||
579 | switch (alt7) { | 1168 | switch (alt7) { |
580 | case 1 : | 1169 | case 1 : |
581 | // InternalApplicationConfiguration.g:653:52: . | 1170 | // InternalApplicationConfiguration.g:3125:52: . |
582 | { | 1171 | { |
583 | matchAny(); | 1172 | matchAny(); |
584 | 1173 | ||
@@ -608,12 +1197,12 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
608 | try { | 1197 | try { |
609 | int _type = RULE_SL_COMMENT; | 1198 | int _type = RULE_SL_COMMENT; |
610 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1199 | int _channel = DEFAULT_TOKEN_CHANNEL; |
611 | // InternalApplicationConfiguration.g:655:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) | 1200 | // InternalApplicationConfiguration.g:3127:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) |
612 | // InternalApplicationConfiguration.g:655:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? | 1201 | // InternalApplicationConfiguration.g:3127:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? |
613 | { | 1202 | { |
614 | match("//"); | 1203 | match("//"); |
615 | 1204 | ||
616 | // InternalApplicationConfiguration.g:655:24: (~ ( ( '\\n' | '\\r' ) ) )* | 1205 | // InternalApplicationConfiguration.g:3127:24: (~ ( ( '\\n' | '\\r' ) ) )* |
617 | loop8: | 1206 | loop8: |
618 | do { | 1207 | do { |
619 | int alt8=2; | 1208 | int alt8=2; |
@@ -626,7 +1215,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
626 | 1215 | ||
627 | switch (alt8) { | 1216 | switch (alt8) { |
628 | case 1 : | 1217 | case 1 : |
629 | // InternalApplicationConfiguration.g:655:24: ~ ( ( '\\n' | '\\r' ) ) | 1218 | // InternalApplicationConfiguration.g:3127:24: ~ ( ( '\\n' | '\\r' ) ) |
630 | { | 1219 | { |
631 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { | 1220 | if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { |
632 | input.consume(); | 1221 | input.consume(); |
@@ -646,7 +1235,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
646 | } | 1235 | } |
647 | } while (true); | 1236 | } while (true); |
648 | 1237 | ||
649 | // InternalApplicationConfiguration.g:655:40: ( ( '\\r' )? '\\n' )? | 1238 | // InternalApplicationConfiguration.g:3127:40: ( ( '\\r' )? '\\n' )? |
650 | int alt10=2; | 1239 | int alt10=2; |
651 | int LA10_0 = input.LA(1); | 1240 | int LA10_0 = input.LA(1); |
652 | 1241 | ||
@@ -655,9 +1244,9 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
655 | } | 1244 | } |
656 | switch (alt10) { | 1245 | switch (alt10) { |
657 | case 1 : | 1246 | case 1 : |
658 | // InternalApplicationConfiguration.g:655:41: ( '\\r' )? '\\n' | 1247 | // InternalApplicationConfiguration.g:3127:41: ( '\\r' )? '\\n' |
659 | { | 1248 | { |
660 | // InternalApplicationConfiguration.g:655:41: ( '\\r' )? | 1249 | // InternalApplicationConfiguration.g:3127:41: ( '\\r' )? |
661 | int alt9=2; | 1250 | int alt9=2; |
662 | int LA9_0 = input.LA(1); | 1251 | int LA9_0 = input.LA(1); |
663 | 1252 | ||
@@ -666,7 +1255,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
666 | } | 1255 | } |
667 | switch (alt9) { | 1256 | switch (alt9) { |
668 | case 1 : | 1257 | case 1 : |
669 | // InternalApplicationConfiguration.g:655:41: '\\r' | 1258 | // InternalApplicationConfiguration.g:3127:41: '\\r' |
670 | { | 1259 | { |
671 | match('\r'); | 1260 | match('\r'); |
672 | 1261 | ||
@@ -698,10 +1287,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
698 | try { | 1287 | try { |
699 | int _type = RULE_WS; | 1288 | int _type = RULE_WS; |
700 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1289 | int _channel = DEFAULT_TOKEN_CHANNEL; |
701 | // InternalApplicationConfiguration.g:657:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) | 1290 | // InternalApplicationConfiguration.g:3129:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) |
702 | // InternalApplicationConfiguration.g:657:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ | 1291 | // InternalApplicationConfiguration.g:3129:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ |
703 | { | 1292 | { |
704 | // InternalApplicationConfiguration.g:657:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ | 1293 | // InternalApplicationConfiguration.g:3129:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ |
705 | int cnt11=0; | 1294 | int cnt11=0; |
706 | loop11: | 1295 | loop11: |
707 | do { | 1296 | do { |
@@ -755,8 +1344,8 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
755 | try { | 1344 | try { |
756 | int _type = RULE_ANY_OTHER; | 1345 | int _type = RULE_ANY_OTHER; |
757 | int _channel = DEFAULT_TOKEN_CHANNEL; | 1346 | int _channel = DEFAULT_TOKEN_CHANNEL; |
758 | // InternalApplicationConfiguration.g:659:16: ( . ) | 1347 | // InternalApplicationConfiguration.g:3131:16: ( . ) |
759 | // InternalApplicationConfiguration.g:659:18: . | 1348 | // InternalApplicationConfiguration.g:3131:18: . |
760 | { | 1349 | { |
761 | matchAny(); | 1350 | matchAny(); |
762 | 1351 | ||
@@ -771,8 +1360,8 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
771 | // $ANTLR end "RULE_ANY_OTHER" | 1360 | // $ANTLR end "RULE_ANY_OTHER" |
772 | 1361 | ||
773 | public void mTokens() throws RecognitionException { | 1362 | public void mTokens() throws RecognitionException { |
774 | // InternalApplicationConfiguration.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) | 1363 | // InternalApplicationConfiguration.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) |
775 | int alt12=18; | 1364 | int alt12=45; |
776 | alt12 = dfa12.predict(input); | 1365 | alt12 = dfa12.predict(input); |
777 | switch (alt12) { | 1366 | switch (alt12) { |
778 | case 1 : | 1367 | case 1 : |
@@ -853,49 +1442,238 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
853 | } | 1442 | } |
854 | break; | 1443 | break; |
855 | case 12 : | 1444 | case 12 : |
856 | // InternalApplicationConfiguration.g:1:76: RULE_ID | 1445 | // InternalApplicationConfiguration.g:1:76: T__22 |
857 | { | 1446 | { |
858 | mRULE_ID(); | 1447 | mT__22(); |
859 | 1448 | ||
860 | } | 1449 | } |
861 | break; | 1450 | break; |
862 | case 13 : | 1451 | case 13 : |
863 | // InternalApplicationConfiguration.g:1:84: RULE_INT | 1452 | // InternalApplicationConfiguration.g:1:82: T__23 |
864 | { | 1453 | { |
865 | mRULE_INT(); | 1454 | mT__23(); |
866 | 1455 | ||
867 | } | 1456 | } |
868 | break; | 1457 | break; |
869 | case 14 : | 1458 | case 14 : |
870 | // InternalApplicationConfiguration.g:1:93: RULE_STRING | 1459 | // InternalApplicationConfiguration.g:1:88: T__24 |
871 | { | 1460 | { |
872 | mRULE_STRING(); | 1461 | mT__24(); |
873 | 1462 | ||
874 | } | 1463 | } |
875 | break; | 1464 | break; |
876 | case 15 : | 1465 | case 15 : |
877 | // InternalApplicationConfiguration.g:1:105: RULE_ML_COMMENT | 1466 | // InternalApplicationConfiguration.g:1:94: T__25 |
878 | { | 1467 | { |
879 | mRULE_ML_COMMENT(); | 1468 | mT__25(); |
880 | 1469 | ||
881 | } | 1470 | } |
882 | break; | 1471 | break; |
883 | case 16 : | 1472 | case 16 : |
884 | // InternalApplicationConfiguration.g:1:121: RULE_SL_COMMENT | 1473 | // InternalApplicationConfiguration.g:1:100: T__26 |
885 | { | 1474 | { |
886 | mRULE_SL_COMMENT(); | 1475 | mT__26(); |
887 | 1476 | ||
888 | } | 1477 | } |
889 | break; | 1478 | break; |
890 | case 17 : | 1479 | case 17 : |
891 | // InternalApplicationConfiguration.g:1:137: RULE_WS | 1480 | // InternalApplicationConfiguration.g:1:106: T__27 |
892 | { | 1481 | { |
893 | mRULE_WS(); | 1482 | mT__27(); |
894 | 1483 | ||
895 | } | 1484 | } |
896 | break; | 1485 | break; |
897 | case 18 : | 1486 | case 18 : |
898 | // InternalApplicationConfiguration.g:1:145: RULE_ANY_OTHER | 1487 | // InternalApplicationConfiguration.g:1:112: T__28 |
1488 | { | ||
1489 | mT__28(); | ||
1490 | |||
1491 | } | ||
1492 | break; | ||
1493 | case 19 : | ||
1494 | // InternalApplicationConfiguration.g:1:118: T__29 | ||
1495 | { | ||
1496 | mT__29(); | ||
1497 | |||
1498 | } | ||
1499 | break; | ||
1500 | case 20 : | ||
1501 | // InternalApplicationConfiguration.g:1:124: T__30 | ||
1502 | { | ||
1503 | mT__30(); | ||
1504 | |||
1505 | } | ||
1506 | break; | ||
1507 | case 21 : | ||
1508 | // InternalApplicationConfiguration.g:1:130: T__31 | ||
1509 | { | ||
1510 | mT__31(); | ||
1511 | |||
1512 | } | ||
1513 | break; | ||
1514 | case 22 : | ||
1515 | // InternalApplicationConfiguration.g:1:136: T__32 | ||
1516 | { | ||
1517 | mT__32(); | ||
1518 | |||
1519 | } | ||
1520 | break; | ||
1521 | case 23 : | ||
1522 | // InternalApplicationConfiguration.g:1:142: T__33 | ||
1523 | { | ||
1524 | mT__33(); | ||
1525 | |||
1526 | } | ||
1527 | break; | ||
1528 | case 24 : | ||
1529 | // InternalApplicationConfiguration.g:1:148: T__34 | ||
1530 | { | ||
1531 | mT__34(); | ||
1532 | |||
1533 | } | ||
1534 | break; | ||
1535 | case 25 : | ||
1536 | // InternalApplicationConfiguration.g:1:154: T__35 | ||
1537 | { | ||
1538 | mT__35(); | ||
1539 | |||
1540 | } | ||
1541 | break; | ||
1542 | case 26 : | ||
1543 | // InternalApplicationConfiguration.g:1:160: T__36 | ||
1544 | { | ||
1545 | mT__36(); | ||
1546 | |||
1547 | } | ||
1548 | break; | ||
1549 | case 27 : | ||
1550 | // InternalApplicationConfiguration.g:1:166: T__37 | ||
1551 | { | ||
1552 | mT__37(); | ||
1553 | |||
1554 | } | ||
1555 | break; | ||
1556 | case 28 : | ||
1557 | // InternalApplicationConfiguration.g:1:172: T__38 | ||
1558 | { | ||
1559 | mT__38(); | ||
1560 | |||
1561 | } | ||
1562 | break; | ||
1563 | case 29 : | ||
1564 | // InternalApplicationConfiguration.g:1:178: T__39 | ||
1565 | { | ||
1566 | mT__39(); | ||
1567 | |||
1568 | } | ||
1569 | break; | ||
1570 | case 30 : | ||
1571 | // InternalApplicationConfiguration.g:1:184: T__40 | ||
1572 | { | ||
1573 | mT__40(); | ||
1574 | |||
1575 | } | ||
1576 | break; | ||
1577 | case 31 : | ||
1578 | // InternalApplicationConfiguration.g:1:190: T__41 | ||
1579 | { | ||
1580 | mT__41(); | ||
1581 | |||
1582 | } | ||
1583 | break; | ||
1584 | case 32 : | ||
1585 | // InternalApplicationConfiguration.g:1:196: T__42 | ||
1586 | { | ||
1587 | mT__42(); | ||
1588 | |||
1589 | } | ||
1590 | break; | ||
1591 | case 33 : | ||
1592 | // InternalApplicationConfiguration.g:1:202: T__43 | ||
1593 | { | ||
1594 | mT__43(); | ||
1595 | |||
1596 | } | ||
1597 | break; | ||
1598 | case 34 : | ||
1599 | // InternalApplicationConfiguration.g:1:208: T__44 | ||
1600 | { | ||
1601 | mT__44(); | ||
1602 | |||
1603 | } | ||
1604 | break; | ||
1605 | case 35 : | ||
1606 | // InternalApplicationConfiguration.g:1:214: T__45 | ||
1607 | { | ||
1608 | mT__45(); | ||
1609 | |||
1610 | } | ||
1611 | break; | ||
1612 | case 36 : | ||
1613 | // InternalApplicationConfiguration.g:1:220: T__46 | ||
1614 | { | ||
1615 | mT__46(); | ||
1616 | |||
1617 | } | ||
1618 | break; | ||
1619 | case 37 : | ||
1620 | // InternalApplicationConfiguration.g:1:226: T__47 | ||
1621 | { | ||
1622 | mT__47(); | ||
1623 | |||
1624 | } | ||
1625 | break; | ||
1626 | case 38 : | ||
1627 | // InternalApplicationConfiguration.g:1:232: T__48 | ||
1628 | { | ||
1629 | mT__48(); | ||
1630 | |||
1631 | } | ||
1632 | break; | ||
1633 | case 39 : | ||
1634 | // InternalApplicationConfiguration.g:1:238: RULE_ID | ||
1635 | { | ||
1636 | mRULE_ID(); | ||
1637 | |||
1638 | } | ||
1639 | break; | ||
1640 | case 40 : | ||
1641 | // InternalApplicationConfiguration.g:1:246: RULE_INT | ||
1642 | { | ||
1643 | mRULE_INT(); | ||
1644 | |||
1645 | } | ||
1646 | break; | ||
1647 | case 41 : | ||
1648 | // InternalApplicationConfiguration.g:1:255: RULE_STRING | ||
1649 | { | ||
1650 | mRULE_STRING(); | ||
1651 | |||
1652 | } | ||
1653 | break; | ||
1654 | case 42 : | ||
1655 | // InternalApplicationConfiguration.g:1:267: RULE_ML_COMMENT | ||
1656 | { | ||
1657 | mRULE_ML_COMMENT(); | ||
1658 | |||
1659 | } | ||
1660 | break; | ||
1661 | case 43 : | ||
1662 | // InternalApplicationConfiguration.g:1:283: RULE_SL_COMMENT | ||
1663 | { | ||
1664 | mRULE_SL_COMMENT(); | ||
1665 | |||
1666 | } | ||
1667 | break; | ||
1668 | case 44 : | ||
1669 | // InternalApplicationConfiguration.g:1:299: RULE_WS | ||
1670 | { | ||
1671 | mRULE_WS(); | ||
1672 | |||
1673 | } | ||
1674 | break; | ||
1675 | case 45 : | ||
1676 | // InternalApplicationConfiguration.g:1:307: RULE_ANY_OTHER | ||
899 | { | 1677 | { |
900 | mRULE_ANY_OTHER(); | 1678 | mRULE_ANY_OTHER(); |
901 | 1679 | ||
@@ -909,92 +1687,248 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
909 | 1687 | ||
910 | protected DFA12 dfa12 = new DFA12(this); | 1688 | protected DFA12 dfa12 = new DFA12(this); |
911 | static final String DFA12_eotS = | 1689 | static final String DFA12_eotS = |
912 | "\1\uffff\3\24\3\uffff\1\24\1\22\1\uffff\1\24\1\22\2\uffff\3\22\2\uffff\1\24\1\uffff\3\24\3\uffff\1\24\2\uffff\1\24\5\uffff\22\24\1\74\2\24\1\77\2\24\1\uffff\2\24\1\uffff\1\104\1\24\1\106\1\24\1\uffff\1\24\1\uffff\1\111\1\112\2\uffff"; | 1690 | "\2\uffff\4\50\4\uffff\1\50\1\44\2\50\1\67\3\uffff\13\50\1\44\2\uffff\3\44\3\uffff\2\50\1\uffff\5\50\4\uffff\1\50\1\uffff\2\50\5\uffff\16\50\5\uffff\1\50\1\152\25\50\1\u0080\4\50\1\uffff\3\50\1\u0088\7\50\1\u0090\1\u0091\10\50\1\uffff\7\50\1\uffff\7\50\2\uffff\2\50\1\u00aa\4\50\1\u00af\3\50\1\u00b3\2\50\1\u00b6\1\u00b7\4\50\1\u00bc\1\u00bd\1\u00be\1\50\1\uffff\1\u00c0\1\50\1\u00c2\1\u00c3\1\uffff\3\50\1\uffff\2\50\2\uffff\1\u00c9\3\50\3\uffff\1\50\1\uffff\1\50\2\uffff\3\50\1\u00d2\1\50\2\uffff\1\u00d4\2\50\1\u00d7\3\50\1\uffff\1\u00db\1\uffff\1\u00dc\1\50\1\uffff\1\u00de\2\50\2\uffff\1\u00e1\1\uffff\2\50\1\uffff\1\u00e4\1\50\1\uffff\1\u00e6\1\uffff"; |
913 | static final String DFA12_eofS = | 1691 | static final String DFA12_eofS = |
914 | "\113\uffff"; | 1692 | "\u00e7\uffff"; |
915 | static final String DFA12_minS = | 1693 | static final String DFA12_minS = |
916 | "\1\0\1\155\1\160\1\151\3\uffff\1\141\1\72\1\uffff\1\145\1\101\2\uffff\2\0\1\52\2\uffff\1\160\1\uffff\1\141\1\143\1\141\3\uffff\1\143\2\uffff\1\164\5\uffff\1\157\1\143\1\154\1\164\1\153\1\141\1\162\1\153\1\165\1\162\1\141\1\155\1\164\1\141\1\144\1\141\1\147\1\157\1\60\1\147\1\151\1\60\1\145\1\144\1\uffff\1\145\1\156\1\uffff\1\60\1\145\1\60\1\147\1\uffff\1\154\1\uffff\2\60\2\uffff"; | 1694 | "\1\0\1\uffff\1\155\1\160\2\151\4\uffff\1\141\1\72\1\145\1\157\1\75\3\uffff\1\142\1\145\1\143\1\145\2\165\1\145\1\157\1\115\1\154\1\151\1\101\2\uffff\2\0\1\52\3\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\2\154\4\uffff\1\143\1\uffff\1\164\1\156\5\uffff\1\152\1\141\1\156\1\141\1\157\1\154\1\156\1\155\1\164\1\142\1\147\1\124\1\154\1\141\5\uffff\1\157\1\60\1\143\1\154\1\164\1\145\1\144\1\153\2\164\1\141\1\146\1\145\1\154\1\163\1\151\1\164\1\160\1\166\1\145\1\142\1\160\1\165\1\60\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\60\1\145\1\141\1\151\1\145\1\155\1\151\1\143\2\60\1\156\1\151\2\145\1\162\1\145\1\165\1\147\1\uffff\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\147\1\141\1\162\1\157\1\147\1\164\2\uffff\1\147\1\163\1\60\1\162\1\141\1\162\1\164\1\60\1\154\1\123\1\141\1\60\1\147\1\151\2\60\1\145\1\154\1\156\1\144\3\60\1\164\1\uffff\1\60\1\164\2\60\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\60\1\55\1\163\1\145\3\uffff\1\151\1\uffff\1\145\2\uffff\1\145\1\154\1\157\1\60\1\147\2\uffff\1\60\1\154\1\143\1\60\1\162\1\166\1\154\1\uffff\1\60\1\uffff\1\60\1\163\1\uffff\1\60\1\145\1\166\2\uffff\1\60\1\uffff\1\162\1\145\1\uffff\1\60\1\162\1\uffff\1\60\1\uffff"; |
917 | static final String DFA12_maxS = | 1695 | static final String DFA12_maxS = |
918 | "\1\uffff\1\155\1\170\1\151\3\uffff\1\141\1\72\1\uffff\1\145\1\172\2\uffff\2\uffff\1\57\2\uffff\1\160\1\uffff\1\141\1\143\1\141\3\uffff\1\143\2\uffff\1\164\5\uffff\1\157\1\143\1\154\1\164\1\153\1\141\1\162\1\153\1\165\1\162\1\141\1\155\1\164\1\141\1\144\1\141\1\147\1\157\1\172\1\147\1\151\1\172\1\145\1\144\1\uffff\1\145\1\156\1\uffff\1\172\1\145\1\172\1\147\1\uffff\1\154\1\uffff\2\172\2\uffff"; | 1696 | "\1\uffff\1\uffff\1\156\1\170\1\151\1\157\4\uffff\1\141\1\72\1\145\1\157\1\75\3\uffff\1\142\1\165\1\164\1\145\2\165\1\145\1\157\1\115\1\154\1\151\1\172\2\uffff\2\uffff\1\57\3\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\2\154\4\uffff\1\164\1\uffff\1\164\1\156\5\uffff\1\152\1\141\1\156\1\162\1\157\1\154\1\156\1\155\1\164\1\142\1\147\1\124\1\154\1\141\5\uffff\1\157\1\172\1\143\1\154\1\164\1\145\1\144\1\153\2\164\1\141\1\146\1\145\1\154\1\163\1\151\1\164\1\160\1\166\1\145\1\142\1\160\1\165\1\172\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\172\1\145\1\141\1\151\1\145\1\155\1\151\1\143\2\172\1\156\1\151\2\145\1\162\1\145\1\165\1\147\1\uffff\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\147\1\141\1\162\1\157\1\147\1\164\2\uffff\1\147\1\163\1\172\1\162\1\141\1\162\1\164\1\172\1\154\1\123\1\141\1\172\1\147\1\151\2\172\1\145\1\154\1\156\1\144\3\172\1\164\1\uffff\1\172\1\164\2\172\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\172\1\55\1\163\1\145\3\uffff\1\151\1\uffff\1\145\2\uffff\1\145\1\154\1\157\1\172\1\147\2\uffff\1\172\1\154\1\143\1\172\1\162\1\166\1\154\1\uffff\1\172\1\uffff\1\172\1\163\1\uffff\1\172\1\145\1\166\2\uffff\1\172\1\uffff\1\162\1\145\1\uffff\1\172\1\162\1\uffff\1\172\1\uffff"; |
919 | static final String DFA12_acceptS = | 1697 | static final String DFA12_acceptS = |
920 | "\4\uffff\1\4\1\5\1\6\2\uffff\1\12\2\uffff\1\14\1\15\3\uffff\1\21\1\22\1\uffff\1\14\3\uffff\1\4\1\5\1\6\1\uffff\1\11\1\12\1\uffff\1\15\1\16\1\17\1\20\1\21\30\uffff\1\1\2\uffff\1\3\4\uffff\1\7\1\uffff\1\2\2\uffff\1\10\1\13"; | 1698 | "\1\uffff\1\1\4\uffff\1\6\1\7\1\10\1\11\5\uffff\1\24\1\25\1\26\14\uffff\1\47\1\50\3\uffff\1\54\1\55\1\1\2\uffff\1\47\5\uffff\1\6\1\7\1\10\1\11\1\uffff\1\14\2\uffff\1\23\1\22\1\24\1\25\1\26\16\uffff\1\50\1\51\1\52\1\53\1\54\34\uffff\1\30\25\uffff\1\42\7\uffff\1\5\7\uffff\1\31\1\36\30\uffff\1\33\4\uffff\1\41\3\uffff\1\2\2\uffff\1\4\1\16\4\uffff\1\21\1\27\1\32\1\uffff\1\37\1\uffff\1\35\1\40\5\uffff\1\12\1\17\7\uffff\1\3\1\uffff\1\20\2\uffff\1\34\3\uffff\1\13\1\15\1\uffff\1\44\2\uffff\1\43\2\uffff\1\45\1\uffff\1\46"; |
921 | static final String DFA12_specialS = | 1699 | static final String DFA12_specialS = |
922 | "\1\1\15\uffff\1\0\1\2\73\uffff}>"; | 1700 | "\1\1\37\uffff\1\2\1\0\u00c5\uffff}>"; |
923 | static final String[] DFA12_transitionS = { | 1701 | static final String[] DFA12_transitionS = { |
924 | "\11\22\2\21\2\22\1\21\22\22\1\21\1\22\1\16\4\22\1\17\4\22\1\5\1\22\1\11\1\20\12\15\1\10\6\22\32\14\3\22\1\13\1\14\1\22\4\14\1\2\3\14\1\1\3\14\1\12\2\14\1\7\5\14\1\3\4\14\1\4\1\22\1\6\uff82\22", | 1702 | "\11\44\2\43\2\44\1\43\22\44\1\43\1\44\1\40\1\17\3\44\1\41\4\44\1\10\1\44\1\1\1\42\12\37\1\13\1\44\1\16\1\6\3\44\1\33\15\36\1\22\3\36\1\32\2\36\1\34\4\36\1\20\1\44\1\21\1\35\1\36\1\44\2\36\1\15\1\30\1\3\1\5\1\25\1\36\1\2\2\36\1\31\1\14\1\26\1\27\1\12\1\36\1\23\1\24\2\36\1\4\4\36\1\7\1\44\1\11\uff82\44", |
925 | "\1\23", | ||
926 | "\1\25\7\uffff\1\26", | ||
927 | "\1\27", | ||
928 | "", | 1703 | "", |
1704 | "\1\46\1\47", | ||
1705 | "\1\51\7\uffff\1\52", | ||
1706 | "\1\53", | ||
1707 | "\1\54\5\uffff\1\55", | ||
929 | "", | 1708 | "", |
930 | "", | 1709 | "", |
931 | "\1\33", | ||
932 | "\1\34", | ||
933 | "", | 1710 | "", |
934 | "\1\36", | ||
935 | "\32\24\4\uffff\1\24\1\uffff\32\24", | ||
936 | "", | 1711 | "", |
1712 | "\1\62", | ||
1713 | "\1\63", | ||
1714 | "\1\64", | ||
1715 | "\1\65", | ||
1716 | "\1\66", | ||
937 | "", | 1717 | "", |
938 | "\0\40", | ||
939 | "\0\40", | ||
940 | "\1\41\4\uffff\1\42", | ||
941 | "", | 1718 | "", |
942 | "", | 1719 | "", |
943 | "\1\44", | 1720 | "\1\73", |
1721 | "\1\74\17\uffff\1\75", | ||
1722 | "\1\77\13\uffff\1\100\4\uffff\1\76", | ||
1723 | "\1\101", | ||
1724 | "\1\102", | ||
1725 | "\1\103", | ||
1726 | "\1\104", | ||
1727 | "\1\105", | ||
1728 | "\1\106", | ||
1729 | "\1\107", | ||
1730 | "\1\110", | ||
1731 | "\32\50\4\uffff\1\50\1\uffff\32\50", | ||
944 | "", | 1732 | "", |
945 | "\1\45", | ||
946 | "\1\46", | ||
947 | "\1\47", | ||
948 | "", | 1733 | "", |
1734 | "\0\112", | ||
1735 | "\0\112", | ||
1736 | "\1\113\4\uffff\1\114", | ||
949 | "", | 1737 | "", |
950 | "", | 1738 | "", |
951 | "\1\50", | ||
952 | "", | 1739 | "", |
1740 | "\1\116", | ||
1741 | "\1\117", | ||
953 | "", | 1742 | "", |
954 | "\1\51", | 1743 | "\1\120", |
1744 | "\1\121", | ||
1745 | "\1\122", | ||
1746 | "\1\123", | ||
1747 | "\1\124", | ||
955 | "", | 1748 | "", |
956 | "", | 1749 | "", |
957 | "", | 1750 | "", |
958 | "", | 1751 | "", |
1752 | "\1\125\16\uffff\1\126\1\uffff\1\127", | ||
959 | "", | 1753 | "", |
960 | "\1\52", | 1754 | "\1\130", |
961 | "\1\53", | 1755 | "\1\131", |
962 | "\1\54", | ||
963 | "\1\55", | ||
964 | "\1\56", | ||
965 | "\1\57", | ||
966 | "\1\60", | ||
967 | "\1\61", | ||
968 | "\1\62", | ||
969 | "\1\63", | ||
970 | "\1\64", | ||
971 | "\1\65", | ||
972 | "\1\66", | ||
973 | "\1\67", | ||
974 | "\1\70", | ||
975 | "\1\71", | ||
976 | "\1\72", | ||
977 | "\1\73", | ||
978 | "\12\24\7\uffff\32\24\4\uffff\1\24\1\uffff\32\24", | ||
979 | "\1\75", | ||
980 | "\1\76", | ||
981 | "\12\24\7\uffff\32\24\4\uffff\1\24\1\uffff\32\24", | ||
982 | "\1\100", | ||
983 | "\1\101", | ||
984 | "", | 1756 | "", |
985 | "\1\102", | ||
986 | "\1\103", | ||
987 | "", | 1757 | "", |
988 | "\12\24\7\uffff\32\24\4\uffff\1\24\1\uffff\32\24", | ||
989 | "\1\105", | ||
990 | "\12\24\7\uffff\32\24\4\uffff\1\24\1\uffff\32\24", | ||
991 | "\1\107", | ||
992 | "", | 1758 | "", |
993 | "\1\110", | ||
994 | "", | 1759 | "", |
995 | "\12\24\7\uffff\32\24\4\uffff\1\24\1\uffff\32\24", | ||
996 | "\12\24\7\uffff\32\24\4\uffff\1\24\1\uffff\32\24", | ||
997 | "", | 1760 | "", |
1761 | "\1\132", | ||
1762 | "\1\133", | ||
1763 | "\1\134", | ||
1764 | "\1\136\20\uffff\1\135", | ||
1765 | "\1\137", | ||
1766 | "\1\140", | ||
1767 | "\1\141", | ||
1768 | "\1\142", | ||
1769 | "\1\143", | ||
1770 | "\1\144", | ||
1771 | "\1\145", | ||
1772 | "\1\146", | ||
1773 | "\1\147", | ||
1774 | "\1\150", | ||
1775 | "", | ||
1776 | "", | ||
1777 | "", | ||
1778 | "", | ||
1779 | "", | ||
1780 | "\1\151", | ||
1781 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1782 | "\1\153", | ||
1783 | "\1\154", | ||
1784 | "\1\155", | ||
1785 | "\1\156", | ||
1786 | "\1\157", | ||
1787 | "\1\160", | ||
1788 | "\1\161", | ||
1789 | "\1\162", | ||
1790 | "\1\163", | ||
1791 | "\1\164", | ||
1792 | "\1\165", | ||
1793 | "\1\166", | ||
1794 | "\1\167", | ||
1795 | "\1\170", | ||
1796 | "\1\171", | ||
1797 | "\1\172", | ||
1798 | "\1\173", | ||
1799 | "\1\174", | ||
1800 | "\1\175", | ||
1801 | "\1\176", | ||
1802 | "\1\177", | ||
1803 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1804 | "\1\u0081", | ||
1805 | "\1\u0082", | ||
1806 | "\1\u0083", | ||
1807 | "\1\u0084", | ||
1808 | "", | ||
1809 | "\1\u0085", | ||
1810 | "\1\u0086", | ||
1811 | "\1\u0087", | ||
1812 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1813 | "\1\u0089", | ||
1814 | "\1\u008a", | ||
1815 | "\1\u008b", | ||
1816 | "\1\u008c", | ||
1817 | "\1\u008d", | ||
1818 | "\1\u008e", | ||
1819 | "\1\u008f", | ||
1820 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1821 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1822 | "\1\u0092", | ||
1823 | "\1\u0093", | ||
1824 | "\1\u0094", | ||
1825 | "\1\u0095", | ||
1826 | "\1\u0096", | ||
1827 | "\1\u0097", | ||
1828 | "\1\u0098", | ||
1829 | "\1\u0099", | ||
1830 | "", | ||
1831 | "\1\u009a", | ||
1832 | "\1\u009b", | ||
1833 | "\1\u009c", | ||
1834 | "\1\u009d", | ||
1835 | "\1\u009e", | ||
1836 | "\1\u009f", | ||
1837 | "\1\u00a0", | ||
1838 | "", | ||
1839 | "\1\u00a1", | ||
1840 | "\1\u00a2", | ||
1841 | "\1\u00a3", | ||
1842 | "\1\u00a4", | ||
1843 | "\1\u00a5", | ||
1844 | "\1\u00a6", | ||
1845 | "\1\u00a7", | ||
1846 | "", | ||
1847 | "", | ||
1848 | "\1\u00a8", | ||
1849 | "\1\u00a9", | ||
1850 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1851 | "\1\u00ab", | ||
1852 | "\1\u00ac", | ||
1853 | "\1\u00ad", | ||
1854 | "\1\u00ae", | ||
1855 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1856 | "\1\u00b0", | ||
1857 | "\1\u00b1", | ||
1858 | "\1\u00b2", | ||
1859 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1860 | "\1\u00b4", | ||
1861 | "\1\u00b5", | ||
1862 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1863 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1864 | "\1\u00b8", | ||
1865 | "\1\u00b9", | ||
1866 | "\1\u00ba", | ||
1867 | "\1\u00bb", | ||
1868 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1869 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1870 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1871 | "\1\u00bf", | ||
1872 | "", | ||
1873 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1874 | "\1\u00c1", | ||
1875 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1876 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1877 | "", | ||
1878 | "\1\u00c4", | ||
1879 | "\1\u00c5", | ||
1880 | "\1\u00c6", | ||
1881 | "", | ||
1882 | "\1\u00c7", | ||
1883 | "\1\u00c8", | ||
1884 | "", | ||
1885 | "", | ||
1886 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1887 | "\1\u00ca", | ||
1888 | "\1\u00cb", | ||
1889 | "\1\u00cc", | ||
1890 | "", | ||
1891 | "", | ||
1892 | "", | ||
1893 | "\1\u00cd", | ||
1894 | "", | ||
1895 | "\1\u00ce", | ||
1896 | "", | ||
1897 | "", | ||
1898 | "\1\u00cf", | ||
1899 | "\1\u00d0", | ||
1900 | "\1\u00d1", | ||
1901 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1902 | "\1\u00d3", | ||
1903 | "", | ||
1904 | "", | ||
1905 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1906 | "\1\u00d5", | ||
1907 | "\1\u00d6", | ||
1908 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1909 | "\1\u00d8", | ||
1910 | "\1\u00d9", | ||
1911 | "\1\u00da", | ||
1912 | "", | ||
1913 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1914 | "", | ||
1915 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1916 | "\1\u00dd", | ||
1917 | "", | ||
1918 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1919 | "\1\u00df", | ||
1920 | "\1\u00e0", | ||
1921 | "", | ||
1922 | "", | ||
1923 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1924 | "", | ||
1925 | "\1\u00e2", | ||
1926 | "\1\u00e3", | ||
1927 | "", | ||
1928 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
1929 | "\1\u00e5", | ||
1930 | "", | ||
1931 | "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", | ||
998 | "" | 1932 | "" |
999 | }; | 1933 | }; |
1000 | 1934 | ||
@@ -1028,19 +1962,19 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1028 | this.transition = DFA12_transition; | 1962 | this.transition = DFA12_transition; |
1029 | } | 1963 | } |
1030 | public String getDescription() { | 1964 | public String getDescription() { |
1031 | return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; | 1965 | return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; |
1032 | } | 1966 | } |
1033 | public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { | 1967 | public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
1034 | IntStream input = _input; | 1968 | IntStream input = _input; |
1035 | int _s = s; | 1969 | int _s = s; |
1036 | switch ( s ) { | 1970 | switch ( s ) { |
1037 | case 0 : | 1971 | case 0 : |
1038 | int LA12_14 = input.LA(1); | 1972 | int LA12_33 = input.LA(1); |
1039 | 1973 | ||
1040 | s = -1; | 1974 | s = -1; |
1041 | if ( ((LA12_14>='\u0000' && LA12_14<='\uFFFF')) ) {s = 32;} | 1975 | if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 74;} |
1042 | 1976 | ||
1043 | else s = 18; | 1977 | else s = 36; |
1044 | 1978 | ||
1045 | if ( s>=0 ) return s; | 1979 | if ( s>=0 ) return s; |
1046 | break; | 1980 | break; |
@@ -1048,51 +1982,87 @@ public class InternalApplicationConfigurationLexer extends Lexer { | |||
1048 | int LA12_0 = input.LA(1); | 1982 | int LA12_0 = input.LA(1); |
1049 | 1983 | ||
1050 | s = -1; | 1984 | s = -1; |
1051 | if ( (LA12_0=='i') ) {s = 1;} | 1985 | if ( (LA12_0=='.') ) {s = 1;} |
1986 | |||
1987 | else if ( (LA12_0=='i') ) {s = 2;} | ||
1988 | |||
1989 | else if ( (LA12_0=='e') ) {s = 3;} | ||
1990 | |||
1991 | else if ( (LA12_0=='v') ) {s = 4;} | ||
1992 | |||
1993 | else if ( (LA12_0=='f') ) {s = 5;} | ||
1994 | |||
1995 | else if ( (LA12_0=='=') ) {s = 6;} | ||
1996 | |||
1997 | else if ( (LA12_0=='{') ) {s = 7;} | ||
1998 | |||
1999 | else if ( (LA12_0==',') ) {s = 8;} | ||
2000 | |||
2001 | else if ( (LA12_0=='}') ) {s = 9;} | ||
2002 | |||
2003 | else if ( (LA12_0=='p') ) {s = 10;} | ||
2004 | |||
2005 | else if ( (LA12_0==':') ) {s = 11;} | ||
2006 | |||
2007 | else if ( (LA12_0=='m') ) {s = 12;} | ||
2008 | |||
2009 | else if ( (LA12_0=='c') ) {s = 13;} | ||
2010 | |||
2011 | else if ( (LA12_0=='<') ) {s = 14;} | ||
2012 | |||
2013 | else if ( (LA12_0=='#') ) {s = 15;} | ||
2014 | |||
2015 | else if ( (LA12_0=='[') ) {s = 16;} | ||
2016 | |||
2017 | else if ( (LA12_0==']') ) {s = 17;} | ||
2018 | |||
2019 | else if ( (LA12_0=='O') ) {s = 18;} | ||
2020 | |||
2021 | else if ( (LA12_0=='r') ) {s = 19;} | ||
1052 | 2022 | ||
1053 | else if ( (LA12_0=='e') ) {s = 2;} | 2023 | else if ( (LA12_0=='s') ) {s = 20;} |
1054 | 2024 | ||
1055 | else if ( (LA12_0=='v') ) {s = 3;} | 2025 | else if ( (LA12_0=='g') ) {s = 21;} |
1056 | 2026 | ||
1057 | else if ( (LA12_0=='{') ) {s = 4;} | 2027 | else if ( (LA12_0=='n') ) {s = 22;} |
1058 | 2028 | ||
1059 | else if ( (LA12_0==',') ) {s = 5;} | 2029 | else if ( (LA12_0=='o') ) {s = 23;} |
1060 | 2030 | ||
1061 | else if ( (LA12_0=='}') ) {s = 6;} | 2031 | else if ( (LA12_0=='d') ) {s = 24;} |
1062 | 2032 | ||
1063 | else if ( (LA12_0=='p') ) {s = 7;} | 2033 | else if ( (LA12_0=='l') ) {s = 25;} |
1064 | 2034 | ||
1065 | else if ( (LA12_0==':') ) {s = 8;} | 2035 | else if ( (LA12_0=='S') ) {s = 26;} |
1066 | 2036 | ||
1067 | else if ( (LA12_0=='.') ) {s = 9;} | 2037 | else if ( (LA12_0=='A') ) {s = 27;} |
1068 | 2038 | ||
1069 | else if ( (LA12_0=='m') ) {s = 10;} | 2039 | else if ( (LA12_0=='V') ) {s = 28;} |
1070 | 2040 | ||
1071 | else if ( (LA12_0=='^') ) {s = 11;} | 2041 | else if ( (LA12_0=='^') ) {s = 29;} |
1072 | 2042 | ||
1073 | else if ( ((LA12_0>='A' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='d')||(LA12_0>='f' && LA12_0<='h')||(LA12_0>='j' && LA12_0<='l')||(LA12_0>='n' && LA12_0<='o')||(LA12_0>='q' && LA12_0<='u')||(LA12_0>='w' && LA12_0<='z')) ) {s = 12;} | 2043 | else if ( ((LA12_0>='B' && LA12_0<='N')||(LA12_0>='P' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='U')||(LA12_0>='W' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='b')||LA12_0=='h'||(LA12_0>='j' && LA12_0<='k')||LA12_0=='q'||(LA12_0>='t' && LA12_0<='u')||(LA12_0>='w' && LA12_0<='z')) ) {s = 30;} |
1074 | 2044 | ||
1075 | else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 13;} | 2045 | else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 31;} |
1076 | 2046 | ||
1077 | else if ( (LA12_0=='\"') ) {s = 14;} | 2047 | else if ( (LA12_0=='\"') ) {s = 32;} |
1078 | 2048 | ||
1079 | else if ( (LA12_0=='\'') ) {s = 15;} | 2049 | else if ( (LA12_0=='\'') ) {s = 33;} |
1080 | 2050 | ||
1081 | else if ( (LA12_0=='/') ) {s = 16;} | 2051 | else if ( (LA12_0=='/') ) {s = 34;} |
1082 | 2052 | ||
1083 | else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 17;} | 2053 | else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 35;} |
1084 | 2054 | ||
1085 | else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='#' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='+')||LA12_0=='-'||(LA12_0>=';' && LA12_0<='@')||(LA12_0>='[' && LA12_0<=']')||LA12_0=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 18;} | 2055 | else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='$' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='+')||LA12_0=='-'||LA12_0==';'||(LA12_0>='>' && LA12_0<='@')||LA12_0=='\\'||LA12_0=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 36;} |
1086 | 2056 | ||
1087 | if ( s>=0 ) return s; | 2057 | if ( s>=0 ) return s; |
1088 | break; | 2058 | break; |
1089 | case 2 : | 2059 | case 2 : |
1090 | int LA12_15 = input.LA(1); | 2060 | int LA12_32 = input.LA(1); |
1091 | 2061 | ||
1092 | s = -1; | 2062 | s = -1; |
1093 | if ( ((LA12_15>='\u0000' && LA12_15<='\uFFFF')) ) {s = 32;} | 2063 | if ( ((LA12_32>='\u0000' && LA12_32<='\uFFFF')) ) {s = 74;} |
1094 | 2064 | ||
1095 | else s = 18; | 2065 | else s = 36; |
1096 | 2066 | ||
1097 | if ( s>=0 ) return s; | 2067 | if ( s>=0 ) return s; |
1098 | break; | 2068 | break; |
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java index 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.*; | |||
5 | import org.eclipse.xtext.parser.impl.*; | 5 | import org.eclipse.xtext.parser.impl.*; |
6 | import org.eclipse.emf.ecore.util.EcoreUtil; | 6 | import org.eclipse.emf.ecore.util.EcoreUtil; |
7 | import org.eclipse.emf.ecore.EObject; | 7 | import org.eclipse.emf.ecore.EObject; |
8 | import org.eclipse.emf.common.util.Enumerator; | ||
8 | import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; | 9 | import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; |
9 | import org.eclipse.xtext.parser.antlr.XtextTokenStream; | 10 | import org.eclipse.xtext.parser.antlr.XtextTokenStream; |
10 | import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; | 11 | import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; |
@@ -17,14 +18,13 @@ import org.antlr.runtime.*; | |||
17 | import java.util.Stack; | 18 | import java.util.Stack; |
18 | import java.util.List; | 19 | import java.util.List; |
19 | import java.util.ArrayList; | 20 | import java.util.ArrayList; |
20 | 21 | import java.util.Map; | |
22 | import java.util.HashMap; | ||
21 | @SuppressWarnings("all") | 23 | @SuppressWarnings("all") |
22 | public class InternalApplicationConfigurationParser extends AbstractInternalAntlrParser { | 24 | public 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 | } | ||