From 7e50434905cbb7f5d03636033b698e17a9075e9d Mon Sep 17 00:00:00 2001 From: OszkarSemerath Date: Sat, 13 Jan 2018 19:33:26 +0100 Subject: Initial commit of the configuration language and application --- .../antlr/ApplicationConfigurationParser.java | 97 + ...pplicationConfigurationContentAssistParser.java | 34 + .../internal/InternalApplicationConfiguration.g | 1577 +++++++ .../InternalApplicationConfiguration.tokens | 29 + .../InternalApplicationConfigurationLexer.java | 1108 +++++ .../InternalApplicationConfigurationParser.java | 4611 ++++++++++++++++++++ 6 files changed, 7456 insertions(+) create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/ApplicationConfigurationParser.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/PartialApplicationConfigurationContentAssistParser.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.tokens create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationLexer.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationParser.java (limited to 'Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/ApplicationConfigurationParser.java b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/ApplicationConfigurationParser.java new file mode 100644 index 00000000..40c2fd48 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/ApplicationConfigurationParser.java @@ -0,0 +1,97 @@ +/* + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr; + +import com.google.inject.Inject; +import hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal.InternalApplicationConfigurationParser; +import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import org.antlr.runtime.RecognitionException; +import org.eclipse.xtext.AbstractElement; +import org.eclipse.xtext.ide.editor.contentassist.antlr.AbstractContentAssistParser; +import org.eclipse.xtext.ide.editor.contentassist.antlr.FollowElement; +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; + +public class ApplicationConfigurationParser extends AbstractContentAssistParser { + + @Inject + private ApplicationConfigurationGrammarAccess grammarAccess; + + private Map nameMappings; + + @Override + protected InternalApplicationConfigurationParser createParser() { + InternalApplicationConfigurationParser result = new InternalApplicationConfigurationParser(null); + result.setGrammarAccess(grammarAccess); + return result; + } + + @Override + protected String getRuleName(AbstractElement element) { + if (nameMappings == null) { + nameMappings = new HashMap() { + private static final long serialVersionUID = 1L; + { + put(grammarAccess.getImportAccess().getAlternatives(), "rule__Import__Alternatives"); + put(grammarAccess.getMetamodelEntryAccess().getAlternatives(), "rule__MetamodelEntry__Alternatives"); + put(grammarAccess.getMetamodelAccess().getAlternatives(), "rule__Metamodel__Alternatives"); + put(grammarAccess.getConfigurationScriptAccess().getGroup(), "rule__ConfigurationScript__Group__0"); + put(grammarAccess.getEPackageImportAccess().getGroup(), "rule__EPackageImport__Group__0"); + put(grammarAccess.getViatraImportAccess().getGroup(), "rule__ViatraImport__Group__0"); + put(grammarAccess.getMetamodelSpecificationAccess().getGroup(), "rule__MetamodelSpecification__Group__0"); + put(grammarAccess.getMetamodelSpecificationAccess().getGroup_2(), "rule__MetamodelSpecification__Group_2__0"); + put(grammarAccess.getAllPackageEntryAccess().getGroup(), "rule__AllPackageEntry__Group__0"); + put(grammarAccess.getAllPackageEntryAccess().getGroup_2(), "rule__AllPackageEntry__Group_2__0"); + put(grammarAccess.getAllPackageEntryAccess().getGroup_2_3(), "rule__AllPackageEntry__Group_2_3__0"); + put(grammarAccess.getMetamodelElementAccess().getGroup(), "rule__MetamodelElement__Group__0"); + put(grammarAccess.getMetamodelElementAccess().getGroup_0(), "rule__MetamodelElement__Group_0__0"); + put(grammarAccess.getMetamodelElementAccess().getGroup_2(), "rule__MetamodelElement__Group_2__0"); + put(grammarAccess.getMetamodelDeclarationAccess().getGroup(), "rule__MetamodelDeclaration__Group__0"); + put(grammarAccess.getConfigurationScriptAccess().getImportsAssignment_0(), "rule__ConfigurationScript__ImportsAssignment_0"); + put(grammarAccess.getConfigurationScriptAccess().getCommandsAssignment_1(), "rule__ConfigurationScript__CommandsAssignment_1"); + put(grammarAccess.getEPackageImportAccess().getImportedPackageAssignment_2(), "rule__EPackageImport__ImportedPackageAssignment_2"); + put(grammarAccess.getViatraImportAccess().getImportedViatraAssignment_2(), "rule__ViatraImport__ImportedViatraAssignment_2"); + put(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_1(), "rule__MetamodelSpecification__EntriesAssignment_1"); + put(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_2_1(), "rule__MetamodelSpecification__EntriesAssignment_2_1"); + put(grammarAccess.getAllPackageEntryAccess().getPackageAssignment_1(), "rule__AllPackageEntry__PackageAssignment_1"); + put(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_2(), "rule__AllPackageEntry__ExclusionAssignment_2_2"); + put(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_3_1(), "rule__AllPackageEntry__ExclusionAssignment_2_3_1"); + put(grammarAccess.getMetamodelElementAccess().getPackageAssignment_0_0(), "rule__MetamodelElement__PackageAssignment_0_0"); + put(grammarAccess.getMetamodelElementAccess().getClassifierAssignment_1(), "rule__MetamodelElement__ClassifierAssignment_1"); + put(grammarAccess.getMetamodelElementAccess().getFeatureAssignment_2_1(), "rule__MetamodelElement__FeatureAssignment_2_1"); + put(grammarAccess.getMetamodelDeclarationAccess().getNameAssignment_1(), "rule__MetamodelDeclaration__NameAssignment_1"); + put(grammarAccess.getMetamodelDeclarationAccess().getSpecificationAssignment_2(), "rule__MetamodelDeclaration__SpecificationAssignment_2"); + put(grammarAccess.getMetamodelReferenceAccess().getReferredAssignment(), "rule__MetamodelReference__ReferredAssignment"); + } + }; + } + return nameMappings.get(element); + } + + @Override + protected Collection getFollowElements(AbstractInternalContentAssistParser parser) { + try { + InternalApplicationConfigurationParser typedParser = (InternalApplicationConfigurationParser) parser; + typedParser.entryRuleConfigurationScript(); + return typedParser.getFollowElements(); + } catch(RecognitionException ex) { + throw new RuntimeException(ex); + } + } + + @Override + protected String[] getInitialHiddenTokens() { + return new String[] { "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT" }; + } + + public ApplicationConfigurationGrammarAccess getGrammarAccess() { + return this.grammarAccess; + } + + public void setGrammarAccess(ApplicationConfigurationGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/PartialApplicationConfigurationContentAssistParser.java b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/PartialApplicationConfigurationContentAssistParser.java new file mode 100644 index 00000000..a418e063 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/PartialApplicationConfigurationContentAssistParser.java @@ -0,0 +1,34 @@ +/* + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr; + +import java.util.Collection; +import java.util.Collections; +import org.eclipse.xtext.AbstractRule; +import org.eclipse.xtext.ide.editor.contentassist.antlr.FollowElement; +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; +import org.eclipse.xtext.ide.editor.partialEditing.IPartialEditingContentAssistParser; +import org.eclipse.xtext.util.PolymorphicDispatcher; + +public class PartialApplicationConfigurationContentAssistParser extends ApplicationConfigurationParser implements IPartialEditingContentAssistParser { + + private AbstractRule rule; + + @Override + public void initializeFor(AbstractRule rule) { + this.rule = rule; + } + + @Override + protected Collection getFollowElements(AbstractInternalContentAssistParser parser) { + if (rule == null || rule.eIsProxy()) + return Collections.emptyList(); + String methodName = "entryRule" + rule.getName(); + PolymorphicDispatcher> dispatcher = + new PolymorphicDispatcher>(methodName, 0, 0, Collections.singletonList(parser)); + dispatcher.invoke(); + return parser.getFollowElements(); + } + +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g new file mode 100644 index 00000000..08fa0536 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.g @@ -0,0 +1,1577 @@ +/* + * generated by Xtext 2.10.0 + */ +grammar InternalApplicationConfiguration; + +options { + superClass=AbstractInternalContentAssistParser; +} + +@lexer::header { +package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; +} + +@parser::header { +package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal; + +import java.io.InputStream; +import org.eclipse.xtext.*; +import org.eclipse.xtext.parser.*; +import org.eclipse.xtext.parser.impl.*; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.DFA; +import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; + +} +@parser::members { + private ApplicationConfigurationGrammarAccess grammarAccess; + + public void setGrammarAccess(ApplicationConfigurationGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } + + @Override + protected Grammar getGrammar() { + return grammarAccess.getGrammar(); + } + + @Override + protected String getValueForTokenName(String tokenName) { + return tokenName; + } +} + +// Entry rule entryRuleConfigurationScript +entryRuleConfigurationScript +: +{ before(grammarAccess.getConfigurationScriptRule()); } + ruleConfigurationScript +{ after(grammarAccess.getConfigurationScriptRule()); } + EOF +; + +// Rule ConfigurationScript +ruleConfigurationScript + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getConfigurationScriptAccess().getGroup()); } + (rule__ConfigurationScript__Group__0) + { after(grammarAccess.getConfigurationScriptAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleCommand +entryRuleCommand +: +{ before(grammarAccess.getCommandRule()); } + ruleCommand +{ after(grammarAccess.getCommandRule()); } + EOF +; + +// Rule Command +ruleCommand + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getCommandAccess().getDeclarationParserRuleCall()); } + ruleDeclaration + { after(grammarAccess.getCommandAccess().getDeclarationParserRuleCall()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleDeclaration +entryRuleDeclaration +: +{ before(grammarAccess.getDeclarationRule()); } + ruleDeclaration +{ after(grammarAccess.getDeclarationRule()); } + EOF +; + +// Rule Declaration +ruleDeclaration + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall()); } + ruleMetamodelDeclaration + { after(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleImport +entryRuleImport +: +{ before(grammarAccess.getImportRule()); } + ruleImport +{ after(grammarAccess.getImportRule()); } + EOF +; + +// Rule Import +ruleImport + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getImportAccess().getAlternatives()); } + (rule__Import__Alternatives) + { after(grammarAccess.getImportAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleEPackageImport +entryRuleEPackageImport +: +{ before(grammarAccess.getEPackageImportRule()); } + ruleEPackageImport +{ after(grammarAccess.getEPackageImportRule()); } + EOF +; + +// Rule EPackageImport +ruleEPackageImport + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getEPackageImportAccess().getGroup()); } + (rule__EPackageImport__Group__0) + { after(grammarAccess.getEPackageImportAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleViatraImport +entryRuleViatraImport +: +{ before(grammarAccess.getViatraImportRule()); } + ruleViatraImport +{ after(grammarAccess.getViatraImportRule()); } + EOF +; + +// Rule ViatraImport +ruleViatraImport + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getViatraImportAccess().getGroup()); } + (rule__ViatraImport__Group__0) + { after(grammarAccess.getViatraImportAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleMetamodelSpecification +entryRuleMetamodelSpecification +: +{ before(grammarAccess.getMetamodelSpecificationRule()); } + ruleMetamodelSpecification +{ after(grammarAccess.getMetamodelSpecificationRule()); } + EOF +; + +// Rule MetamodelSpecification +ruleMetamodelSpecification + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getMetamodelSpecificationAccess().getGroup()); } + (rule__MetamodelSpecification__Group__0) + { after(grammarAccess.getMetamodelSpecificationAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleMetamodelEntry +entryRuleMetamodelEntry +: +{ before(grammarAccess.getMetamodelEntryRule()); } + ruleMetamodelEntry +{ after(grammarAccess.getMetamodelEntryRule()); } + EOF +; + +// Rule MetamodelEntry +ruleMetamodelEntry + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getMetamodelEntryAccess().getAlternatives()); } + (rule__MetamodelEntry__Alternatives) + { after(grammarAccess.getMetamodelEntryAccess().getAlternatives()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleAllPackageEntry +entryRuleAllPackageEntry +: +{ before(grammarAccess.getAllPackageEntryRule()); } + ruleAllPackageEntry +{ after(grammarAccess.getAllPackageEntryRule()); } + EOF +; + +// Rule AllPackageEntry +ruleAllPackageEntry + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getAllPackageEntryAccess().getGroup()); } + (rule__AllPackageEntry__Group__0) + { after(grammarAccess.getAllPackageEntryAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleMetamodelElement +entryRuleMetamodelElement +: +{ before(grammarAccess.getMetamodelElementRule()); } + ruleMetamodelElement +{ after(grammarAccess.getMetamodelElementRule()); } + EOF +; + +// Rule MetamodelElement +ruleMetamodelElement + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getMetamodelElementAccess().getGroup()); } + (rule__MetamodelElement__Group__0) + { after(grammarAccess.getMetamodelElementAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleMetamodelDeclaration +entryRuleMetamodelDeclaration +: +{ before(grammarAccess.getMetamodelDeclarationRule()); } + ruleMetamodelDeclaration +{ after(grammarAccess.getMetamodelDeclarationRule()); } + EOF +; + +// Rule MetamodelDeclaration +ruleMetamodelDeclaration + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getMetamodelDeclarationAccess().getGroup()); } + (rule__MetamodelDeclaration__Group__0) + { after(grammarAccess.getMetamodelDeclarationAccess().getGroup()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +// Entry rule entryRuleMetamodelReference +entryRuleMetamodelReference +: +{ before(grammarAccess.getMetamodelReferenceRule()); } + ruleMetamodelReference +{ after(grammarAccess.getMetamodelReferenceRule()); } + EOF +; + +// Rule MetamodelReference +ruleMetamodelReference + @init { + int stackSize = keepStackSize(); + } + : + ( + { before(grammarAccess.getMetamodelReferenceAccess().getReferredAssignment()); } + (rule__MetamodelReference__ReferredAssignment) + { after(grammarAccess.getMetamodelReferenceAccess().getReferredAssignment()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__Import__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); } + ruleEPackageImport + { after(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); } + ruleViatraImport + { after(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelEntry__Alternatives + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); } + ruleMetamodelElement + { after(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); } + ) + | + ( + { before(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); } + ruleAllPackageEntry + { after(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigurationScript__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConfigurationScript__Group__0__Impl + rule__ConfigurationScript__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigurationScript__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConfigurationScriptAccess().getImportsAssignment_0()); } + (rule__ConfigurationScript__ImportsAssignment_0)* + { after(grammarAccess.getConfigurationScriptAccess().getImportsAssignment_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigurationScript__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ConfigurationScript__Group__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigurationScript__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getConfigurationScriptAccess().getCommandsAssignment_1()); } + (rule__ConfigurationScript__CommandsAssignment_1)* + { after(grammarAccess.getConfigurationScriptAccess().getCommandsAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__EPackageImport__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__EPackageImport__Group__0__Impl + rule__EPackageImport__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__EPackageImport__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEPackageImportAccess().getImportKeyword_0()); } + 'import' + { after(grammarAccess.getEPackageImportAccess().getImportKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__EPackageImport__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__EPackageImport__Group__1__Impl + rule__EPackageImport__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__EPackageImport__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); } + 'epackage' + { after(grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__EPackageImport__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__EPackageImport__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__EPackageImport__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getEPackageImportAccess().getImportedPackageAssignment_2()); } + (rule__EPackageImport__ImportedPackageAssignment_2) + { after(grammarAccess.getEPackageImportAccess().getImportedPackageAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ViatraImport__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__ViatraImport__Group__0__Impl + rule__ViatraImport__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__ViatraImport__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getViatraImportAccess().getImportKeyword_0()); } + 'import' + { after(grammarAccess.getViatraImportAccess().getImportKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ViatraImport__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__ViatraImport__Group__1__Impl + rule__ViatraImport__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__ViatraImport__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getViatraImportAccess().getViatraKeyword_1()); } + 'viatra' + { after(grammarAccess.getViatraImportAccess().getViatraKeyword_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__ViatraImport__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__ViatraImport__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__ViatraImport__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getViatraImportAccess().getImportedViatraAssignment_2()); } + (rule__ViatraImport__ImportedViatraAssignment_2) + { after(grammarAccess.getViatraImportAccess().getImportedViatraAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__MetamodelSpecification__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelSpecification__Group__0__Impl + rule__MetamodelSpecification__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); } + '{' + { after(grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelSpecification__Group__1__Impl + rule__MetamodelSpecification__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_1()); } + (rule__MetamodelSpecification__EntriesAssignment_1) + { after(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelSpecification__Group__2__Impl + rule__MetamodelSpecification__Group__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelSpecificationAccess().getGroup_2()); } + (rule__MetamodelSpecification__Group_2__0)* + { after(grammarAccess.getMetamodelSpecificationAccess().getGroup_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__Group__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelSpecification__Group__3__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__Group__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); } + '}' + { after(grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__MetamodelSpecification__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelSpecification__Group_2__0__Impl + rule__MetamodelSpecification__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); } + ',' + { after(grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelSpecification__Group_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_2_1()); } + (rule__MetamodelSpecification__EntriesAssignment_2_1) + { after(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__AllPackageEntry__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPackageEntry__Group__0__Impl + rule__AllPackageEntry__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); } + 'package' + { after(grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPackageEntry__Group__1__Impl + rule__AllPackageEntry__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPackageEntryAccess().getPackageAssignment_1()); } + (rule__AllPackageEntry__PackageAssignment_1) + { after(grammarAccess.getAllPackageEntryAccess().getPackageAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPackageEntry__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPackageEntryAccess().getGroup_2()); } + (rule__AllPackageEntry__Group_2__0)? + { after(grammarAccess.getAllPackageEntryAccess().getGroup_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__AllPackageEntry__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPackageEntry__Group_2__0__Impl + rule__AllPackageEntry__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); } + 'excluding' + { after(grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPackageEntry__Group_2__1__Impl + rule__AllPackageEntry__Group_2__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); } + '{' + { after(grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPackageEntry__Group_2__2__Impl + rule__AllPackageEntry__Group_2__3 +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_2()); } + (rule__AllPackageEntry__ExclusionAssignment_2_2) + { after(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2__3 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPackageEntry__Group_2__3__Impl + rule__AllPackageEntry__Group_2__4 +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2__3__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPackageEntryAccess().getGroup_2_3()); } + (rule__AllPackageEntry__Group_2_3__0)* + { after(grammarAccess.getAllPackageEntryAccess().getGroup_2_3()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2__4 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPackageEntry__Group_2__4__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2__4__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); } + '}' + { after(grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__AllPackageEntry__Group_2_3__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPackageEntry__Group_2_3__0__Impl + rule__AllPackageEntry__Group_2_3__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2_3__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); } + ',' + { after(grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2_3__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__AllPackageEntry__Group_2_3__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__Group_2_3__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_3_1()); } + (rule__AllPackageEntry__ExclusionAssignment_2_3_1) + { after(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_3_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__MetamodelElement__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelElement__Group__0__Impl + rule__MetamodelElement__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelElementAccess().getGroup_0()); } + (rule__MetamodelElement__Group_0__0)? + { after(grammarAccess.getMetamodelElementAccess().getGroup_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelElement__Group__1__Impl + rule__MetamodelElement__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelElementAccess().getClassifierAssignment_1()); } + (rule__MetamodelElement__ClassifierAssignment_1) + { after(grammarAccess.getMetamodelElementAccess().getClassifierAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelElement__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelElementAccess().getGroup_2()); } + (rule__MetamodelElement__Group_2__0)? + { after(grammarAccess.getMetamodelElementAccess().getGroup_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__MetamodelElement__Group_0__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelElement__Group_0__0__Impl + rule__MetamodelElement__Group_0__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__Group_0__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelElementAccess().getPackageAssignment_0_0()); } + (rule__MetamodelElement__PackageAssignment_0_0) + { after(grammarAccess.getMetamodelElementAccess().getPackageAssignment_0_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__Group_0__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelElement__Group_0__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__Group_0__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); } + '::' + { after(grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__MetamodelElement__Group_2__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelElement__Group_2__0__Impl + rule__MetamodelElement__Group_2__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__Group_2__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); } + '.' + { after(grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__Group_2__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelElement__Group_2__1__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__Group_2__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelElementAccess().getFeatureAssignment_2_1()); } + (rule__MetamodelElement__FeatureAssignment_2_1) + { after(grammarAccess.getMetamodelElementAccess().getFeatureAssignment_2_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__MetamodelDeclaration__Group__0 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelDeclaration__Group__0__Impl + rule__MetamodelDeclaration__Group__1 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelDeclaration__Group__0__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); } + 'metamodel' + { after(grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelDeclaration__Group__1 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelDeclaration__Group__1__Impl + rule__MetamodelDeclaration__Group__2 +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelDeclaration__Group__1__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelDeclarationAccess().getNameAssignment_1()); } + (rule__MetamodelDeclaration__NameAssignment_1) + { after(grammarAccess.getMetamodelDeclarationAccess().getNameAssignment_1()); } +) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelDeclaration__Group__2 + @init { + int stackSize = keepStackSize(); + } +: + rule__MetamodelDeclaration__Group__2__Impl +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelDeclaration__Group__2__Impl + @init { + int stackSize = keepStackSize(); + } +: +( + { before(grammarAccess.getMetamodelDeclarationAccess().getSpecificationAssignment_2()); } + (rule__MetamodelDeclaration__SpecificationAssignment_2) + { after(grammarAccess.getMetamodelDeclarationAccess().getSpecificationAssignment_2()); } +) +; +finally { + restoreStackSize(stackSize); +} + + +rule__ConfigurationScript__ImportsAssignment_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); } + ruleImport + { after(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ConfigurationScript__CommandsAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); } + ruleCommand + { after(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__EPackageImport__ImportedPackageAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); } + ( + { before(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1()); } + RULE_STRING + { after(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1()); } + ) + { after(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__ViatraImport__ImportedViatraAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); } + ( + { before(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1()); } + RULE_STRING + { after(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1()); } + ) + { after(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__EntriesAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); } + ruleMetamodelEntry + { after(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelSpecification__EntriesAssignment_2_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); } + ruleMetamodelEntry + { after(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__PackageAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); } + ( + { before(grammarAccess.getAllPackageEntryAccess().getPackageEPackageIDTerminalRuleCall_1_0_1()); } + RULE_ID + { after(grammarAccess.getAllPackageEntryAccess().getPackageEPackageIDTerminalRuleCall_1_0_1()); } + ) + { after(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__ExclusionAssignment_2_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); } + ruleMetamodelElement + { after(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__AllPackageEntry__ExclusionAssignment_2_3_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); } + ruleMetamodelElement + { after(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__PackageAssignment_0_0 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); } + ( + { before(grammarAccess.getMetamodelElementAccess().getPackageEPackageIDTerminalRuleCall_0_0_0_1()); } + RULE_ID + { after(grammarAccess.getMetamodelElementAccess().getPackageEPackageIDTerminalRuleCall_0_0_0_1()); } + ) + { after(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__ClassifierAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); } + ( + { before(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierIDTerminalRuleCall_1_0_1()); } + RULE_ID + { after(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierIDTerminalRuleCall_1_0_1()); } + ) + { after(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelElement__FeatureAssignment_2_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); } + ( + { before(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementIDTerminalRuleCall_2_1_0_1()); } + RULE_ID + { after(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementIDTerminalRuleCall_2_1_0_1()); } + ) + { after(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelDeclaration__NameAssignment_1 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } + RULE_ID + { after(grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelDeclaration__SpecificationAssignment_2 + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); } + ruleMetamodelSpecification + { after(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +rule__MetamodelReference__ReferredAssignment + @init { + int stackSize = keepStackSize(); + } +: + ( + { before(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); } + ( + { before(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationIDTerminalRuleCall_0_1()); } + RULE_ID + { after(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationIDTerminalRuleCall_0_1()); } + ) + { after(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); } + ) +; +finally { + restoreStackSize(stackSize); +} + +RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; + +RULE_INT : ('0'..'9')+; + +RULE_STRING : ('"' ('\\' .|~(('\\'|'"')))* '"'|'\'' ('\\' .|~(('\\'|'\'')))* '\''); + +RULE_ML_COMMENT : '/*' ( options {greedy=false;} : . )*'*/'; + +RULE_SL_COMMENT : '//' ~(('\n'|'\r'))* ('\r'? '\n')?; + +RULE_WS : (' '|'\t'|'\r'|'\n')+; + +RULE_ANY_OTHER : .; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.tokens b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.tokens new file mode 100644 index 00000000..5f3898b3 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfiguration.tokens @@ -0,0 +1,29 @@ +','=16 +'.'=20 +'::'=19 +'epackage'=12 +'excluding'=18 +'import'=11 +'metamodel'=21 +'package'=17 +'viatra'=13 +'{'=14 +'}'=15 +RULE_ANY_OTHER=10 +RULE_ID=5 +RULE_INT=6 +RULE_ML_COMMENT=7 +RULE_SL_COMMENT=8 +RULE_STRING=4 +RULE_WS=9 +T__11=11 +T__12=12 +T__13=13 +T__14=14 +T__15=15 +T__16=16 +T__17=17 +T__18=18 +T__19=19 +T__20=20 +T__21=21 diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationLexer.java b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationLexer.java new file mode 100644 index 00000000..3f93249c --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationLexer.java @@ -0,0 +1,1108 @@ +package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal; + +// Hack: Use our own Lexer superclass by means of import. +// Currently there is no other way to specify the superclass for the lexer. +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.Lexer; + + +import org.antlr.runtime.*; +import java.util.Stack; +import java.util.List; +import java.util.ArrayList; + +@SuppressWarnings("all") +public class InternalApplicationConfigurationLexer extends Lexer { + public static final int RULE_STRING=4; + public static final int RULE_SL_COMMENT=8; + public static final int T__19=19; + public static final int T__15=15; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__11=11; + public static final int T__12=12; + public static final int T__13=13; + public static final int T__14=14; + public static final int EOF=-1; + public static final int RULE_ID=5; + public static final int RULE_WS=9; + public static final int RULE_ANY_OTHER=10; + public static final int RULE_INT=6; + public static final int RULE_ML_COMMENT=7; + public static final int T__20=20; + public static final int T__21=21; + + // delegates + // delegators + + public InternalApplicationConfigurationLexer() {;} + public InternalApplicationConfigurationLexer(CharStream input) { + this(input, new RecognizerSharedState()); + } + public InternalApplicationConfigurationLexer(CharStream input, RecognizerSharedState state) { + super(input,state); + + } + public String getGrammarFileName() { return "InternalApplicationConfiguration.g"; } + + // $ANTLR start "T__11" + public final void mT__11() throws RecognitionException { + try { + int _type = T__11; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:11:7: ( 'import' ) + // InternalApplicationConfiguration.g:11:9: 'import' + { + match("import"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__11" + + // $ANTLR start "T__12" + public final void mT__12() throws RecognitionException { + try { + int _type = T__12; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:12:7: ( 'epackage' ) + // InternalApplicationConfiguration.g:12:9: 'epackage' + { + match("epackage"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__12" + + // $ANTLR start "T__13" + public final void mT__13() throws RecognitionException { + try { + int _type = T__13; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:13:7: ( 'viatra' ) + // InternalApplicationConfiguration.g:13:9: 'viatra' + { + match("viatra"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__13" + + // $ANTLR start "T__14" + public final void mT__14() throws RecognitionException { + try { + int _type = T__14; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:14:7: ( '{' ) + // InternalApplicationConfiguration.g:14:9: '{' + { + match('{'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__14" + + // $ANTLR start "T__15" + public final void mT__15() throws RecognitionException { + try { + int _type = T__15; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:15:7: ( '}' ) + // InternalApplicationConfiguration.g:15:9: '}' + { + match('}'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__15" + + // $ANTLR start "T__16" + public final void mT__16() throws RecognitionException { + try { + int _type = T__16; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:16:7: ( ',' ) + // InternalApplicationConfiguration.g:16:9: ',' + { + match(','); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__16" + + // $ANTLR start "T__17" + public final void mT__17() throws RecognitionException { + try { + int _type = T__17; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:17:7: ( 'package' ) + // InternalApplicationConfiguration.g:17:9: 'package' + { + match("package"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__17" + + // $ANTLR start "T__18" + public final void mT__18() throws RecognitionException { + try { + int _type = T__18; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:18:7: ( 'excluding' ) + // InternalApplicationConfiguration.g:18:9: 'excluding' + { + match("excluding"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__18" + + // $ANTLR start "T__19" + public final void mT__19() throws RecognitionException { + try { + int _type = T__19; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:19:7: ( '::' ) + // InternalApplicationConfiguration.g:19:9: '::' + { + match("::"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__19" + + // $ANTLR start "T__20" + public final void mT__20() throws RecognitionException { + try { + int _type = T__20; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:20:7: ( '.' ) + // InternalApplicationConfiguration.g:20:9: '.' + { + match('.'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__20" + + // $ANTLR start "T__21" + public final void mT__21() throws RecognitionException { + try { + int _type = T__21; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:21:7: ( 'metamodel' ) + // InternalApplicationConfiguration.g:21:9: 'metamodel' + { + match("metamodel"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__21" + + // $ANTLR start "RULE_ID" + public final void mRULE_ID() throws RecognitionException { + try { + int _type = RULE_ID; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:1565:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalApplicationConfiguration.g:1565:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + { + // InternalApplicationConfiguration.g:1565:11: ( '^' )? + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0=='^') ) { + alt1=1; + } + switch (alt1) { + case 1 : + // InternalApplicationConfiguration.g:1565:11: '^' + { + match('^'); + + } + break; + + } + + if ( (input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + // InternalApplicationConfiguration.g:1565:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + loop2: + do { + int alt2=2; + int LA2_0 = input.LA(1); + + if ( ((LA2_0>='0' && LA2_0<='9')||(LA2_0>='A' && LA2_0<='Z')||LA2_0=='_'||(LA2_0>='a' && LA2_0<='z')) ) { + alt2=1; + } + + + switch (alt2) { + case 1 : + // InternalApplicationConfiguration.g: + { + if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop2; + } + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ID" + + // $ANTLR start "RULE_INT" + public final void mRULE_INT() throws RecognitionException { + try { + int _type = RULE_INT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:1567:10: ( ( '0' .. '9' )+ ) + // InternalApplicationConfiguration.g:1567:12: ( '0' .. '9' )+ + { + // InternalApplicationConfiguration.g:1567:12: ( '0' .. '9' )+ + int cnt3=0; + loop3: + do { + int alt3=2; + int LA3_0 = input.LA(1); + + if ( ((LA3_0>='0' && LA3_0<='9')) ) { + alt3=1; + } + + + switch (alt3) { + case 1 : + // InternalApplicationConfiguration.g:1567:13: '0' .. '9' + { + matchRange('0','9'); + + } + break; + + default : + if ( cnt3 >= 1 ) break loop3; + EarlyExitException eee = + new EarlyExitException(3, input); + throw eee; + } + cnt3++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_INT" + + // $ANTLR start "RULE_STRING" + public final void mRULE_STRING() throws RecognitionException { + try { + int _type = RULE_STRING; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:1569:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // InternalApplicationConfiguration.g:1569:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + { + // InternalApplicationConfiguration.g:1569:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0=='\"') ) { + alt6=1; + } + else if ( (LA6_0=='\'') ) { + alt6=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 6, 0, input); + + throw nvae; + } + switch (alt6) { + case 1 : + // InternalApplicationConfiguration.g:1569:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + { + match('\"'); + // InternalApplicationConfiguration.g:1569:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + loop4: + do { + int alt4=3; + int LA4_0 = input.LA(1); + + if ( (LA4_0=='\\') ) { + alt4=1; + } + else if ( ((LA4_0>='\u0000' && LA4_0<='!')||(LA4_0>='#' && LA4_0<='[')||(LA4_0>=']' && LA4_0<='\uFFFF')) ) { + alt4=2; + } + + + switch (alt4) { + case 1 : + // InternalApplicationConfiguration.g:1569:21: '\\\\' . + { + match('\\'); + matchAny(); + + } + break; + case 2 : + // InternalApplicationConfiguration.g:1569:28: ~ ( ( '\\\\' | '\"' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop4; + } + } while (true); + + match('\"'); + + } + break; + case 2 : + // InternalApplicationConfiguration.g:1569:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + { + match('\''); + // InternalApplicationConfiguration.g:1569:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + loop5: + do { + int alt5=3; + int LA5_0 = input.LA(1); + + if ( (LA5_0=='\\') ) { + alt5=1; + } + else if ( ((LA5_0>='\u0000' && LA5_0<='&')||(LA5_0>='(' && LA5_0<='[')||(LA5_0>=']' && LA5_0<='\uFFFF')) ) { + alt5=2; + } + + + switch (alt5) { + case 1 : + // InternalApplicationConfiguration.g:1569:54: '\\\\' . + { + match('\\'); + matchAny(); + + } + break; + case 2 : + // InternalApplicationConfiguration.g:1569:61: ~ ( ( '\\\\' | '\\'' ) ) + { + if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop5; + } + } while (true); + + match('\''); + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_STRING" + + // $ANTLR start "RULE_ML_COMMENT" + public final void mRULE_ML_COMMENT() throws RecognitionException { + try { + int _type = RULE_ML_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:1571:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalApplicationConfiguration.g:1571:19: '/*' ( options {greedy=false; } : . )* '*/' + { + match("/*"); + + // InternalApplicationConfiguration.g:1571:24: ( options {greedy=false; } : . )* + loop7: + do { + int alt7=2; + int LA7_0 = input.LA(1); + + if ( (LA7_0=='*') ) { + int LA7_1 = input.LA(2); + + if ( (LA7_1=='/') ) { + alt7=2; + } + else if ( ((LA7_1>='\u0000' && LA7_1<='.')||(LA7_1>='0' && LA7_1<='\uFFFF')) ) { + alt7=1; + } + + + } + else if ( ((LA7_0>='\u0000' && LA7_0<=')')||(LA7_0>='+' && LA7_0<='\uFFFF')) ) { + alt7=1; + } + + + switch (alt7) { + case 1 : + // InternalApplicationConfiguration.g:1571:52: . + { + matchAny(); + + } + break; + + default : + break loop7; + } + } while (true); + + match("*/"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ML_COMMENT" + + // $ANTLR start "RULE_SL_COMMENT" + public final void mRULE_SL_COMMENT() throws RecognitionException { + try { + int _type = RULE_SL_COMMENT; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:1573:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalApplicationConfiguration.g:1573:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + { + match("//"); + + // InternalApplicationConfiguration.g:1573:24: (~ ( ( '\\n' | '\\r' ) ) )* + loop8: + do { + int alt8=2; + int LA8_0 = input.LA(1); + + if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\uFFFF')) ) { + alt8=1; + } + + + switch (alt8) { + case 1 : + // InternalApplicationConfiguration.g:1573:24: ~ ( ( '\\n' | '\\r' ) ) + { + 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') ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + break loop8; + } + } while (true); + + // InternalApplicationConfiguration.g:1573:40: ( ( '\\r' )? '\\n' )? + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0=='\n'||LA10_0=='\r') ) { + alt10=1; + } + switch (alt10) { + case 1 : + // InternalApplicationConfiguration.g:1573:41: ( '\\r' )? '\\n' + { + // InternalApplicationConfiguration.g:1573:41: ( '\\r' )? + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0=='\r') ) { + alt9=1; + } + switch (alt9) { + case 1 : + // InternalApplicationConfiguration.g:1573:41: '\\r' + { + match('\r'); + + } + break; + + } + + match('\n'); + + } + break; + + } + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_SL_COMMENT" + + // $ANTLR start "RULE_WS" + public final void mRULE_WS() throws RecognitionException { + try { + int _type = RULE_WS; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:1575:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalApplicationConfiguration.g:1575:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + { + // InternalApplicationConfiguration.g:1575:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + int cnt11=0; + loop11: + do { + int alt11=2; + int LA11_0 = input.LA(1); + + if ( ((LA11_0>='\t' && LA11_0<='\n')||LA11_0=='\r'||LA11_0==' ') ) { + alt11=1; + } + + + switch (alt11) { + case 1 : + // InternalApplicationConfiguration.g: + { + if ( (input.LA(1)>='\t' && input.LA(1)<='\n')||input.LA(1)=='\r'||input.LA(1)==' ' ) { + input.consume(); + + } + else { + MismatchedSetException mse = new MismatchedSetException(null,input); + recover(mse); + throw mse;} + + + } + break; + + default : + if ( cnt11 >= 1 ) break loop11; + EarlyExitException eee = + new EarlyExitException(11, input); + throw eee; + } + cnt11++; + } while (true); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_WS" + + // $ANTLR start "RULE_ANY_OTHER" + public final void mRULE_ANY_OTHER() throws RecognitionException { + try { + int _type = RULE_ANY_OTHER; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:1577:16: ( . ) + // InternalApplicationConfiguration.g:1577:18: . + { + matchAny(); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "RULE_ANY_OTHER" + + public void mTokens() throws RecognitionException { + // 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 ) + int alt12=18; + alt12 = dfa12.predict(input); + switch (alt12) { + case 1 : + // InternalApplicationConfiguration.g:1:10: T__11 + { + mT__11(); + + } + break; + case 2 : + // InternalApplicationConfiguration.g:1:16: T__12 + { + mT__12(); + + } + break; + case 3 : + // InternalApplicationConfiguration.g:1:22: T__13 + { + mT__13(); + + } + break; + case 4 : + // InternalApplicationConfiguration.g:1:28: T__14 + { + mT__14(); + + } + break; + case 5 : + // InternalApplicationConfiguration.g:1:34: T__15 + { + mT__15(); + + } + break; + case 6 : + // InternalApplicationConfiguration.g:1:40: T__16 + { + mT__16(); + + } + break; + case 7 : + // InternalApplicationConfiguration.g:1:46: T__17 + { + mT__17(); + + } + break; + case 8 : + // InternalApplicationConfiguration.g:1:52: T__18 + { + mT__18(); + + } + break; + case 9 : + // InternalApplicationConfiguration.g:1:58: T__19 + { + mT__19(); + + } + break; + case 10 : + // InternalApplicationConfiguration.g:1:64: T__20 + { + mT__20(); + + } + break; + case 11 : + // InternalApplicationConfiguration.g:1:70: T__21 + { + mT__21(); + + } + break; + case 12 : + // InternalApplicationConfiguration.g:1:76: RULE_ID + { + mRULE_ID(); + + } + break; + case 13 : + // InternalApplicationConfiguration.g:1:84: RULE_INT + { + mRULE_INT(); + + } + break; + case 14 : + // InternalApplicationConfiguration.g:1:93: RULE_STRING + { + mRULE_STRING(); + + } + break; + case 15 : + // InternalApplicationConfiguration.g:1:105: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 16 : + // InternalApplicationConfiguration.g:1:121: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 17 : + // InternalApplicationConfiguration.g:1:137: RULE_WS + { + mRULE_WS(); + + } + break; + case 18 : + // InternalApplicationConfiguration.g:1:145: RULE_ANY_OTHER + { + mRULE_ANY_OTHER(); + + } + break; + + } + + } + + + protected DFA12 dfa12 = new DFA12(this); + static final String DFA12_eotS = + "\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"; + static final String DFA12_eofS = + "\113\uffff"; + static final String DFA12_minS = + "\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"; + static final String DFA12_maxS = + "\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"; + static final String DFA12_acceptS = + "\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"; + static final String DFA12_specialS = + "\1\1\15\uffff\1\0\1\2\73\uffff}>"; + static final String[] DFA12_transitionS = { + "\11\22\2\21\2\22\1\21\22\22\1\21\1\22\1\16\4\22\1\17\4\22\1\6\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\5\uff82\22", + "\1\23", + "\1\25\7\uffff\1\26", + "\1\27", + "", + "", + "", + "\1\33", + "\1\34", + "", + "\1\36", + "\32\24\4\uffff\1\24\1\uffff\32\24", + "", + "", + "\0\40", + "\0\40", + "\1\41\4\uffff\1\42", + "", + "", + "\1\44", + "", + "\1\45", + "\1\46", + "\1\47", + "", + "", + "", + "\1\50", + "", + "", + "\1\51", + "", + "", + "", + "", + "", + "\1\52", + "\1\53", + "\1\54", + "\1\55", + "\1\56", + "\1\57", + "\1\60", + "\1\61", + "\1\62", + "\1\63", + "\1\64", + "\1\65", + "\1\66", + "\1\67", + "\1\70", + "\1\71", + "\1\72", + "\1\73", + "\12\24\7\uffff\32\24\4\uffff\1\24\1\uffff\32\24", + "\1\75", + "\1\76", + "\12\24\7\uffff\32\24\4\uffff\1\24\1\uffff\32\24", + "\1\100", + "\1\101", + "", + "\1\102", + "\1\103", + "", + "\12\24\7\uffff\32\24\4\uffff\1\24\1\uffff\32\24", + "\1\105", + "\12\24\7\uffff\32\24\4\uffff\1\24\1\uffff\32\24", + "\1\107", + "", + "\1\110", + "", + "\12\24\7\uffff\32\24\4\uffff\1\24\1\uffff\32\24", + "\12\24\7\uffff\32\24\4\uffff\1\24\1\uffff\32\24", + "", + "" + }; + + static final short[] DFA12_eot = DFA.unpackEncodedString(DFA12_eotS); + static final short[] DFA12_eof = DFA.unpackEncodedString(DFA12_eofS); + static final char[] DFA12_min = DFA.unpackEncodedStringToUnsignedChars(DFA12_minS); + static final char[] DFA12_max = DFA.unpackEncodedStringToUnsignedChars(DFA12_maxS); + static final short[] DFA12_accept = DFA.unpackEncodedString(DFA12_acceptS); + static final short[] DFA12_special = DFA.unpackEncodedString(DFA12_specialS); + static final short[][] DFA12_transition; + + static { + int numStates = DFA12_transitionS.length; + DFA12_transition = new short[numStates][]; + for (int i=0; i='\u0000' && LA12_14<='\uFFFF')) ) {s = 32;} + + else s = 18; + + if ( s>=0 ) return s; + break; + case 1 : + int LA12_0 = input.LA(1); + + s = -1; + if ( (LA12_0=='i') ) {s = 1;} + + else if ( (LA12_0=='e') ) {s = 2;} + + else if ( (LA12_0=='v') ) {s = 3;} + + else if ( (LA12_0=='{') ) {s = 4;} + + else if ( (LA12_0=='}') ) {s = 5;} + + else if ( (LA12_0==',') ) {s = 6;} + + else if ( (LA12_0=='p') ) {s = 7;} + + else if ( (LA12_0==':') ) {s = 8;} + + else if ( (LA12_0=='.') ) {s = 9;} + + else if ( (LA12_0=='m') ) {s = 10;} + + else if ( (LA12_0=='^') ) {s = 11;} + + 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;} + + else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 13;} + + else if ( (LA12_0=='\"') ) {s = 14;} + + else if ( (LA12_0=='\'') ) {s = 15;} + + else if ( (LA12_0=='/') ) {s = 16;} + + else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 17;} + + 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;} + + if ( s>=0 ) return s; + break; + case 2 : + int LA12_15 = input.LA(1); + + s = -1; + if ( ((LA12_15>='\u0000' && LA12_15<='\uFFFF')) ) {s = 32;} + + else s = 18; + + if ( s>=0 ) return s; + break; + } + NoViableAltException nvae = + new NoViableAltException(getDescription(), 12, _s, input); + error(nvae); + throw nvae; + } + } + + +} \ No newline at end of file diff --git a/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationParser.java b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationParser.java new file mode 100644 index 00000000..80edb17f --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application.ide/src-gen/hu/bme/mit/inf/dslreasoner/application/ide/contentassist/antlr/internal/InternalApplicationConfigurationParser.java @@ -0,0 +1,4611 @@ +package hu.bme.mit.inf.dslreasoner.application.ide.contentassist.antlr.internal; + +import java.io.InputStream; +import org.eclipse.xtext.*; +import org.eclipse.xtext.parser.*; +import org.eclipse.xtext.parser.impl.*; +import org.eclipse.emf.ecore.util.EcoreUtil; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.xtext.parser.antlr.XtextTokenStream; +import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser; +import org.eclipse.xtext.ide.editor.contentassist.antlr.internal.DFA; +import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; + + + +import org.antlr.runtime.*; +import java.util.Stack; +import java.util.List; +import java.util.ArrayList; + +@SuppressWarnings("all") +public class InternalApplicationConfigurationParser extends AbstractInternalContentAssistParser { + public static final String[] tokenNames = new String[] { + "", "", "", "", "RULE_STRING", "RULE_ID", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'import'", "'epackage'", "'viatra'", "'{'", "'}'", "','", "'package'", "'excluding'", "'::'", "'.'", "'metamodel'" + }; + public static final int RULE_STRING=4; + public static final int RULE_SL_COMMENT=8; + public static final int T__19=19; + public static final int T__15=15; + public static final int T__16=16; + public static final int T__17=17; + public static final int T__18=18; + public static final int T__11=11; + public static final int T__12=12; + public static final int T__13=13; + public static final int T__14=14; + public static final int EOF=-1; + public static final int RULE_ID=5; + public static final int RULE_WS=9; + public static final int RULE_ANY_OTHER=10; + public static final int RULE_INT=6; + public static final int RULE_ML_COMMENT=7; + public static final int T__20=20; + public static final int T__21=21; + + // delegates + // delegators + + + public InternalApplicationConfigurationParser(TokenStream input) { + this(input, new RecognizerSharedState()); + } + public InternalApplicationConfigurationParser(TokenStream input, RecognizerSharedState state) { + super(input, state); + + } + + + public String[] getTokenNames() { return InternalApplicationConfigurationParser.tokenNames; } + public String getGrammarFileName() { return "InternalApplicationConfiguration.g"; } + + + private ApplicationConfigurationGrammarAccess grammarAccess; + + public void setGrammarAccess(ApplicationConfigurationGrammarAccess grammarAccess) { + this.grammarAccess = grammarAccess; + } + + @Override + protected Grammar getGrammar() { + return grammarAccess.getGrammar(); + } + + @Override + protected String getValueForTokenName(String tokenName) { + return tokenName; + } + + + + // $ANTLR start "entryRuleConfigurationScript" + // InternalApplicationConfiguration.g:53:1: entryRuleConfigurationScript : ruleConfigurationScript EOF ; + public final void entryRuleConfigurationScript() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:54:1: ( ruleConfigurationScript EOF ) + // InternalApplicationConfiguration.g:55:1: ruleConfigurationScript EOF + { + before(grammarAccess.getConfigurationScriptRule()); + pushFollow(FOLLOW_1); + ruleConfigurationScript(); + + state._fsp--; + + after(grammarAccess.getConfigurationScriptRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleConfigurationScript" + + + // $ANTLR start "ruleConfigurationScript" + // InternalApplicationConfiguration.g:62:1: ruleConfigurationScript : ( ( rule__ConfigurationScript__Group__0 ) ) ; + public final void ruleConfigurationScript() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:66:2: ( ( ( rule__ConfigurationScript__Group__0 ) ) ) + // InternalApplicationConfiguration.g:67:2: ( ( rule__ConfigurationScript__Group__0 ) ) + { + // InternalApplicationConfiguration.g:67:2: ( ( rule__ConfigurationScript__Group__0 ) ) + // InternalApplicationConfiguration.g:68:3: ( rule__ConfigurationScript__Group__0 ) + { + before(grammarAccess.getConfigurationScriptAccess().getGroup()); + // InternalApplicationConfiguration.g:69:3: ( rule__ConfigurationScript__Group__0 ) + // InternalApplicationConfiguration.g:69:4: rule__ConfigurationScript__Group__0 + { + pushFollow(FOLLOW_2); + rule__ConfigurationScript__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getConfigurationScriptAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleConfigurationScript" + + + // $ANTLR start "entryRuleCommand" + // InternalApplicationConfiguration.g:78:1: entryRuleCommand : ruleCommand EOF ; + public final void entryRuleCommand() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:79:1: ( ruleCommand EOF ) + // InternalApplicationConfiguration.g:80:1: ruleCommand EOF + { + before(grammarAccess.getCommandRule()); + pushFollow(FOLLOW_1); + ruleCommand(); + + state._fsp--; + + after(grammarAccess.getCommandRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleCommand" + + + // $ANTLR start "ruleCommand" + // InternalApplicationConfiguration.g:87:1: ruleCommand : ( ruleDeclaration ) ; + public final void ruleCommand() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:91:2: ( ( ruleDeclaration ) ) + // InternalApplicationConfiguration.g:92:2: ( ruleDeclaration ) + { + // InternalApplicationConfiguration.g:92:2: ( ruleDeclaration ) + // InternalApplicationConfiguration.g:93:3: ruleDeclaration + { + before(grammarAccess.getCommandAccess().getDeclarationParserRuleCall()); + pushFollow(FOLLOW_2); + ruleDeclaration(); + + state._fsp--; + + after(grammarAccess.getCommandAccess().getDeclarationParserRuleCall()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleCommand" + + + // $ANTLR start "entryRuleDeclaration" + // InternalApplicationConfiguration.g:103:1: entryRuleDeclaration : ruleDeclaration EOF ; + public final void entryRuleDeclaration() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:104:1: ( ruleDeclaration EOF ) + // InternalApplicationConfiguration.g:105:1: ruleDeclaration EOF + { + before(grammarAccess.getDeclarationRule()); + pushFollow(FOLLOW_1); + ruleDeclaration(); + + state._fsp--; + + after(grammarAccess.getDeclarationRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleDeclaration" + + + // $ANTLR start "ruleDeclaration" + // InternalApplicationConfiguration.g:112:1: ruleDeclaration : ( ruleMetamodelDeclaration ) ; + public final void ruleDeclaration() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:116:2: ( ( ruleMetamodelDeclaration ) ) + // InternalApplicationConfiguration.g:117:2: ( ruleMetamodelDeclaration ) + { + // InternalApplicationConfiguration.g:117:2: ( ruleMetamodelDeclaration ) + // InternalApplicationConfiguration.g:118:3: ruleMetamodelDeclaration + { + before(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall()); + pushFollow(FOLLOW_2); + ruleMetamodelDeclaration(); + + state._fsp--; + + after(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleDeclaration" + + + // $ANTLR start "entryRuleImport" + // InternalApplicationConfiguration.g:128:1: entryRuleImport : ruleImport EOF ; + public final void entryRuleImport() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:129:1: ( ruleImport EOF ) + // InternalApplicationConfiguration.g:130:1: ruleImport EOF + { + before(grammarAccess.getImportRule()); + pushFollow(FOLLOW_1); + ruleImport(); + + state._fsp--; + + after(grammarAccess.getImportRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleImport" + + + // $ANTLR start "ruleImport" + // InternalApplicationConfiguration.g:137:1: ruleImport : ( ( rule__Import__Alternatives ) ) ; + public final void ruleImport() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:141:2: ( ( ( rule__Import__Alternatives ) ) ) + // InternalApplicationConfiguration.g:142:2: ( ( rule__Import__Alternatives ) ) + { + // InternalApplicationConfiguration.g:142:2: ( ( rule__Import__Alternatives ) ) + // InternalApplicationConfiguration.g:143:3: ( rule__Import__Alternatives ) + { + before(grammarAccess.getImportAccess().getAlternatives()); + // InternalApplicationConfiguration.g:144:3: ( rule__Import__Alternatives ) + // InternalApplicationConfiguration.g:144:4: rule__Import__Alternatives + { + pushFollow(FOLLOW_2); + rule__Import__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getImportAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleImport" + + + // $ANTLR start "entryRuleEPackageImport" + // InternalApplicationConfiguration.g:153:1: entryRuleEPackageImport : ruleEPackageImport EOF ; + public final void entryRuleEPackageImport() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:154:1: ( ruleEPackageImport EOF ) + // InternalApplicationConfiguration.g:155:1: ruleEPackageImport EOF + { + before(grammarAccess.getEPackageImportRule()); + pushFollow(FOLLOW_1); + ruleEPackageImport(); + + state._fsp--; + + after(grammarAccess.getEPackageImportRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleEPackageImport" + + + // $ANTLR start "ruleEPackageImport" + // InternalApplicationConfiguration.g:162:1: ruleEPackageImport : ( ( rule__EPackageImport__Group__0 ) ) ; + public final void ruleEPackageImport() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:166:2: ( ( ( rule__EPackageImport__Group__0 ) ) ) + // InternalApplicationConfiguration.g:167:2: ( ( rule__EPackageImport__Group__0 ) ) + { + // InternalApplicationConfiguration.g:167:2: ( ( rule__EPackageImport__Group__0 ) ) + // InternalApplicationConfiguration.g:168:3: ( rule__EPackageImport__Group__0 ) + { + before(grammarAccess.getEPackageImportAccess().getGroup()); + // InternalApplicationConfiguration.g:169:3: ( rule__EPackageImport__Group__0 ) + // InternalApplicationConfiguration.g:169:4: rule__EPackageImport__Group__0 + { + pushFollow(FOLLOW_2); + rule__EPackageImport__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getEPackageImportAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleEPackageImport" + + + // $ANTLR start "entryRuleViatraImport" + // InternalApplicationConfiguration.g:178:1: entryRuleViatraImport : ruleViatraImport EOF ; + public final void entryRuleViatraImport() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:179:1: ( ruleViatraImport EOF ) + // InternalApplicationConfiguration.g:180:1: ruleViatraImport EOF + { + before(grammarAccess.getViatraImportRule()); + pushFollow(FOLLOW_1); + ruleViatraImport(); + + state._fsp--; + + after(grammarAccess.getViatraImportRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleViatraImport" + + + // $ANTLR start "ruleViatraImport" + // InternalApplicationConfiguration.g:187:1: ruleViatraImport : ( ( rule__ViatraImport__Group__0 ) ) ; + public final void ruleViatraImport() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:191:2: ( ( ( rule__ViatraImport__Group__0 ) ) ) + // InternalApplicationConfiguration.g:192:2: ( ( rule__ViatraImport__Group__0 ) ) + { + // InternalApplicationConfiguration.g:192:2: ( ( rule__ViatraImport__Group__0 ) ) + // InternalApplicationConfiguration.g:193:3: ( rule__ViatraImport__Group__0 ) + { + before(grammarAccess.getViatraImportAccess().getGroup()); + // InternalApplicationConfiguration.g:194:3: ( rule__ViatraImport__Group__0 ) + // InternalApplicationConfiguration.g:194:4: rule__ViatraImport__Group__0 + { + pushFollow(FOLLOW_2); + rule__ViatraImport__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getViatraImportAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleViatraImport" + + + // $ANTLR start "entryRuleMetamodelSpecification" + // InternalApplicationConfiguration.g:203:1: entryRuleMetamodelSpecification : ruleMetamodelSpecification EOF ; + public final void entryRuleMetamodelSpecification() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:204:1: ( ruleMetamodelSpecification EOF ) + // InternalApplicationConfiguration.g:205:1: ruleMetamodelSpecification EOF + { + before(grammarAccess.getMetamodelSpecificationRule()); + pushFollow(FOLLOW_1); + ruleMetamodelSpecification(); + + state._fsp--; + + after(grammarAccess.getMetamodelSpecificationRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleMetamodelSpecification" + + + // $ANTLR start "ruleMetamodelSpecification" + // InternalApplicationConfiguration.g:212:1: ruleMetamodelSpecification : ( ( rule__MetamodelSpecification__Group__0 ) ) ; + public final void ruleMetamodelSpecification() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:216:2: ( ( ( rule__MetamodelSpecification__Group__0 ) ) ) + // InternalApplicationConfiguration.g:217:2: ( ( rule__MetamodelSpecification__Group__0 ) ) + { + // InternalApplicationConfiguration.g:217:2: ( ( rule__MetamodelSpecification__Group__0 ) ) + // InternalApplicationConfiguration.g:218:3: ( rule__MetamodelSpecification__Group__0 ) + { + before(grammarAccess.getMetamodelSpecificationAccess().getGroup()); + // InternalApplicationConfiguration.g:219:3: ( rule__MetamodelSpecification__Group__0 ) + // InternalApplicationConfiguration.g:219:4: rule__MetamodelSpecification__Group__0 + { + pushFollow(FOLLOW_2); + rule__MetamodelSpecification__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelSpecificationAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleMetamodelSpecification" + + + // $ANTLR start "entryRuleMetamodelEntry" + // InternalApplicationConfiguration.g:228:1: entryRuleMetamodelEntry : ruleMetamodelEntry EOF ; + public final void entryRuleMetamodelEntry() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:229:1: ( ruleMetamodelEntry EOF ) + // InternalApplicationConfiguration.g:230:1: ruleMetamodelEntry EOF + { + before(grammarAccess.getMetamodelEntryRule()); + pushFollow(FOLLOW_1); + ruleMetamodelEntry(); + + state._fsp--; + + after(grammarAccess.getMetamodelEntryRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleMetamodelEntry" + + + // $ANTLR start "ruleMetamodelEntry" + // InternalApplicationConfiguration.g:237:1: ruleMetamodelEntry : ( ( rule__MetamodelEntry__Alternatives ) ) ; + public final void ruleMetamodelEntry() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:241:2: ( ( ( rule__MetamodelEntry__Alternatives ) ) ) + // InternalApplicationConfiguration.g:242:2: ( ( rule__MetamodelEntry__Alternatives ) ) + { + // InternalApplicationConfiguration.g:242:2: ( ( rule__MetamodelEntry__Alternatives ) ) + // InternalApplicationConfiguration.g:243:3: ( rule__MetamodelEntry__Alternatives ) + { + before(grammarAccess.getMetamodelEntryAccess().getAlternatives()); + // InternalApplicationConfiguration.g:244:3: ( rule__MetamodelEntry__Alternatives ) + // InternalApplicationConfiguration.g:244:4: rule__MetamodelEntry__Alternatives + { + pushFollow(FOLLOW_2); + rule__MetamodelEntry__Alternatives(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelEntryAccess().getAlternatives()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleMetamodelEntry" + + + // $ANTLR start "entryRuleAllPackageEntry" + // InternalApplicationConfiguration.g:253:1: entryRuleAllPackageEntry : ruleAllPackageEntry EOF ; + public final void entryRuleAllPackageEntry() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:254:1: ( ruleAllPackageEntry EOF ) + // InternalApplicationConfiguration.g:255:1: ruleAllPackageEntry EOF + { + before(grammarAccess.getAllPackageEntryRule()); + pushFollow(FOLLOW_1); + ruleAllPackageEntry(); + + state._fsp--; + + after(grammarAccess.getAllPackageEntryRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleAllPackageEntry" + + + // $ANTLR start "ruleAllPackageEntry" + // InternalApplicationConfiguration.g:262:1: ruleAllPackageEntry : ( ( rule__AllPackageEntry__Group__0 ) ) ; + public final void ruleAllPackageEntry() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:266:2: ( ( ( rule__AllPackageEntry__Group__0 ) ) ) + // InternalApplicationConfiguration.g:267:2: ( ( rule__AllPackageEntry__Group__0 ) ) + { + // InternalApplicationConfiguration.g:267:2: ( ( rule__AllPackageEntry__Group__0 ) ) + // InternalApplicationConfiguration.g:268:3: ( rule__AllPackageEntry__Group__0 ) + { + before(grammarAccess.getAllPackageEntryAccess().getGroup()); + // InternalApplicationConfiguration.g:269:3: ( rule__AllPackageEntry__Group__0 ) + // InternalApplicationConfiguration.g:269:4: rule__AllPackageEntry__Group__0 + { + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getAllPackageEntryAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleAllPackageEntry" + + + // $ANTLR start "entryRuleMetamodelElement" + // InternalApplicationConfiguration.g:278:1: entryRuleMetamodelElement : ruleMetamodelElement EOF ; + public final void entryRuleMetamodelElement() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:279:1: ( ruleMetamodelElement EOF ) + // InternalApplicationConfiguration.g:280:1: ruleMetamodelElement EOF + { + before(grammarAccess.getMetamodelElementRule()); + pushFollow(FOLLOW_1); + ruleMetamodelElement(); + + state._fsp--; + + after(grammarAccess.getMetamodelElementRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleMetamodelElement" + + + // $ANTLR start "ruleMetamodelElement" + // InternalApplicationConfiguration.g:287:1: ruleMetamodelElement : ( ( rule__MetamodelElement__Group__0 ) ) ; + public final void ruleMetamodelElement() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:291:2: ( ( ( rule__MetamodelElement__Group__0 ) ) ) + // InternalApplicationConfiguration.g:292:2: ( ( rule__MetamodelElement__Group__0 ) ) + { + // InternalApplicationConfiguration.g:292:2: ( ( rule__MetamodelElement__Group__0 ) ) + // InternalApplicationConfiguration.g:293:3: ( rule__MetamodelElement__Group__0 ) + { + before(grammarAccess.getMetamodelElementAccess().getGroup()); + // InternalApplicationConfiguration.g:294:3: ( rule__MetamodelElement__Group__0 ) + // InternalApplicationConfiguration.g:294:4: rule__MetamodelElement__Group__0 + { + pushFollow(FOLLOW_2); + rule__MetamodelElement__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelElementAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleMetamodelElement" + + + // $ANTLR start "entryRuleMetamodelDeclaration" + // InternalApplicationConfiguration.g:303:1: entryRuleMetamodelDeclaration : ruleMetamodelDeclaration EOF ; + public final void entryRuleMetamodelDeclaration() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:304:1: ( ruleMetamodelDeclaration EOF ) + // InternalApplicationConfiguration.g:305:1: ruleMetamodelDeclaration EOF + { + before(grammarAccess.getMetamodelDeclarationRule()); + pushFollow(FOLLOW_1); + ruleMetamodelDeclaration(); + + state._fsp--; + + after(grammarAccess.getMetamodelDeclarationRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleMetamodelDeclaration" + + + // $ANTLR start "ruleMetamodelDeclaration" + // InternalApplicationConfiguration.g:312:1: ruleMetamodelDeclaration : ( ( rule__MetamodelDeclaration__Group__0 ) ) ; + public final void ruleMetamodelDeclaration() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:316:2: ( ( ( rule__MetamodelDeclaration__Group__0 ) ) ) + // InternalApplicationConfiguration.g:317:2: ( ( rule__MetamodelDeclaration__Group__0 ) ) + { + // InternalApplicationConfiguration.g:317:2: ( ( rule__MetamodelDeclaration__Group__0 ) ) + // InternalApplicationConfiguration.g:318:3: ( rule__MetamodelDeclaration__Group__0 ) + { + before(grammarAccess.getMetamodelDeclarationAccess().getGroup()); + // InternalApplicationConfiguration.g:319:3: ( rule__MetamodelDeclaration__Group__0 ) + // InternalApplicationConfiguration.g:319:4: rule__MetamodelDeclaration__Group__0 + { + pushFollow(FOLLOW_2); + rule__MetamodelDeclaration__Group__0(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelDeclarationAccess().getGroup()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleMetamodelDeclaration" + + + // $ANTLR start "entryRuleMetamodelReference" + // InternalApplicationConfiguration.g:328:1: entryRuleMetamodelReference : ruleMetamodelReference EOF ; + public final void entryRuleMetamodelReference() throws RecognitionException { + try { + // InternalApplicationConfiguration.g:329:1: ( ruleMetamodelReference EOF ) + // InternalApplicationConfiguration.g:330:1: ruleMetamodelReference EOF + { + before(grammarAccess.getMetamodelReferenceRule()); + pushFollow(FOLLOW_1); + ruleMetamodelReference(); + + state._fsp--; + + after(grammarAccess.getMetamodelReferenceRule()); + match(input,EOF,FOLLOW_2); + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + } + return ; + } + // $ANTLR end "entryRuleMetamodelReference" + + + // $ANTLR start "ruleMetamodelReference" + // InternalApplicationConfiguration.g:337:1: ruleMetamodelReference : ( ( rule__MetamodelReference__ReferredAssignment ) ) ; + public final void ruleMetamodelReference() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:341:2: ( ( ( rule__MetamodelReference__ReferredAssignment ) ) ) + // InternalApplicationConfiguration.g:342:2: ( ( rule__MetamodelReference__ReferredAssignment ) ) + { + // InternalApplicationConfiguration.g:342:2: ( ( rule__MetamodelReference__ReferredAssignment ) ) + // InternalApplicationConfiguration.g:343:3: ( rule__MetamodelReference__ReferredAssignment ) + { + before(grammarAccess.getMetamodelReferenceAccess().getReferredAssignment()); + // InternalApplicationConfiguration.g:344:3: ( rule__MetamodelReference__ReferredAssignment ) + // InternalApplicationConfiguration.g:344:4: rule__MetamodelReference__ReferredAssignment + { + pushFollow(FOLLOW_2); + rule__MetamodelReference__ReferredAssignment(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelReferenceAccess().getReferredAssignment()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "ruleMetamodelReference" + + + // $ANTLR start "rule__Import__Alternatives" + // InternalApplicationConfiguration.g:352:1: rule__Import__Alternatives : ( ( ruleEPackageImport ) | ( ruleViatraImport ) ); + public final void rule__Import__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:356:1: ( ( ruleEPackageImport ) | ( ruleViatraImport ) ) + int alt1=2; + int LA1_0 = input.LA(1); + + if ( (LA1_0==11) ) { + int LA1_1 = input.LA(2); + + if ( (LA1_1==12) ) { + alt1=1; + } + else if ( (LA1_1==13) ) { + alt1=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 1, 1, input); + + throw nvae; + } + } + else { + NoViableAltException nvae = + new NoViableAltException("", 1, 0, input); + + throw nvae; + } + switch (alt1) { + case 1 : + // InternalApplicationConfiguration.g:357:2: ( ruleEPackageImport ) + { + // InternalApplicationConfiguration.g:357:2: ( ruleEPackageImport ) + // InternalApplicationConfiguration.g:358:3: ruleEPackageImport + { + before(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleEPackageImport(); + + state._fsp--; + + after(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:363:2: ( ruleViatraImport ) + { + // InternalApplicationConfiguration.g:363:2: ( ruleViatraImport ) + // InternalApplicationConfiguration.g:364:3: ruleViatraImport + { + before(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleViatraImport(); + + state._fsp--; + + after(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__Import__Alternatives" + + + // $ANTLR start "rule__MetamodelEntry__Alternatives" + // InternalApplicationConfiguration.g:373:1: rule__MetamodelEntry__Alternatives : ( ( ruleMetamodelElement ) | ( ruleAllPackageEntry ) ); + public final void rule__MetamodelEntry__Alternatives() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:377:1: ( ( ruleMetamodelElement ) | ( ruleAllPackageEntry ) ) + int alt2=2; + int LA2_0 = input.LA(1); + + if ( (LA2_0==RULE_ID) ) { + alt2=1; + } + else if ( (LA2_0==17) ) { + alt2=2; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 2, 0, input); + + throw nvae; + } + switch (alt2) { + case 1 : + // InternalApplicationConfiguration.g:378:2: ( ruleMetamodelElement ) + { + // InternalApplicationConfiguration.g:378:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:379:3: ruleMetamodelElement + { + before(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); + pushFollow(FOLLOW_2); + ruleMetamodelElement(); + + state._fsp--; + + after(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:384:2: ( ruleAllPackageEntry ) + { + // InternalApplicationConfiguration.g:384:2: ( ruleAllPackageEntry ) + // InternalApplicationConfiguration.g:385:3: ruleAllPackageEntry + { + before(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); + pushFollow(FOLLOW_2); + ruleAllPackageEntry(); + + state._fsp--; + + after(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); + + } + + + } + break; + + } + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelEntry__Alternatives" + + + // $ANTLR start "rule__ConfigurationScript__Group__0" + // InternalApplicationConfiguration.g:394:1: rule__ConfigurationScript__Group__0 : rule__ConfigurationScript__Group__0__Impl rule__ConfigurationScript__Group__1 ; + public final void rule__ConfigurationScript__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:398:1: ( rule__ConfigurationScript__Group__0__Impl rule__ConfigurationScript__Group__1 ) + // InternalApplicationConfiguration.g:399:2: rule__ConfigurationScript__Group__0__Impl rule__ConfigurationScript__Group__1 + { + pushFollow(FOLLOW_3); + rule__ConfigurationScript__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ConfigurationScript__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigurationScript__Group__0" + + + // $ANTLR start "rule__ConfigurationScript__Group__0__Impl" + // InternalApplicationConfiguration.g:406:1: rule__ConfigurationScript__Group__0__Impl : ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) ; + public final void rule__ConfigurationScript__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:410:1: ( ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) ) + // InternalApplicationConfiguration.g:411:1: ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) + { + // InternalApplicationConfiguration.g:411:1: ( ( rule__ConfigurationScript__ImportsAssignment_0 )* ) + // InternalApplicationConfiguration.g:412:2: ( rule__ConfigurationScript__ImportsAssignment_0 )* + { + before(grammarAccess.getConfigurationScriptAccess().getImportsAssignment_0()); + // InternalApplicationConfiguration.g:413:2: ( rule__ConfigurationScript__ImportsAssignment_0 )* + loop3: + do { + int alt3=2; + int LA3_0 = input.LA(1); + + if ( (LA3_0==11) ) { + alt3=1; + } + + + switch (alt3) { + case 1 : + // InternalApplicationConfiguration.g:413:3: rule__ConfigurationScript__ImportsAssignment_0 + { + pushFollow(FOLLOW_4); + rule__ConfigurationScript__ImportsAssignment_0(); + + state._fsp--; + + + } + break; + + default : + break loop3; + } + } while (true); + + after(grammarAccess.getConfigurationScriptAccess().getImportsAssignment_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigurationScript__Group__0__Impl" + + + // $ANTLR start "rule__ConfigurationScript__Group__1" + // InternalApplicationConfiguration.g:421:1: rule__ConfigurationScript__Group__1 : rule__ConfigurationScript__Group__1__Impl ; + public final void rule__ConfigurationScript__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:425:1: ( rule__ConfigurationScript__Group__1__Impl ) + // InternalApplicationConfiguration.g:426:2: rule__ConfigurationScript__Group__1__Impl + { + pushFollow(FOLLOW_2); + rule__ConfigurationScript__Group__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigurationScript__Group__1" + + + // $ANTLR start "rule__ConfigurationScript__Group__1__Impl" + // InternalApplicationConfiguration.g:432:1: rule__ConfigurationScript__Group__1__Impl : ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) ; + public final void rule__ConfigurationScript__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:436:1: ( ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) ) + // InternalApplicationConfiguration.g:437:1: ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) + { + // InternalApplicationConfiguration.g:437:1: ( ( rule__ConfigurationScript__CommandsAssignment_1 )* ) + // InternalApplicationConfiguration.g:438:2: ( rule__ConfigurationScript__CommandsAssignment_1 )* + { + before(grammarAccess.getConfigurationScriptAccess().getCommandsAssignment_1()); + // InternalApplicationConfiguration.g:439:2: ( rule__ConfigurationScript__CommandsAssignment_1 )* + loop4: + do { + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0==21) ) { + alt4=1; + } + + + switch (alt4) { + case 1 : + // InternalApplicationConfiguration.g:439:3: rule__ConfigurationScript__CommandsAssignment_1 + { + pushFollow(FOLLOW_5); + rule__ConfigurationScript__CommandsAssignment_1(); + + state._fsp--; + + + } + break; + + default : + break loop4; + } + } while (true); + + after(grammarAccess.getConfigurationScriptAccess().getCommandsAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigurationScript__Group__1__Impl" + + + // $ANTLR start "rule__EPackageImport__Group__0" + // InternalApplicationConfiguration.g:448:1: rule__EPackageImport__Group__0 : rule__EPackageImport__Group__0__Impl rule__EPackageImport__Group__1 ; + public final void rule__EPackageImport__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:452:1: ( rule__EPackageImport__Group__0__Impl rule__EPackageImport__Group__1 ) + // InternalApplicationConfiguration.g:453:2: rule__EPackageImport__Group__0__Impl rule__EPackageImport__Group__1 + { + pushFollow(FOLLOW_6); + rule__EPackageImport__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__EPackageImport__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EPackageImport__Group__0" + + + // $ANTLR start "rule__EPackageImport__Group__0__Impl" + // InternalApplicationConfiguration.g:460:1: rule__EPackageImport__Group__0__Impl : ( 'import' ) ; + public final void rule__EPackageImport__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:464:1: ( ( 'import' ) ) + // InternalApplicationConfiguration.g:465:1: ( 'import' ) + { + // InternalApplicationConfiguration.g:465:1: ( 'import' ) + // InternalApplicationConfiguration.g:466:2: 'import' + { + before(grammarAccess.getEPackageImportAccess().getImportKeyword_0()); + match(input,11,FOLLOW_2); + after(grammarAccess.getEPackageImportAccess().getImportKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EPackageImport__Group__0__Impl" + + + // $ANTLR start "rule__EPackageImport__Group__1" + // InternalApplicationConfiguration.g:475:1: rule__EPackageImport__Group__1 : rule__EPackageImport__Group__1__Impl rule__EPackageImport__Group__2 ; + public final void rule__EPackageImport__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:479:1: ( rule__EPackageImport__Group__1__Impl rule__EPackageImport__Group__2 ) + // InternalApplicationConfiguration.g:480:2: rule__EPackageImport__Group__1__Impl rule__EPackageImport__Group__2 + { + pushFollow(FOLLOW_7); + rule__EPackageImport__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__EPackageImport__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EPackageImport__Group__1" + + + // $ANTLR start "rule__EPackageImport__Group__1__Impl" + // InternalApplicationConfiguration.g:487:1: rule__EPackageImport__Group__1__Impl : ( 'epackage' ) ; + public final void rule__EPackageImport__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:491:1: ( ( 'epackage' ) ) + // InternalApplicationConfiguration.g:492:1: ( 'epackage' ) + { + // InternalApplicationConfiguration.g:492:1: ( 'epackage' ) + // InternalApplicationConfiguration.g:493:2: 'epackage' + { + before(grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); + match(input,12,FOLLOW_2); + after(grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EPackageImport__Group__1__Impl" + + + // $ANTLR start "rule__EPackageImport__Group__2" + // InternalApplicationConfiguration.g:502:1: rule__EPackageImport__Group__2 : rule__EPackageImport__Group__2__Impl ; + public final void rule__EPackageImport__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:506:1: ( rule__EPackageImport__Group__2__Impl ) + // InternalApplicationConfiguration.g:507:2: rule__EPackageImport__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__EPackageImport__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EPackageImport__Group__2" + + + // $ANTLR start "rule__EPackageImport__Group__2__Impl" + // InternalApplicationConfiguration.g:513:1: rule__EPackageImport__Group__2__Impl : ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) ; + public final void rule__EPackageImport__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:517:1: ( ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:518:1: ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) + { + // InternalApplicationConfiguration.g:518:1: ( ( rule__EPackageImport__ImportedPackageAssignment_2 ) ) + // InternalApplicationConfiguration.g:519:2: ( rule__EPackageImport__ImportedPackageAssignment_2 ) + { + before(grammarAccess.getEPackageImportAccess().getImportedPackageAssignment_2()); + // InternalApplicationConfiguration.g:520:2: ( rule__EPackageImport__ImportedPackageAssignment_2 ) + // InternalApplicationConfiguration.g:520:3: rule__EPackageImport__ImportedPackageAssignment_2 + { + pushFollow(FOLLOW_2); + rule__EPackageImport__ImportedPackageAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getEPackageImportAccess().getImportedPackageAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EPackageImport__Group__2__Impl" + + + // $ANTLR start "rule__ViatraImport__Group__0" + // InternalApplicationConfiguration.g:529:1: rule__ViatraImport__Group__0 : rule__ViatraImport__Group__0__Impl rule__ViatraImport__Group__1 ; + public final void rule__ViatraImport__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:533:1: ( rule__ViatraImport__Group__0__Impl rule__ViatraImport__Group__1 ) + // InternalApplicationConfiguration.g:534:2: rule__ViatraImport__Group__0__Impl rule__ViatraImport__Group__1 + { + pushFollow(FOLLOW_8); + rule__ViatraImport__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ViatraImport__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ViatraImport__Group__0" + + + // $ANTLR start "rule__ViatraImport__Group__0__Impl" + // InternalApplicationConfiguration.g:541:1: rule__ViatraImport__Group__0__Impl : ( 'import' ) ; + public final void rule__ViatraImport__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:545:1: ( ( 'import' ) ) + // InternalApplicationConfiguration.g:546:1: ( 'import' ) + { + // InternalApplicationConfiguration.g:546:1: ( 'import' ) + // InternalApplicationConfiguration.g:547:2: 'import' + { + before(grammarAccess.getViatraImportAccess().getImportKeyword_0()); + match(input,11,FOLLOW_2); + after(grammarAccess.getViatraImportAccess().getImportKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ViatraImport__Group__0__Impl" + + + // $ANTLR start "rule__ViatraImport__Group__1" + // InternalApplicationConfiguration.g:556:1: rule__ViatraImport__Group__1 : rule__ViatraImport__Group__1__Impl rule__ViatraImport__Group__2 ; + public final void rule__ViatraImport__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:560:1: ( rule__ViatraImport__Group__1__Impl rule__ViatraImport__Group__2 ) + // InternalApplicationConfiguration.g:561:2: rule__ViatraImport__Group__1__Impl rule__ViatraImport__Group__2 + { + pushFollow(FOLLOW_7); + rule__ViatraImport__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__ViatraImport__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ViatraImport__Group__1" + + + // $ANTLR start "rule__ViatraImport__Group__1__Impl" + // InternalApplicationConfiguration.g:568:1: rule__ViatraImport__Group__1__Impl : ( 'viatra' ) ; + public final void rule__ViatraImport__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:572:1: ( ( 'viatra' ) ) + // InternalApplicationConfiguration.g:573:1: ( 'viatra' ) + { + // InternalApplicationConfiguration.g:573:1: ( 'viatra' ) + // InternalApplicationConfiguration.g:574:2: 'viatra' + { + before(grammarAccess.getViatraImportAccess().getViatraKeyword_1()); + match(input,13,FOLLOW_2); + after(grammarAccess.getViatraImportAccess().getViatraKeyword_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ViatraImport__Group__1__Impl" + + + // $ANTLR start "rule__ViatraImport__Group__2" + // InternalApplicationConfiguration.g:583:1: rule__ViatraImport__Group__2 : rule__ViatraImport__Group__2__Impl ; + public final void rule__ViatraImport__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:587:1: ( rule__ViatraImport__Group__2__Impl ) + // InternalApplicationConfiguration.g:588:2: rule__ViatraImport__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__ViatraImport__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ViatraImport__Group__2" + + + // $ANTLR start "rule__ViatraImport__Group__2__Impl" + // InternalApplicationConfiguration.g:594:1: rule__ViatraImport__Group__2__Impl : ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) ; + public final void rule__ViatraImport__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:598:1: ( ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:599:1: ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) + { + // InternalApplicationConfiguration.g:599:1: ( ( rule__ViatraImport__ImportedViatraAssignment_2 ) ) + // InternalApplicationConfiguration.g:600:2: ( rule__ViatraImport__ImportedViatraAssignment_2 ) + { + before(grammarAccess.getViatraImportAccess().getImportedViatraAssignment_2()); + // InternalApplicationConfiguration.g:601:2: ( rule__ViatraImport__ImportedViatraAssignment_2 ) + // InternalApplicationConfiguration.g:601:3: rule__ViatraImport__ImportedViatraAssignment_2 + { + pushFollow(FOLLOW_2); + rule__ViatraImport__ImportedViatraAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getViatraImportAccess().getImportedViatraAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ViatraImport__Group__2__Impl" + + + // $ANTLR start "rule__MetamodelSpecification__Group__0" + // InternalApplicationConfiguration.g:610:1: rule__MetamodelSpecification__Group__0 : rule__MetamodelSpecification__Group__0__Impl rule__MetamodelSpecification__Group__1 ; + public final void rule__MetamodelSpecification__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:614:1: ( rule__MetamodelSpecification__Group__0__Impl rule__MetamodelSpecification__Group__1 ) + // InternalApplicationConfiguration.g:615:2: rule__MetamodelSpecification__Group__0__Impl rule__MetamodelSpecification__Group__1 + { + pushFollow(FOLLOW_9); + rule__MetamodelSpecification__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MetamodelSpecification__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group__0" + + + // $ANTLR start "rule__MetamodelSpecification__Group__0__Impl" + // InternalApplicationConfiguration.g:622:1: rule__MetamodelSpecification__Group__0__Impl : ( '{' ) ; + public final void rule__MetamodelSpecification__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:626:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:627:1: ( '{' ) + { + // InternalApplicationConfiguration.g:627:1: ( '{' ) + // InternalApplicationConfiguration.g:628:2: '{' + { + before(grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); + match(input,14,FOLLOW_2); + after(grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group__0__Impl" + + + // $ANTLR start "rule__MetamodelSpecification__Group__1" + // InternalApplicationConfiguration.g:637:1: rule__MetamodelSpecification__Group__1 : rule__MetamodelSpecification__Group__1__Impl rule__MetamodelSpecification__Group__2 ; + public final void rule__MetamodelSpecification__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:641:1: ( rule__MetamodelSpecification__Group__1__Impl rule__MetamodelSpecification__Group__2 ) + // InternalApplicationConfiguration.g:642:2: rule__MetamodelSpecification__Group__1__Impl rule__MetamodelSpecification__Group__2 + { + pushFollow(FOLLOW_10); + rule__MetamodelSpecification__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MetamodelSpecification__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group__1" + + + // $ANTLR start "rule__MetamodelSpecification__Group__1__Impl" + // InternalApplicationConfiguration.g:649:1: rule__MetamodelSpecification__Group__1__Impl : ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) ; + public final void rule__MetamodelSpecification__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:653:1: ( ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:654:1: ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:654:1: ( ( rule__MetamodelSpecification__EntriesAssignment_1 ) ) + // InternalApplicationConfiguration.g:655:2: ( rule__MetamodelSpecification__EntriesAssignment_1 ) + { + before(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_1()); + // InternalApplicationConfiguration.g:656:2: ( rule__MetamodelSpecification__EntriesAssignment_1 ) + // InternalApplicationConfiguration.g:656:3: rule__MetamodelSpecification__EntriesAssignment_1 + { + pushFollow(FOLLOW_2); + rule__MetamodelSpecification__EntriesAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group__1__Impl" + + + // $ANTLR start "rule__MetamodelSpecification__Group__2" + // InternalApplicationConfiguration.g:664:1: rule__MetamodelSpecification__Group__2 : rule__MetamodelSpecification__Group__2__Impl rule__MetamodelSpecification__Group__3 ; + public final void rule__MetamodelSpecification__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:668:1: ( rule__MetamodelSpecification__Group__2__Impl rule__MetamodelSpecification__Group__3 ) + // InternalApplicationConfiguration.g:669:2: rule__MetamodelSpecification__Group__2__Impl rule__MetamodelSpecification__Group__3 + { + pushFollow(FOLLOW_10); + rule__MetamodelSpecification__Group__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MetamodelSpecification__Group__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group__2" + + + // $ANTLR start "rule__MetamodelSpecification__Group__2__Impl" + // InternalApplicationConfiguration.g:676:1: rule__MetamodelSpecification__Group__2__Impl : ( ( rule__MetamodelSpecification__Group_2__0 )* ) ; + public final void rule__MetamodelSpecification__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:680:1: ( ( ( rule__MetamodelSpecification__Group_2__0 )* ) ) + // InternalApplicationConfiguration.g:681:1: ( ( rule__MetamodelSpecification__Group_2__0 )* ) + { + // InternalApplicationConfiguration.g:681:1: ( ( rule__MetamodelSpecification__Group_2__0 )* ) + // InternalApplicationConfiguration.g:682:2: ( rule__MetamodelSpecification__Group_2__0 )* + { + before(grammarAccess.getMetamodelSpecificationAccess().getGroup_2()); + // InternalApplicationConfiguration.g:683:2: ( rule__MetamodelSpecification__Group_2__0 )* + loop5: + do { + int alt5=2; + int LA5_0 = input.LA(1); + + if ( (LA5_0==16) ) { + alt5=1; + } + + + switch (alt5) { + case 1 : + // InternalApplicationConfiguration.g:683:3: rule__MetamodelSpecification__Group_2__0 + { + pushFollow(FOLLOW_11); + rule__MetamodelSpecification__Group_2__0(); + + state._fsp--; + + + } + break; + + default : + break loop5; + } + } while (true); + + after(grammarAccess.getMetamodelSpecificationAccess().getGroup_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group__2__Impl" + + + // $ANTLR start "rule__MetamodelSpecification__Group__3" + // InternalApplicationConfiguration.g:691:1: rule__MetamodelSpecification__Group__3 : rule__MetamodelSpecification__Group__3__Impl ; + public final void rule__MetamodelSpecification__Group__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:695:1: ( rule__MetamodelSpecification__Group__3__Impl ) + // InternalApplicationConfiguration.g:696:2: rule__MetamodelSpecification__Group__3__Impl + { + pushFollow(FOLLOW_2); + rule__MetamodelSpecification__Group__3__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group__3" + + + // $ANTLR start "rule__MetamodelSpecification__Group__3__Impl" + // InternalApplicationConfiguration.g:702:1: rule__MetamodelSpecification__Group__3__Impl : ( '}' ) ; + public final void rule__MetamodelSpecification__Group__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:706:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:707:1: ( '}' ) + { + // InternalApplicationConfiguration.g:707:1: ( '}' ) + // InternalApplicationConfiguration.g:708:2: '}' + { + before(grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); + match(input,15,FOLLOW_2); + after(grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group__3__Impl" + + + // $ANTLR start "rule__MetamodelSpecification__Group_2__0" + // InternalApplicationConfiguration.g:718:1: rule__MetamodelSpecification__Group_2__0 : rule__MetamodelSpecification__Group_2__0__Impl rule__MetamodelSpecification__Group_2__1 ; + public final void rule__MetamodelSpecification__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:722:1: ( rule__MetamodelSpecification__Group_2__0__Impl rule__MetamodelSpecification__Group_2__1 ) + // InternalApplicationConfiguration.g:723:2: rule__MetamodelSpecification__Group_2__0__Impl rule__MetamodelSpecification__Group_2__1 + { + pushFollow(FOLLOW_9); + rule__MetamodelSpecification__Group_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MetamodelSpecification__Group_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group_2__0" + + + // $ANTLR start "rule__MetamodelSpecification__Group_2__0__Impl" + // InternalApplicationConfiguration.g:730:1: rule__MetamodelSpecification__Group_2__0__Impl : ( ',' ) ; + public final void rule__MetamodelSpecification__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:734:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:735:1: ( ',' ) + { + // InternalApplicationConfiguration.g:735:1: ( ',' ) + // InternalApplicationConfiguration.g:736:2: ',' + { + before(grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); + match(input,16,FOLLOW_2); + after(grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group_2__0__Impl" + + + // $ANTLR start "rule__MetamodelSpecification__Group_2__1" + // InternalApplicationConfiguration.g:745:1: rule__MetamodelSpecification__Group_2__1 : rule__MetamodelSpecification__Group_2__1__Impl ; + public final void rule__MetamodelSpecification__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:749:1: ( rule__MetamodelSpecification__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:750:2: rule__MetamodelSpecification__Group_2__1__Impl + { + pushFollow(FOLLOW_2); + rule__MetamodelSpecification__Group_2__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group_2__1" + + + // $ANTLR start "rule__MetamodelSpecification__Group_2__1__Impl" + // InternalApplicationConfiguration.g:756:1: rule__MetamodelSpecification__Group_2__1__Impl : ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) ; + public final void rule__MetamodelSpecification__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:760:1: ( ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) ) + // InternalApplicationConfiguration.g:761:1: ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) + { + // InternalApplicationConfiguration.g:761:1: ( ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:762:2: ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) + { + before(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_2_1()); + // InternalApplicationConfiguration.g:763:2: ( rule__MetamodelSpecification__EntriesAssignment_2_1 ) + // InternalApplicationConfiguration.g:763:3: rule__MetamodelSpecification__EntriesAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__MetamodelSpecification__EntriesAssignment_2_1(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelSpecificationAccess().getEntriesAssignment_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__Group_2__1__Impl" + + + // $ANTLR start "rule__AllPackageEntry__Group__0" + // InternalApplicationConfiguration.g:772:1: rule__AllPackageEntry__Group__0 : rule__AllPackageEntry__Group__0__Impl rule__AllPackageEntry__Group__1 ; + public final void rule__AllPackageEntry__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:776:1: ( rule__AllPackageEntry__Group__0__Impl rule__AllPackageEntry__Group__1 ) + // InternalApplicationConfiguration.g:777:2: rule__AllPackageEntry__Group__0__Impl rule__AllPackageEntry__Group__1 + { + pushFollow(FOLLOW_12); + rule__AllPackageEntry__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group__0" + + + // $ANTLR start "rule__AllPackageEntry__Group__0__Impl" + // InternalApplicationConfiguration.g:784:1: rule__AllPackageEntry__Group__0__Impl : ( 'package' ) ; + public final void rule__AllPackageEntry__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:788:1: ( ( 'package' ) ) + // InternalApplicationConfiguration.g:789:1: ( 'package' ) + { + // InternalApplicationConfiguration.g:789:1: ( 'package' ) + // InternalApplicationConfiguration.g:790:2: 'package' + { + before(grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); + match(input,17,FOLLOW_2); + after(grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group__0__Impl" + + + // $ANTLR start "rule__AllPackageEntry__Group__1" + // InternalApplicationConfiguration.g:799:1: rule__AllPackageEntry__Group__1 : rule__AllPackageEntry__Group__1__Impl rule__AllPackageEntry__Group__2 ; + public final void rule__AllPackageEntry__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:803:1: ( rule__AllPackageEntry__Group__1__Impl rule__AllPackageEntry__Group__2 ) + // InternalApplicationConfiguration.g:804:2: rule__AllPackageEntry__Group__1__Impl rule__AllPackageEntry__Group__2 + { + pushFollow(FOLLOW_13); + rule__AllPackageEntry__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group__1" + + + // $ANTLR start "rule__AllPackageEntry__Group__1__Impl" + // InternalApplicationConfiguration.g:811:1: rule__AllPackageEntry__Group__1__Impl : ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) ; + public final void rule__AllPackageEntry__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:815:1: ( ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:816:1: ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:816:1: ( ( rule__AllPackageEntry__PackageAssignment_1 ) ) + // InternalApplicationConfiguration.g:817:2: ( rule__AllPackageEntry__PackageAssignment_1 ) + { + before(grammarAccess.getAllPackageEntryAccess().getPackageAssignment_1()); + // InternalApplicationConfiguration.g:818:2: ( rule__AllPackageEntry__PackageAssignment_1 ) + // InternalApplicationConfiguration.g:818:3: rule__AllPackageEntry__PackageAssignment_1 + { + pushFollow(FOLLOW_2); + rule__AllPackageEntry__PackageAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getAllPackageEntryAccess().getPackageAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group__1__Impl" + + + // $ANTLR start "rule__AllPackageEntry__Group__2" + // InternalApplicationConfiguration.g:826:1: rule__AllPackageEntry__Group__2 : rule__AllPackageEntry__Group__2__Impl ; + public final void rule__AllPackageEntry__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:830:1: ( rule__AllPackageEntry__Group__2__Impl ) + // InternalApplicationConfiguration.g:831:2: rule__AllPackageEntry__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group__2" + + + // $ANTLR start "rule__AllPackageEntry__Group__2__Impl" + // InternalApplicationConfiguration.g:837:1: rule__AllPackageEntry__Group__2__Impl : ( ( rule__AllPackageEntry__Group_2__0 )? ) ; + public final void rule__AllPackageEntry__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:841:1: ( ( ( rule__AllPackageEntry__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:842:1: ( ( rule__AllPackageEntry__Group_2__0 )? ) + { + // InternalApplicationConfiguration.g:842:1: ( ( rule__AllPackageEntry__Group_2__0 )? ) + // InternalApplicationConfiguration.g:843:2: ( rule__AllPackageEntry__Group_2__0 )? + { + before(grammarAccess.getAllPackageEntryAccess().getGroup_2()); + // InternalApplicationConfiguration.g:844:2: ( rule__AllPackageEntry__Group_2__0 )? + int alt6=2; + int LA6_0 = input.LA(1); + + if ( (LA6_0==18) ) { + alt6=1; + } + switch (alt6) { + case 1 : + // InternalApplicationConfiguration.g:844:3: rule__AllPackageEntry__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group_2__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getAllPackageEntryAccess().getGroup_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group__2__Impl" + + + // $ANTLR start "rule__AllPackageEntry__Group_2__0" + // InternalApplicationConfiguration.g:853:1: rule__AllPackageEntry__Group_2__0 : rule__AllPackageEntry__Group_2__0__Impl rule__AllPackageEntry__Group_2__1 ; + public final void rule__AllPackageEntry__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:857:1: ( rule__AllPackageEntry__Group_2__0__Impl rule__AllPackageEntry__Group_2__1 ) + // InternalApplicationConfiguration.g:858:2: rule__AllPackageEntry__Group_2__0__Impl rule__AllPackageEntry__Group_2__1 + { + pushFollow(FOLLOW_14); + rule__AllPackageEntry__Group_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2__0" + + + // $ANTLR start "rule__AllPackageEntry__Group_2__0__Impl" + // InternalApplicationConfiguration.g:865:1: rule__AllPackageEntry__Group_2__0__Impl : ( 'excluding' ) ; + public final void rule__AllPackageEntry__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:869:1: ( ( 'excluding' ) ) + // InternalApplicationConfiguration.g:870:1: ( 'excluding' ) + { + // InternalApplicationConfiguration.g:870:1: ( 'excluding' ) + // InternalApplicationConfiguration.g:871:2: 'excluding' + { + before(grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); + match(input,18,FOLLOW_2); + after(grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2__0__Impl" + + + // $ANTLR start "rule__AllPackageEntry__Group_2__1" + // InternalApplicationConfiguration.g:880:1: rule__AllPackageEntry__Group_2__1 : rule__AllPackageEntry__Group_2__1__Impl rule__AllPackageEntry__Group_2__2 ; + public final void rule__AllPackageEntry__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:884:1: ( rule__AllPackageEntry__Group_2__1__Impl rule__AllPackageEntry__Group_2__2 ) + // InternalApplicationConfiguration.g:885:2: rule__AllPackageEntry__Group_2__1__Impl rule__AllPackageEntry__Group_2__2 + { + pushFollow(FOLLOW_12); + rule__AllPackageEntry__Group_2__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group_2__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2__1" + + + // $ANTLR start "rule__AllPackageEntry__Group_2__1__Impl" + // InternalApplicationConfiguration.g:892:1: rule__AllPackageEntry__Group_2__1__Impl : ( '{' ) ; + public final void rule__AllPackageEntry__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:896:1: ( ( '{' ) ) + // InternalApplicationConfiguration.g:897:1: ( '{' ) + { + // InternalApplicationConfiguration.g:897:1: ( '{' ) + // InternalApplicationConfiguration.g:898:2: '{' + { + before(grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); + match(input,14,FOLLOW_2); + after(grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2__1__Impl" + + + // $ANTLR start "rule__AllPackageEntry__Group_2__2" + // InternalApplicationConfiguration.g:907:1: rule__AllPackageEntry__Group_2__2 : rule__AllPackageEntry__Group_2__2__Impl rule__AllPackageEntry__Group_2__3 ; + public final void rule__AllPackageEntry__Group_2__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:911:1: ( rule__AllPackageEntry__Group_2__2__Impl rule__AllPackageEntry__Group_2__3 ) + // InternalApplicationConfiguration.g:912:2: rule__AllPackageEntry__Group_2__2__Impl rule__AllPackageEntry__Group_2__3 + { + pushFollow(FOLLOW_10); + rule__AllPackageEntry__Group_2__2__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group_2__3(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2__2" + + + // $ANTLR start "rule__AllPackageEntry__Group_2__2__Impl" + // InternalApplicationConfiguration.g:919:1: rule__AllPackageEntry__Group_2__2__Impl : ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) ; + public final void rule__AllPackageEntry__Group_2__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:923:1: ( ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) ) + // InternalApplicationConfiguration.g:924:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) + { + // InternalApplicationConfiguration.g:924:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) ) + // InternalApplicationConfiguration.g:925:2: ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) + { + before(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_2()); + // InternalApplicationConfiguration.g:926:2: ( rule__AllPackageEntry__ExclusionAssignment_2_2 ) + // InternalApplicationConfiguration.g:926:3: rule__AllPackageEntry__ExclusionAssignment_2_2 + { + pushFollow(FOLLOW_2); + rule__AllPackageEntry__ExclusionAssignment_2_2(); + + state._fsp--; + + + } + + after(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2__2__Impl" + + + // $ANTLR start "rule__AllPackageEntry__Group_2__3" + // InternalApplicationConfiguration.g:934:1: rule__AllPackageEntry__Group_2__3 : rule__AllPackageEntry__Group_2__3__Impl rule__AllPackageEntry__Group_2__4 ; + public final void rule__AllPackageEntry__Group_2__3() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:938:1: ( rule__AllPackageEntry__Group_2__3__Impl rule__AllPackageEntry__Group_2__4 ) + // InternalApplicationConfiguration.g:939:2: rule__AllPackageEntry__Group_2__3__Impl rule__AllPackageEntry__Group_2__4 + { + pushFollow(FOLLOW_10); + rule__AllPackageEntry__Group_2__3__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group_2__4(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2__3" + + + // $ANTLR start "rule__AllPackageEntry__Group_2__3__Impl" + // InternalApplicationConfiguration.g:946:1: rule__AllPackageEntry__Group_2__3__Impl : ( ( rule__AllPackageEntry__Group_2_3__0 )* ) ; + public final void rule__AllPackageEntry__Group_2__3__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:950:1: ( ( ( rule__AllPackageEntry__Group_2_3__0 )* ) ) + // InternalApplicationConfiguration.g:951:1: ( ( rule__AllPackageEntry__Group_2_3__0 )* ) + { + // InternalApplicationConfiguration.g:951:1: ( ( rule__AllPackageEntry__Group_2_3__0 )* ) + // InternalApplicationConfiguration.g:952:2: ( rule__AllPackageEntry__Group_2_3__0 )* + { + before(grammarAccess.getAllPackageEntryAccess().getGroup_2_3()); + // InternalApplicationConfiguration.g:953:2: ( rule__AllPackageEntry__Group_2_3__0 )* + loop7: + do { + int alt7=2; + int LA7_0 = input.LA(1); + + if ( (LA7_0==16) ) { + alt7=1; + } + + + switch (alt7) { + case 1 : + // InternalApplicationConfiguration.g:953:3: rule__AllPackageEntry__Group_2_3__0 + { + pushFollow(FOLLOW_11); + rule__AllPackageEntry__Group_2_3__0(); + + state._fsp--; + + + } + break; + + default : + break loop7; + } + } while (true); + + after(grammarAccess.getAllPackageEntryAccess().getGroup_2_3()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2__3__Impl" + + + // $ANTLR start "rule__AllPackageEntry__Group_2__4" + // InternalApplicationConfiguration.g:961:1: rule__AllPackageEntry__Group_2__4 : rule__AllPackageEntry__Group_2__4__Impl ; + public final void rule__AllPackageEntry__Group_2__4() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:965:1: ( rule__AllPackageEntry__Group_2__4__Impl ) + // InternalApplicationConfiguration.g:966:2: rule__AllPackageEntry__Group_2__4__Impl + { + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group_2__4__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2__4" + + + // $ANTLR start "rule__AllPackageEntry__Group_2__4__Impl" + // InternalApplicationConfiguration.g:972:1: rule__AllPackageEntry__Group_2__4__Impl : ( '}' ) ; + public final void rule__AllPackageEntry__Group_2__4__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:976:1: ( ( '}' ) ) + // InternalApplicationConfiguration.g:977:1: ( '}' ) + { + // InternalApplicationConfiguration.g:977:1: ( '}' ) + // InternalApplicationConfiguration.g:978:2: '}' + { + before(grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); + match(input,15,FOLLOW_2); + after(grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2__4__Impl" + + + // $ANTLR start "rule__AllPackageEntry__Group_2_3__0" + // InternalApplicationConfiguration.g:988:1: rule__AllPackageEntry__Group_2_3__0 : rule__AllPackageEntry__Group_2_3__0__Impl rule__AllPackageEntry__Group_2_3__1 ; + public final void rule__AllPackageEntry__Group_2_3__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:992:1: ( rule__AllPackageEntry__Group_2_3__0__Impl rule__AllPackageEntry__Group_2_3__1 ) + // InternalApplicationConfiguration.g:993:2: rule__AllPackageEntry__Group_2_3__0__Impl rule__AllPackageEntry__Group_2_3__1 + { + pushFollow(FOLLOW_12); + rule__AllPackageEntry__Group_2_3__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group_2_3__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2_3__0" + + + // $ANTLR start "rule__AllPackageEntry__Group_2_3__0__Impl" + // InternalApplicationConfiguration.g:1000:1: rule__AllPackageEntry__Group_2_3__0__Impl : ( ',' ) ; + public final void rule__AllPackageEntry__Group_2_3__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1004:1: ( ( ',' ) ) + // InternalApplicationConfiguration.g:1005:1: ( ',' ) + { + // InternalApplicationConfiguration.g:1005:1: ( ',' ) + // InternalApplicationConfiguration.g:1006:2: ',' + { + before(grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); + match(input,16,FOLLOW_2); + after(grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2_3__0__Impl" + + + // $ANTLR start "rule__AllPackageEntry__Group_2_3__1" + // InternalApplicationConfiguration.g:1015:1: rule__AllPackageEntry__Group_2_3__1 : rule__AllPackageEntry__Group_2_3__1__Impl ; + public final void rule__AllPackageEntry__Group_2_3__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1019:1: ( rule__AllPackageEntry__Group_2_3__1__Impl ) + // InternalApplicationConfiguration.g:1020:2: rule__AllPackageEntry__Group_2_3__1__Impl + { + pushFollow(FOLLOW_2); + rule__AllPackageEntry__Group_2_3__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2_3__1" + + + // $ANTLR start "rule__AllPackageEntry__Group_2_3__1__Impl" + // InternalApplicationConfiguration.g:1026:1: rule__AllPackageEntry__Group_2_3__1__Impl : ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) ; + public final void rule__AllPackageEntry__Group_2_3__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1030:1: ( ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) ) + // InternalApplicationConfiguration.g:1031:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) + { + // InternalApplicationConfiguration.g:1031:1: ( ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) ) + // InternalApplicationConfiguration.g:1032:2: ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) + { + before(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_3_1()); + // InternalApplicationConfiguration.g:1033:2: ( rule__AllPackageEntry__ExclusionAssignment_2_3_1 ) + // InternalApplicationConfiguration.g:1033:3: rule__AllPackageEntry__ExclusionAssignment_2_3_1 + { + pushFollow(FOLLOW_2); + rule__AllPackageEntry__ExclusionAssignment_2_3_1(); + + state._fsp--; + + + } + + after(grammarAccess.getAllPackageEntryAccess().getExclusionAssignment_2_3_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__Group_2_3__1__Impl" + + + // $ANTLR start "rule__MetamodelElement__Group__0" + // InternalApplicationConfiguration.g:1042:1: rule__MetamodelElement__Group__0 : rule__MetamodelElement__Group__0__Impl rule__MetamodelElement__Group__1 ; + public final void rule__MetamodelElement__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1046:1: ( rule__MetamodelElement__Group__0__Impl rule__MetamodelElement__Group__1 ) + // InternalApplicationConfiguration.g:1047:2: rule__MetamodelElement__Group__0__Impl rule__MetamodelElement__Group__1 + { + pushFollow(FOLLOW_12); + rule__MetamodelElement__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MetamodelElement__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group__0" + + + // $ANTLR start "rule__MetamodelElement__Group__0__Impl" + // InternalApplicationConfiguration.g:1054:1: rule__MetamodelElement__Group__0__Impl : ( ( rule__MetamodelElement__Group_0__0 )? ) ; + public final void rule__MetamodelElement__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1058:1: ( ( ( rule__MetamodelElement__Group_0__0 )? ) ) + // InternalApplicationConfiguration.g:1059:1: ( ( rule__MetamodelElement__Group_0__0 )? ) + { + // InternalApplicationConfiguration.g:1059:1: ( ( rule__MetamodelElement__Group_0__0 )? ) + // InternalApplicationConfiguration.g:1060:2: ( rule__MetamodelElement__Group_0__0 )? + { + before(grammarAccess.getMetamodelElementAccess().getGroup_0()); + // InternalApplicationConfiguration.g:1061:2: ( rule__MetamodelElement__Group_0__0 )? + int alt8=2; + int LA8_0 = input.LA(1); + + if ( (LA8_0==RULE_ID) ) { + int LA8_1 = input.LA(2); + + if ( (LA8_1==19) ) { + alt8=1; + } + } + switch (alt8) { + case 1 : + // InternalApplicationConfiguration.g:1061:3: rule__MetamodelElement__Group_0__0 + { + pushFollow(FOLLOW_2); + rule__MetamodelElement__Group_0__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getMetamodelElementAccess().getGroup_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group__0__Impl" + + + // $ANTLR start "rule__MetamodelElement__Group__1" + // InternalApplicationConfiguration.g:1069:1: rule__MetamodelElement__Group__1 : rule__MetamodelElement__Group__1__Impl rule__MetamodelElement__Group__2 ; + public final void rule__MetamodelElement__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1073:1: ( rule__MetamodelElement__Group__1__Impl rule__MetamodelElement__Group__2 ) + // InternalApplicationConfiguration.g:1074:2: rule__MetamodelElement__Group__1__Impl rule__MetamodelElement__Group__2 + { + pushFollow(FOLLOW_15); + rule__MetamodelElement__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MetamodelElement__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group__1" + + + // $ANTLR start "rule__MetamodelElement__Group__1__Impl" + // InternalApplicationConfiguration.g:1081:1: rule__MetamodelElement__Group__1__Impl : ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) ; + public final void rule__MetamodelElement__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1085:1: ( ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:1086:1: ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:1086:1: ( ( rule__MetamodelElement__ClassifierAssignment_1 ) ) + // InternalApplicationConfiguration.g:1087:2: ( rule__MetamodelElement__ClassifierAssignment_1 ) + { + before(grammarAccess.getMetamodelElementAccess().getClassifierAssignment_1()); + // InternalApplicationConfiguration.g:1088:2: ( rule__MetamodelElement__ClassifierAssignment_1 ) + // InternalApplicationConfiguration.g:1088:3: rule__MetamodelElement__ClassifierAssignment_1 + { + pushFollow(FOLLOW_2); + rule__MetamodelElement__ClassifierAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelElementAccess().getClassifierAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group__1__Impl" + + + // $ANTLR start "rule__MetamodelElement__Group__2" + // InternalApplicationConfiguration.g:1096:1: rule__MetamodelElement__Group__2 : rule__MetamodelElement__Group__2__Impl ; + public final void rule__MetamodelElement__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1100:1: ( rule__MetamodelElement__Group__2__Impl ) + // InternalApplicationConfiguration.g:1101:2: rule__MetamodelElement__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__MetamodelElement__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group__2" + + + // $ANTLR start "rule__MetamodelElement__Group__2__Impl" + // InternalApplicationConfiguration.g:1107:1: rule__MetamodelElement__Group__2__Impl : ( ( rule__MetamodelElement__Group_2__0 )? ) ; + public final void rule__MetamodelElement__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1111:1: ( ( ( rule__MetamodelElement__Group_2__0 )? ) ) + // InternalApplicationConfiguration.g:1112:1: ( ( rule__MetamodelElement__Group_2__0 )? ) + { + // InternalApplicationConfiguration.g:1112:1: ( ( rule__MetamodelElement__Group_2__0 )? ) + // InternalApplicationConfiguration.g:1113:2: ( rule__MetamodelElement__Group_2__0 )? + { + before(grammarAccess.getMetamodelElementAccess().getGroup_2()); + // InternalApplicationConfiguration.g:1114:2: ( rule__MetamodelElement__Group_2__0 )? + int alt9=2; + int LA9_0 = input.LA(1); + + if ( (LA9_0==20) ) { + alt9=1; + } + switch (alt9) { + case 1 : + // InternalApplicationConfiguration.g:1114:3: rule__MetamodelElement__Group_2__0 + { + pushFollow(FOLLOW_2); + rule__MetamodelElement__Group_2__0(); + + state._fsp--; + + + } + break; + + } + + after(grammarAccess.getMetamodelElementAccess().getGroup_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group__2__Impl" + + + // $ANTLR start "rule__MetamodelElement__Group_0__0" + // InternalApplicationConfiguration.g:1123:1: rule__MetamodelElement__Group_0__0 : rule__MetamodelElement__Group_0__0__Impl rule__MetamodelElement__Group_0__1 ; + public final void rule__MetamodelElement__Group_0__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1127:1: ( rule__MetamodelElement__Group_0__0__Impl rule__MetamodelElement__Group_0__1 ) + // InternalApplicationConfiguration.g:1128:2: rule__MetamodelElement__Group_0__0__Impl rule__MetamodelElement__Group_0__1 + { + pushFollow(FOLLOW_16); + rule__MetamodelElement__Group_0__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MetamodelElement__Group_0__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group_0__0" + + + // $ANTLR start "rule__MetamodelElement__Group_0__0__Impl" + // InternalApplicationConfiguration.g:1135:1: rule__MetamodelElement__Group_0__0__Impl : ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) ; + public final void rule__MetamodelElement__Group_0__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1139:1: ( ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) ) + // InternalApplicationConfiguration.g:1140:1: ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) + { + // InternalApplicationConfiguration.g:1140:1: ( ( rule__MetamodelElement__PackageAssignment_0_0 ) ) + // InternalApplicationConfiguration.g:1141:2: ( rule__MetamodelElement__PackageAssignment_0_0 ) + { + before(grammarAccess.getMetamodelElementAccess().getPackageAssignment_0_0()); + // InternalApplicationConfiguration.g:1142:2: ( rule__MetamodelElement__PackageAssignment_0_0 ) + // InternalApplicationConfiguration.g:1142:3: rule__MetamodelElement__PackageAssignment_0_0 + { + pushFollow(FOLLOW_2); + rule__MetamodelElement__PackageAssignment_0_0(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelElementAccess().getPackageAssignment_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group_0__0__Impl" + + + // $ANTLR start "rule__MetamodelElement__Group_0__1" + // InternalApplicationConfiguration.g:1150:1: rule__MetamodelElement__Group_0__1 : rule__MetamodelElement__Group_0__1__Impl ; + public final void rule__MetamodelElement__Group_0__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1154:1: ( rule__MetamodelElement__Group_0__1__Impl ) + // InternalApplicationConfiguration.g:1155:2: rule__MetamodelElement__Group_0__1__Impl + { + pushFollow(FOLLOW_2); + rule__MetamodelElement__Group_0__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group_0__1" + + + // $ANTLR start "rule__MetamodelElement__Group_0__1__Impl" + // InternalApplicationConfiguration.g:1161:1: rule__MetamodelElement__Group_0__1__Impl : ( '::' ) ; + public final void rule__MetamodelElement__Group_0__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1165:1: ( ( '::' ) ) + // InternalApplicationConfiguration.g:1166:1: ( '::' ) + { + // InternalApplicationConfiguration.g:1166:1: ( '::' ) + // InternalApplicationConfiguration.g:1167:2: '::' + { + before(grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); + match(input,19,FOLLOW_2); + after(grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group_0__1__Impl" + + + // $ANTLR start "rule__MetamodelElement__Group_2__0" + // InternalApplicationConfiguration.g:1177:1: rule__MetamodelElement__Group_2__0 : rule__MetamodelElement__Group_2__0__Impl rule__MetamodelElement__Group_2__1 ; + public final void rule__MetamodelElement__Group_2__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1181:1: ( rule__MetamodelElement__Group_2__0__Impl rule__MetamodelElement__Group_2__1 ) + // InternalApplicationConfiguration.g:1182:2: rule__MetamodelElement__Group_2__0__Impl rule__MetamodelElement__Group_2__1 + { + pushFollow(FOLLOW_12); + rule__MetamodelElement__Group_2__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MetamodelElement__Group_2__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group_2__0" + + + // $ANTLR start "rule__MetamodelElement__Group_2__0__Impl" + // InternalApplicationConfiguration.g:1189:1: rule__MetamodelElement__Group_2__0__Impl : ( '.' ) ; + public final void rule__MetamodelElement__Group_2__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1193:1: ( ( '.' ) ) + // InternalApplicationConfiguration.g:1194:1: ( '.' ) + { + // InternalApplicationConfiguration.g:1194:1: ( '.' ) + // InternalApplicationConfiguration.g:1195:2: '.' + { + before(grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); + match(input,20,FOLLOW_2); + after(grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group_2__0__Impl" + + + // $ANTLR start "rule__MetamodelElement__Group_2__1" + // InternalApplicationConfiguration.g:1204:1: rule__MetamodelElement__Group_2__1 : rule__MetamodelElement__Group_2__1__Impl ; + public final void rule__MetamodelElement__Group_2__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1208:1: ( rule__MetamodelElement__Group_2__1__Impl ) + // InternalApplicationConfiguration.g:1209:2: rule__MetamodelElement__Group_2__1__Impl + { + pushFollow(FOLLOW_2); + rule__MetamodelElement__Group_2__1__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group_2__1" + + + // $ANTLR start "rule__MetamodelElement__Group_2__1__Impl" + // InternalApplicationConfiguration.g:1215:1: rule__MetamodelElement__Group_2__1__Impl : ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) ; + public final void rule__MetamodelElement__Group_2__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1219:1: ( ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) ) + // InternalApplicationConfiguration.g:1220:1: ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) + { + // InternalApplicationConfiguration.g:1220:1: ( ( rule__MetamodelElement__FeatureAssignment_2_1 ) ) + // InternalApplicationConfiguration.g:1221:2: ( rule__MetamodelElement__FeatureAssignment_2_1 ) + { + before(grammarAccess.getMetamodelElementAccess().getFeatureAssignment_2_1()); + // InternalApplicationConfiguration.g:1222:2: ( rule__MetamodelElement__FeatureAssignment_2_1 ) + // InternalApplicationConfiguration.g:1222:3: rule__MetamodelElement__FeatureAssignment_2_1 + { + pushFollow(FOLLOW_2); + rule__MetamodelElement__FeatureAssignment_2_1(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelElementAccess().getFeatureAssignment_2_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__Group_2__1__Impl" + + + // $ANTLR start "rule__MetamodelDeclaration__Group__0" + // InternalApplicationConfiguration.g:1231:1: rule__MetamodelDeclaration__Group__0 : rule__MetamodelDeclaration__Group__0__Impl rule__MetamodelDeclaration__Group__1 ; + public final void rule__MetamodelDeclaration__Group__0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1235:1: ( rule__MetamodelDeclaration__Group__0__Impl rule__MetamodelDeclaration__Group__1 ) + // InternalApplicationConfiguration.g:1236:2: rule__MetamodelDeclaration__Group__0__Impl rule__MetamodelDeclaration__Group__1 + { + pushFollow(FOLLOW_12); + rule__MetamodelDeclaration__Group__0__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MetamodelDeclaration__Group__1(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelDeclaration__Group__0" + + + // $ANTLR start "rule__MetamodelDeclaration__Group__0__Impl" + // InternalApplicationConfiguration.g:1243:1: rule__MetamodelDeclaration__Group__0__Impl : ( 'metamodel' ) ; + public final void rule__MetamodelDeclaration__Group__0__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1247:1: ( ( 'metamodel' ) ) + // InternalApplicationConfiguration.g:1248:1: ( 'metamodel' ) + { + // InternalApplicationConfiguration.g:1248:1: ( 'metamodel' ) + // InternalApplicationConfiguration.g:1249:2: 'metamodel' + { + before(grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); + match(input,21,FOLLOW_2); + after(grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelDeclaration__Group__0__Impl" + + + // $ANTLR start "rule__MetamodelDeclaration__Group__1" + // InternalApplicationConfiguration.g:1258:1: rule__MetamodelDeclaration__Group__1 : rule__MetamodelDeclaration__Group__1__Impl rule__MetamodelDeclaration__Group__2 ; + public final void rule__MetamodelDeclaration__Group__1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1262:1: ( rule__MetamodelDeclaration__Group__1__Impl rule__MetamodelDeclaration__Group__2 ) + // InternalApplicationConfiguration.g:1263:2: rule__MetamodelDeclaration__Group__1__Impl rule__MetamodelDeclaration__Group__2 + { + pushFollow(FOLLOW_14); + rule__MetamodelDeclaration__Group__1__Impl(); + + state._fsp--; + + pushFollow(FOLLOW_2); + rule__MetamodelDeclaration__Group__2(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelDeclaration__Group__1" + + + // $ANTLR start "rule__MetamodelDeclaration__Group__1__Impl" + // InternalApplicationConfiguration.g:1270:1: rule__MetamodelDeclaration__Group__1__Impl : ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) ; + public final void rule__MetamodelDeclaration__Group__1__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1274:1: ( ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) ) + // InternalApplicationConfiguration.g:1275:1: ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) + { + // InternalApplicationConfiguration.g:1275:1: ( ( rule__MetamodelDeclaration__NameAssignment_1 ) ) + // InternalApplicationConfiguration.g:1276:2: ( rule__MetamodelDeclaration__NameAssignment_1 ) + { + before(grammarAccess.getMetamodelDeclarationAccess().getNameAssignment_1()); + // InternalApplicationConfiguration.g:1277:2: ( rule__MetamodelDeclaration__NameAssignment_1 ) + // InternalApplicationConfiguration.g:1277:3: rule__MetamodelDeclaration__NameAssignment_1 + { + pushFollow(FOLLOW_2); + rule__MetamodelDeclaration__NameAssignment_1(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelDeclarationAccess().getNameAssignment_1()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelDeclaration__Group__1__Impl" + + + // $ANTLR start "rule__MetamodelDeclaration__Group__2" + // InternalApplicationConfiguration.g:1285:1: rule__MetamodelDeclaration__Group__2 : rule__MetamodelDeclaration__Group__2__Impl ; + public final void rule__MetamodelDeclaration__Group__2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1289:1: ( rule__MetamodelDeclaration__Group__2__Impl ) + // InternalApplicationConfiguration.g:1290:2: rule__MetamodelDeclaration__Group__2__Impl + { + pushFollow(FOLLOW_2); + rule__MetamodelDeclaration__Group__2__Impl(); + + state._fsp--; + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelDeclaration__Group__2" + + + // $ANTLR start "rule__MetamodelDeclaration__Group__2__Impl" + // InternalApplicationConfiguration.g:1296:1: rule__MetamodelDeclaration__Group__2__Impl : ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) ; + public final void rule__MetamodelDeclaration__Group__2__Impl() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1300:1: ( ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) ) + // InternalApplicationConfiguration.g:1301:1: ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) + { + // InternalApplicationConfiguration.g:1301:1: ( ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) ) + // InternalApplicationConfiguration.g:1302:2: ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) + { + before(grammarAccess.getMetamodelDeclarationAccess().getSpecificationAssignment_2()); + // InternalApplicationConfiguration.g:1303:2: ( rule__MetamodelDeclaration__SpecificationAssignment_2 ) + // InternalApplicationConfiguration.g:1303:3: rule__MetamodelDeclaration__SpecificationAssignment_2 + { + pushFollow(FOLLOW_2); + rule__MetamodelDeclaration__SpecificationAssignment_2(); + + state._fsp--; + + + } + + after(grammarAccess.getMetamodelDeclarationAccess().getSpecificationAssignment_2()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelDeclaration__Group__2__Impl" + + + // $ANTLR start "rule__ConfigurationScript__ImportsAssignment_0" + // InternalApplicationConfiguration.g:1312:1: rule__ConfigurationScript__ImportsAssignment_0 : ( ruleImport ) ; + public final void rule__ConfigurationScript__ImportsAssignment_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1316:1: ( ( ruleImport ) ) + // InternalApplicationConfiguration.g:1317:2: ( ruleImport ) + { + // InternalApplicationConfiguration.g:1317:2: ( ruleImport ) + // InternalApplicationConfiguration.g:1318:3: ruleImport + { + before(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); + pushFollow(FOLLOW_2); + ruleImport(); + + state._fsp--; + + after(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigurationScript__ImportsAssignment_0" + + + // $ANTLR start "rule__ConfigurationScript__CommandsAssignment_1" + // InternalApplicationConfiguration.g:1327:1: rule__ConfigurationScript__CommandsAssignment_1 : ( ruleCommand ) ; + public final void rule__ConfigurationScript__CommandsAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1331:1: ( ( ruleCommand ) ) + // InternalApplicationConfiguration.g:1332:2: ( ruleCommand ) + { + // InternalApplicationConfiguration.g:1332:2: ( ruleCommand ) + // InternalApplicationConfiguration.g:1333:3: ruleCommand + { + before(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleCommand(); + + state._fsp--; + + after(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ConfigurationScript__CommandsAssignment_1" + + + // $ANTLR start "rule__EPackageImport__ImportedPackageAssignment_2" + // InternalApplicationConfiguration.g:1342:1: rule__EPackageImport__ImportedPackageAssignment_2 : ( ( RULE_STRING ) ) ; + public final void rule__EPackageImport__ImportedPackageAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1346:1: ( ( ( RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:1347:2: ( ( RULE_STRING ) ) + { + // InternalApplicationConfiguration.g:1347:2: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:1348:3: ( RULE_STRING ) + { + before(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); + // InternalApplicationConfiguration.g:1349:3: ( RULE_STRING ) + // InternalApplicationConfiguration.g:1350:4: RULE_STRING + { + before(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1()); + match(input,RULE_STRING,FOLLOW_2); + after(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageSTRINGTerminalRuleCall_2_0_1()); + + } + + after(grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__EPackageImport__ImportedPackageAssignment_2" + + + // $ANTLR start "rule__ViatraImport__ImportedViatraAssignment_2" + // InternalApplicationConfiguration.g:1361:1: rule__ViatraImport__ImportedViatraAssignment_2 : ( ( RULE_STRING ) ) ; + public final void rule__ViatraImport__ImportedViatraAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1365:1: ( ( ( RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:1366:2: ( ( RULE_STRING ) ) + { + // InternalApplicationConfiguration.g:1366:2: ( ( RULE_STRING ) ) + // InternalApplicationConfiguration.g:1367:3: ( RULE_STRING ) + { + before(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); + // InternalApplicationConfiguration.g:1368:3: ( RULE_STRING ) + // InternalApplicationConfiguration.g:1369:4: RULE_STRING + { + before(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1()); + match(input,RULE_STRING,FOLLOW_2); + after(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1()); + + } + + after(grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__ViatraImport__ImportedViatraAssignment_2" + + + // $ANTLR start "rule__MetamodelSpecification__EntriesAssignment_1" + // InternalApplicationConfiguration.g:1380:1: rule__MetamodelSpecification__EntriesAssignment_1 : ( ruleMetamodelEntry ) ; + public final void rule__MetamodelSpecification__EntriesAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1384:1: ( ( ruleMetamodelEntry ) ) + // InternalApplicationConfiguration.g:1385:2: ( ruleMetamodelEntry ) + { + // InternalApplicationConfiguration.g:1385:2: ( ruleMetamodelEntry ) + // InternalApplicationConfiguration.g:1386:3: ruleMetamodelEntry + { + before(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); + pushFollow(FOLLOW_2); + ruleMetamodelEntry(); + + state._fsp--; + + after(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__EntriesAssignment_1" + + + // $ANTLR start "rule__MetamodelSpecification__EntriesAssignment_2_1" + // InternalApplicationConfiguration.g:1395:1: rule__MetamodelSpecification__EntriesAssignment_2_1 : ( ruleMetamodelEntry ) ; + public final void rule__MetamodelSpecification__EntriesAssignment_2_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1399:1: ( ( ruleMetamodelEntry ) ) + // InternalApplicationConfiguration.g:1400:2: ( ruleMetamodelEntry ) + { + // InternalApplicationConfiguration.g:1400:2: ( ruleMetamodelEntry ) + // InternalApplicationConfiguration.g:1401:3: ruleMetamodelEntry + { + before(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); + pushFollow(FOLLOW_2); + ruleMetamodelEntry(); + + state._fsp--; + + after(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelSpecification__EntriesAssignment_2_1" + + + // $ANTLR start "rule__AllPackageEntry__PackageAssignment_1" + // InternalApplicationConfiguration.g:1410:1: rule__AllPackageEntry__PackageAssignment_1 : ( ( RULE_ID ) ) ; + public final void rule__AllPackageEntry__PackageAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1414:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:1415:2: ( ( RULE_ID ) ) + { + // InternalApplicationConfiguration.g:1415:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:1416:3: ( RULE_ID ) + { + before(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); + // InternalApplicationConfiguration.g:1417:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:1418:4: RULE_ID + { + before(grammarAccess.getAllPackageEntryAccess().getPackageEPackageIDTerminalRuleCall_1_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getAllPackageEntryAccess().getPackageEPackageIDTerminalRuleCall_1_0_1()); + + } + + after(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__PackageAssignment_1" + + + // $ANTLR start "rule__AllPackageEntry__ExclusionAssignment_2_2" + // InternalApplicationConfiguration.g:1429:1: rule__AllPackageEntry__ExclusionAssignment_2_2 : ( ruleMetamodelElement ) ; + public final void rule__AllPackageEntry__ExclusionAssignment_2_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1433:1: ( ( ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:1434:2: ( ruleMetamodelElement ) + { + // InternalApplicationConfiguration.g:1434:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:1435:3: ruleMetamodelElement + { + before(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); + pushFollow(FOLLOW_2); + ruleMetamodelElement(); + + state._fsp--; + + after(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__ExclusionAssignment_2_2" + + + // $ANTLR start "rule__AllPackageEntry__ExclusionAssignment_2_3_1" + // InternalApplicationConfiguration.g:1444:1: rule__AllPackageEntry__ExclusionAssignment_2_3_1 : ( ruleMetamodelElement ) ; + public final void rule__AllPackageEntry__ExclusionAssignment_2_3_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1448:1: ( ( ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:1449:2: ( ruleMetamodelElement ) + { + // InternalApplicationConfiguration.g:1449:2: ( ruleMetamodelElement ) + // InternalApplicationConfiguration.g:1450:3: ruleMetamodelElement + { + before(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); + pushFollow(FOLLOW_2); + ruleMetamodelElement(); + + state._fsp--; + + after(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__AllPackageEntry__ExclusionAssignment_2_3_1" + + + // $ANTLR start "rule__MetamodelElement__PackageAssignment_0_0" + // InternalApplicationConfiguration.g:1459:1: rule__MetamodelElement__PackageAssignment_0_0 : ( ( RULE_ID ) ) ; + public final void rule__MetamodelElement__PackageAssignment_0_0() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1463:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:1464:2: ( ( RULE_ID ) ) + { + // InternalApplicationConfiguration.g:1464:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:1465:3: ( RULE_ID ) + { + before(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); + // InternalApplicationConfiguration.g:1466:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:1467:4: RULE_ID + { + before(grammarAccess.getMetamodelElementAccess().getPackageEPackageIDTerminalRuleCall_0_0_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getMetamodelElementAccess().getPackageEPackageIDTerminalRuleCall_0_0_0_1()); + + } + + after(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__PackageAssignment_0_0" + + + // $ANTLR start "rule__MetamodelElement__ClassifierAssignment_1" + // InternalApplicationConfiguration.g:1478:1: rule__MetamodelElement__ClassifierAssignment_1 : ( ( RULE_ID ) ) ; + public final void rule__MetamodelElement__ClassifierAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1482:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:1483:2: ( ( RULE_ID ) ) + { + // InternalApplicationConfiguration.g:1483:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:1484:3: ( RULE_ID ) + { + before(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); + // InternalApplicationConfiguration.g:1485:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:1486:4: RULE_ID + { + before(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierIDTerminalRuleCall_1_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierIDTerminalRuleCall_1_0_1()); + + } + + after(grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__ClassifierAssignment_1" + + + // $ANTLR start "rule__MetamodelElement__FeatureAssignment_2_1" + // InternalApplicationConfiguration.g:1497:1: rule__MetamodelElement__FeatureAssignment_2_1 : ( ( RULE_ID ) ) ; + public final void rule__MetamodelElement__FeatureAssignment_2_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1501:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:1502:2: ( ( RULE_ID ) ) + { + // InternalApplicationConfiguration.g:1502:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:1503:3: ( RULE_ID ) + { + before(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); + // InternalApplicationConfiguration.g:1504:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:1505:4: RULE_ID + { + before(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementIDTerminalRuleCall_2_1_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementIDTerminalRuleCall_2_1_0_1()); + + } + + after(grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelElement__FeatureAssignment_2_1" + + + // $ANTLR start "rule__MetamodelDeclaration__NameAssignment_1" + // InternalApplicationConfiguration.g:1516:1: rule__MetamodelDeclaration__NameAssignment_1 : ( RULE_ID ) ; + public final void rule__MetamodelDeclaration__NameAssignment_1() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1520:1: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:1521:2: ( RULE_ID ) + { + // InternalApplicationConfiguration.g:1521:2: ( RULE_ID ) + // InternalApplicationConfiguration.g:1522:3: RULE_ID + { + before(grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelDeclaration__NameAssignment_1" + + + // $ANTLR start "rule__MetamodelDeclaration__SpecificationAssignment_2" + // InternalApplicationConfiguration.g:1531:1: rule__MetamodelDeclaration__SpecificationAssignment_2 : ( ruleMetamodelSpecification ) ; + public final void rule__MetamodelDeclaration__SpecificationAssignment_2() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1535:1: ( ( ruleMetamodelSpecification ) ) + // InternalApplicationConfiguration.g:1536:2: ( ruleMetamodelSpecification ) + { + // InternalApplicationConfiguration.g:1536:2: ( ruleMetamodelSpecification ) + // InternalApplicationConfiguration.g:1537:3: ruleMetamodelSpecification + { + before(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); + pushFollow(FOLLOW_2); + ruleMetamodelSpecification(); + + state._fsp--; + + after(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelDeclaration__SpecificationAssignment_2" + + + // $ANTLR start "rule__MetamodelReference__ReferredAssignment" + // InternalApplicationConfiguration.g:1546:1: rule__MetamodelReference__ReferredAssignment : ( ( RULE_ID ) ) ; + public final void rule__MetamodelReference__ReferredAssignment() throws RecognitionException { + + int stackSize = keepStackSize(); + + try { + // InternalApplicationConfiguration.g:1550:1: ( ( ( RULE_ID ) ) ) + // InternalApplicationConfiguration.g:1551:2: ( ( RULE_ID ) ) + { + // InternalApplicationConfiguration.g:1551:2: ( ( RULE_ID ) ) + // InternalApplicationConfiguration.g:1552:3: ( RULE_ID ) + { + before(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); + // InternalApplicationConfiguration.g:1553:3: ( RULE_ID ) + // InternalApplicationConfiguration.g:1554:4: RULE_ID + { + before(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationIDTerminalRuleCall_0_1()); + match(input,RULE_ID,FOLLOW_2); + after(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationIDTerminalRuleCall_0_1()); + + } + + after(grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); + + } + + + } + + } + catch (RecognitionException re) { + reportError(re); + recover(input,re); + } + finally { + + restoreStackSize(stackSize); + + } + return ; + } + // $ANTLR end "rule__MetamodelReference__ReferredAssignment" + + // Delegated rules + + + + + public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); + public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000200000L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000000802L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000200002L}); + public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000000010L}); + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000002000L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000020020L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000018000L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000010002L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000040000L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000100000L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000000080000L}); + +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf