From 0a31d5448e92d915c7163c3985fa0807f67d3f06 Mon Sep 17 00:00:00 2001 From: OszkarSemerath Date: Wed, 17 Jan 2018 00:54:44 +0100 Subject: Scoping and linking of Viatra Packages and Patterns is completed --- .../model/generated/ApplicationConfiguration.ecore | 137 +- .../generated/ApplicationConfiguration.genmodel | 115 +- ...tractApplicationConfigurationRuntimeModule.java | 7 + .../application/ApplicationConfiguration.xtextbin | Bin 3428 -> 8997 bytes .../ApplicationConfigurationFactory.java | 369 +- .../ApplicationConfigurationPackage.java | 3290 ++++++- .../applicationConfiguration/Declaration.java | 32 + .../MetamodelDeclaration.java | 27 - .../impl/ApplicationConfigurationFactoryImpl.java | 545 +- .../impl/ApplicationConfigurationPackageImpl.java | 1629 +++- .../impl/DeclarationImpl.java | 136 + .../impl/MetamodelDeclarationImpl.java | 71 - .../ApplicationConfigurationAdapterFactory.java | 808 +- .../util/ApplicationConfigurationSwitch.java | 969 ++- .../internal/InternalApplicationConfiguration.g | 2526 +++++- .../InternalApplicationConfiguration.tokens | 80 +- .../InternalApplicationConfigurationLexer.java | 1404 ++- .../InternalApplicationConfigurationParser.java | 9144 ++++++++++++++++++-- .../ApplicationConfigurationSemanticSequencer.java | 586 +- .../ApplicationConfigurationGrammarAccess.java | 2187 ++++- .../application/ApplicationConfiguration.xtext | 140 +- .../ApplicationConfigurationLinkingService.xtend | 54 +- .../ApplicationConfigurationScopeProvider.xtend | 63 +- 23 files changed, 22624 insertions(+), 1695 deletions(-) (limited to 'Application/hu.bme.mit.inf.dslreasoner.application') diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/model/generated/ApplicationConfiguration.ecore b/Application/hu.bme.mit.inf.dslreasoner.application/model/generated/ApplicationConfiguration.ecore index cd6ed927..90093cf2 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/model/generated/ApplicationConfiguration.ecore +++ b/Application/hu.bme.mit.inf.dslreasoner.application/model/generated/ApplicationConfiguration.ecore @@ -9,7 +9,6 @@ eType="#//Command" containment="true"/> - @@ -17,6 +16,20 @@ + + + + + + + + + + + + + @@ -33,7 +46,6 @@ - @@ -41,4 +53,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/model/generated/ApplicationConfiguration.genmodel b/Application/hu.bme.mit.inf.dslreasoner.application/model/generated/ApplicationConfiguration.genmodel index add67f1e..7c488ef0 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/model/generated/ApplicationConfiguration.genmodel +++ b/Application/hu.bme.mit.inf.dslreasoner.application/model/generated/ApplicationConfiguration.genmodel @@ -6,12 +6,16 @@ complianceLevel="6.0" copyrightFields="false" runtimeVersion="2.12" usedGenPackages="platform:/resource/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore platform:/resource/org.eclipse.viatra.query.patternlanguage/model/generated/PatternLanguage.genmodel#//patternLanguage"> + + + + + - @@ -19,6 +23,19 @@ + + + + + + + + + + + + + @@ -33,12 +50,106 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/AbstractApplicationConfigurationRuntimeModule.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/AbstractApplicationConfigurationRuntimeModule.java index e7d271aa..9ce8c30d 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/AbstractApplicationConfigurationRuntimeModule.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/AbstractApplicationConfigurationRuntimeModule.java @@ -27,9 +27,11 @@ import org.eclipse.xtext.parser.antlr.AntlrTokenDefProvider; import org.eclipse.xtext.parser.antlr.AntlrTokenToStringConverter; import org.eclipse.xtext.parser.antlr.IAntlrTokenFileProvider; import org.eclipse.xtext.parser.antlr.ITokenDefProvider; +import org.eclipse.xtext.parser.antlr.IUnorderedGroupHelper; import org.eclipse.xtext.parser.antlr.Lexer; import org.eclipse.xtext.parser.antlr.LexerBindings; import org.eclipse.xtext.parser.antlr.LexerProvider; +import org.eclipse.xtext.parser.antlr.UnorderedGroupHelper; import org.eclipse.xtext.resource.IContainer; import org.eclipse.xtext.resource.IResourceDescriptions; import org.eclipse.xtext.resource.containers.IAllContainersState; @@ -135,6 +137,11 @@ public abstract class AbstractApplicationConfigurationRuntimeModule extends Defa .to(InternalApplicationConfigurationLexer.class); } + // contributed by org.eclipse.xtext.xtext.generator.parser.antlr.XtextAntlrGeneratorFragment2 + public Class bindIUnorderedGroupHelper() { + return UnorderedGroupHelper.class; + } + // contributed by org.eclipse.xtext.xtext.generator.validation.ValidatorFragment2 @SingletonBinding(eager=true) public Class bindApplicationConfigurationValidator() { diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.xtextbin b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.xtextbin index 24e7ffba..8ba07de1 100644 Binary files a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.xtextbin and b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.xtextbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java index 33fcd49f..8e81dbc7 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationFactory.java @@ -41,15 +41,6 @@ public interface ApplicationConfigurationFactory extends EFactory */ Command createCommand(); - /** - * Returns a new object of class 'Declaration'. - * - * - * @return a new object of class 'Declaration'. - * @generated - */ - Declaration createDeclaration(); - /** * Returns a new object of class 'Import'. * @@ -77,6 +68,51 @@ public interface ApplicationConfigurationFactory extends EFactory */ ViatraImport createViatraImport(); + /** + * Returns a new object of class 'Declaration'. + * + * + * @return a new object of class 'Declaration'. + * @generated + */ + Declaration createDeclaration(); + + /** + * Returns a new object of class 'File Specification'. + * + * + * @return a new object of class 'File Specification'. + * @generated + */ + FileSpecification createFileSpecification(); + + /** + * Returns a new object of class 'File Declaration'. + * + * + * @return a new object of class 'File Declaration'. + * @generated + */ + FileDeclaration createFileDeclaration(); + + /** + * Returns a new object of class 'File Reference'. + * + * + * @return a new object of class 'File Reference'. + * @generated + */ + FileReference createFileReference(); + + /** + * Returns a new object of class 'File'. + * + * + * @return a new object of class 'File'. + * @generated + */ + File createFile(); + /** * Returns a new object of class 'Metamodel Specification'. * @@ -140,6 +176,321 @@ public interface ApplicationConfigurationFactory extends EFactory */ Metamodel createMetamodel(); + /** + * Returns a new object of class 'Partial Model Specification'. + * + * + * @return a new object of class 'Partial Model Specification'. + * @generated + */ + PartialModelSpecification createPartialModelSpecification(); + + /** + * Returns a new object of class 'Partial Model Entry'. + * + * + * @return a new object of class 'Partial Model Entry'. + * @generated + */ + PartialModelEntry createPartialModelEntry(); + + /** + * Returns a new object of class 'Model Entry'. + * + * + * @return a new object of class 'Model Entry'. + * @generated + */ + ModelEntry createModelEntry(); + + /** + * Returns a new object of class 'Folder Entry'. + * + * + * @return a new object of class 'Folder Entry'. + * @generated + */ + FolderEntry createFolderEntry(); + + /** + * Returns a new object of class 'Partial Model Declaration'. + * + * + * @return a new object of class 'Partial Model Declaration'. + * @generated + */ + PartialModelDeclaration createPartialModelDeclaration(); + + /** + * Returns a new object of class 'Partial Model Reference'. + * + * + * @return a new object of class 'Partial Model Reference'. + * @generated + */ + PartialModelReference createPartialModelReference(); + + /** + * Returns a new object of class 'Partial Model'. + * + * + * @return a new object of class 'Partial Model'. + * @generated + */ + PartialModel createPartialModel(); + + /** + * Returns a new object of class 'Pattern Specification'. + * + * + * @return a new object of class 'Pattern Specification'. + * @generated + */ + PatternSpecification createPatternSpecification(); + + /** + * Returns a new object of class 'Pattern Entry'. + * + * + * @return a new object of class 'Pattern Entry'. + * @generated + */ + PatternEntry createPatternEntry(); + + /** + * Returns a new object of class 'All Pattern Entry'. + * + * + * @return a new object of class 'All Pattern Entry'. + * @generated + */ + AllPatternEntry createAllPatternEntry(); + + /** + * Returns a new object of class 'Pattern Element'. + * + * + * @return a new object of class 'Pattern Element'. + * @generated + */ + PatternElement createPatternElement(); + + /** + * Returns a new object of class 'Graph Pattern Declaration'. + * + * + * @return a new object of class 'Graph Pattern Declaration'. + * @generated + */ + GraphPatternDeclaration createGraphPatternDeclaration(); + + /** + * Returns a new object of class 'Graph Pattern Reference'. + * + * + * @return a new object of class 'Graph Pattern Reference'. + * @generated + */ + GraphPatternReference createGraphPatternReference(); + + /** + * Returns a new object of class 'Graph Pattern'. + * + * + * @return a new object of class 'Graph Pattern'. + * @generated + */ + GraphPattern createGraphPattern(); + + /** + * Returns a new object of class 'Config Specification'. + * + * + * @return a new object of class 'Config Specification'. + * @generated + */ + ConfigSpecification createConfigSpecification(); + + /** + * Returns a new object of class 'Config Declaration'. + * + * + * @return a new object of class 'Config Declaration'. + * @generated + */ + ConfigDeclaration createConfigDeclaration(); + + /** + * Returns a new object of class 'Config Entry'. + * + * + * @return a new object of class 'Config Entry'. + * @generated + */ + ConfigEntry createConfigEntry(); + + /** + * Returns a new object of class 'Config Reference'. + * + * + * @return a new object of class 'Config Reference'. + * @generated + */ + ConfigReference createConfigReference(); + + /** + * Returns a new object of class 'Config'. + * + * + * @return a new object of class 'Config'. + * @generated + */ + Config createConfig(); + + /** + * Returns a new object of class 'Scope Specification'. + * + * + * @return a new object of class 'Scope Specification'. + * @generated + */ + ScopeSpecification createScopeSpecification(); + + /** + * Returns a new object of class 'Type Scope'. + * + * + * @return a new object of class 'Type Scope'. + * @generated + */ + TypeScope createTypeScope(); + + /** + * Returns a new object of class 'Type Reference'. + * + * + * @return a new object of class 'Type Reference'. + * @generated + */ + TypeReference createTypeReference(); + + /** + * Returns a new object of class 'Class Reference'. + * + * + * @return a new object of class 'Class Reference'. + * @generated + */ + ClassReference createClassReference(); + + /** + * Returns a new object of class 'Object Reference'. + * + * + * @return a new object of class 'Object Reference'. + * @generated + */ + ObjectReference createObjectReference(); + + /** + * Returns a new object of class 'Integer Reference'. + * + * + * @return a new object of class 'Integer Reference'. + * @generated + */ + IntegerReference createIntegerReference(); + + /** + * Returns a new object of class 'Real Reference'. + * + * + * @return a new object of class 'Real Reference'. + * @generated + */ + RealReference createRealReference(); + + /** + * Returns a new object of class 'String Reference'. + * + * + * @return a new object of class 'String Reference'. + * @generated + */ + StringReference createStringReference(); + + /** + * Returns a new object of class 'Scope Declaration'. + * + * + * @return a new object of class 'Scope Declaration'. + * @generated + */ + ScopeDeclaration createScopeDeclaration(); + + /** + * Returns a new object of class 'Scope Reference'. + * + * + * @return a new object of class 'Scope Reference'. + * @generated + */ + ScopeReference createScopeReference(); + + /** + * Returns a new object of class 'Scope'. + * + * + * @return a new object of class 'Scope'. + * @generated + */ + Scope createScope(); + + /** + * Returns a new object of class 'Task'. + * + * + * @return a new object of class 'Task'. + * @generated + */ + Task createTask(); + + /** + * Returns a new object of class 'Generation Task'. + * + * + * @return a new object of class 'Generation Task'. + * @generated + */ + GenerationTask createGenerationTask(); + + /** + * Returns a new object of class 'Integer Scope'. + * + * + * @return a new object of class 'Integer Scope'. + * @generated + */ + IntegerScope createIntegerScope(); + + /** + * Returns a new object of class 'Real Scope'. + * + * + * @return a new object of class 'Real Scope'. + * @generated + */ + RealScope createRealScope(); + + /** + * Returns a new object of class 'String Scope'. + * + * + * @return a new object of class 'String Scope'. + * @generated + */ + StringScope createStringScope(); + /** * Returns the package supported by this factory. * diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationPackage.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationPackage.java index 55c40d38..782b5890 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationPackage.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ApplicationConfigurationPackage.java @@ -5,6 +5,7 @@ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; @@ -113,25 +114,6 @@ public interface ApplicationConfigurationPackage extends EPackage */ int COMMAND_FEATURE_COUNT = 0; - /** - * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl Declaration}' class. - * - * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDeclaration() - * @generated - */ - int DECLARATION = 2; - - /** - * The number of structural features of the 'Declaration' class. - * - * - * @generated - * @ordered - */ - int DECLARATION_FEATURE_COUNT = COMMAND_FEATURE_COUNT + 0; - /** * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ImportImpl Import}' class. * @@ -140,7 +122,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getImport() * @generated */ - int IMPORT = 3; + int IMPORT = 2; /** * The number of structural features of the 'Import' class. @@ -159,7 +141,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getEPackageImport() * @generated */ - int EPACKAGE_IMPORT = 4; + int EPACKAGE_IMPORT = 3; /** * The feature id for the 'Imported Package' reference. @@ -187,7 +169,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getViatraImport() * @generated */ - int VIATRA_IMPORT = 5; + int VIATRA_IMPORT = 4; /** * The feature id for the 'Imported Viatra' reference. @@ -207,6 +189,146 @@ public interface ApplicationConfigurationPackage extends EPackage */ int VIATRA_IMPORT_FEATURE_COUNT = IMPORT_FEATURE_COUNT + 1; + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDeclaration() + * @generated + */ + int DECLARATION = 5; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int DECLARATION__NAME = COMMAND_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Declaration' class. + * + * + * @generated + * @ordered + */ + int DECLARATION_FEATURE_COUNT = COMMAND_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileImpl File}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFile() + * @generated + */ + int FILE = 9; + + /** + * The number of structural features of the 'File' class. + * + * + * @generated + * @ordered + */ + int FILE_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileSpecificationImpl File Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFileSpecification() + * @generated + */ + int FILE_SPECIFICATION = 6; + + /** + * The feature id for the 'Path' attribute. + * + * + * @generated + * @ordered + */ + int FILE_SPECIFICATION__PATH = FILE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'File Specification' class. + * + * + * @generated + * @ordered + */ + int FILE_SPECIFICATION_FEATURE_COUNT = FILE_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileDeclarationImpl File Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFileDeclaration() + * @generated + */ + int FILE_DECLARATION = 7; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int FILE_DECLARATION__NAME = DECLARATION__NAME; + + /** + * The feature id for the 'Specification' containment reference. + * + * + * @generated + * @ordered + */ + int FILE_DECLARATION__SPECIFICATION = DECLARATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'File Declaration' class. + * + * + * @generated + * @ordered + */ + int FILE_DECLARATION_FEATURE_COUNT = DECLARATION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileReferenceImpl File Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFileReference() + * @generated + */ + int FILE_REFERENCE = 8; + + /** + * The feature id for the 'Referred' reference. + * + * + * @generated + * @ordered + */ + int FILE_REFERENCE__REFERRED = FILE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'File Reference' class. + * + * + * @generated + * @ordered + */ + int FILE_REFERENCE_FEATURE_COUNT = FILE_FEATURE_COUNT + 1; + /** * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelImpl Metamodel}' class. * @@ -215,7 +337,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodel() * @generated */ - int METAMODEL = 12; + int METAMODEL = 16; /** * The number of structural features of the 'Metamodel' class. @@ -234,7 +356,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelSpecification() * @generated */ - int METAMODEL_SPECIFICATION = 6; + int METAMODEL_SPECIFICATION = 10; /** * The feature id for the 'Entries' containment reference list. @@ -262,7 +384,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelEntry() * @generated */ - int METAMODEL_ENTRY = 7; + int METAMODEL_ENTRY = 11; /** * The feature id for the 'Package' reference. @@ -290,7 +412,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getAllPackageEntry() * @generated */ - int ALL_PACKAGE_ENTRY = 8; + int ALL_PACKAGE_ENTRY = 12; /** * The feature id for the 'Package' reference. @@ -327,7 +449,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelElement() * @generated */ - int METAMODEL_ELEMENT = 9; + int METAMODEL_ELEMENT = 13; /** * The feature id for the 'Package' reference. @@ -373,7 +495,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelDeclaration() * @generated */ - int METAMODEL_DECLARATION = 10; + int METAMODEL_DECLARATION = 14; /** * The feature id for the 'Name' attribute. @@ -382,7 +504,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @generated * @ordered */ - int METAMODEL_DECLARATION__NAME = DECLARATION_FEATURE_COUNT + 0; + int METAMODEL_DECLARATION__NAME = DECLARATION__NAME; /** * The feature id for the 'Specification' containment reference. @@ -391,7 +513,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @generated * @ordered */ - int METAMODEL_DECLARATION__SPECIFICATION = DECLARATION_FEATURE_COUNT + 1; + int METAMODEL_DECLARATION__SPECIFICATION = DECLARATION_FEATURE_COUNT + 0; /** * The number of structural features of the 'Metamodel Declaration' class. @@ -400,7 +522,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @generated * @ordered */ - int METAMODEL_DECLARATION_FEATURE_COUNT = DECLARATION_FEATURE_COUNT + 2; + int METAMODEL_DECLARATION_FEATURE_COUNT = DECLARATION_FEATURE_COUNT + 1; /** * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelReferenceImpl Metamodel Reference}' class. @@ -410,7 +532,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelReference() * @generated */ - int METAMODEL_REFERENCE = 11; + int METAMODEL_REFERENCE = 15; /** * The feature id for the 'Referred' reference. @@ -430,481 +552,3021 @@ public interface ApplicationConfigurationPackage extends EPackage */ int METAMODEL_REFERENCE_FEATURE_COUNT = METAMODEL_FEATURE_COUNT + 1; - /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript Configuration Script}'. + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelImpl Partial Model}' class. * * - * @return the meta object for class 'Configuration Script'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModel() * @generated */ - EClass getConfigurationScript(); + int PARTIAL_MODEL = 23; /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getImports Imports}'. + * The number of structural features of the 'Partial Model' class. * * - * @return the meta object for the containment reference list 'Imports'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getImports() - * @see #getConfigurationScript() * @generated + * @ordered */ - EReference getConfigurationScript_Imports(); + int PARTIAL_MODEL_FEATURE_COUNT = 0; /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getCommands Commands}'. + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelSpecificationImpl Partial Model Specification}' class. * * - * @return the meta object for the containment reference list 'Commands'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getCommands() - * @see #getConfigurationScript() + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelSpecification() * @generated */ - EReference getConfigurationScript_Commands(); + int PARTIAL_MODEL_SPECIFICATION = 17; /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command Command}'. + * The feature id for the 'Entry' containment reference list. * * - * @return the meta object for class 'Command'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command * @generated + * @ordered */ - EClass getCommand(); + int PARTIAL_MODEL_SPECIFICATION__ENTRY = PARTIAL_MODEL_FEATURE_COUNT + 0; /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration Declaration}'. + * The number of structural features of the 'Partial Model Specification' class. * * - * @return the meta object for class 'Declaration'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration * @generated + * @ordered */ - EClass getDeclaration(); + int PARTIAL_MODEL_SPECIFICATION_FEATURE_COUNT = PARTIAL_MODEL_FEATURE_COUNT + 1; /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import Import}'. + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelEntryImpl Partial Model Entry}' class. * * - * @return the meta object for class 'Import'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelEntry() * @generated */ - EClass getImport(); + int PARTIAL_MODEL_ENTRY = 18; /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport EPackage Import}'. + * The feature id for the 'Path' containment reference. * * - * @return the meta object for class 'EPackage Import'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport * @generated + * @ordered */ - EClass getEPackageImport(); + int PARTIAL_MODEL_ENTRY__PATH = 0; /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport#getImportedPackage Imported Package}'. + * The number of structural features of the 'Partial Model Entry' class. * * - * @return the meta object for the reference 'Imported Package'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport#getImportedPackage() - * @see #getEPackageImport() * @generated + * @ordered */ - EReference getEPackageImport_ImportedPackage(); + int PARTIAL_MODEL_ENTRY_FEATURE_COUNT = 1; /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport Viatra Import}'. + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ModelEntryImpl Model Entry}' class. * * - * @return the meta object for class 'Viatra Import'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ModelEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getModelEntry() * @generated */ - EClass getViatraImport(); + int MODEL_ENTRY = 19; /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport#getImportedViatra Imported Viatra}'. + * The feature id for the 'Path' containment reference. * * - * @return the meta object for the reference 'Imported Viatra'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport#getImportedViatra() - * @see #getViatraImport() * @generated + * @ordered */ - EReference getViatraImport_ImportedViatra(); + int MODEL_ENTRY__PATH = PARTIAL_MODEL_ENTRY__PATH; /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification Metamodel Specification}'. + * The number of structural features of the 'Model Entry' class. * * - * @return the meta object for class 'Metamodel Specification'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification * @generated + * @ordered */ - EClass getMetamodelSpecification(); + int MODEL_ENTRY_FEATURE_COUNT = PARTIAL_MODEL_ENTRY_FEATURE_COUNT + 0; /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification#getEntries Entries}'. + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FolderEntryImpl Folder Entry}' class. * * - * @return the meta object for the containment reference list 'Entries'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification#getEntries() - * @see #getMetamodelSpecification() + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FolderEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFolderEntry() * @generated */ - EReference getMetamodelSpecification_Entries(); + int FOLDER_ENTRY = 20; /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry Metamodel Entry}'. + * The feature id for the 'Path' containment reference. * * - * @return the meta object for class 'Metamodel Entry'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry * @generated + * @ordered */ - EClass getMetamodelEntry(); + int FOLDER_ENTRY__PATH = PARTIAL_MODEL_ENTRY__PATH; /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry#getPackage Package}'. + * The feature id for the 'Exclusion' containment reference list. * * - * @return the meta object for the reference 'Package'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry#getPackage() - * @see #getMetamodelEntry() * @generated + * @ordered */ - EReference getMetamodelEntry_Package(); + int FOLDER_ENTRY__EXCLUSION = PARTIAL_MODEL_ENTRY_FEATURE_COUNT + 0; /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry All Package Entry}'. + * The number of structural features of the 'Folder Entry' class. * * - * @return the meta object for class 'All Package Entry'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry * @generated + * @ordered */ - EClass getAllPackageEntry(); + int FOLDER_ENTRY_FEATURE_COUNT = PARTIAL_MODEL_ENTRY_FEATURE_COUNT + 1; /** - * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry#getExclusion Exclusion}'. + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelDeclarationImpl Partial Model Declaration}' class. * * - * @return the meta object for the containment reference list 'Exclusion'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry#getExclusion() - * @see #getAllPackageEntry() + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelDeclaration() * @generated */ - EReference getAllPackageEntry_Exclusion(); + int PARTIAL_MODEL_DECLARATION = 21; /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement Metamodel Element}'. + * The feature id for the 'Name' attribute. * * - * @return the meta object for class 'Metamodel Element'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement * @generated + * @ordered */ - EClass getMetamodelElement(); + int PARTIAL_MODEL_DECLARATION__NAME = DECLARATION__NAME; /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getClassifier Classifier}'. + * The feature id for the 'Specification' containment reference. * * - * @return the meta object for the reference 'Classifier'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getClassifier() - * @see #getMetamodelElement() * @generated + * @ordered */ - EReference getMetamodelElement_Classifier(); + int PARTIAL_MODEL_DECLARATION__SPECIFICATION = DECLARATION_FEATURE_COUNT + 0; /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getFeature Feature}'. + * The number of structural features of the 'Partial Model Declaration' class. * * - * @return the meta object for the reference 'Feature'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getFeature() - * @see #getMetamodelElement() * @generated + * @ordered */ - EReference getMetamodelElement_Feature(); + int PARTIAL_MODEL_DECLARATION_FEATURE_COUNT = DECLARATION_FEATURE_COUNT + 1; /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration Metamodel Declaration}'. + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelReferenceImpl Partial Model Reference}' class. * * - * @return the meta object for class 'Metamodel Declaration'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelReference() * @generated */ - EClass getMetamodelDeclaration(); + int PARTIAL_MODEL_REFERENCE = 22; /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getName Name}'. + * The feature id for the 'Referred' reference. * * - * @return the meta object for the attribute 'Name'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getName() - * @see #getMetamodelDeclaration() * @generated + * @ordered */ - EAttribute getMetamodelDeclaration_Name(); + int PARTIAL_MODEL_REFERENCE__REFERRED = PARTIAL_MODEL_FEATURE_COUNT + 0; /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getSpecification Specification}'. + * The number of structural features of the 'Partial Model Reference' class. * * - * @return the meta object for the containment reference 'Specification'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getSpecification() - * @see #getMetamodelDeclaration() * @generated + * @ordered */ - EReference getMetamodelDeclaration_Specification(); + int PARTIAL_MODEL_REFERENCE_FEATURE_COUNT = PARTIAL_MODEL_FEATURE_COUNT + 1; /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference Metamodel Reference}'. + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternImpl Graph Pattern}' class. * * - * @return the meta object for class 'Metamodel Reference'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGraphPattern() * @generated */ - EClass getMetamodelReference(); + int GRAPH_PATTERN = 30; /** - * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference#getReferred Referred}'. + * The number of structural features of the 'Graph Pattern' class. * * - * @return the meta object for the reference 'Referred'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference#getReferred() - * @see #getMetamodelReference() * @generated + * @ordered */ - EReference getMetamodelReference_Referred(); + int GRAPH_PATTERN_FEATURE_COUNT = 0; /** - * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel Metamodel}'. + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternSpecificationImpl Pattern Specification}' class. * * - * @return the meta object for class 'Metamodel'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPatternSpecification() * @generated */ - EClass getMetamodel(); + int PATTERN_SPECIFICATION = 24; /** - * Returns the factory that creates the instances of the model. + * The feature id for the 'Entries' containment reference list. * * - * @return the factory that creates the instances of the model. * @generated + * @ordered */ - ApplicationConfigurationFactory getApplicationConfigurationFactory(); + int PATTERN_SPECIFICATION__ENTRIES = GRAPH_PATTERN_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Pattern Specification' class. + * + * + * @generated + * @ordered + */ + int PATTERN_SPECIFICATION_FEATURE_COUNT = GRAPH_PATTERN_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternEntryImpl Pattern Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPatternEntry() + * @generated + */ + int PATTERN_ENTRY = 25; + + /** + * The feature id for the 'Package' reference. + * + * + * @generated + * @ordered + */ + int PATTERN_ENTRY__PACKAGE = 0; + + /** + * The number of structural features of the 'Pattern Entry' class. + * + * + * @generated + * @ordered + */ + int PATTERN_ENTRY_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPatternEntryImpl All Pattern Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPatternEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getAllPatternEntry() + * @generated + */ + int ALL_PATTERN_ENTRY = 26; + + /** + * The feature id for the 'Package' reference. + * + * + * @generated + * @ordered + */ + int ALL_PATTERN_ENTRY__PACKAGE = PATTERN_ENTRY__PACKAGE; + + /** + * The feature id for the 'Exclusuion' containment reference list. + * + * + * @generated + * @ordered + */ + int ALL_PATTERN_ENTRY__EXCLUSUION = PATTERN_ENTRY_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'All Pattern Entry' class. + * + * + * @generated + * @ordered + */ + int ALL_PATTERN_ENTRY_FEATURE_COUNT = PATTERN_ENTRY_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternElementImpl Pattern Element}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternElementImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPatternElement() + * @generated + */ + int PATTERN_ELEMENT = 27; + + /** + * The feature id for the 'Package' reference. + * + * + * @generated + * @ordered + */ + int PATTERN_ELEMENT__PACKAGE = PATTERN_ENTRY__PACKAGE; + + /** + * The feature id for the 'Pattern' reference. + * + * + * @generated + * @ordered + */ + int PATTERN_ELEMENT__PATTERN = PATTERN_ENTRY_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Pattern Element' class. + * + * + * @generated + * @ordered + */ + int PATTERN_ELEMENT_FEATURE_COUNT = PATTERN_ENTRY_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternDeclarationImpl Graph Pattern Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGraphPatternDeclaration() + * @generated + */ + int GRAPH_PATTERN_DECLARATION = 28; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int GRAPH_PATTERN_DECLARATION__NAME = DECLARATION__NAME; + + /** + * The feature id for the 'Specification' containment reference. + * + * + * @generated + * @ordered + */ + int GRAPH_PATTERN_DECLARATION__SPECIFICATION = DECLARATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Graph Pattern Declaration' class. + * + * + * @generated + * @ordered + */ + int GRAPH_PATTERN_DECLARATION_FEATURE_COUNT = DECLARATION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternReferenceImpl Graph Pattern Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGraphPatternReference() + * @generated + */ + int GRAPH_PATTERN_REFERENCE = 29; + + /** + * The feature id for the 'Referred' reference. + * + * + * @generated + * @ordered + */ + int GRAPH_PATTERN_REFERENCE__REFERRED = GRAPH_PATTERN_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Graph Pattern Reference' class. + * + * + * @generated + * @ordered + */ + int GRAPH_PATTERN_REFERENCE_FEATURE_COUNT = GRAPH_PATTERN_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigImpl Config}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfig() + * @generated + */ + int CONFIG = 35; + + /** + * The number of structural features of the 'Config' class. + * + * + * @generated + * @ordered + */ + int CONFIG_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigSpecificationImpl Config Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigSpecification() + * @generated + */ + int CONFIG_SPECIFICATION = 31; + + /** + * The feature id for the 'Entries' containment reference list. + * + * + * @generated + * @ordered + */ + int CONFIG_SPECIFICATION__ENTRIES = CONFIG_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Config Specification' class. + * + * + * @generated + * @ordered + */ + int CONFIG_SPECIFICATION_FEATURE_COUNT = CONFIG_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigDeclarationImpl Config Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigDeclaration() + * @generated + */ + int CONFIG_DECLARATION = 32; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int CONFIG_DECLARATION__NAME = DECLARATION__NAME; + + /** + * The feature id for the 'Specification' containment reference. + * + * + * @generated + * @ordered + */ + int CONFIG_DECLARATION__SPECIFICATION = DECLARATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Config Declaration' class. + * + * + * @generated + * @ordered + */ + int CONFIG_DECLARATION_FEATURE_COUNT = DECLARATION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigEntryImpl Config Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigEntry() + * @generated + */ + int CONFIG_ENTRY = 33; + + /** + * The feature id for the 'Key' attribute. + * + * + * @generated + * @ordered + */ + int CONFIG_ENTRY__KEY = 0; + + /** + * The feature id for the 'Value' attribute. + * + * + * @generated + * @ordered + */ + int CONFIG_ENTRY__VALUE = 1; + + /** + * The number of structural features of the 'Config Entry' class. + * + * + * @generated + * @ordered + */ + int CONFIG_ENTRY_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigReferenceImpl Config Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigReference() + * @generated + */ + int CONFIG_REFERENCE = 34; + + /** + * The feature id for the 'Config' reference. + * + * + * @generated + * @ordered + */ + int CONFIG_REFERENCE__CONFIG = CONFIG_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Config Reference' class. + * + * + * @generated + * @ordered + */ + int CONFIG_REFERENCE_FEATURE_COUNT = CONFIG_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeImpl Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScope() + * @generated + */ + int SCOPE = 46; + + /** + * The number of structural features of the 'Scope' class. + * + * + * @generated + * @ordered + */ + int SCOPE_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeSpecificationImpl Scope Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeSpecification() + * @generated + */ + int SCOPE_SPECIFICATION = 36; + + /** + * The feature id for the 'Scopes' containment reference list. + * + * + * @generated + * @ordered + */ + int SCOPE_SPECIFICATION__SCOPES = SCOPE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Scope Specification' class. + * + * + * @generated + * @ordered + */ + int SCOPE_SPECIFICATION_FEATURE_COUNT = SCOPE_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl Type Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTypeScope() + * @generated + */ + int TYPE_SCOPE = 37; + + /** + * The feature id for the 'Min' attribute. + * + * + * @generated + * @ordered + */ + int TYPE_SCOPE__MIN = 0; + + /** + * The feature id for the 'Greather' attribute. + * + * + * @generated + * @ordered + */ + int TYPE_SCOPE__GREATHER = 1; + + /** + * The feature id for the 'Greater Or Equal' attribute. + * + * + * @generated + * @ordered + */ + int TYPE_SCOPE__GREATER_OR_EQUAL = 2; + + /** + * The feature id for the 'Type' containment reference. + * + * + * @generated + * @ordered + */ + int TYPE_SCOPE__TYPE = 3; + + /** + * The feature id for the 'Less' attribute. + * + * + * @generated + * @ordered + */ + int TYPE_SCOPE__LESS = 4; + + /** + * The feature id for the 'Less Or Equal' attribute. + * + * + * @generated + * @ordered + */ + int TYPE_SCOPE__LESS_OR_EQUAL = 5; + + /** + * The feature id for the 'Max' attribute. + * + * + * @generated + * @ordered + */ + int TYPE_SCOPE__MAX = 6; + + /** + * The number of structural features of the 'Type Scope' class. + * + * + * @generated + * @ordered + */ + int TYPE_SCOPE_FEATURE_COUNT = 7; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeReferenceImpl Type Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTypeReference() + * @generated + */ + int TYPE_REFERENCE = 38; + + /** + * The number of structural features of the 'Type Reference' class. + * + * + * @generated + * @ordered + */ + int TYPE_REFERENCE_FEATURE_COUNT = 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassReferenceImpl Class Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getClassReference() + * @generated + */ + int CLASS_REFERENCE = 39; + + /** + * The feature id for the 'Element' containment reference. + * + * + * @generated + * @ordered + */ + int CLASS_REFERENCE__ELEMENT = TYPE_REFERENCE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Class Reference' class. + * + * + * @generated + * @ordered + */ + int CLASS_REFERENCE_FEATURE_COUNT = TYPE_REFERENCE_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectReferenceImpl Object Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectReference() + * @generated + */ + int OBJECT_REFERENCE = 40; + + /** + * The number of structural features of the 'Object Reference' class. + * + * + * @generated + * @ordered + */ + int OBJECT_REFERENCE_FEATURE_COUNT = TYPE_REFERENCE_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerReferenceImpl Integer Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerReference() + * @generated + */ + int INTEGER_REFERENCE = 41; + + /** + * The number of structural features of the 'Integer Reference' class. + * + * + * @generated + * @ordered + */ + int INTEGER_REFERENCE_FEATURE_COUNT = TYPE_REFERENCE_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealReferenceImpl Real Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealReference() + * @generated + */ + int REAL_REFERENCE = 42; + + /** + * The number of structural features of the 'Real Reference' class. + * + * + * @generated + * @ordered + */ + int REAL_REFERENCE_FEATURE_COUNT = TYPE_REFERENCE_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringReferenceImpl String Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringReference() + * @generated + */ + int STRING_REFERENCE = 43; + + /** + * The number of structural features of the 'String Reference' class. + * + * + * @generated + * @ordered + */ + int STRING_REFERENCE_FEATURE_COUNT = TYPE_REFERENCE_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeDeclarationImpl Scope Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeDeclaration() + * @generated + */ + int SCOPE_DECLARATION = 44; + + /** + * The feature id for the 'Name' attribute. + * + * + * @generated + * @ordered + */ + int SCOPE_DECLARATION__NAME = DECLARATION__NAME; + + /** + * The feature id for the 'Specification' containment reference. + * + * + * @generated + * @ordered + */ + int SCOPE_DECLARATION__SPECIFICATION = DECLARATION_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Scope Declaration' class. + * + * + * @generated + * @ordered + */ + int SCOPE_DECLARATION_FEATURE_COUNT = DECLARATION_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeReferenceImpl Scope Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeReference() + * @generated + */ + int SCOPE_REFERENCE = 45; + + /** + * The feature id for the 'Referred' reference. + * + * + * @generated + * @ordered + */ + int SCOPE_REFERENCE__REFERRED = SCOPE_FEATURE_COUNT + 0; + + /** + * The number of structural features of the 'Scope Reference' class. + * + * + * @generated + * @ordered + */ + int SCOPE_REFERENCE_FEATURE_COUNT = SCOPE_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TaskImpl Task}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TaskImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTask() + * @generated + */ + int TASK = 47; + + /** + * The number of structural features of the 'Task' class. + * + * + * @generated + * @ordered + */ + int TASK_FEATURE_COUNT = COMMAND_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl Generation Task}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGenerationTask() + * @generated + */ + int GENERATION_TASK = 48; + + /** + * The feature id for the 'Metamodel' containment reference. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__METAMODEL = TASK_FEATURE_COUNT + 0; + + /** + * The feature id for the 'Partial Model' containment reference. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__PARTIAL_MODEL = TASK_FEATURE_COUNT + 1; + + /** + * The feature id for the 'Patterns' containment reference. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__PATTERNS = TASK_FEATURE_COUNT + 2; + + /** + * The feature id for the 'Scope' containment reference. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__SCOPE = TASK_FEATURE_COUNT + 3; + + /** + * The feature id for the 'Number' attribute. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__NUMBER = TASK_FEATURE_COUNT + 4; + + /** + * The feature id for the 'Runs' attribute. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__RUNS = TASK_FEATURE_COUNT + 5; + + /** + * The feature id for the 'Solver' attribute. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__SOLVER = TASK_FEATURE_COUNT + 6; + + /** + * The feature id for the 'Config' containment reference. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__CONFIG = TASK_FEATURE_COUNT + 7; + + /** + * The feature id for the 'Taget Folder' containment reference. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__TAGET_FOLDER = TASK_FEATURE_COUNT + 8; + + /** + * The feature id for the 'Debug Folder' containment reference. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__DEBUG_FOLDER = TASK_FEATURE_COUNT + 9; + + /** + * The feature id for the 'Target Log File' containment reference. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__TARGET_LOG_FILE = TASK_FEATURE_COUNT + 10; + + /** + * The feature id for the 'Target Statistics File' containment reference. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK__TARGET_STATISTICS_FILE = TASK_FEATURE_COUNT + 11; + + /** + * The number of structural features of the 'Generation Task' class. + * + * + * @generated + * @ordered + */ + int GENERATION_TASK_FEATURE_COUNT = TASK_FEATURE_COUNT + 12; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerScopeImpl Integer Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerScope() + * @generated + */ + int INTEGER_SCOPE = 49; + + /** + * The number of structural features of the 'Integer Scope' class. + * + * + * @generated + * @ordered + */ + int INTEGER_SCOPE_FEATURE_COUNT = INTEGER_REFERENCE_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealScopeImpl Real Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealScope() + * @generated + */ + int REAL_SCOPE = 50; + + /** + * The number of structural features of the 'Real Scope' class. + * + * + * @generated + * @ordered + */ + int REAL_SCOPE_FEATURE_COUNT = REAL_REFERENCE_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringScopeImpl String Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringScope() + * @generated + */ + int STRING_SCOPE = 51; + + /** + * The number of structural features of the 'String Scope' class. + * + * + * @generated + * @ordered + */ + int STRING_SCOPE_FEATURE_COUNT = STRING_REFERENCE_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver Solver}' enum. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getSolver() + * @generated + */ + int SOLVER = 52; + + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript Configuration Script}'. + * + * + * @return the meta object for class 'Configuration Script'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript + * @generated + */ + EClass getConfigurationScript(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getImports Imports}'. + * + * + * @return the meta object for the containment reference list 'Imports'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getImports() + * @see #getConfigurationScript() + * @generated + */ + EReference getConfigurationScript_Imports(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getCommands Commands}'. + * + * + * @return the meta object for the containment reference list 'Commands'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript#getCommands() + * @see #getConfigurationScript() + * @generated + */ + EReference getConfigurationScript_Commands(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command Command}'. + * + * + * @return the meta object for class 'Command'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command + * @generated + */ + EClass getCommand(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import Import}'. + * + * + * @return the meta object for class 'Import'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import + * @generated + */ + EClass getImport(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport EPackage Import}'. + * + * + * @return the meta object for class 'EPackage Import'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport + * @generated + */ + EClass getEPackageImport(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport#getImportedPackage Imported Package}'. + * + * + * @return the meta object for the reference 'Imported Package'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport#getImportedPackage() + * @see #getEPackageImport() + * @generated + */ + EReference getEPackageImport_ImportedPackage(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport Viatra Import}'. + * + * + * @return the meta object for class 'Viatra Import'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport + * @generated + */ + EClass getViatraImport(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport#getImportedViatra Imported Viatra}'. + * + * + * @return the meta object for the reference 'Imported Viatra'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport#getImportedViatra() + * @see #getViatraImport() + * @generated + */ + EReference getViatraImport_ImportedViatra(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration Declaration}'. + * + * + * @return the meta object for class 'Declaration'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration + * @generated + */ + EClass getDeclaration(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration#getName Name}'. + * + * + * @return the meta object for the attribute 'Name'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration#getName() + * @see #getDeclaration() + * @generated + */ + EAttribute getDeclaration_Name(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification File Specification}'. + * + * + * @return the meta object for class 'File Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification + * @generated + */ + EClass getFileSpecification(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification#getPath Path}'. + * + * + * @return the meta object for the attribute 'Path'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification#getPath() + * @see #getFileSpecification() + * @generated + */ + EAttribute getFileSpecification_Path(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration File Declaration}'. + * + * + * @return the meta object for class 'File Declaration'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration + * @generated + */ + EClass getFileDeclaration(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration#getSpecification Specification}'. + * + * + * @return the meta object for the containment reference 'Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration#getSpecification() + * @see #getFileDeclaration() + * @generated + */ + EReference getFileDeclaration_Specification(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference File Reference}'. + * + * + * @return the meta object for class 'File Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference + * @generated + */ + EClass getFileReference(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference#getReferred Referred}'. + * + * + * @return the meta object for the reference 'Referred'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference#getReferred() + * @see #getFileReference() + * @generated + */ + EReference getFileReference_Referred(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File File}'. + * + * + * @return the meta object for class 'File'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File + * @generated + */ + EClass getFile(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification Metamodel Specification}'. + * + * + * @return the meta object for class 'Metamodel Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification + * @generated + */ + EClass getMetamodelSpecification(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification#getEntries Entries}'. + * + * + * @return the meta object for the containment reference list 'Entries'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification#getEntries() + * @see #getMetamodelSpecification() + * @generated + */ + EReference getMetamodelSpecification_Entries(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry Metamodel Entry}'. + * + * + * @return the meta object for class 'Metamodel Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry + * @generated + */ + EClass getMetamodelEntry(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry#getPackage Package}'. + * + * + * @return the meta object for the reference 'Package'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry#getPackage() + * @see #getMetamodelEntry() + * @generated + */ + EReference getMetamodelEntry_Package(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry All Package Entry}'. + * + * + * @return the meta object for class 'All Package Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry + * @generated + */ + EClass getAllPackageEntry(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry#getExclusion Exclusion}'. + * + * + * @return the meta object for the containment reference list 'Exclusion'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry#getExclusion() + * @see #getAllPackageEntry() + * @generated + */ + EReference getAllPackageEntry_Exclusion(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement Metamodel Element}'. + * + * + * @return the meta object for class 'Metamodel Element'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement + * @generated + */ + EClass getMetamodelElement(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getClassifier Classifier}'. + * + * + * @return the meta object for the reference 'Classifier'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getClassifier() + * @see #getMetamodelElement() + * @generated + */ + EReference getMetamodelElement_Classifier(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getFeature Feature}'. + * + * + * @return the meta object for the reference 'Feature'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement#getFeature() + * @see #getMetamodelElement() + * @generated + */ + EReference getMetamodelElement_Feature(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration Metamodel Declaration}'. + * + * + * @return the meta object for class 'Metamodel Declaration'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration + * @generated + */ + EClass getMetamodelDeclaration(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getSpecification Specification}'. + * + * + * @return the meta object for the containment reference 'Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getSpecification() + * @see #getMetamodelDeclaration() + * @generated + */ + EReference getMetamodelDeclaration_Specification(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference Metamodel Reference}'. + * + * + * @return the meta object for class 'Metamodel Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference + * @generated + */ + EClass getMetamodelReference(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference#getReferred Referred}'. + * + * + * @return the meta object for the reference 'Referred'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference#getReferred() + * @see #getMetamodelReference() + * @generated + */ + EReference getMetamodelReference_Referred(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel Metamodel}'. + * + * + * @return the meta object for class 'Metamodel'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel + * @generated + */ + EClass getMetamodel(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification Partial Model Specification}'. + * + * + * @return the meta object for class 'Partial Model Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification + * @generated + */ + EClass getPartialModelSpecification(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification#getEntry Entry}'. + * + * + * @return the meta object for the containment reference list 'Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification#getEntry() + * @see #getPartialModelSpecification() + * @generated + */ + EReference getPartialModelSpecification_Entry(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry Partial Model Entry}'. + * + * + * @return the meta object for class 'Partial Model Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry + * @generated + */ + EClass getPartialModelEntry(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry#getPath Path}'. + * + * + * @return the meta object for the containment reference 'Path'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry#getPath() + * @see #getPartialModelEntry() + * @generated + */ + EReference getPartialModelEntry_Path(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry Model Entry}'. + * + * + * @return the meta object for class 'Model Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry + * @generated + */ + EClass getModelEntry(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry Folder Entry}'. + * + * + * @return the meta object for class 'Folder Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry + * @generated + */ + EClass getFolderEntry(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry#getExclusion Exclusion}'. + * + * + * @return the meta object for the containment reference list 'Exclusion'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry#getExclusion() + * @see #getFolderEntry() + * @generated + */ + EReference getFolderEntry_Exclusion(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration Partial Model Declaration}'. + * + * + * @return the meta object for class 'Partial Model Declaration'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration + * @generated + */ + EClass getPartialModelDeclaration(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration#getSpecification Specification}'. + * + * + * @return the meta object for the containment reference 'Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration#getSpecification() + * @see #getPartialModelDeclaration() + * @generated + */ + EReference getPartialModelDeclaration_Specification(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference Partial Model Reference}'. + * + * + * @return the meta object for class 'Partial Model Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference + * @generated + */ + EClass getPartialModelReference(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference#getReferred Referred}'. + * + * + * @return the meta object for the reference 'Referred'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference#getReferred() + * @see #getPartialModelReference() + * @generated + */ + EReference getPartialModelReference_Referred(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel Partial Model}'. + * + * + * @return the meta object for class 'Partial Model'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel + * @generated + */ + EClass getPartialModel(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification Pattern Specification}'. + * + * + * @return the meta object for class 'Pattern Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification + * @generated + */ + EClass getPatternSpecification(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification#getEntries Entries}'. + * + * + * @return the meta object for the containment reference list 'Entries'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification#getEntries() + * @see #getPatternSpecification() + * @generated + */ + EReference getPatternSpecification_Entries(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry Pattern Entry}'. + * + * + * @return the meta object for class 'Pattern Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry + * @generated + */ + EClass getPatternEntry(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry#getPackage Package}'. + * + * + * @return the meta object for the reference 'Package'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry#getPackage() + * @see #getPatternEntry() + * @generated + */ + EReference getPatternEntry_Package(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry All Pattern Entry}'. + * + * + * @return the meta object for class 'All Pattern Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry + * @generated + */ + EClass getAllPatternEntry(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry#getExclusuion Exclusuion}'. + * + * + * @return the meta object for the containment reference list 'Exclusuion'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry#getExclusuion() + * @see #getAllPatternEntry() + * @generated + */ + EReference getAllPatternEntry_Exclusuion(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement Pattern Element}'. + * + * + * @return the meta object for class 'Pattern Element'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement + * @generated + */ + EClass getPatternElement(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement#getPattern Pattern}'. + * + * + * @return the meta object for the reference 'Pattern'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement#getPattern() + * @see #getPatternElement() + * @generated + */ + EReference getPatternElement_Pattern(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration Graph Pattern Declaration}'. + * + * + * @return the meta object for class 'Graph Pattern Declaration'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration + * @generated + */ + EClass getGraphPatternDeclaration(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration#getSpecification Specification}'. + * + * + * @return the meta object for the containment reference 'Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration#getSpecification() + * @see #getGraphPatternDeclaration() + * @generated + */ + EReference getGraphPatternDeclaration_Specification(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference Graph Pattern Reference}'. + * + * + * @return the meta object for class 'Graph Pattern Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference + * @generated + */ + EClass getGraphPatternReference(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference#getReferred Referred}'. + * + * + * @return the meta object for the reference 'Referred'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference#getReferred() + * @see #getGraphPatternReference() + * @generated + */ + EReference getGraphPatternReference_Referred(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPattern Graph Pattern}'. + * + * + * @return the meta object for class 'Graph Pattern'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPattern + * @generated + */ + EClass getGraphPattern(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification Config Specification}'. + * + * + * @return the meta object for class 'Config Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification + * @generated + */ + EClass getConfigSpecification(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification#getEntries Entries}'. + * + * + * @return the meta object for the containment reference list 'Entries'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification#getEntries() + * @see #getConfigSpecification() + * @generated + */ + EReference getConfigSpecification_Entries(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration Config Declaration}'. + * + * + * @return the meta object for class 'Config Declaration'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration + * @generated + */ + EClass getConfigDeclaration(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration#getSpecification Specification}'. + * + * + * @return the meta object for the containment reference 'Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration#getSpecification() + * @see #getConfigDeclaration() + * @generated + */ + EReference getConfigDeclaration_Specification(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry Config Entry}'. + * + * + * @return the meta object for class 'Config Entry'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry + * @generated + */ + EClass getConfigEntry(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry#getKey Key}'. + * + * + * @return the meta object for the attribute 'Key'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry#getKey() + * @see #getConfigEntry() + * @generated + */ + EAttribute getConfigEntry_Key(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry#getValue Value}'. + * + * + * @return the meta object for the attribute 'Value'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry#getValue() + * @see #getConfigEntry() + * @generated + */ + EAttribute getConfigEntry_Value(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference Config Reference}'. + * + * + * @return the meta object for class 'Config Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference + * @generated + */ + EClass getConfigReference(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference#getConfig Config}'. + * + * + * @return the meta object for the reference 'Config'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference#getConfig() + * @see #getConfigReference() + * @generated + */ + EReference getConfigReference_Config(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Config Config}'. + * + * + * @return the meta object for class 'Config'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Config + * @generated + */ + EClass getConfig(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification Scope Specification}'. + * + * + * @return the meta object for class 'Scope Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification + * @generated + */ + EClass getScopeSpecification(); + + /** + * Returns the meta object for the containment reference list '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification#getScopes Scopes}'. + * + * + * @return the meta object for the containment reference list 'Scopes'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification#getScopes() + * @see #getScopeSpecification() + * @generated + */ + EReference getScopeSpecification_Scopes(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope Type Scope}'. + * + * + * @return the meta object for class 'Type Scope'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope + * @generated + */ + EClass getTypeScope(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getMin Min}'. + * + * + * @return the meta object for the attribute 'Min'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getMin() + * @see #getTypeScope() + * @generated + */ + EAttribute getTypeScope_Min(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isGreather Greather}'. + * + * + * @return the meta object for the attribute 'Greather'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isGreather() + * @see #getTypeScope() + * @generated + */ + EAttribute getTypeScope_Greather(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isGreaterOrEqual Greater Or Equal}'. + * + * + * @return the meta object for the attribute 'Greater Or Equal'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isGreaterOrEqual() + * @see #getTypeScope() + * @generated + */ + EAttribute getTypeScope_GreaterOrEqual(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getType Type}'. + * + * + * @return the meta object for the containment reference 'Type'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getType() + * @see #getTypeScope() + * @generated + */ + EReference getTypeScope_Type(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isLess Less}'. + * + * + * @return the meta object for the attribute 'Less'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isLess() + * @see #getTypeScope() + * @generated + */ + EAttribute getTypeScope_Less(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isLessOrEqual Less Or Equal}'. + * + * + * @return the meta object for the attribute 'Less Or Equal'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isLessOrEqual() + * @see #getTypeScope() + * @generated + */ + EAttribute getTypeScope_LessOrEqual(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getMax Max}'. + * + * + * @return the meta object for the attribute 'Max'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getMax() + * @see #getTypeScope() + * @generated + */ + EAttribute getTypeScope_Max(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeReference Type Reference}'. + * + * + * @return the meta object for class 'Type Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeReference + * @generated + */ + EClass getTypeReference(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference Class Reference}'. + * + * + * @return the meta object for class 'Class Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference + * @generated + */ + EClass getClassReference(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference#getElement Element}'. + * + * + * @return the meta object for the containment reference 'Element'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference#getElement() + * @see #getClassReference() + * @generated + */ + EReference getClassReference_Element(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference Object Reference}'. + * + * + * @return the meta object for class 'Object Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference + * @generated + */ + EClass getObjectReference(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerReference Integer Reference}'. + * + * + * @return the meta object for class 'Integer Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerReference + * @generated + */ + EClass getIntegerReference(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference Real Reference}'. + * + * + * @return the meta object for class 'Real Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference + * @generated + */ + EClass getRealReference(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringReference String Reference}'. + * + * + * @return the meta object for class 'String Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringReference + * @generated + */ + EClass getStringReference(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration Scope Declaration}'. + * + * + * @return the meta object for class 'Scope Declaration'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration + * @generated + */ + EClass getScopeDeclaration(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration#getSpecification Specification}'. + * + * + * @return the meta object for the containment reference 'Specification'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration#getSpecification() + * @see #getScopeDeclaration() + * @generated + */ + EReference getScopeDeclaration_Specification(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference Scope Reference}'. + * + * + * @return the meta object for class 'Scope Reference'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference + * @generated + */ + EClass getScopeReference(); + + /** + * Returns the meta object for the reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference#getReferred Referred}'. + * + * + * @return the meta object for the reference 'Referred'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference#getReferred() + * @see #getScopeReference() + * @generated + */ + EReference getScopeReference_Referred(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope Scope}'. + * + * + * @return the meta object for class 'Scope'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope + * @generated + */ + EClass getScope(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Task Task}'. + * + * + * @return the meta object for class 'Task'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Task + * @generated + */ + EClass getTask(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask Generation Task}'. + * + * + * @return the meta object for class 'Generation Task'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask + * @generated + */ + EClass getGenerationTask(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getMetamodel Metamodel}'. + * + * + * @return the meta object for the containment reference 'Metamodel'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getMetamodel() + * @see #getGenerationTask() + * @generated + */ + EReference getGenerationTask_Metamodel(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getPartialModel Partial Model}'. + * + * + * @return the meta object for the containment reference 'Partial Model'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getPartialModel() + * @see #getGenerationTask() + * @generated + */ + EReference getGenerationTask_PartialModel(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getPatterns Patterns}'. + * + * + * @return the meta object for the containment reference 'Patterns'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getPatterns() + * @see #getGenerationTask() + * @generated + */ + EReference getGenerationTask_Patterns(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getScope Scope}'. + * + * + * @return the meta object for the containment reference 'Scope'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getScope() + * @see #getGenerationTask() + * @generated + */ + EReference getGenerationTask_Scope(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getNumber Number}'. + * + * + * @return the meta object for the attribute 'Number'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getNumber() + * @see #getGenerationTask() + * @generated + */ + EAttribute getGenerationTask_Number(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getRuns Runs}'. + * + * + * @return the meta object for the attribute 'Runs'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getRuns() + * @see #getGenerationTask() + * @generated + */ + EAttribute getGenerationTask_Runs(); + + /** + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getSolver Solver}'. + * + * + * @return the meta object for the attribute 'Solver'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getSolver() + * @see #getGenerationTask() + * @generated + */ + EAttribute getGenerationTask_Solver(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getConfig Config}'. + * + * + * @return the meta object for the containment reference 'Config'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getConfig() + * @see #getGenerationTask() + * @generated + */ + EReference getGenerationTask_Config(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTagetFolder Taget Folder}'. + * + * + * @return the meta object for the containment reference 'Taget Folder'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTagetFolder() + * @see #getGenerationTask() + * @generated + */ + EReference getGenerationTask_TagetFolder(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getDebugFolder Debug Folder}'. + * + * + * @return the meta object for the containment reference 'Debug Folder'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getDebugFolder() + * @see #getGenerationTask() + * @generated + */ + EReference getGenerationTask_DebugFolder(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTargetLogFile Target Log File}'. + * + * + * @return the meta object for the containment reference 'Target Log File'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTargetLogFile() + * @see #getGenerationTask() + * @generated + */ + EReference getGenerationTask_TargetLogFile(); + + /** + * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTargetStatisticsFile Target Statistics File}'. + * + * + * @return the meta object for the containment reference 'Target Statistics File'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTargetStatisticsFile() + * @see #getGenerationTask() + * @generated + */ + EReference getGenerationTask_TargetStatisticsFile(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope Integer Scope}'. + * + * + * @return the meta object for class 'Integer Scope'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope + * @generated + */ + EClass getIntegerScope(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope Real Scope}'. + * + * + * @return the meta object for class 'Real Scope'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope + * @generated + */ + EClass getRealScope(); + + /** + * Returns the meta object for class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope String Scope}'. + * + * + * @return the meta object for class 'String Scope'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope + * @generated + */ + EClass getStringScope(); + + /** + * Returns the meta object for enum '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver Solver}'. + * + * + * @return the meta object for enum 'Solver'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver + * @generated + */ + EEnum getSolver(); + + /** + * Returns the factory that creates the instances of the model. + * + * + * @return the factory that creates the instances of the model. + * @generated + */ + ApplicationConfigurationFactory getApplicationConfigurationFactory(); + + /** + * + * Defines literals for the meta objects that represent + *
    + *
  • each class,
  • + *
  • each feature of each class,
  • + *
  • each enum,
  • + *
  • and each data type
  • + *
+ * + * @generated + */ + interface Literals + { + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigurationScriptImpl Configuration Script}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigurationScriptImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigurationScript() + * @generated + */ + EClass CONFIGURATION_SCRIPT = eINSTANCE.getConfigurationScript(); + + /** + * The meta object literal for the 'Imports' containment reference list feature. + * + * + * @generated + */ + EReference CONFIGURATION_SCRIPT__IMPORTS = eINSTANCE.getConfigurationScript_Imports(); + + /** + * The meta object literal for the 'Commands' containment reference list feature. + * + * + * @generated + */ + EReference CONFIGURATION_SCRIPT__COMMANDS = eINSTANCE.getConfigurationScript_Commands(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CommandImpl Command}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CommandImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCommand() + * @generated + */ + EClass COMMAND = eINSTANCE.getCommand(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ImportImpl Import}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ImportImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getImport() + * @generated + */ + EClass IMPORT = eINSTANCE.getImport(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.EPackageImportImpl EPackage Import}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.EPackageImportImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getEPackageImport() + * @generated + */ + EClass EPACKAGE_IMPORT = eINSTANCE.getEPackageImport(); + + /** + * The meta object literal for the 'Imported Package' reference feature. + * + * + * @generated + */ + EReference EPACKAGE_IMPORT__IMPORTED_PACKAGE = eINSTANCE.getEPackageImport_ImportedPackage(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ViatraImportImpl Viatra Import}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ViatraImportImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getViatraImport() + * @generated + */ + EClass VIATRA_IMPORT = eINSTANCE.getViatraImport(); + + /** + * The meta object literal for the 'Imported Viatra' reference feature. + * + * + * @generated + */ + EReference VIATRA_IMPORT__IMPORTED_VIATRA = eINSTANCE.getViatraImport_ImportedViatra(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDeclaration() + * @generated + */ + EClass DECLARATION = eINSTANCE.getDeclaration(); + + /** + * The meta object literal for the 'Name' attribute feature. + * + * + * @generated + */ + EAttribute DECLARATION__NAME = eINSTANCE.getDeclaration_Name(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileSpecificationImpl File Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFileSpecification() + * @generated + */ + EClass FILE_SPECIFICATION = eINSTANCE.getFileSpecification(); + + /** + * The meta object literal for the 'Path' attribute feature. + * + * + * @generated + */ + EAttribute FILE_SPECIFICATION__PATH = eINSTANCE.getFileSpecification_Path(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileDeclarationImpl File Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFileDeclaration() + * @generated + */ + EClass FILE_DECLARATION = eINSTANCE.getFileDeclaration(); + + /** + * The meta object literal for the 'Specification' containment reference feature. + * + * + * @generated + */ + EReference FILE_DECLARATION__SPECIFICATION = eINSTANCE.getFileDeclaration_Specification(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileReferenceImpl File Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFileReference() + * @generated + */ + EClass FILE_REFERENCE = eINSTANCE.getFileReference(); + + /** + * The meta object literal for the 'Referred' reference feature. + * + * + * @generated + */ + EReference FILE_REFERENCE__REFERRED = eINSTANCE.getFileReference_Referred(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileImpl File}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFile() + * @generated + */ + EClass FILE = eINSTANCE.getFile(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelSpecificationImpl Metamodel Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelSpecification() + * @generated + */ + EClass METAMODEL_SPECIFICATION = eINSTANCE.getMetamodelSpecification(); + + /** + * The meta object literal for the 'Entries' containment reference list feature. + * + * + * @generated + */ + EReference METAMODEL_SPECIFICATION__ENTRIES = eINSTANCE.getMetamodelSpecification_Entries(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelEntryImpl Metamodel Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelEntry() + * @generated + */ + EClass METAMODEL_ENTRY = eINSTANCE.getMetamodelEntry(); + + /** + * The meta object literal for the 'Package' reference feature. + * + * + * @generated + */ + EReference METAMODEL_ENTRY__PACKAGE = eINSTANCE.getMetamodelEntry_Package(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPackageEntryImpl All Package Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPackageEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getAllPackageEntry() + * @generated + */ + EClass ALL_PACKAGE_ENTRY = eINSTANCE.getAllPackageEntry(); + + /** + * The meta object literal for the 'Exclusion' containment reference list feature. + * + * + * @generated + */ + EReference ALL_PACKAGE_ENTRY__EXCLUSION = eINSTANCE.getAllPackageEntry_Exclusion(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl Metamodel Element}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelElement() + * @generated + */ + EClass METAMODEL_ELEMENT = eINSTANCE.getMetamodelElement(); + + /** + * The meta object literal for the 'Classifier' reference feature. + * + * + * @generated + */ + EReference METAMODEL_ELEMENT__CLASSIFIER = eINSTANCE.getMetamodelElement_Classifier(); + + /** + * The meta object literal for the 'Feature' reference feature. + * + * + * @generated + */ + EReference METAMODEL_ELEMENT__FEATURE = eINSTANCE.getMetamodelElement_Feature(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl Metamodel Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelDeclaration() + * @generated + */ + EClass METAMODEL_DECLARATION = eINSTANCE.getMetamodelDeclaration(); + + /** + * The meta object literal for the 'Specification' containment reference feature. + * + * + * @generated + */ + EReference METAMODEL_DECLARATION__SPECIFICATION = eINSTANCE.getMetamodelDeclaration_Specification(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelReferenceImpl Metamodel Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelReference() + * @generated + */ + EClass METAMODEL_REFERENCE = eINSTANCE.getMetamodelReference(); + + /** + * The meta object literal for the 'Referred' reference feature. + * + * + * @generated + */ + EReference METAMODEL_REFERENCE__REFERRED = eINSTANCE.getMetamodelReference_Referred(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelImpl Metamodel}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodel() + * @generated + */ + EClass METAMODEL = eINSTANCE.getMetamodel(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelSpecificationImpl Partial Model Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelSpecification() + * @generated + */ + EClass PARTIAL_MODEL_SPECIFICATION = eINSTANCE.getPartialModelSpecification(); + + /** + * The meta object literal for the 'Entry' containment reference list feature. + * + * + * @generated + */ + EReference PARTIAL_MODEL_SPECIFICATION__ENTRY = eINSTANCE.getPartialModelSpecification_Entry(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelEntryImpl Partial Model Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelEntry() + * @generated + */ + EClass PARTIAL_MODEL_ENTRY = eINSTANCE.getPartialModelEntry(); + + /** + * The meta object literal for the 'Path' containment reference feature. + * + * + * @generated + */ + EReference PARTIAL_MODEL_ENTRY__PATH = eINSTANCE.getPartialModelEntry_Path(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ModelEntryImpl Model Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ModelEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getModelEntry() + * @generated + */ + EClass MODEL_ENTRY = eINSTANCE.getModelEntry(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FolderEntryImpl Folder Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FolderEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getFolderEntry() + * @generated + */ + EClass FOLDER_ENTRY = eINSTANCE.getFolderEntry(); + + /** + * The meta object literal for the 'Exclusion' containment reference list feature. + * + * + * @generated + */ + EReference FOLDER_ENTRY__EXCLUSION = eINSTANCE.getFolderEntry_Exclusion(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelDeclarationImpl Partial Model Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelDeclaration() + * @generated + */ + EClass PARTIAL_MODEL_DECLARATION = eINSTANCE.getPartialModelDeclaration(); + + /** + * The meta object literal for the 'Specification' containment reference feature. + * + * + * @generated + */ + EReference PARTIAL_MODEL_DECLARATION__SPECIFICATION = eINSTANCE.getPartialModelDeclaration_Specification(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelReferenceImpl Partial Model Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModelReference() + * @generated + */ + EClass PARTIAL_MODEL_REFERENCE = eINSTANCE.getPartialModelReference(); + + /** + * The meta object literal for the 'Referred' reference feature. + * + * + * @generated + */ + EReference PARTIAL_MODEL_REFERENCE__REFERRED = eINSTANCE.getPartialModelReference_Referred(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelImpl Partial Model}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPartialModel() + * @generated + */ + EClass PARTIAL_MODEL = eINSTANCE.getPartialModel(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternSpecificationImpl Pattern Specification}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPatternSpecification() + * @generated + */ + EClass PATTERN_SPECIFICATION = eINSTANCE.getPatternSpecification(); + + /** + * The meta object literal for the 'Entries' containment reference list feature. + * + * + * @generated + */ + EReference PATTERN_SPECIFICATION__ENTRIES = eINSTANCE.getPatternSpecification_Entries(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternEntryImpl Pattern Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPatternEntry() + * @generated + */ + EClass PATTERN_ENTRY = eINSTANCE.getPatternEntry(); + + /** + * The meta object literal for the 'Package' reference feature. + * + * + * @generated + */ + EReference PATTERN_ENTRY__PACKAGE = eINSTANCE.getPatternEntry_Package(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPatternEntryImpl All Pattern Entry}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPatternEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getAllPatternEntry() + * @generated + */ + EClass ALL_PATTERN_ENTRY = eINSTANCE.getAllPatternEntry(); + + /** + * The meta object literal for the 'Exclusuion' containment reference list feature. + * + * + * @generated + */ + EReference ALL_PATTERN_ENTRY__EXCLUSUION = eINSTANCE.getAllPatternEntry_Exclusuion(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternElementImpl Pattern Element}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternElementImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getPatternElement() + * @generated + */ + EClass PATTERN_ELEMENT = eINSTANCE.getPatternElement(); + + /** + * The meta object literal for the 'Pattern' reference feature. + * + * + * @generated + */ + EReference PATTERN_ELEMENT__PATTERN = eINSTANCE.getPatternElement_Pattern(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternDeclarationImpl Graph Pattern Declaration}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGraphPatternDeclaration() + * @generated + */ + EClass GRAPH_PATTERN_DECLARATION = eINSTANCE.getGraphPatternDeclaration(); + + /** + * The meta object literal for the 'Specification' containment reference feature. + * + * + * @generated + */ + EReference GRAPH_PATTERN_DECLARATION__SPECIFICATION = eINSTANCE.getGraphPatternDeclaration_Specification(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternReferenceImpl Graph Pattern Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGraphPatternReference() + * @generated + */ + EClass GRAPH_PATTERN_REFERENCE = eINSTANCE.getGraphPatternReference(); - /** - * - * Defines literals for the meta objects that represent - *
    - *
  • each class,
  • - *
  • each feature of each class,
  • - *
  • each enum,
  • - *
  • and each data type
  • - *
- * - * @generated - */ - interface Literals - { /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigurationScriptImpl Configuration Script}' class. + * The meta object literal for the 'Referred' reference feature. * * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigurationScriptImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigurationScript() * @generated */ - EClass CONFIGURATION_SCRIPT = eINSTANCE.getConfigurationScript(); + EReference GRAPH_PATTERN_REFERENCE__REFERRED = eINSTANCE.getGraphPatternReference_Referred(); /** - * The meta object literal for the 'Imports' containment reference list feature. + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternImpl Graph Pattern}' class. * * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGraphPattern() * @generated */ - EReference CONFIGURATION_SCRIPT__IMPORTS = eINSTANCE.getConfigurationScript_Imports(); + EClass GRAPH_PATTERN = eINSTANCE.getGraphPattern(); /** - * The meta object literal for the 'Commands' containment reference list feature. + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigSpecificationImpl Config Specification}' class. * * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigSpecification() * @generated */ - EReference CONFIGURATION_SCRIPT__COMMANDS = eINSTANCE.getConfigurationScript_Commands(); + EClass CONFIG_SPECIFICATION = eINSTANCE.getConfigSpecification(); /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CommandImpl Command}' class. + * The meta object literal for the 'Entries' containment reference list feature. * * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.CommandImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getCommand() * @generated */ - EClass COMMAND = eINSTANCE.getCommand(); + EReference CONFIG_SPECIFICATION__ENTRIES = eINSTANCE.getConfigSpecification_Entries(); /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl Declaration}' class. + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigDeclarationImpl Config Declaration}' class. * * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getDeclaration() + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigDeclaration() * @generated */ - EClass DECLARATION = eINSTANCE.getDeclaration(); + EClass CONFIG_DECLARATION = eINSTANCE.getConfigDeclaration(); /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ImportImpl Import}' class. + * The meta object literal for the 'Specification' containment reference feature. * * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ImportImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getImport() * @generated */ - EClass IMPORT = eINSTANCE.getImport(); + EReference CONFIG_DECLARATION__SPECIFICATION = eINSTANCE.getConfigDeclaration_Specification(); /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.EPackageImportImpl EPackage Import}' class. + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigEntryImpl Config Entry}' class. * * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.EPackageImportImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getEPackageImport() + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigEntryImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigEntry() * @generated */ - EClass EPACKAGE_IMPORT = eINSTANCE.getEPackageImport(); + EClass CONFIG_ENTRY = eINSTANCE.getConfigEntry(); /** - * The meta object literal for the 'Imported Package' reference feature. + * The meta object literal for the 'Key' attribute feature. * * * @generated */ - EReference EPACKAGE_IMPORT__IMPORTED_PACKAGE = eINSTANCE.getEPackageImport_ImportedPackage(); + EAttribute CONFIG_ENTRY__KEY = eINSTANCE.getConfigEntry_Key(); /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ViatraImportImpl Viatra Import}' class. + * The meta object literal for the 'Value' attribute feature. * * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ViatraImportImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getViatraImport() * @generated */ - EClass VIATRA_IMPORT = eINSTANCE.getViatraImport(); + EAttribute CONFIG_ENTRY__VALUE = eINSTANCE.getConfigEntry_Value(); /** - * The meta object literal for the 'Imported Viatra' reference feature. + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigReferenceImpl Config Reference}' class. * * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfigReference() * @generated */ - EReference VIATRA_IMPORT__IMPORTED_VIATRA = eINSTANCE.getViatraImport_ImportedViatra(); + EClass CONFIG_REFERENCE = eINSTANCE.getConfigReference(); /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelSpecificationImpl Metamodel Specification}' class. + * The meta object literal for the 'Config' reference feature. * * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelSpecificationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelSpecification() * @generated */ - EClass METAMODEL_SPECIFICATION = eINSTANCE.getMetamodelSpecification(); + EReference CONFIG_REFERENCE__CONFIG = eINSTANCE.getConfigReference_Config(); /** - * The meta object literal for the 'Entries' containment reference list feature. + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigImpl Config}' class. * * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getConfig() * @generated */ - EReference METAMODEL_SPECIFICATION__ENTRIES = eINSTANCE.getMetamodelSpecification_Entries(); + EClass CONFIG = eINSTANCE.getConfig(); /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelEntryImpl Metamodel Entry}' class. + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeSpecificationImpl Scope Specification}' class. * * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelEntry() + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeSpecificationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeSpecification() * @generated */ - EClass METAMODEL_ENTRY = eINSTANCE.getMetamodelEntry(); + EClass SCOPE_SPECIFICATION = eINSTANCE.getScopeSpecification(); /** - * The meta object literal for the 'Package' reference feature. + * The meta object literal for the 'Scopes' containment reference list feature. * * * @generated */ - EReference METAMODEL_ENTRY__PACKAGE = eINSTANCE.getMetamodelEntry_Package(); + EReference SCOPE_SPECIFICATION__SCOPES = eINSTANCE.getScopeSpecification_Scopes(); /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPackageEntryImpl All Package Entry}' class. + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl Type Scope}' class. * * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPackageEntryImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getAllPackageEntry() + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTypeScope() * @generated */ - EClass ALL_PACKAGE_ENTRY = eINSTANCE.getAllPackageEntry(); + EClass TYPE_SCOPE = eINSTANCE.getTypeScope(); /** - * The meta object literal for the 'Exclusion' containment reference list feature. + * The meta object literal for the 'Min' attribute feature. * * * @generated */ - EReference ALL_PACKAGE_ENTRY__EXCLUSION = eINSTANCE.getAllPackageEntry_Exclusion(); + EAttribute TYPE_SCOPE__MIN = eINSTANCE.getTypeScope_Min(); /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl Metamodel Element}' class. + * The meta object literal for the 'Greather' attribute feature. * * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelElementImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelElement() * @generated */ - EClass METAMODEL_ELEMENT = eINSTANCE.getMetamodelElement(); + EAttribute TYPE_SCOPE__GREATHER = eINSTANCE.getTypeScope_Greather(); /** - * The meta object literal for the 'Classifier' reference feature. + * The meta object literal for the 'Greater Or Equal' attribute feature. * * * @generated */ - EReference METAMODEL_ELEMENT__CLASSIFIER = eINSTANCE.getMetamodelElement_Classifier(); + EAttribute TYPE_SCOPE__GREATER_OR_EQUAL = eINSTANCE.getTypeScope_GreaterOrEqual(); /** - * The meta object literal for the 'Feature' reference feature. + * The meta object literal for the 'Type' containment reference feature. * * * @generated */ - EReference METAMODEL_ELEMENT__FEATURE = eINSTANCE.getMetamodelElement_Feature(); + EReference TYPE_SCOPE__TYPE = eINSTANCE.getTypeScope_Type(); /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl Metamodel Declaration}' class. + * The meta object literal for the 'Less' attribute feature. * * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelDeclaration() * @generated */ - EClass METAMODEL_DECLARATION = eINSTANCE.getMetamodelDeclaration(); + EAttribute TYPE_SCOPE__LESS = eINSTANCE.getTypeScope_Less(); /** - * The meta object literal for the 'Name' attribute feature. + * The meta object literal for the 'Less Or Equal' attribute feature. + * + * + * @generated + */ + EAttribute TYPE_SCOPE__LESS_OR_EQUAL = eINSTANCE.getTypeScope_LessOrEqual(); + + /** + * The meta object literal for the 'Max' attribute feature. + * + * + * @generated + */ + EAttribute TYPE_SCOPE__MAX = eINSTANCE.getTypeScope_Max(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeReferenceImpl Type Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTypeReference() + * @generated + */ + EClass TYPE_REFERENCE = eINSTANCE.getTypeReference(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassReferenceImpl Class Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getClassReference() + * @generated + */ + EClass CLASS_REFERENCE = eINSTANCE.getClassReference(); + + /** + * The meta object literal for the 'Element' containment reference feature. + * + * + * @generated + */ + EReference CLASS_REFERENCE__ELEMENT = eINSTANCE.getClassReference_Element(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectReferenceImpl Object Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ObjectReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getObjectReference() + * @generated + */ + EClass OBJECT_REFERENCE = eINSTANCE.getObjectReference(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerReferenceImpl Integer Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerReference() + * @generated + */ + EClass INTEGER_REFERENCE = eINSTANCE.getIntegerReference(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealReferenceImpl Real Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealReference() + * @generated + */ + EClass REAL_REFERENCE = eINSTANCE.getRealReference(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringReferenceImpl String Reference}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringReference() + * @generated + */ + EClass STRING_REFERENCE = eINSTANCE.getStringReference(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeDeclarationImpl Scope Declaration}' class. * * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeDeclarationImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeDeclaration() * @generated */ - EAttribute METAMODEL_DECLARATION__NAME = eINSTANCE.getMetamodelDeclaration_Name(); + EClass SCOPE_DECLARATION = eINSTANCE.getScopeDeclaration(); /** * The meta object literal for the 'Specification' containment reference feature. @@ -912,17 +3574,17 @@ public interface ApplicationConfigurationPackage extends EPackage * * @generated */ - EReference METAMODEL_DECLARATION__SPECIFICATION = eINSTANCE.getMetamodelDeclaration_Specification(); + EReference SCOPE_DECLARATION__SPECIFICATION = eINSTANCE.getScopeDeclaration_Specification(); /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelReferenceImpl Metamodel Reference}' class. + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeReferenceImpl Scope Reference}' class. * * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelReferenceImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodelReference() + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeReferenceImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScopeReference() * @generated */ - EClass METAMODEL_REFERENCE = eINSTANCE.getMetamodelReference(); + EClass SCOPE_REFERENCE = eINSTANCE.getScopeReference(); /** * The meta object literal for the 'Referred' reference feature. @@ -930,17 +3592,173 @@ public interface ApplicationConfigurationPackage extends EPackage * * @generated */ - EReference METAMODEL_REFERENCE__REFERRED = eINSTANCE.getMetamodelReference_Referred(); + EReference SCOPE_REFERENCE__REFERRED = eINSTANCE.getScopeReference_Referred(); /** - * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelImpl Metamodel}' class. + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeImpl Scope}' class. * * - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelImpl - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getMetamodel() + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getScope() * @generated */ - EClass METAMODEL = eINSTANCE.getMetamodel(); + EClass SCOPE = eINSTANCE.getScope(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TaskImpl Task}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TaskImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getTask() + * @generated + */ + EClass TASK = eINSTANCE.getTask(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl Generation Task}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getGenerationTask() + * @generated + */ + EClass GENERATION_TASK = eINSTANCE.getGenerationTask(); + + /** + * The meta object literal for the 'Metamodel' containment reference feature. + * + * + * @generated + */ + EReference GENERATION_TASK__METAMODEL = eINSTANCE.getGenerationTask_Metamodel(); + + /** + * The meta object literal for the 'Partial Model' containment reference feature. + * + * + * @generated + */ + EReference GENERATION_TASK__PARTIAL_MODEL = eINSTANCE.getGenerationTask_PartialModel(); + + /** + * The meta object literal for the 'Patterns' containment reference feature. + * + * + * @generated + */ + EReference GENERATION_TASK__PATTERNS = eINSTANCE.getGenerationTask_Patterns(); + + /** + * The meta object literal for the 'Scope' containment reference feature. + * + * + * @generated + */ + EReference GENERATION_TASK__SCOPE = eINSTANCE.getGenerationTask_Scope(); + + /** + * The meta object literal for the 'Number' attribute feature. + * + * + * @generated + */ + EAttribute GENERATION_TASK__NUMBER = eINSTANCE.getGenerationTask_Number(); + + /** + * The meta object literal for the 'Runs' attribute feature. + * + * + * @generated + */ + EAttribute GENERATION_TASK__RUNS = eINSTANCE.getGenerationTask_Runs(); + + /** + * The meta object literal for the 'Solver' attribute feature. + * + * + * @generated + */ + EAttribute GENERATION_TASK__SOLVER = eINSTANCE.getGenerationTask_Solver(); + + /** + * The meta object literal for the 'Config' containment reference feature. + * + * + * @generated + */ + EReference GENERATION_TASK__CONFIG = eINSTANCE.getGenerationTask_Config(); + + /** + * The meta object literal for the 'Taget Folder' containment reference feature. + * + * + * @generated + */ + EReference GENERATION_TASK__TAGET_FOLDER = eINSTANCE.getGenerationTask_TagetFolder(); + + /** + * The meta object literal for the 'Debug Folder' containment reference feature. + * + * + * @generated + */ + EReference GENERATION_TASK__DEBUG_FOLDER = eINSTANCE.getGenerationTask_DebugFolder(); + + /** + * The meta object literal for the 'Target Log File' containment reference feature. + * + * + * @generated + */ + EReference GENERATION_TASK__TARGET_LOG_FILE = eINSTANCE.getGenerationTask_TargetLogFile(); + + /** + * The meta object literal for the 'Target Statistics File' containment reference feature. + * + * + * @generated + */ + EReference GENERATION_TASK__TARGET_STATISTICS_FILE = eINSTANCE.getGenerationTask_TargetStatisticsFile(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerScopeImpl Integer Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.IntegerScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getIntegerScope() + * @generated + */ + EClass INTEGER_SCOPE = eINSTANCE.getIntegerScope(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealScopeImpl Real Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.RealScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getRealScope() + * @generated + */ + EClass REAL_SCOPE = eINSTANCE.getRealScope(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringScopeImpl String Scope}' class. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.StringScopeImpl + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getStringScope() + * @generated + */ + EClass STRING_SCOPE = eINSTANCE.getStringScope(); + + /** + * The meta object literal for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver Solver}' enum. + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ApplicationConfigurationPackageImpl#getSolver() + * @generated + */ + EEnum SOLVER = eINSTANCE.getSolver(); } diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Declaration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Declaration.java index b1454653..91b23c39 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Declaration.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Declaration.java @@ -9,6 +9,12 @@ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; * A representation of the model object 'Declaration'. * * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration#getName Name}
  • + *
* * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getDeclaration() * @model @@ -16,4 +22,30 @@ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; */ public interface Declaration extends Command { + /** + * Returns the value of the 'Name' attribute. + * + *

+ * If the meaning of the 'Name' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getDeclaration_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + } // Declaration diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelDeclaration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelDeclaration.java index 7580d083..242d3f26 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelDeclaration.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/MetamodelDeclaration.java @@ -13,7 +13,6 @@ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; * The following features are supported: *

*
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getName Name}
  • *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getSpecification Specification}
  • *
* @@ -23,32 +22,6 @@ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; */ public interface MetamodelDeclaration extends Declaration { - /** - * Returns the value of the 'Name' attribute. - * - *

- * If the meaning of the 'Name' attribute isn't clear, - * there really should be more of a description here... - *

- * - * @return the value of the 'Name' attribute. - * @see #setName(String) - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getMetamodelDeclaration_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration#getName Name}' attribute. - * - * - * @param value the new value of the 'Name' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - /** * Returns the value of the 'Specification' containment reference. * diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java index 4ad21065..465297bb 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationFactoryImpl.java @@ -6,6 +6,7 @@ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.*; import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.EPackage; @@ -67,10 +68,14 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements { case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT: return createConfigurationScript(); case ApplicationConfigurationPackage.COMMAND: return createCommand(); - case ApplicationConfigurationPackage.DECLARATION: return createDeclaration(); case ApplicationConfigurationPackage.IMPORT: return createImport(); case ApplicationConfigurationPackage.EPACKAGE_IMPORT: return createEPackageImport(); case ApplicationConfigurationPackage.VIATRA_IMPORT: return createViatraImport(); + case ApplicationConfigurationPackage.DECLARATION: return createDeclaration(); + case ApplicationConfigurationPackage.FILE_SPECIFICATION: return createFileSpecification(); + case ApplicationConfigurationPackage.FILE_DECLARATION: return createFileDeclaration(); + case ApplicationConfigurationPackage.FILE_REFERENCE: return createFileReference(); + case ApplicationConfigurationPackage.FILE: return createFile(); case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION: return createMetamodelSpecification(); case ApplicationConfigurationPackage.METAMODEL_ENTRY: return createMetamodelEntry(); case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY: return createAllPackageEntry(); @@ -78,6 +83,41 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements case ApplicationConfigurationPackage.METAMODEL_DECLARATION: return createMetamodelDeclaration(); case ApplicationConfigurationPackage.METAMODEL_REFERENCE: return createMetamodelReference(); case ApplicationConfigurationPackage.METAMODEL: return createMetamodel(); + case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION: return createPartialModelSpecification(); + case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY: return createPartialModelEntry(); + case ApplicationConfigurationPackage.MODEL_ENTRY: return createModelEntry(); + case ApplicationConfigurationPackage.FOLDER_ENTRY: return createFolderEntry(); + case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION: return createPartialModelDeclaration(); + case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE: return createPartialModelReference(); + case ApplicationConfigurationPackage.PARTIAL_MODEL: return createPartialModel(); + case ApplicationConfigurationPackage.PATTERN_SPECIFICATION: return createPatternSpecification(); + case ApplicationConfigurationPackage.PATTERN_ENTRY: return createPatternEntry(); + case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY: return createAllPatternEntry(); + case ApplicationConfigurationPackage.PATTERN_ELEMENT: return createPatternElement(); + case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION: return createGraphPatternDeclaration(); + case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE: return createGraphPatternReference(); + case ApplicationConfigurationPackage.GRAPH_PATTERN: return createGraphPattern(); + case ApplicationConfigurationPackage.CONFIG_SPECIFICATION: return createConfigSpecification(); + case ApplicationConfigurationPackage.CONFIG_DECLARATION: return createConfigDeclaration(); + case ApplicationConfigurationPackage.CONFIG_ENTRY: return createConfigEntry(); + case ApplicationConfigurationPackage.CONFIG_REFERENCE: return createConfigReference(); + case ApplicationConfigurationPackage.CONFIG: return createConfig(); + case ApplicationConfigurationPackage.SCOPE_SPECIFICATION: return createScopeSpecification(); + case ApplicationConfigurationPackage.TYPE_SCOPE: return createTypeScope(); + case ApplicationConfigurationPackage.TYPE_REFERENCE: return createTypeReference(); + case ApplicationConfigurationPackage.CLASS_REFERENCE: return createClassReference(); + case ApplicationConfigurationPackage.OBJECT_REFERENCE: return createObjectReference(); + case ApplicationConfigurationPackage.INTEGER_REFERENCE: return createIntegerReference(); + case ApplicationConfigurationPackage.REAL_REFERENCE: return createRealReference(); + case ApplicationConfigurationPackage.STRING_REFERENCE: return createStringReference(); + case ApplicationConfigurationPackage.SCOPE_DECLARATION: return createScopeDeclaration(); + case ApplicationConfigurationPackage.SCOPE_REFERENCE: return createScopeReference(); + case ApplicationConfigurationPackage.SCOPE: return createScope(); + case ApplicationConfigurationPackage.TASK: return createTask(); + case ApplicationConfigurationPackage.GENERATION_TASK: return createGenerationTask(); + case ApplicationConfigurationPackage.INTEGER_SCOPE: return createIntegerScope(); + case ApplicationConfigurationPackage.REAL_SCOPE: return createRealScope(); + case ApplicationConfigurationPackage.STRING_SCOPE: return createStringScope(); default: throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); } @@ -88,10 +128,16 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements * * @generated */ - public ConfigurationScript createConfigurationScript() + @Override + public Object createFromString(EDataType eDataType, String initialValue) { - ConfigurationScriptImpl configurationScript = new ConfigurationScriptImpl(); - return configurationScript; + switch (eDataType.getClassifierID()) + { + case ApplicationConfigurationPackage.SOLVER: + return createSolverFromString(eDataType, initialValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } } /** @@ -99,10 +145,16 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements * * @generated */ - public Command createCommand() + @Override + public String convertToString(EDataType eDataType, Object instanceValue) { - CommandImpl command = new CommandImpl(); - return command; + switch (eDataType.getClassifierID()) + { + case ApplicationConfigurationPackage.SOLVER: + return convertSolverToString(eDataType, instanceValue); + default: + throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); + } } /** @@ -110,10 +162,21 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements * * @generated */ - public Declaration createDeclaration() + public ConfigurationScript createConfigurationScript() { - DeclarationImpl declaration = new DeclarationImpl(); - return declaration; + ConfigurationScriptImpl configurationScript = new ConfigurationScriptImpl(); + return configurationScript; + } + + /** + * + * + * @generated + */ + public Command createCommand() + { + CommandImpl command = new CommandImpl(); + return command; } /** @@ -149,6 +212,61 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements return viatraImport; } + /** + * + * + * @generated + */ + public Declaration createDeclaration() + { + DeclarationImpl declaration = new DeclarationImpl(); + return declaration; + } + + /** + * + * + * @generated + */ + public FileSpecification createFileSpecification() + { + FileSpecificationImpl fileSpecification = new FileSpecificationImpl(); + return fileSpecification; + } + + /** + * + * + * @generated + */ + public FileDeclaration createFileDeclaration() + { + FileDeclarationImpl fileDeclaration = new FileDeclarationImpl(); + return fileDeclaration; + } + + /** + * + * + * @generated + */ + public FileReference createFileReference() + { + FileReferenceImpl fileReference = new FileReferenceImpl(); + return fileReference; + } + + /** + * + * + * @generated + */ + public File createFile() + { + FileImpl file = new FileImpl(); + return file; + } + /** * * @@ -226,6 +344,413 @@ public class ApplicationConfigurationFactoryImpl extends EFactoryImpl implements return metamodel; } + /** + * + * + * @generated + */ + public PartialModelSpecification createPartialModelSpecification() + { + PartialModelSpecificationImpl partialModelSpecification = new PartialModelSpecificationImpl(); + return partialModelSpecification; + } + + /** + * + * + * @generated + */ + public PartialModelEntry createPartialModelEntry() + { + PartialModelEntryImpl partialModelEntry = new PartialModelEntryImpl(); + return partialModelEntry; + } + + /** + * + * + * @generated + */ + public ModelEntry createModelEntry() + { + ModelEntryImpl modelEntry = new ModelEntryImpl(); + return modelEntry; + } + + /** + * + * + * @generated + */ + public FolderEntry createFolderEntry() + { + FolderEntryImpl folderEntry = new FolderEntryImpl(); + return folderEntry; + } + + /** + * + * + * @generated + */ + public PartialModelDeclaration createPartialModelDeclaration() + { + PartialModelDeclarationImpl partialModelDeclaration = new PartialModelDeclarationImpl(); + return partialModelDeclaration; + } + + /** + * + * + * @generated + */ + public PartialModelReference createPartialModelReference() + { + PartialModelReferenceImpl partialModelReference = new PartialModelReferenceImpl(); + return partialModelReference; + } + + /** + * + * + * @generated + */ + public PartialModel createPartialModel() + { + PartialModelImpl partialModel = new PartialModelImpl(); + return partialModel; + } + + /** + * + * + * @generated + */ + public PatternSpecification createPatternSpecification() + { + PatternSpecificationImpl patternSpecification = new PatternSpecificationImpl(); + return patternSpecification; + } + + /** + * + * + * @generated + */ + public PatternEntry createPatternEntry() + { + PatternEntryImpl patternEntry = new PatternEntryImpl(); + return patternEntry; + } + + /** + * + * + * @generated + */ + public AllPatternEntry createAllPatternEntry() + { + AllPatternEntryImpl allPatternEntry = new AllPatternEntryImpl(); + return allPatternEntry; + } + + /** + * + * + * @generated + */ + public PatternElement createPatternElement() + { + PatternElementImpl patternElement = new PatternElementImpl(); + return patternElement; + } + + /** + * + * + * @generated + */ + public GraphPatternDeclaration createGraphPatternDeclaration() + { + GraphPatternDeclarationImpl graphPatternDeclaration = new GraphPatternDeclarationImpl(); + return graphPatternDeclaration; + } + + /** + * + * + * @generated + */ + public GraphPatternReference createGraphPatternReference() + { + GraphPatternReferenceImpl graphPatternReference = new GraphPatternReferenceImpl(); + return graphPatternReference; + } + + /** + * + * + * @generated + */ + public GraphPattern createGraphPattern() + { + GraphPatternImpl graphPattern = new GraphPatternImpl(); + return graphPattern; + } + + /** + * + * + * @generated + */ + public ConfigSpecification createConfigSpecification() + { + ConfigSpecificationImpl configSpecification = new ConfigSpecificationImpl(); + return configSpecification; + } + + /** + * + * + * @generated + */ + public ConfigDeclaration createConfigDeclaration() + { + ConfigDeclarationImpl configDeclaration = new ConfigDeclarationImpl(); + return configDeclaration; + } + + /** + * + * + * @generated + */ + public ConfigEntry createConfigEntry() + { + ConfigEntryImpl configEntry = new ConfigEntryImpl(); + return configEntry; + } + + /** + * + * + * @generated + */ + public ConfigReference createConfigReference() + { + ConfigReferenceImpl configReference = new ConfigReferenceImpl(); + return configReference; + } + + /** + * + * + * @generated + */ + public Config createConfig() + { + ConfigImpl config = new ConfigImpl(); + return config; + } + + /** + * + * + * @generated + */ + public ScopeSpecification createScopeSpecification() + { + ScopeSpecificationImpl scopeSpecification = new ScopeSpecificationImpl(); + return scopeSpecification; + } + + /** + * + * + * @generated + */ + public TypeScope createTypeScope() + { + TypeScopeImpl typeScope = new TypeScopeImpl(); + return typeScope; + } + + /** + * + * + * @generated + */ + public TypeReference createTypeReference() + { + TypeReferenceImpl typeReference = new TypeReferenceImpl(); + return typeReference; + } + + /** + * + * + * @generated + */ + public ClassReference createClassReference() + { + ClassReferenceImpl classReference = new ClassReferenceImpl(); + return classReference; + } + + /** + * + * + * @generated + */ + public ObjectReference createObjectReference() + { + ObjectReferenceImpl objectReference = new ObjectReferenceImpl(); + return objectReference; + } + + /** + * + * + * @generated + */ + public IntegerReference createIntegerReference() + { + IntegerReferenceImpl integerReference = new IntegerReferenceImpl(); + return integerReference; + } + + /** + * + * + * @generated + */ + public RealReference createRealReference() + { + RealReferenceImpl realReference = new RealReferenceImpl(); + return realReference; + } + + /** + * + * + * @generated + */ + public StringReference createStringReference() + { + StringReferenceImpl stringReference = new StringReferenceImpl(); + return stringReference; + } + + /** + * + * + * @generated + */ + public ScopeDeclaration createScopeDeclaration() + { + ScopeDeclarationImpl scopeDeclaration = new ScopeDeclarationImpl(); + return scopeDeclaration; + } + + /** + * + * + * @generated + */ + public ScopeReference createScopeReference() + { + ScopeReferenceImpl scopeReference = new ScopeReferenceImpl(); + return scopeReference; + } + + /** + * + * + * @generated + */ + public Scope createScope() + { + ScopeImpl scope = new ScopeImpl(); + return scope; + } + + /** + * + * + * @generated + */ + public Task createTask() + { + TaskImpl task = new TaskImpl(); + return task; + } + + /** + * + * + * @generated + */ + public GenerationTask createGenerationTask() + { + GenerationTaskImpl generationTask = new GenerationTaskImpl(); + return generationTask; + } + + /** + * + * + * @generated + */ + public IntegerScope createIntegerScope() + { + IntegerScopeImpl integerScope = new IntegerScopeImpl(); + return integerScope; + } + + /** + * + * + * @generated + */ + public RealScope createRealScope() + { + RealScopeImpl realScope = new RealScopeImpl(); + return realScope; + } + + /** + * + * + * @generated + */ + public StringScope createStringScope() + { + StringScopeImpl stringScope = new StringScopeImpl(); + return stringScope; + } + + /** + * + * + * @generated + */ + public Solver createSolverFromString(EDataType eDataType, String initialValue) + { + Solver result = Solver.get(initialValue); + if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); + return result; + } + + /** + * + * + * @generated + */ + public String convertSolverToString(EDataType eDataType, Object instanceValue) + { + return instanceValue == null ? null : instanceValue.toString(); + } + /** * * diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationPackageImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationPackageImpl.java index 50ad4358..a623702e 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationPackageImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ApplicationConfigurationPackageImpl.java @@ -4,23 +4,64 @@ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationFactory; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Command; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Config; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPattern; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Metamodel; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelEntry; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Task; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EEnum; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; import org.eclipse.emf.ecore.EcorePackage; @@ -51,6 +92,27 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements */ private EClass commandEClass = null; + /** + * + * + * @generated + */ + private EClass importEClass = null; + + /** + * + * + * @generated + */ + private EClass ePackageImportEClass = null; + + /** + * + * + * @generated + */ + private EClass viatraImportEClass = null; + /** * * @@ -63,89 +125,1125 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - private EClass importEClass = null; + private EClass fileSpecificationEClass = null; + + /** + * + * + * @generated + */ + private EClass fileDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass fileReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass fileEClass = null; + + /** + * + * + * @generated + */ + private EClass metamodelSpecificationEClass = null; + + /** + * + * + * @generated + */ + private EClass metamodelEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass allPackageEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass metamodelElementEClass = null; + + /** + * + * + * @generated + */ + private EClass metamodelDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass metamodelReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass metamodelEClass = null; + + /** + * + * + * @generated + */ + private EClass partialModelSpecificationEClass = null; + + /** + * + * + * @generated + */ + private EClass partialModelEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass modelEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass folderEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass partialModelDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass partialModelReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass partialModelEClass = null; + + /** + * + * + * @generated + */ + private EClass patternSpecificationEClass = null; + + /** + * + * + * @generated + */ + private EClass patternEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass allPatternEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass patternElementEClass = null; + + /** + * + * + * @generated + */ + private EClass graphPatternDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass graphPatternReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass graphPatternEClass = null; + + /** + * + * + * @generated + */ + private EClass configSpecificationEClass = null; + + /** + * + * + * @generated + */ + private EClass configDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass configEntryEClass = null; + + /** + * + * + * @generated + */ + private EClass configReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass configEClass = null; + + /** + * + * + * @generated + */ + private EClass scopeSpecificationEClass = null; + + /** + * + * + * @generated + */ + private EClass typeScopeEClass = null; + + /** + * + * + * @generated + */ + private EClass typeReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass classReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass objectReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass integerReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass realReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass stringReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass scopeDeclarationEClass = null; + + /** + * + * + * @generated + */ + private EClass scopeReferenceEClass = null; + + /** + * + * + * @generated + */ + private EClass scopeEClass = null; + + /** + * + * + * @generated + */ + private EClass taskEClass = null; + + /** + * + * + * @generated + */ + private EClass generationTaskEClass = null; + + /** + * + * + * @generated + */ + private EClass integerScopeEClass = null; + + /** + * + * + * @generated + */ + private EClass realScopeEClass = null; + + /** + * + * + * @generated + */ + private EClass stringScopeEClass = null; + + /** + * + * + * @generated + */ + private EEnum solverEEnum = null; + + /** + * Creates an instance of the model Package, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + *

Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * + * + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#eNS_URI + * @see #init() + * @generated + */ + private ApplicationConfigurationPackageImpl() + { + super(eNS_URI, ApplicationConfigurationFactory.eINSTANCE); + } + + /** + * + * + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. + * + *

This method is used to initialize {@link ApplicationConfigurationPackage#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * + * + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static ApplicationConfigurationPackage init() + { + if (isInited) return (ApplicationConfigurationPackage)EPackage.Registry.INSTANCE.getEPackage(ApplicationConfigurationPackage.eNS_URI); + + // Obtain or create and register package + ApplicationConfigurationPackageImpl theApplicationConfigurationPackage = (ApplicationConfigurationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ApplicationConfigurationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ApplicationConfigurationPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + EcorePackage.eINSTANCE.eClass(); + PatternLanguagePackage.eINSTANCE.eClass(); + + // Create package meta-data objects + theApplicationConfigurationPackage.createPackageContents(); + + // Initialize created meta-data + theApplicationConfigurationPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theApplicationConfigurationPackage.freeze(); + + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(ApplicationConfigurationPackage.eNS_URI, theApplicationConfigurationPackage); + return theApplicationConfigurationPackage; + } + + /** + * + * + * @generated + */ + public EClass getConfigurationScript() + { + return configurationScriptEClass; + } + + /** + * + * + * @generated + */ + public EReference getConfigurationScript_Imports() + { + return (EReference)configurationScriptEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getConfigurationScript_Commands() + { + return (EReference)configurationScriptEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getCommand() + { + return commandEClass; + } + + /** + * + * + * @generated + */ + public EClass getImport() + { + return importEClass; + } + + /** + * + * + * @generated + */ + public EClass getEPackageImport() + { + return ePackageImportEClass; + } + + /** + * + * + * @generated + */ + public EReference getEPackageImport_ImportedPackage() + { + return (EReference)ePackageImportEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getViatraImport() + { + return viatraImportEClass; + } + + /** + * + * + * @generated + */ + public EReference getViatraImport_ImportedViatra() + { + return (EReference)viatraImportEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getDeclaration() + { + return declarationEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getDeclaration_Name() + { + return (EAttribute)declarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getFileSpecification() + { + return fileSpecificationEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getFileSpecification_Path() + { + return (EAttribute)fileSpecificationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getFileDeclaration() + { + return fileDeclarationEClass; + } + + /** + * + * + * @generated + */ + public EReference getFileDeclaration_Specification() + { + return (EReference)fileDeclarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getFileReference() + { + return fileReferenceEClass; + } + + /** + * + * + * @generated + */ + public EReference getFileReference_Referred() + { + return (EReference)fileReferenceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getFile() + { + return fileEClass; + } + + /** + * + * + * @generated + */ + public EClass getMetamodelSpecification() + { + return metamodelSpecificationEClass; + } + + /** + * + * + * @generated + */ + public EReference getMetamodelSpecification_Entries() + { + return (EReference)metamodelSpecificationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getMetamodelEntry() + { + return metamodelEntryEClass; + } + + /** + * + * + * @generated + */ + public EReference getMetamodelEntry_Package() + { + return (EReference)metamodelEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getAllPackageEntry() + { + return allPackageEntryEClass; + } + + /** + * + * + * @generated + */ + public EReference getAllPackageEntry_Exclusion() + { + return (EReference)allPackageEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getMetamodelElement() + { + return metamodelElementEClass; + } + + /** + * + * + * @generated + */ + public EReference getMetamodelElement_Classifier() + { + return (EReference)metamodelElementEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EReference getMetamodelElement_Feature() + { + return (EReference)metamodelElementEClass.getEStructuralFeatures().get(1); + } + + /** + * + * + * @generated + */ + public EClass getMetamodelDeclaration() + { + return metamodelDeclarationEClass; + } + + /** + * + * + * @generated + */ + public EReference getMetamodelDeclaration_Specification() + { + return (EReference)metamodelDeclarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getMetamodelReference() + { + return metamodelReferenceEClass; + } + + /** + * + * + * @generated + */ + public EReference getMetamodelReference_Referred() + { + return (EReference)metamodelReferenceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getMetamodel() + { + return metamodelEClass; + } + + /** + * + * + * @generated + */ + public EClass getPartialModelSpecification() + { + return partialModelSpecificationEClass; + } + + /** + * + * + * @generated + */ + public EReference getPartialModelSpecification_Entry() + { + return (EReference)partialModelSpecificationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getPartialModelEntry() + { + return partialModelEntryEClass; + } + + /** + * + * + * @generated + */ + public EReference getPartialModelEntry_Path() + { + return (EReference)partialModelEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getModelEntry() + { + return modelEntryEClass; + } + + /** + * + * + * @generated + */ + public EClass getFolderEntry() + { + return folderEntryEClass; + } + + /** + * + * + * @generated + */ + public EReference getFolderEntry_Exclusion() + { + return (EReference)folderEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getPartialModelDeclaration() + { + return partialModelDeclarationEClass; + } + + /** + * + * + * @generated + */ + public EReference getPartialModelDeclaration_Specification() + { + return (EReference)partialModelDeclarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getPartialModelReference() + { + return partialModelReferenceEClass; + } + + /** + * + * + * @generated + */ + public EReference getPartialModelReference_Referred() + { + return (EReference)partialModelReferenceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getPartialModel() + { + return partialModelEClass; + } + + /** + * + * + * @generated + */ + public EClass getPatternSpecification() + { + return patternSpecificationEClass; + } + + /** + * + * + * @generated + */ + public EReference getPatternSpecification_Entries() + { + return (EReference)patternSpecificationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getPatternEntry() + { + return patternEntryEClass; + } + + /** + * + * + * @generated + */ + public EReference getPatternEntry_Package() + { + return (EReference)patternEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getAllPatternEntry() + { + return allPatternEntryEClass; + } + + /** + * + * + * @generated + */ + public EReference getAllPatternEntry_Exclusuion() + { + return (EReference)allPatternEntryEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getPatternElement() + { + return patternElementEClass; + } + + /** + * + * + * @generated + */ + public EReference getPatternElement_Pattern() + { + return (EReference)patternElementEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getGraphPatternDeclaration() + { + return graphPatternDeclarationEClass; + } + + /** + * + * + * @generated + */ + public EReference getGraphPatternDeclaration_Specification() + { + return (EReference)graphPatternDeclarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getGraphPatternReference() + { + return graphPatternReferenceEClass; + } + + /** + * + * + * @generated + */ + public EReference getGraphPatternReference_Referred() + { + return (EReference)graphPatternReferenceEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getGraphPattern() + { + return graphPatternEClass; + } + + /** + * + * + * @generated + */ + public EClass getConfigSpecification() + { + return configSpecificationEClass; + } + + /** + * + * + * @generated + */ + public EReference getConfigSpecification_Entries() + { + return (EReference)configSpecificationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getConfigDeclaration() + { + return configDeclarationEClass; + } + + /** + * + * + * @generated + */ + public EReference getConfigDeclaration_Specification() + { + return (EReference)configDeclarationEClass.getEStructuralFeatures().get(0); + } + + /** + * + * + * @generated + */ + public EClass getConfigEntry() + { + return configEntryEClass; + } + + /** + * + * + * @generated + */ + public EAttribute getConfigEntry_Key() + { + return (EAttribute)configEntryEClass.getEStructuralFeatures().get(0); + } /** * * * @generated */ - private EClass ePackageImportEClass = null; + public EAttribute getConfigEntry_Value() + { + return (EAttribute)configEntryEClass.getEStructuralFeatures().get(1); + } /** * * * @generated */ - private EClass viatraImportEClass = null; + public EClass getConfigReference() + { + return configReferenceEClass; + } /** * * * @generated */ - private EClass metamodelSpecificationEClass = null; + public EReference getConfigReference_Config() + { + return (EReference)configReferenceEClass.getEStructuralFeatures().get(0); + } /** * * * @generated */ - private EClass metamodelEntryEClass = null; + public EClass getConfig() + { + return configEClass; + } /** * * * @generated */ - private EClass allPackageEntryEClass = null; + public EClass getScopeSpecification() + { + return scopeSpecificationEClass; + } /** * * * @generated */ - private EClass metamodelElementEClass = null; + public EReference getScopeSpecification_Scopes() + { + return (EReference)scopeSpecificationEClass.getEStructuralFeatures().get(0); + } /** * * * @generated */ - private EClass metamodelDeclarationEClass = null; + public EClass getTypeScope() + { + return typeScopeEClass; + } /** * * * @generated */ - private EClass metamodelReferenceEClass = null; + public EAttribute getTypeScope_Min() + { + return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(0); + } /** * * * @generated */ - private EClass metamodelEClass = null; + public EAttribute getTypeScope_Greather() + { + return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(1); + } /** - * Creates an instance of the model Package, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - *

Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. * * - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#eNS_URI - * @see #init() * @generated */ - private ApplicationConfigurationPackageImpl() + public EAttribute getTypeScope_GreaterOrEqual() { - super(eNS_URI, ApplicationConfigurationFactory.eINSTANCE); + return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(2); } /** @@ -153,46 +1251,89 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - private static boolean isInited = false; + public EReference getTypeScope_Type() + { + return (EReference)typeScopeEClass.getEStructuralFeatures().get(3); + } /** - * Creates, registers, and initializes the Package for this model, and for any others upon which it depends. - * - *

This method is used to initialize {@link ApplicationConfigurationPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. * * - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() * @generated */ - public static ApplicationConfigurationPackage init() + public EAttribute getTypeScope_Less() { - if (isInited) return (ApplicationConfigurationPackage)EPackage.Registry.INSTANCE.getEPackage(ApplicationConfigurationPackage.eNS_URI); + return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(4); + } - // Obtain or create and register package - ApplicationConfigurationPackageImpl theApplicationConfigurationPackage = (ApplicationConfigurationPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof ApplicationConfigurationPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new ApplicationConfigurationPackageImpl()); + /** + * + * + * @generated + */ + public EAttribute getTypeScope_LessOrEqual() + { + return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(5); + } - isInited = true; + /** + * + * + * @generated + */ + public EAttribute getTypeScope_Max() + { + return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(6); + } - // Initialize simple dependencies - EcorePackage.eINSTANCE.eClass(); - PatternLanguagePackage.eINSTANCE.eClass(); + /** + * + * + * @generated + */ + public EClass getTypeReference() + { + return typeReferenceEClass; + } - // Create package meta-data objects - theApplicationConfigurationPackage.createPackageContents(); + /** + * + * + * @generated + */ + public EClass getClassReference() + { + return classReferenceEClass; + } - // Initialize created meta-data - theApplicationConfigurationPackage.initializePackageContents(); + /** + * + * + * @generated + */ + public EReference getClassReference_Element() + { + return (EReference)classReferenceEClass.getEStructuralFeatures().get(0); + } - // Mark meta-data to indicate it can't be changed - theApplicationConfigurationPackage.freeze(); + /** + * + * + * @generated + */ + public EClass getObjectReference() + { + return objectReferenceEClass; + } - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(ApplicationConfigurationPackage.eNS_URI, theApplicationConfigurationPackage); - return theApplicationConfigurationPackage; + /** + * + * + * @generated + */ + public EClass getIntegerReference() + { + return integerReferenceEClass; } /** @@ -200,9 +1341,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EClass getConfigurationScript() + public EClass getRealReference() { - return configurationScriptEClass; + return realReferenceEClass; } /** @@ -210,9 +1351,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EReference getConfigurationScript_Imports() + public EClass getStringReference() { - return (EReference)configurationScriptEClass.getEStructuralFeatures().get(0); + return stringReferenceEClass; } /** @@ -220,9 +1361,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EReference getConfigurationScript_Commands() + public EClass getScopeDeclaration() { - return (EReference)configurationScriptEClass.getEStructuralFeatures().get(1); + return scopeDeclarationEClass; } /** @@ -230,9 +1371,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EClass getCommand() + public EReference getScopeDeclaration_Specification() { - return commandEClass; + return (EReference)scopeDeclarationEClass.getEStructuralFeatures().get(0); } /** @@ -240,9 +1381,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EClass getDeclaration() + public EClass getScopeReference() { - return declarationEClass; + return scopeReferenceEClass; } /** @@ -250,9 +1391,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EClass getImport() + public EReference getScopeReference_Referred() { - return importEClass; + return (EReference)scopeReferenceEClass.getEStructuralFeatures().get(0); } /** @@ -260,9 +1401,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EClass getEPackageImport() + public EClass getScope() { - return ePackageImportEClass; + return scopeEClass; } /** @@ -270,9 +1411,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EReference getEPackageImport_ImportedPackage() + public EClass getTask() { - return (EReference)ePackageImportEClass.getEStructuralFeatures().get(0); + return taskEClass; } /** @@ -280,9 +1421,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EClass getViatraImport() + public EClass getGenerationTask() { - return viatraImportEClass; + return generationTaskEClass; } /** @@ -290,9 +1431,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EReference getViatraImport_ImportedViatra() + public EReference getGenerationTask_Metamodel() { - return (EReference)viatraImportEClass.getEStructuralFeatures().get(0); + return (EReference)generationTaskEClass.getEStructuralFeatures().get(0); } /** @@ -300,9 +1441,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EClass getMetamodelSpecification() + public EReference getGenerationTask_PartialModel() { - return metamodelSpecificationEClass; + return (EReference)generationTaskEClass.getEStructuralFeatures().get(1); } /** @@ -310,9 +1451,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EReference getMetamodelSpecification_Entries() + public EReference getGenerationTask_Patterns() { - return (EReference)metamodelSpecificationEClass.getEStructuralFeatures().get(0); + return (EReference)generationTaskEClass.getEStructuralFeatures().get(2); } /** @@ -320,9 +1461,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EClass getMetamodelEntry() + public EReference getGenerationTask_Scope() { - return metamodelEntryEClass; + return (EReference)generationTaskEClass.getEStructuralFeatures().get(3); } /** @@ -330,9 +1471,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EReference getMetamodelEntry_Package() + public EAttribute getGenerationTask_Number() { - return (EReference)metamodelEntryEClass.getEStructuralFeatures().get(0); + return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(4); } /** @@ -340,9 +1481,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EClass getAllPackageEntry() + public EAttribute getGenerationTask_Runs() { - return allPackageEntryEClass; + return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(5); } /** @@ -350,9 +1491,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EReference getAllPackageEntry_Exclusion() + public EAttribute getGenerationTask_Solver() { - return (EReference)allPackageEntryEClass.getEStructuralFeatures().get(0); + return (EAttribute)generationTaskEClass.getEStructuralFeatures().get(6); } /** @@ -360,9 +1501,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EClass getMetamodelElement() + public EReference getGenerationTask_Config() { - return metamodelElementEClass; + return (EReference)generationTaskEClass.getEStructuralFeatures().get(7); } /** @@ -370,9 +1511,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EReference getMetamodelElement_Classifier() + public EReference getGenerationTask_TagetFolder() { - return (EReference)metamodelElementEClass.getEStructuralFeatures().get(0); + return (EReference)generationTaskEClass.getEStructuralFeatures().get(8); } /** @@ -380,9 +1521,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EReference getMetamodelElement_Feature() + public EReference getGenerationTask_DebugFolder() { - return (EReference)metamodelElementEClass.getEStructuralFeatures().get(1); + return (EReference)generationTaskEClass.getEStructuralFeatures().get(9); } /** @@ -390,9 +1531,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EClass getMetamodelDeclaration() + public EReference getGenerationTask_TargetLogFile() { - return metamodelDeclarationEClass; + return (EReference)generationTaskEClass.getEStructuralFeatures().get(10); } /** @@ -400,9 +1541,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EAttribute getMetamodelDeclaration_Name() + public EReference getGenerationTask_TargetStatisticsFile() { - return (EAttribute)metamodelDeclarationEClass.getEStructuralFeatures().get(0); + return (EReference)generationTaskEClass.getEStructuralFeatures().get(11); } /** @@ -410,9 +1551,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EReference getMetamodelDeclaration_Specification() + public EClass getIntegerScope() { - return (EReference)metamodelDeclarationEClass.getEStructuralFeatures().get(1); + return integerScopeEClass; } /** @@ -420,9 +1561,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EClass getMetamodelReference() + public EClass getRealScope() { - return metamodelReferenceEClass; + return realScopeEClass; } /** @@ -430,9 +1571,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EReference getMetamodelReference_Referred() + public EClass getStringScope() { - return (EReference)metamodelReferenceEClass.getEStructuralFeatures().get(0); + return stringScopeEClass; } /** @@ -440,9 +1581,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EClass getMetamodel() + public EEnum getSolver() { - return metamodelEClass; + return solverEEnum; } /** @@ -481,8 +1622,6 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements commandEClass = createEClass(COMMAND); - declarationEClass = createEClass(DECLARATION); - importEClass = createEClass(IMPORT); ePackageImportEClass = createEClass(EPACKAGE_IMPORT); @@ -491,6 +1630,20 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements viatraImportEClass = createEClass(VIATRA_IMPORT); createEReference(viatraImportEClass, VIATRA_IMPORT__IMPORTED_VIATRA); + declarationEClass = createEClass(DECLARATION); + createEAttribute(declarationEClass, DECLARATION__NAME); + + fileSpecificationEClass = createEClass(FILE_SPECIFICATION); + createEAttribute(fileSpecificationEClass, FILE_SPECIFICATION__PATH); + + fileDeclarationEClass = createEClass(FILE_DECLARATION); + createEReference(fileDeclarationEClass, FILE_DECLARATION__SPECIFICATION); + + fileReferenceEClass = createEClass(FILE_REFERENCE); + createEReference(fileReferenceEClass, FILE_REFERENCE__REFERRED); + + fileEClass = createEClass(FILE); + metamodelSpecificationEClass = createEClass(METAMODEL_SPECIFICATION); createEReference(metamodelSpecificationEClass, METAMODEL_SPECIFICATION__ENTRIES); @@ -505,13 +1658,124 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements createEReference(metamodelElementEClass, METAMODEL_ELEMENT__FEATURE); metamodelDeclarationEClass = createEClass(METAMODEL_DECLARATION); - createEAttribute(metamodelDeclarationEClass, METAMODEL_DECLARATION__NAME); createEReference(metamodelDeclarationEClass, METAMODEL_DECLARATION__SPECIFICATION); metamodelReferenceEClass = createEClass(METAMODEL_REFERENCE); createEReference(metamodelReferenceEClass, METAMODEL_REFERENCE__REFERRED); metamodelEClass = createEClass(METAMODEL); + + partialModelSpecificationEClass = createEClass(PARTIAL_MODEL_SPECIFICATION); + createEReference(partialModelSpecificationEClass, PARTIAL_MODEL_SPECIFICATION__ENTRY); + + partialModelEntryEClass = createEClass(PARTIAL_MODEL_ENTRY); + createEReference(partialModelEntryEClass, PARTIAL_MODEL_ENTRY__PATH); + + modelEntryEClass = createEClass(MODEL_ENTRY); + + folderEntryEClass = createEClass(FOLDER_ENTRY); + createEReference(folderEntryEClass, FOLDER_ENTRY__EXCLUSION); + + partialModelDeclarationEClass = createEClass(PARTIAL_MODEL_DECLARATION); + createEReference(partialModelDeclarationEClass, PARTIAL_MODEL_DECLARATION__SPECIFICATION); + + partialModelReferenceEClass = createEClass(PARTIAL_MODEL_REFERENCE); + createEReference(partialModelReferenceEClass, PARTIAL_MODEL_REFERENCE__REFERRED); + + partialModelEClass = createEClass(PARTIAL_MODEL); + + patternSpecificationEClass = createEClass(PATTERN_SPECIFICATION); + createEReference(patternSpecificationEClass, PATTERN_SPECIFICATION__ENTRIES); + + patternEntryEClass = createEClass(PATTERN_ENTRY); + createEReference(patternEntryEClass, PATTERN_ENTRY__PACKAGE); + + allPatternEntryEClass = createEClass(ALL_PATTERN_ENTRY); + createEReference(allPatternEntryEClass, ALL_PATTERN_ENTRY__EXCLUSUION); + + patternElementEClass = createEClass(PATTERN_ELEMENT); + createEReference(patternElementEClass, PATTERN_ELEMENT__PATTERN); + + graphPatternDeclarationEClass = createEClass(GRAPH_PATTERN_DECLARATION); + createEReference(graphPatternDeclarationEClass, GRAPH_PATTERN_DECLARATION__SPECIFICATION); + + graphPatternReferenceEClass = createEClass(GRAPH_PATTERN_REFERENCE); + createEReference(graphPatternReferenceEClass, GRAPH_PATTERN_REFERENCE__REFERRED); + + graphPatternEClass = createEClass(GRAPH_PATTERN); + + configSpecificationEClass = createEClass(CONFIG_SPECIFICATION); + createEReference(configSpecificationEClass, CONFIG_SPECIFICATION__ENTRIES); + + configDeclarationEClass = createEClass(CONFIG_DECLARATION); + createEReference(configDeclarationEClass, CONFIG_DECLARATION__SPECIFICATION); + + configEntryEClass = createEClass(CONFIG_ENTRY); + createEAttribute(configEntryEClass, CONFIG_ENTRY__KEY); + createEAttribute(configEntryEClass, CONFIG_ENTRY__VALUE); + + configReferenceEClass = createEClass(CONFIG_REFERENCE); + createEReference(configReferenceEClass, CONFIG_REFERENCE__CONFIG); + + configEClass = createEClass(CONFIG); + + scopeSpecificationEClass = createEClass(SCOPE_SPECIFICATION); + createEReference(scopeSpecificationEClass, SCOPE_SPECIFICATION__SCOPES); + + typeScopeEClass = createEClass(TYPE_SCOPE); + createEAttribute(typeScopeEClass, TYPE_SCOPE__MIN); + createEAttribute(typeScopeEClass, TYPE_SCOPE__GREATHER); + createEAttribute(typeScopeEClass, TYPE_SCOPE__GREATER_OR_EQUAL); + createEReference(typeScopeEClass, TYPE_SCOPE__TYPE); + createEAttribute(typeScopeEClass, TYPE_SCOPE__LESS); + createEAttribute(typeScopeEClass, TYPE_SCOPE__LESS_OR_EQUAL); + createEAttribute(typeScopeEClass, TYPE_SCOPE__MAX); + + typeReferenceEClass = createEClass(TYPE_REFERENCE); + + classReferenceEClass = createEClass(CLASS_REFERENCE); + createEReference(classReferenceEClass, CLASS_REFERENCE__ELEMENT); + + objectReferenceEClass = createEClass(OBJECT_REFERENCE); + + integerReferenceEClass = createEClass(INTEGER_REFERENCE); + + realReferenceEClass = createEClass(REAL_REFERENCE); + + stringReferenceEClass = createEClass(STRING_REFERENCE); + + scopeDeclarationEClass = createEClass(SCOPE_DECLARATION); + createEReference(scopeDeclarationEClass, SCOPE_DECLARATION__SPECIFICATION); + + scopeReferenceEClass = createEClass(SCOPE_REFERENCE); + createEReference(scopeReferenceEClass, SCOPE_REFERENCE__REFERRED); + + scopeEClass = createEClass(SCOPE); + + taskEClass = createEClass(TASK); + + generationTaskEClass = createEClass(GENERATION_TASK); + createEReference(generationTaskEClass, GENERATION_TASK__METAMODEL); + createEReference(generationTaskEClass, GENERATION_TASK__PARTIAL_MODEL); + createEReference(generationTaskEClass, GENERATION_TASK__PATTERNS); + createEReference(generationTaskEClass, GENERATION_TASK__SCOPE); + createEAttribute(generationTaskEClass, GENERATION_TASK__NUMBER); + createEAttribute(generationTaskEClass, GENERATION_TASK__RUNS); + createEAttribute(generationTaskEClass, GENERATION_TASK__SOLVER); + createEReference(generationTaskEClass, GENERATION_TASK__CONFIG); + createEReference(generationTaskEClass, GENERATION_TASK__TAGET_FOLDER); + createEReference(generationTaskEClass, GENERATION_TASK__DEBUG_FOLDER); + createEReference(generationTaskEClass, GENERATION_TASK__TARGET_LOG_FILE); + createEReference(generationTaskEClass, GENERATION_TASK__TARGET_STATISTICS_FILE); + + integerScopeEClass = createEClass(INTEGER_SCOPE); + + realScopeEClass = createEClass(REAL_SCOPE); + + stringScopeEClass = createEClass(STRING_SCOPE); + + // Create enums + solverEEnum = createEEnum(SOLVER); } /** @@ -547,14 +1811,43 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements // Set bounds for type parameters // Add supertypes to classes - declarationEClass.getESuperTypes().add(this.getCommand()); ePackageImportEClass.getESuperTypes().add(this.getImport()); viatraImportEClass.getESuperTypes().add(this.getImport()); + declarationEClass.getESuperTypes().add(this.getCommand()); + fileSpecificationEClass.getESuperTypes().add(this.getFile()); + fileDeclarationEClass.getESuperTypes().add(this.getDeclaration()); + fileReferenceEClass.getESuperTypes().add(this.getFile()); metamodelSpecificationEClass.getESuperTypes().add(this.getMetamodel()); allPackageEntryEClass.getESuperTypes().add(this.getMetamodelEntry()); metamodelElementEClass.getESuperTypes().add(this.getMetamodelEntry()); metamodelDeclarationEClass.getESuperTypes().add(this.getDeclaration()); metamodelReferenceEClass.getESuperTypes().add(this.getMetamodel()); + partialModelSpecificationEClass.getESuperTypes().add(this.getPartialModel()); + modelEntryEClass.getESuperTypes().add(this.getPartialModelEntry()); + folderEntryEClass.getESuperTypes().add(this.getPartialModelEntry()); + partialModelDeclarationEClass.getESuperTypes().add(this.getDeclaration()); + partialModelReferenceEClass.getESuperTypes().add(this.getPartialModel()); + patternSpecificationEClass.getESuperTypes().add(this.getGraphPattern()); + allPatternEntryEClass.getESuperTypes().add(this.getPatternEntry()); + patternElementEClass.getESuperTypes().add(this.getPatternEntry()); + graphPatternDeclarationEClass.getESuperTypes().add(this.getDeclaration()); + graphPatternReferenceEClass.getESuperTypes().add(this.getGraphPattern()); + configSpecificationEClass.getESuperTypes().add(this.getConfig()); + configDeclarationEClass.getESuperTypes().add(this.getDeclaration()); + configReferenceEClass.getESuperTypes().add(this.getConfig()); + scopeSpecificationEClass.getESuperTypes().add(this.getScope()); + classReferenceEClass.getESuperTypes().add(this.getTypeReference()); + objectReferenceEClass.getESuperTypes().add(this.getTypeReference()); + integerReferenceEClass.getESuperTypes().add(this.getTypeReference()); + realReferenceEClass.getESuperTypes().add(this.getTypeReference()); + stringReferenceEClass.getESuperTypes().add(this.getTypeReference()); + scopeDeclarationEClass.getESuperTypes().add(this.getDeclaration()); + scopeReferenceEClass.getESuperTypes().add(this.getScope()); + taskEClass.getESuperTypes().add(this.getCommand()); + generationTaskEClass.getESuperTypes().add(this.getTask()); + integerScopeEClass.getESuperTypes().add(this.getIntegerReference()); + realScopeEClass.getESuperTypes().add(this.getRealReference()); + stringScopeEClass.getESuperTypes().add(this.getStringReference()); // Initialize classes and features; add operations and parameters initEClass(configurationScriptEClass, ConfigurationScript.class, "ConfigurationScript", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); @@ -563,8 +1856,6 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements initEClass(commandEClass, Command.class, "Command", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEClass(declarationEClass, Declaration.class, "Declaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEClass(importEClass, Import.class, "Import", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEClass(ePackageImportEClass, EPackageImport.class, "EPackageImport", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); @@ -573,6 +1864,20 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements initEClass(viatraImportEClass, ViatraImport.class, "ViatraImport", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getViatraImport_ImportedViatra(), thePatternLanguagePackage.getPatternModel(), null, "importedViatra", null, 0, 1, ViatraImport.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEClass(declarationEClass, Declaration.class, "Declaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getDeclaration_Name(), theEcorePackage.getEString(), "name", null, 0, 1, Declaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(fileSpecificationEClass, FileSpecification.class, "FileSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getFileSpecification_Path(), theEcorePackage.getEString(), "path", null, 0, 1, FileSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(fileDeclarationEClass, FileDeclaration.class, "FileDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getFileDeclaration_Specification(), this.getFileSpecification(), null, "specification", null, 0, 1, FileDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(fileReferenceEClass, FileReference.class, "FileReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getFileReference_Referred(), this.getFileDeclaration(), null, "referred", null, 0, 1, FileReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(fileEClass, File.class, "File", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEClass(metamodelSpecificationEClass, MetamodelSpecification.class, "MetamodelSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getMetamodelSpecification_Entries(), this.getMetamodelEntry(), null, "entries", null, 0, -1, MetamodelSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); @@ -587,7 +1892,6 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements initEReference(getMetamodelElement_Feature(), theEcorePackage.getENamedElement(), null, "feature", null, 0, 1, MetamodelElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(metamodelDeclarationEClass, MetamodelDeclaration.class, "MetamodelDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getMetamodelDeclaration_Name(), theEcorePackage.getEString(), "name", null, 0, 1, MetamodelDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEReference(getMetamodelDeclaration_Specification(), this.getMetamodelSpecification(), null, "specification", null, 0, 1, MetamodelDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(metamodelReferenceEClass, MetamodelReference.class, "MetamodelReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); @@ -595,6 +1899,121 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements initEClass(metamodelEClass, Metamodel.class, "Metamodel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEClass(partialModelSpecificationEClass, PartialModelSpecification.class, "PartialModelSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getPartialModelSpecification_Entry(), this.getPartialModelEntry(), null, "entry", null, 0, -1, PartialModelSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(partialModelEntryEClass, PartialModelEntry.class, "PartialModelEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getPartialModelEntry_Path(), this.getFile(), null, "path", null, 0, 1, PartialModelEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(modelEntryEClass, ModelEntry.class, "ModelEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(folderEntryEClass, FolderEntry.class, "FolderEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getFolderEntry_Exclusion(), this.getModelEntry(), null, "exclusion", null, 0, -1, FolderEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(partialModelDeclarationEClass, PartialModelDeclaration.class, "PartialModelDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getPartialModelDeclaration_Specification(), this.getPartialModelSpecification(), null, "specification", null, 0, 1, PartialModelDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(partialModelReferenceEClass, PartialModelReference.class, "PartialModelReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getPartialModelReference_Referred(), this.getPartialModelDeclaration(), null, "referred", null, 0, 1, PartialModelReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(partialModelEClass, PartialModel.class, "PartialModel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(patternSpecificationEClass, PatternSpecification.class, "PatternSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getPatternSpecification_Entries(), this.getPatternEntry(), null, "entries", null, 0, -1, PatternSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(patternEntryEClass, PatternEntry.class, "PatternEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getPatternEntry_Package(), thePatternLanguagePackage.getPatternModel(), null, "package", null, 0, 1, PatternEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(allPatternEntryEClass, AllPatternEntry.class, "AllPatternEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getAllPatternEntry_Exclusuion(), this.getPatternElement(), null, "exclusuion", null, 0, -1, AllPatternEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(patternElementEClass, PatternElement.class, "PatternElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getPatternElement_Pattern(), thePatternLanguagePackage.getPattern(), null, "pattern", null, 0, 1, PatternElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(graphPatternDeclarationEClass, GraphPatternDeclaration.class, "GraphPatternDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getGraphPatternDeclaration_Specification(), this.getPatternSpecification(), null, "specification", null, 0, 1, GraphPatternDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(graphPatternReferenceEClass, GraphPatternReference.class, "GraphPatternReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getGraphPatternReference_Referred(), this.getGraphPatternDeclaration(), null, "referred", null, 0, 1, GraphPatternReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(graphPatternEClass, GraphPattern.class, "GraphPattern", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(configSpecificationEClass, ConfigSpecification.class, "ConfigSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getConfigSpecification_Entries(), this.getConfigEntry(), null, "entries", null, 0, -1, ConfigSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(configDeclarationEClass, ConfigDeclaration.class, "ConfigDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getConfigDeclaration_Specification(), this.getConfigSpecification(), null, "specification", null, 0, 1, ConfigDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(configEntryEClass, ConfigEntry.class, "ConfigEntry", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getConfigEntry_Key(), theEcorePackage.getEString(), "key", null, 0, 1, ConfigEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getConfigEntry_Value(), theEcorePackage.getEString(), "value", null, 0, 1, ConfigEntry.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(configReferenceEClass, ConfigReference.class, "ConfigReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getConfigReference_Config(), this.getConfigDeclaration(), null, "config", null, 0, 1, ConfigReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(configEClass, Config.class, "Config", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(scopeSpecificationEClass, ScopeSpecification.class, "ScopeSpecification", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getScopeSpecification_Scopes(), this.getTypeScope(), null, "scopes", null, 0, -1, ScopeSpecification.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(typeScopeEClass, TypeScope.class, "TypeScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getTypeScope_Min(), theEcorePackage.getEInt(), "min", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTypeScope_Greather(), theEcorePackage.getEBoolean(), "greather", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTypeScope_GreaterOrEqual(), theEcorePackage.getEBoolean(), "greaterOrEqual", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getTypeScope_Type(), this.getTypeReference(), null, "type", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTypeScope_Less(), theEcorePackage.getEBoolean(), "less", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTypeScope_LessOrEqual(), theEcorePackage.getEBoolean(), "lessOrEqual", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTypeScope_Max(), theEcorePackage.getEInt(), "max", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(typeReferenceEClass, TypeReference.class, "TypeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(classReferenceEClass, ClassReference.class, "ClassReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getClassReference_Element(), this.getMetamodelElement(), null, "element", null, 0, 1, ClassReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(objectReferenceEClass, ObjectReference.class, "ObjectReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(integerReferenceEClass, IntegerReference.class, "IntegerReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(realReferenceEClass, RealReference.class, "RealReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(stringReferenceEClass, StringReference.class, "StringReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(scopeDeclarationEClass, ScopeDeclaration.class, "ScopeDeclaration", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getScopeDeclaration_Specification(), this.getScopeSpecification(), null, "specification", null, 0, 1, ScopeDeclaration.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(scopeReferenceEClass, ScopeReference.class, "ScopeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getScopeReference_Referred(), this.getScopeDeclaration(), null, "referred", null, 0, 1, ScopeReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(scopeEClass, Scope.class, "Scope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(taskEClass, Task.class, "Task", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(generationTaskEClass, GenerationTask.class, "GenerationTask", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getGenerationTask_Metamodel(), this.getMetamodel(), null, "metamodel", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getGenerationTask_PartialModel(), this.getPartialModel(), null, "partialModel", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getGenerationTask_Patterns(), this.getGraphPattern(), null, "patterns", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getGenerationTask_Scope(), this.getScope(), null, "scope", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getGenerationTask_Number(), theEcorePackage.getEInt(), "number", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getGenerationTask_Runs(), theEcorePackage.getEInt(), "runs", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getGenerationTask_Solver(), this.getSolver(), "solver", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getGenerationTask_Config(), this.getConfig(), null, "config", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getGenerationTask_TagetFolder(), this.getFile(), null, "tagetFolder", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getGenerationTask_DebugFolder(), this.getFile(), null, "debugFolder", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getGenerationTask_TargetLogFile(), this.getFile(), null, "targetLogFile", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getGenerationTask_TargetStatisticsFile(), this.getFile(), null, "targetStatisticsFile", null, 0, 1, GenerationTask.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(integerScopeEClass, IntegerScope.class, "IntegerScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(realScopeEClass, RealScope.class, "RealScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(stringScopeEClass, StringScope.class, "StringScope", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + // Initialize enums and add enum literals + initEEnum(solverEEnum, Solver.class, "Solver"); + addEEnumLiteral(solverEEnum, Solver.SMT_SOLVER); + addEEnumLiteral(solverEEnum, Solver.ALLOY_SOLVER); + addEEnumLiteral(solverEEnum, Solver.VIATRA_SOLVER); + // Create resource createResource(eNS_URI); } diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.java index a2124cde..8057f523 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/DeclarationImpl.java @@ -6,17 +6,47 @@ package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration; +import org.eclipse.emf.common.notify.Notification; + import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; + /** * * An implementation of the model object 'Declaration'. * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.DeclarationImpl#getName Name}
  • + *
* * @generated */ public class DeclarationImpl extends CommandImpl implements Declaration { + /** + * The default value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() Name}' attribute. + * + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + /** * * @@ -38,4 +68,110 @@ public class DeclarationImpl extends CommandImpl implements Declaration return ApplicationConfigurationPackage.Literals.DECLARATION; } + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public void setName(String newName) + { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.DECLARATION__NAME, oldName, name)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.DECLARATION__NAME: + return getName(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.DECLARATION__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.DECLARATION__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.DECLARATION__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + } //DeclarationImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelDeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelDeclarationImpl.java index 3458c16a..b689d2e0 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelDeclarationImpl.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/MetamodelDeclarationImpl.java @@ -23,7 +23,6 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; * The following features are implemented: *

*
    - *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl#getName Name}
  • *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.MetamodelDeclarationImpl#getSpecification Specification}
  • *
* @@ -31,26 +30,6 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl; */ public class MetamodelDeclarationImpl extends DeclarationImpl implements MetamodelDeclaration { - /** - * The default value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() Name}' attribute. - * - * - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - /** * The cached value of the '{@link #getSpecification() Specification}' containment reference. * @@ -82,29 +61,6 @@ public class MetamodelDeclarationImpl extends DeclarationImpl implements Metamod return ApplicationConfigurationPackage.Literals.METAMODEL_DECLARATION; } - /** - * - * - * @generated - */ - public String getName() - { - return name; - } - - /** - * - * - * @generated - */ - public void setName(String newName) - { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.METAMODEL_DECLARATION__NAME, oldName, name)); - } - /** * * @@ -179,8 +135,6 @@ public class MetamodelDeclarationImpl extends DeclarationImpl implements Metamod { switch (featureID) { - case ApplicationConfigurationPackage.METAMODEL_DECLARATION__NAME: - return getName(); case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION: return getSpecification(); } @@ -197,9 +151,6 @@ public class MetamodelDeclarationImpl extends DeclarationImpl implements Metamod { switch (featureID) { - case ApplicationConfigurationPackage.METAMODEL_DECLARATION__NAME: - setName((String)newValue); - return; case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION: setSpecification((MetamodelSpecification)newValue); return; @@ -217,9 +168,6 @@ public class MetamodelDeclarationImpl extends DeclarationImpl implements Metamod { switch (featureID) { - case ApplicationConfigurationPackage.METAMODEL_DECLARATION__NAME: - setName(NAME_EDEFAULT); - return; case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION: setSpecification((MetamodelSpecification)null); return; @@ -237,29 +185,10 @@ public class MetamodelDeclarationImpl extends DeclarationImpl implements Metamod { switch (featureID) { - case ApplicationConfigurationPackage.METAMODEL_DECLARATION__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); case ApplicationConfigurationPackage.METAMODEL_DECLARATION__SPECIFICATION: return specification != null; } return super.eIsSet(featureID); } - /** - * - * - * @generated - */ - @Override - public String toString() - { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (name: "); - result.append(name); - result.append(')'); - return result.toString(); - } - } //MetamodelDeclarationImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java index 67d9c396..58c9881e 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationAdapterFactory.java @@ -86,11 +86,6 @@ public class ApplicationConfigurationAdapterFactory extends AdapterFactoryImpl return createCommandAdapter(); } @Override - public Adapter caseDeclaration(Declaration object) - { - return createDeclarationAdapter(); - } - @Override public Adapter caseImport(Import object) { return createImportAdapter(); @@ -106,6 +101,31 @@ public class ApplicationConfigurationAdapterFactory extends AdapterFactoryImpl return createViatraImportAdapter(); } @Override + public Adapter caseDeclaration(Declaration object) + { + return createDeclarationAdapter(); + } + @Override + public Adapter caseFileSpecification(FileSpecification object) + { + return createFileSpecificationAdapter(); + } + @Override + public Adapter caseFileDeclaration(FileDeclaration object) + { + return createFileDeclarationAdapter(); + } + @Override + public Adapter caseFileReference(FileReference object) + { + return createFileReferenceAdapter(); + } + @Override + public Adapter caseFile(File object) + { + return createFileAdapter(); + } + @Override public Adapter caseMetamodelSpecification(MetamodelSpecification object) { return createMetamodelSpecificationAdapter(); @@ -141,6 +161,181 @@ public class ApplicationConfigurationAdapterFactory extends AdapterFactoryImpl return createMetamodelAdapter(); } @Override + public Adapter casePartialModelSpecification(PartialModelSpecification object) + { + return createPartialModelSpecificationAdapter(); + } + @Override + public Adapter casePartialModelEntry(PartialModelEntry object) + { + return createPartialModelEntryAdapter(); + } + @Override + public Adapter caseModelEntry(ModelEntry object) + { + return createModelEntryAdapter(); + } + @Override + public Adapter caseFolderEntry(FolderEntry object) + { + return createFolderEntryAdapter(); + } + @Override + public Adapter casePartialModelDeclaration(PartialModelDeclaration object) + { + return createPartialModelDeclarationAdapter(); + } + @Override + public Adapter casePartialModelReference(PartialModelReference object) + { + return createPartialModelReferenceAdapter(); + } + @Override + public Adapter casePartialModel(PartialModel object) + { + return createPartialModelAdapter(); + } + @Override + public Adapter casePatternSpecification(PatternSpecification object) + { + return createPatternSpecificationAdapter(); + } + @Override + public Adapter casePatternEntry(PatternEntry object) + { + return createPatternEntryAdapter(); + } + @Override + public Adapter caseAllPatternEntry(AllPatternEntry object) + { + return createAllPatternEntryAdapter(); + } + @Override + public Adapter casePatternElement(PatternElement object) + { + return createPatternElementAdapter(); + } + @Override + public Adapter caseGraphPatternDeclaration(GraphPatternDeclaration object) + { + return createGraphPatternDeclarationAdapter(); + } + @Override + public Adapter caseGraphPatternReference(GraphPatternReference object) + { + return createGraphPatternReferenceAdapter(); + } + @Override + public Adapter caseGraphPattern(GraphPattern object) + { + return createGraphPatternAdapter(); + } + @Override + public Adapter caseConfigSpecification(ConfigSpecification object) + { + return createConfigSpecificationAdapter(); + } + @Override + public Adapter caseConfigDeclaration(ConfigDeclaration object) + { + return createConfigDeclarationAdapter(); + } + @Override + public Adapter caseConfigEntry(ConfigEntry object) + { + return createConfigEntryAdapter(); + } + @Override + public Adapter caseConfigReference(ConfigReference object) + { + return createConfigReferenceAdapter(); + } + @Override + public Adapter caseConfig(Config object) + { + return createConfigAdapter(); + } + @Override + public Adapter caseScopeSpecification(ScopeSpecification object) + { + return createScopeSpecificationAdapter(); + } + @Override + public Adapter caseTypeScope(TypeScope object) + { + return createTypeScopeAdapter(); + } + @Override + public Adapter caseTypeReference(TypeReference object) + { + return createTypeReferenceAdapter(); + } + @Override + public Adapter caseClassReference(ClassReference object) + { + return createClassReferenceAdapter(); + } + @Override + public Adapter caseObjectReference(ObjectReference object) + { + return createObjectReferenceAdapter(); + } + @Override + public Adapter caseIntegerReference(IntegerReference object) + { + return createIntegerReferenceAdapter(); + } + @Override + public Adapter caseRealReference(RealReference object) + { + return createRealReferenceAdapter(); + } + @Override + public Adapter caseStringReference(StringReference object) + { + return createStringReferenceAdapter(); + } + @Override + public Adapter caseScopeDeclaration(ScopeDeclaration object) + { + return createScopeDeclarationAdapter(); + } + @Override + public Adapter caseScopeReference(ScopeReference object) + { + return createScopeReferenceAdapter(); + } + @Override + public Adapter caseScope(Scope object) + { + return createScopeAdapter(); + } + @Override + public Adapter caseTask(Task object) + { + return createTaskAdapter(); + } + @Override + public Adapter caseGenerationTask(GenerationTask object) + { + return createGenerationTaskAdapter(); + } + @Override + public Adapter caseIntegerScope(IntegerScope object) + { + return createIntegerScopeAdapter(); + } + @Override + public Adapter caseRealScope(RealScope object) + { + return createRealScopeAdapter(); + } + @Override + public Adapter caseStringScope(StringScope object) + { + return createStringScopeAdapter(); + } + @Override public Adapter defaultCase(EObject object) { return createEObjectAdapter(); @@ -192,6 +387,51 @@ public class ApplicationConfigurationAdapterFactory extends AdapterFactoryImpl return null; } + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import Import}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import + * @generated + */ + public Adapter createImportAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport EPackage Import}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport + * @generated + */ + public Adapter createEPackageImportAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport Viatra Import}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport + * @generated + */ + public Adapter createViatraImportAdapter() + { + return null; + } + /** * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Declaration Declaration}'. * @@ -208,46 +448,61 @@ public class ApplicationConfigurationAdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import Import}'. + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification File Specification}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Import + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification * @generated */ - public Adapter createImportAdapter() + public Adapter createFileSpecificationAdapter() { return null; } /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport EPackage Import}'. + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration File Declaration}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration * @generated */ - public Adapter createEPackageImportAdapter() + public Adapter createFileDeclarationAdapter() { return null; } /** - * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport Viatra Import}'. + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference File Reference}'. * * This default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases anyway. * * @return the new adapter. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference * @generated */ - public Adapter createViatraImportAdapter() + public Adapter createFileReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File File}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File + * @generated + */ + public Adapter createFileAdapter() { return null; } @@ -357,6 +612,531 @@ public class ApplicationConfigurationAdapterFactory extends AdapterFactoryImpl return null; } + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification Partial Model Specification}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification + * @generated + */ + public Adapter createPartialModelSpecificationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry Partial Model Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry + * @generated + */ + public Adapter createPartialModelEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry Model Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry + * @generated + */ + public Adapter createModelEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry Folder Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry + * @generated + */ + public Adapter createFolderEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration Partial Model Declaration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration + * @generated + */ + public Adapter createPartialModelDeclarationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference Partial Model Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference + * @generated + */ + public Adapter createPartialModelReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel Partial Model}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel + * @generated + */ + public Adapter createPartialModelAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification Pattern Specification}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification + * @generated + */ + public Adapter createPatternSpecificationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry Pattern Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry + * @generated + */ + public Adapter createPatternEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry All Pattern Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry + * @generated + */ + public Adapter createAllPatternEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement Pattern Element}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement + * @generated + */ + public Adapter createPatternElementAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration Graph Pattern Declaration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration + * @generated + */ + public Adapter createGraphPatternDeclarationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference Graph Pattern Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference + * @generated + */ + public Adapter createGraphPatternReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPattern Graph Pattern}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPattern + * @generated + */ + public Adapter createGraphPatternAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification Config Specification}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification + * @generated + */ + public Adapter createConfigSpecificationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration Config Declaration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration + * @generated + */ + public Adapter createConfigDeclarationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry Config Entry}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry + * @generated + */ + public Adapter createConfigEntryAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference Config Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference + * @generated + */ + public Adapter createConfigReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Config Config}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Config + * @generated + */ + public Adapter createConfigAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification Scope Specification}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification + * @generated + */ + public Adapter createScopeSpecificationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope Type Scope}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope + * @generated + */ + public Adapter createTypeScopeAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeReference Type Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeReference + * @generated + */ + public Adapter createTypeReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference Class Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference + * @generated + */ + public Adapter createClassReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference Object Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference + * @generated + */ + public Adapter createObjectReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerReference Integer Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerReference + * @generated + */ + public Adapter createIntegerReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference Real Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealReference + * @generated + */ + public Adapter createRealReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringReference String Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringReference + * @generated + */ + public Adapter createStringReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration Scope Declaration}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration + * @generated + */ + public Adapter createScopeDeclarationAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference Scope Reference}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference + * @generated + */ + public Adapter createScopeReferenceAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope Scope}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope + * @generated + */ + public Adapter createScopeAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Task Task}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Task + * @generated + */ + public Adapter createTaskAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask Generation Task}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask + * @generated + */ + public Adapter createGenerationTaskAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope Integer Scope}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope + * @generated + */ + public Adapter createIntegerScopeAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope Real Scope}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope + * @generated + */ + public Adapter createRealScopeAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope String Scope}'. + * + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * + * @return the new adapter. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope + * @generated + */ + public Adapter createStringScopeAdapter() + { + return null; + } + /** * Creates a new adapter for the default case. * diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java index 673ffe08..fbcf4041 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/util/ApplicationConfigurationSwitch.java @@ -87,14 +87,6 @@ public class ApplicationConfigurationSwitch extends Switch if (result == null) result = defaultCase(theEObject); return result; } - case ApplicationConfigurationPackage.DECLARATION: - { - Declaration declaration = (Declaration)theEObject; - T result = caseDeclaration(declaration); - if (result == null) result = caseCommand(declaration); - if (result == null) result = defaultCase(theEObject); - return result; - } case ApplicationConfigurationPackage.IMPORT: { Import import_ = (Import)theEObject; @@ -118,6 +110,46 @@ public class ApplicationConfigurationSwitch extends Switch if (result == null) result = defaultCase(theEObject); return result; } + case ApplicationConfigurationPackage.DECLARATION: + { + Declaration declaration = (Declaration)theEObject; + T result = caseDeclaration(declaration); + if (result == null) result = caseCommand(declaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.FILE_SPECIFICATION: + { + FileSpecification fileSpecification = (FileSpecification)theEObject; + T result = caseFileSpecification(fileSpecification); + if (result == null) result = caseFile(fileSpecification); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.FILE_DECLARATION: + { + FileDeclaration fileDeclaration = (FileDeclaration)theEObject; + T result = caseFileDeclaration(fileDeclaration); + if (result == null) result = caseDeclaration(fileDeclaration); + if (result == null) result = caseCommand(fileDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.FILE_REFERENCE: + { + FileReference fileReference = (FileReference)theEObject; + T result = caseFileReference(fileReference); + if (result == null) result = caseFile(fileReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.FILE: + { + File file = (File)theEObject; + T result = caseFile(file); + if (result == null) result = defaultCase(theEObject); + return result; + } case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION: { MetamodelSpecification metamodelSpecification = (MetamodelSpecification)theEObject; @@ -173,6 +205,285 @@ public class ApplicationConfigurationSwitch extends Switch if (result == null) result = defaultCase(theEObject); return result; } + case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION: + { + PartialModelSpecification partialModelSpecification = (PartialModelSpecification)theEObject; + T result = casePartialModelSpecification(partialModelSpecification); + if (result == null) result = casePartialModel(partialModelSpecification); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY: + { + PartialModelEntry partialModelEntry = (PartialModelEntry)theEObject; + T result = casePartialModelEntry(partialModelEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.MODEL_ENTRY: + { + ModelEntry modelEntry = (ModelEntry)theEObject; + T result = caseModelEntry(modelEntry); + if (result == null) result = casePartialModelEntry(modelEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.FOLDER_ENTRY: + { + FolderEntry folderEntry = (FolderEntry)theEObject; + T result = caseFolderEntry(folderEntry); + if (result == null) result = casePartialModelEntry(folderEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION: + { + PartialModelDeclaration partialModelDeclaration = (PartialModelDeclaration)theEObject; + T result = casePartialModelDeclaration(partialModelDeclaration); + if (result == null) result = caseDeclaration(partialModelDeclaration); + if (result == null) result = caseCommand(partialModelDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE: + { + PartialModelReference partialModelReference = (PartialModelReference)theEObject; + T result = casePartialModelReference(partialModelReference); + if (result == null) result = casePartialModel(partialModelReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PARTIAL_MODEL: + { + PartialModel partialModel = (PartialModel)theEObject; + T result = casePartialModel(partialModel); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PATTERN_SPECIFICATION: + { + PatternSpecification patternSpecification = (PatternSpecification)theEObject; + T result = casePatternSpecification(patternSpecification); + if (result == null) result = caseGraphPattern(patternSpecification); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PATTERN_ENTRY: + { + PatternEntry patternEntry = (PatternEntry)theEObject; + T result = casePatternEntry(patternEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY: + { + AllPatternEntry allPatternEntry = (AllPatternEntry)theEObject; + T result = caseAllPatternEntry(allPatternEntry); + if (result == null) result = casePatternEntry(allPatternEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.PATTERN_ELEMENT: + { + PatternElement patternElement = (PatternElement)theEObject; + T result = casePatternElement(patternElement); + if (result == null) result = casePatternEntry(patternElement); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION: + { + GraphPatternDeclaration graphPatternDeclaration = (GraphPatternDeclaration)theEObject; + T result = caseGraphPatternDeclaration(graphPatternDeclaration); + if (result == null) result = caseDeclaration(graphPatternDeclaration); + if (result == null) result = caseCommand(graphPatternDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE: + { + GraphPatternReference graphPatternReference = (GraphPatternReference)theEObject; + T result = caseGraphPatternReference(graphPatternReference); + if (result == null) result = caseGraphPattern(graphPatternReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.GRAPH_PATTERN: + { + GraphPattern graphPattern = (GraphPattern)theEObject; + T result = caseGraphPattern(graphPattern); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.CONFIG_SPECIFICATION: + { + ConfigSpecification configSpecification = (ConfigSpecification)theEObject; + T result = caseConfigSpecification(configSpecification); + if (result == null) result = caseConfig(configSpecification); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.CONFIG_DECLARATION: + { + ConfigDeclaration configDeclaration = (ConfigDeclaration)theEObject; + T result = caseConfigDeclaration(configDeclaration); + if (result == null) result = caseDeclaration(configDeclaration); + if (result == null) result = caseCommand(configDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.CONFIG_ENTRY: + { + ConfigEntry configEntry = (ConfigEntry)theEObject; + T result = caseConfigEntry(configEntry); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.CONFIG_REFERENCE: + { + ConfigReference configReference = (ConfigReference)theEObject; + T result = caseConfigReference(configReference); + if (result == null) result = caseConfig(configReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.CONFIG: + { + Config config = (Config)theEObject; + T result = caseConfig(config); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.SCOPE_SPECIFICATION: + { + ScopeSpecification scopeSpecification = (ScopeSpecification)theEObject; + T result = caseScopeSpecification(scopeSpecification); + if (result == null) result = caseScope(scopeSpecification); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.TYPE_SCOPE: + { + TypeScope typeScope = (TypeScope)theEObject; + T result = caseTypeScope(typeScope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.TYPE_REFERENCE: + { + TypeReference typeReference = (TypeReference)theEObject; + T result = caseTypeReference(typeReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.CLASS_REFERENCE: + { + ClassReference classReference = (ClassReference)theEObject; + T result = caseClassReference(classReference); + if (result == null) result = caseTypeReference(classReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.OBJECT_REFERENCE: + { + ObjectReference objectReference = (ObjectReference)theEObject; + T result = caseObjectReference(objectReference); + if (result == null) result = caseTypeReference(objectReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.INTEGER_REFERENCE: + { + IntegerReference integerReference = (IntegerReference)theEObject; + T result = caseIntegerReference(integerReference); + if (result == null) result = caseTypeReference(integerReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.REAL_REFERENCE: + { + RealReference realReference = (RealReference)theEObject; + T result = caseRealReference(realReference); + if (result == null) result = caseTypeReference(realReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.STRING_REFERENCE: + { + StringReference stringReference = (StringReference)theEObject; + T result = caseStringReference(stringReference); + if (result == null) result = caseTypeReference(stringReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.SCOPE_DECLARATION: + { + ScopeDeclaration scopeDeclaration = (ScopeDeclaration)theEObject; + T result = caseScopeDeclaration(scopeDeclaration); + if (result == null) result = caseDeclaration(scopeDeclaration); + if (result == null) result = caseCommand(scopeDeclaration); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.SCOPE_REFERENCE: + { + ScopeReference scopeReference = (ScopeReference)theEObject; + T result = caseScopeReference(scopeReference); + if (result == null) result = caseScope(scopeReference); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.SCOPE: + { + Scope scope = (Scope)theEObject; + T result = caseScope(scope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.TASK: + { + Task task = (Task)theEObject; + T result = caseTask(task); + if (result == null) result = caseCommand(task); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.GENERATION_TASK: + { + GenerationTask generationTask = (GenerationTask)theEObject; + T result = caseGenerationTask(generationTask); + if (result == null) result = caseTask(generationTask); + if (result == null) result = caseCommand(generationTask); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.INTEGER_SCOPE: + { + IntegerScope integerScope = (IntegerScope)theEObject; + T result = caseIntegerScope(integerScope); + if (result == null) result = caseIntegerReference(integerScope); + if (result == null) result = caseTypeReference(integerScope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.REAL_SCOPE: + { + RealScope realScope = (RealScope)theEObject; + T result = caseRealScope(realScope); + if (result == null) result = caseRealReference(realScope); + if (result == null) result = caseTypeReference(realScope); + if (result == null) result = defaultCase(theEObject); + return result; + } + case ApplicationConfigurationPackage.STRING_SCOPE: + { + StringScope stringScope = (StringScope)theEObject; + T result = caseStringScope(stringScope); + if (result == null) result = caseStringReference(stringScope); + if (result == null) result = caseTypeReference(stringScope); + if (result == null) result = defaultCase(theEObject); + return result; + } default: return defaultCase(theEObject); } } @@ -209,6 +520,54 @@ public class ApplicationConfigurationSwitch extends Switch return null; } + /** + * Returns the result of interpreting the object as an instance of 'Import'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Import'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseImport(Import object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'EPackage Import'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'EPackage Import'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseEPackageImport(EPackageImport object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Viatra Import'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Viatra Import'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseViatraImport(ViatraImport object) + { + return null; + } + /** * Returns the result of interpreting the object as an instance of 'Declaration'. * @@ -226,49 +585,65 @@ public class ApplicationConfigurationSwitch extends Switch } /** - * Returns the result of interpreting the object as an instance of 'Import'. + * Returns the result of interpreting the object as an instance of 'File Specification'. * * This implementation returns null; * returning a non-null result will terminate the switch. * * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Import'. + * @return the result of interpreting the object as an instance of 'File Specification'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T caseImport(Import object) + public T caseFileSpecification(FileSpecification object) { return null; } /** - * Returns the result of interpreting the object as an instance of 'EPackage Import'. + * Returns the result of interpreting the object as an instance of 'File Declaration'. * * This implementation returns null; * returning a non-null result will terminate the switch. * * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'EPackage Import'. + * @return the result of interpreting the object as an instance of 'File Declaration'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T caseEPackageImport(EPackageImport object) + public T caseFileDeclaration(FileDeclaration object) { return null; } /** - * Returns the result of interpreting the object as an instance of 'Viatra Import'. + * Returns the result of interpreting the object as an instance of 'File Reference'. * * This implementation returns null; * returning a non-null result will terminate the switch. * * @param object the target of the switch. - * @return the result of interpreting the object as an instance of 'Viatra Import'. + * @return the result of interpreting the object as an instance of 'File Reference'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated */ - public T caseViatraImport(ViatraImport object) + public T caseFileReference(FileReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'File'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'File'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFile(File object) { return null; } @@ -385,6 +760,566 @@ public class ApplicationConfigurationSwitch extends Switch return null; } + /** + * Returns the result of interpreting the object as an instance of 'Partial Model Specification'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Partial Model Specification'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePartialModelSpecification(PartialModelSpecification object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Partial Model Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Partial Model Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePartialModelEntry(PartialModelEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Model Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Model Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseModelEntry(ModelEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Folder Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Folder Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseFolderEntry(FolderEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Partial Model Declaration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Partial Model Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePartialModelDeclaration(PartialModelDeclaration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Partial Model Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Partial Model Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePartialModelReference(PartialModelReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Partial Model'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Partial Model'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePartialModel(PartialModel object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Pattern Specification'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Pattern Specification'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePatternSpecification(PatternSpecification object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Pattern Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Pattern Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePatternEntry(PatternEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'All Pattern Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'All Pattern Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseAllPatternEntry(AllPatternEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Pattern Element'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Pattern Element'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T casePatternElement(PatternElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Graph Pattern Declaration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Graph Pattern Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseGraphPatternDeclaration(GraphPatternDeclaration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Graph Pattern Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Graph Pattern Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseGraphPatternReference(GraphPatternReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Graph Pattern'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Graph Pattern'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseGraphPattern(GraphPattern object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Config Specification'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Config Specification'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConfigSpecification(ConfigSpecification object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Config Declaration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Config Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConfigDeclaration(ConfigDeclaration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Config Entry'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Config Entry'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConfigEntry(ConfigEntry object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Config Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Config Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConfigReference(ConfigReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Config'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Config'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseConfig(Config object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Scope Specification'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Scope Specification'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseScopeSpecification(ScopeSpecification object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Type Scope'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Type Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTypeScope(TypeScope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Type Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Type Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTypeReference(TypeReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Class Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Class Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseClassReference(ClassReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Object Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Object Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseObjectReference(ObjectReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Integer Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Integer Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIntegerReference(IntegerReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Real Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Real Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRealReference(RealReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'String Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'String Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStringReference(StringReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Scope Declaration'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Scope Declaration'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseScopeDeclaration(ScopeDeclaration object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Scope Reference'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Scope Reference'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseScopeReference(ScopeReference object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Scope'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseScope(Scope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Task'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Task'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTask(Task object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Generation Task'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Generation Task'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseGenerationTask(GenerationTask object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Integer Scope'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Integer Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIntegerScope(IntegerScope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'Real Scope'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'Real Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRealScope(RealScope object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of 'String Scope'. + * + * This implementation returns null; + * returning a non-null result will terminate the switch. + * + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of 'String Scope'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStringScope(StringScope object) + { + return null; + } + /** * Returns the result of interpreting the object as an instance of 'EObject'. * diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g index f7f57fab..13039f39 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.g @@ -23,6 +23,7 @@ import org.eclipse.xtext.parser.*; import org.eclipse.xtext.parser.impl.*; import org.eclipse.emf.ecore.util.EcoreUtil; import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.common.util.Enumerator; import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; import org.eclipse.xtext.parser.antlr.XtextTokenStream; import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; @@ -132,39 +133,68 @@ ruleCommand returns [EObject current=null] @after { leaveRule(); }: - { - newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall()); - } - this_Declaration_0=ruleDeclaration - { - $current = $this_Declaration_0.current; - afterParserOrEnumRuleCall(); - } + ( + { + newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); + } + this_Declaration_0=ruleDeclaration + { + $current = $this_Declaration_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); + } + this_Task_1=ruleTask + { + $current = $this_Task_1.current; + afterParserOrEnumRuleCall(); + } + ) ; -// Entry rule entryRuleDeclaration -entryRuleDeclaration returns [EObject current=null]: - { newCompositeNode(grammarAccess.getDeclarationRule()); } - iv_ruleDeclaration=ruleDeclaration - { $current=$iv_ruleDeclaration.current; } +// Entry rule entryRuleQualifiedName +entryRuleQualifiedName returns [String current=null]: + { newCompositeNode(grammarAccess.getQualifiedNameRule()); } + iv_ruleQualifiedName=ruleQualifiedName + { $current=$iv_ruleQualifiedName.current.getText(); } EOF; -// Rule Declaration -ruleDeclaration returns [EObject current=null] +// Rule QualifiedName +ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] @init { enterRule(); } @after { leaveRule(); }: - { - newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall()); - } - this_MetamodelDeclaration_0=ruleMetamodelDeclaration - { - $current = $this_MetamodelDeclaration_0.current; - afterParserOrEnumRuleCall(); - } + ( + this_ID_0=RULE_ID + { + $current.merge(this_ID_0); + } + { + newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); + } + ( + ( + ('.')=> + kw='.' + { + $current.merge(kw); + newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); + } + ) + this_ID_2=RULE_ID + { + $current.merge(this_ID_2); + } + { + newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); + } + )* + ) ; // Entry rule entryRuleImport @@ -283,6 +313,243 @@ ruleViatraImport returns [EObject current=null] ) ; +// Entry rule entryRuleDeclaration +entryRuleDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getDeclarationRule()); } + iv_ruleDeclaration=ruleDeclaration + { $current=$iv_ruleDeclaration.current; } + EOF; + +// Rule Declaration +ruleDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); + } + this_FileDeclaration_0=ruleFileDeclaration + { + $current = $this_FileDeclaration_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); + } + this_MetamodelDeclaration_1=ruleMetamodelDeclaration + { + $current = $this_MetamodelDeclaration_1.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); + } + this_PartialModelDeclaration_2=rulePartialModelDeclaration + { + $current = $this_PartialModelDeclaration_2.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); + } + this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration + { + $current = $this_GraphPatternDeclaration_3.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); + } + this_ConfigDeclaration_4=ruleConfigDeclaration + { + $current = $this_ConfigDeclaration_4.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); + } + this_ScopeDeclaration_5=ruleScopeDeclaration + { + $current = $this_ScopeDeclaration_5.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleFileSpecification +entryRuleFileSpecification returns [EObject current=null]: + { newCompositeNode(grammarAccess.getFileSpecificationRule()); } + iv_ruleFileSpecification=ruleFileSpecification + { $current=$iv_ruleFileSpecification.current; } + EOF; + +// Rule FileSpecification +ruleFileSpecification returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + lv_path_0_0=RULE_STRING + { + newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getFileSpecificationRule()); + } + setWithLastConsumed( + $current, + "path", + lv_path_0_0, + "org.eclipse.xtext.common.Terminals.STRING"); + } + ) + ) +; + +// Entry rule entryRuleFileDeclaration +entryRuleFileDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getFileDeclarationRule()); } + iv_ruleFileDeclaration=ruleFileDeclaration + { $current=$iv_ruleFileDeclaration.current; } + EOF; + +// Rule FileDeclaration +ruleFileDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='file' + { + newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); + } + ( + ( + lv_name_1_0=RULE_ID + { + newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getFileDeclarationRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + otherlv_2='=' + { + newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); + } + ( + ( + { + newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); + } + lv_specification_3_0=ruleFileSpecification + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getFileDeclarationRule()); + } + set( + $current, + "specification", + lv_specification_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleFileReference +entryRuleFileReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getFileReferenceRule()); } + iv_ruleFileReference=ruleFileReference + { $current=$iv_ruleFileReference.current; } + EOF; + +// Rule FileReference +ruleFileReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getFileReferenceRule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); + } + ) + ) +; + +// Entry rule entryRuleFile +entryRuleFile returns [EObject current=null]: + { newCompositeNode(grammarAccess.getFileRule()); } + iv_ruleFile=ruleFile + { $current=$iv_ruleFile.current; } + EOF; + +// Rule File +ruleFile returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); + } + this_FileSpecification_0=ruleFileSpecification + { + $current = $this_FileSpecification_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); + } + this_FileReference_1=ruleFileReference + { + $current = $this_FileReference_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + // Entry rule entryRuleMetamodelSpecification entryRuleMetamodelSpecification returns [EObject current=null]: { newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); } @@ -417,9 +684,12 @@ ruleAllPackageEntry returns [EObject current=null] $current = createModelElement(grammarAccess.getAllPackageEntryRule()); } } - otherlv_1=RULE_ID { - newLeafNode(otherlv_1, grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); + newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); } ) ) @@ -508,9 +778,12 @@ ruleMetamodelElement returns [EObject current=null] $current = createModelElement(grammarAccess.getMetamodelElementRule()); } } - otherlv_0=RULE_ID { - newLeafNode(otherlv_0, grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); + newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); } ) ) @@ -644,6 +917,2205 @@ ruleMetamodelReference returns [EObject current=null] ) ; +// Entry rule entryRuleMetamodel +entryRuleMetamodel returns [EObject current=null]: + { newCompositeNode(grammarAccess.getMetamodelRule()); } + iv_ruleMetamodel=ruleMetamodel + { $current=$iv_ruleMetamodel.current; } + EOF; + +// Rule Metamodel +ruleMetamodel returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); + } + this_MetamodelReference_0=ruleMetamodelReference + { + $current = $this_MetamodelReference_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); + } + this_MetamodelSpecification_1=ruleMetamodelSpecification + { + $current = $this_MetamodelSpecification_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRulePartialModelSpecification +entryRulePartialModelSpecification returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); } + iv_rulePartialModelSpecification=rulePartialModelSpecification + { $current=$iv_rulePartialModelSpecification.current; } + EOF; + +// Rule PartialModelSpecification +rulePartialModelSpecification returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='{' + { + newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); + } + lv_entry_1_0=rulePartialModelEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); + } + add( + $current, + "entry", + lv_entry_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_2=',' + { + newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); + } + lv_entry_3_0=rulePartialModelEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); + } + add( + $current, + "entry", + lv_entry_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + )? + otherlv_4='}' + { + newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRulePartialModelEntry +entryRulePartialModelEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPartialModelEntryRule()); } + iv_rulePartialModelEntry=rulePartialModelEntry + { $current=$iv_rulePartialModelEntry.current; } + EOF; + +// Rule PartialModelEntry +rulePartialModelEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); + } + this_ModelEntry_0=ruleModelEntry + { + $current = $this_ModelEntry_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); + } + this_FolderEntry_1=ruleFolderEntry + { + $current = $this_FolderEntry_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleModelEntry +entryRuleModelEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getModelEntryRule()); } + iv_ruleModelEntry=ruleModelEntry + { $current=$iv_ruleModelEntry.current; } + EOF; + +// Rule ModelEntry +ruleModelEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); + } + lv_path_0_0=ruleFile + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getModelEntryRule()); + } + set( + $current, + "path", + lv_path_0_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + } + ) + ) +; + +// Entry rule entryRuleFolderEntry +entryRuleFolderEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getFolderEntryRule()); } + iv_ruleFolderEntry=ruleFolderEntry + { $current=$iv_ruleFolderEntry.current; } + EOF; + +// Rule FolderEntry +ruleFolderEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='folder' + { + newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); + } + lv_path_1_0=ruleFile + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); + } + set( + $current, + "path", + lv_path_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_2='excluding' + { + newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); + } + otherlv_3='{' + { + newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); + } + lv_exclusion_4_0=ruleModelEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); + } + add( + $current, + "exclusion", + lv_exclusion_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_5=',' + { + newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); + } + lv_exclusion_6_0=ruleModelEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getFolderEntryRule()); + } + add( + $current, + "exclusion", + lv_exclusion_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + otherlv_7='}' + { + newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); + } + )? + ) +; + +// Entry rule entryRulePartialModelDeclaration +entryRulePartialModelDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); } + iv_rulePartialModelDeclaration=rulePartialModelDeclaration + { $current=$iv_rulePartialModelDeclaration.current; } + EOF; + +// Rule PartialModelDeclaration +rulePartialModelDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='partial-model' + { + newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getPartialModelKeyword_0()); + } + ( + ( + lv_name_1_0=RULE_ID + { + newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPartialModelDeclarationRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); + } + lv_specification_2_0=rulePartialModelSpecification + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule()); + } + set( + $current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRulePartialModelReference +entryRulePartialModelReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPartialModelReferenceRule()); } + iv_rulePartialModelReference=rulePartialModelReference + { $current=$iv_rulePartialModelReference.current; } + EOF; + +// Rule PartialModelReference +rulePartialModelReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPartialModelReferenceRule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); + } + ) + ) +; + +// Entry rule entryRulePartialModel +entryRulePartialModel returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPartialModelRule()); } + iv_rulePartialModel=rulePartialModel + { $current=$iv_rulePartialModel.current; } + EOF; + +// Rule PartialModel +rulePartialModel returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); + } + this_PartialModelSpecification_0=rulePartialModelSpecification + { + $current = $this_PartialModelSpecification_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); + } + this_PartialModelReference_1=rulePartialModelReference + { + $current = $this_PartialModelReference_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRulePatternSpecification +entryRulePatternSpecification returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPatternSpecificationRule()); } + iv_rulePatternSpecification=rulePatternSpecification + { $current=$iv_rulePatternSpecification.current; } + EOF; + +// Rule PatternSpecification +rulePatternSpecification returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='{' + { + newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); + } + lv_entries_1_0=rulePatternEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); + } + add( + $current, + "entries", + lv_entries_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_2=',' + { + newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); + } + lv_entries_3_0=rulePatternEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); + } + add( + $current, + "entries", + lv_entries_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + otherlv_4='}' + { + newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRulePatternEntry +entryRulePatternEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPatternEntryRule()); } + iv_rulePatternEntry=rulePatternEntry + { $current=$iv_rulePatternEntry.current; } + EOF; + +// Rule PatternEntry +rulePatternEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); + } + this_PatternElement_0=rulePatternElement + { + $current = $this_PatternElement_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); + } + this_AllPatternEntry_1=ruleAllPatternEntry + { + $current = $this_AllPatternEntry_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleAllPatternEntry +entryRuleAllPatternEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getAllPatternEntryRule()); } + iv_ruleAllPatternEntry=ruleAllPatternEntry + { $current=$iv_ruleAllPatternEntry.current; } + EOF; + +// Rule AllPatternEntry +ruleAllPatternEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='package' + { + newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); + } + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getAllPatternEntryRule()); + } + } + { + newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_2='excluding' + { + newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); + } + otherlv_3='{' + { + newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); + } + lv_exclusuion_4_0=rulePatternElement + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); + } + add( + $current, + "exclusuion", + lv_exclusuion_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_5=',' + { + newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); + } + lv_exclusuion_6_0=rulePatternElement + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); + } + add( + $current, + "exclusuion", + lv_exclusuion_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + otherlv_7='}' + { + newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); + } + )? + ) +; + +// Entry rule entryRulePatternElement +entryRulePatternElement returns [EObject current=null]: + { newCompositeNode(grammarAccess.getPatternElementRule()); } + iv_rulePatternElement=rulePatternElement + { $current=$iv_rulePatternElement.current; } + EOF; + +// Rule PatternElement +rulePatternElement returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPatternElementRule()); + } + } + { + newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); + } + ruleQualifiedName + { + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_1='::' + { + newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); + } + )? + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getPatternElementRule()); + } + } + otherlv_2=RULE_ID + { + newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); + } + ) + ) + ) +; + +// Entry rule entryRuleGraphPatternDeclaration +entryRuleGraphPatternDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); } + iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration + { $current=$iv_ruleGraphPatternDeclaration.current; } + EOF; + +// Rule GraphPatternDeclaration +ruleGraphPatternDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='patterns' + { + newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getPatternsKeyword_0()); + } + ( + ( + lv_name_1_0=RULE_ID + { + newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getGraphPatternDeclarationRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); + } + lv_specification_2_0=rulePatternSpecification + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule()); + } + set( + $current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleGraphPatternReference +entryRuleGraphPatternReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getGraphPatternReferenceRule()); } + iv_ruleGraphPatternReference=ruleGraphPatternReference + { $current=$iv_ruleGraphPatternReference.current; } + EOF; + +// Rule GraphPatternReference +ruleGraphPatternReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getGraphPatternReferenceRule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); + } + ) + ) +; + +// Entry rule entryRuleGraphPattern +entryRuleGraphPattern returns [EObject current=null]: + { newCompositeNode(grammarAccess.getGraphPatternRule()); } + iv_ruleGraphPattern=ruleGraphPattern + { $current=$iv_ruleGraphPattern.current; } + EOF; + +// Rule GraphPattern +ruleGraphPattern returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); + } + this_GraphPatternReference_0=ruleGraphPatternReference + { + $current = $this_GraphPatternReference_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); + } + this_PatternSpecification_1=rulePatternSpecification + { + $current = $this_PatternSpecification_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleConfigSpecification +entryRuleConfigSpecification returns [EObject current=null]: + { newCompositeNode(grammarAccess.getConfigSpecificationRule()); } + iv_ruleConfigSpecification=ruleConfigSpecification + { $current=$iv_ruleConfigSpecification.current; } + EOF; + +// Rule ConfigSpecification +ruleConfigSpecification returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(), + $current); + } + ) + otherlv_1='{' + { + newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); + } + lv_entries_2_0=ruleConfigEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); + } + add( + $current, + "entries", + lv_entries_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_3=',' + { + newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); + } + lv_entries_4_0=ruleConfigEntry + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); + } + add( + $current, + "entries", + lv_entries_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + )? + otherlv_5='}' + { + newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRuleConfigDeclaration +entryRuleConfigDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getConfigDeclarationRule()); } + iv_ruleConfigDeclaration=ruleConfigDeclaration + { $current=$iv_ruleConfigDeclaration.current; } + EOF; + +// Rule ConfigDeclaration +ruleConfigDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='config' + { + newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); + } + ( + ( + lv_name_1_0=RULE_ID + { + newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getConfigDeclarationRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); + } + lv_specification_2_0=ruleConfigSpecification + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getConfigDeclarationRule()); + } + set( + $current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleConfigEntry +entryRuleConfigEntry returns [EObject current=null]: + { newCompositeNode(grammarAccess.getConfigEntryRule()); } + iv_ruleConfigEntry=ruleConfigEntry + { $current=$iv_ruleConfigEntry.current; } + EOF; + +// Rule ConfigEntry +ruleConfigEntry returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + lv_key_0_0=RULE_STRING + { + newLeafNode(lv_key_0_0, grammarAccess.getConfigEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getConfigEntryRule()); + } + setWithLastConsumed( + $current, + "key", + lv_key_0_0, + "org.eclipse.xtext.common.Terminals.STRING"); + } + ) + ) + otherlv_1='=' + { + newLeafNode(otherlv_1, grammarAccess.getConfigEntryAccess().getEqualsSignKeyword_1()); + } + ( + ( + lv_value_2_0=RULE_STRING + { + newLeafNode(lv_value_2_0, grammarAccess.getConfigEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getConfigEntryRule()); + } + setWithLastConsumed( + $current, + "value", + lv_value_2_0, + "org.eclipse.xtext.common.Terminals.STRING"); + } + ) + ) + ) +; + +// Entry rule entryRuleConfigReference +entryRuleConfigReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getConfigReferenceRule()); } + iv_ruleConfigReference=ruleConfigReference + { $current=$iv_ruleConfigReference.current; } + EOF; + +// Rule ConfigReference +ruleConfigReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getConfigReferenceRule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); + } + ) + ) +; + +// Entry rule entryRuleConfig +entryRuleConfig returns [EObject current=null]: + { newCompositeNode(grammarAccess.getConfigRule()); } + iv_ruleConfig=ruleConfig + { $current=$iv_ruleConfig.current; } + EOF; + +// Rule Config +ruleConfig returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); + } + this_ConfigSpecification_0=ruleConfigSpecification + { + $current = $this_ConfigSpecification_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); + } + this_ConfigReference_1=ruleConfigReference + { + $current = $this_ConfigReference_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleScopeSpecification +entryRuleScopeSpecification returns [EObject current=null]: + { newCompositeNode(grammarAccess.getScopeSpecificationRule()); } + iv_ruleScopeSpecification=ruleScopeSpecification + { $current=$iv_ruleScopeSpecification.current; } + EOF; + +// Rule ScopeSpecification +ruleScopeSpecification returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(), + $current); + } + ) + otherlv_1='{' + { + newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); + } + ( + ( + ( + { + newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); + } + lv_scopes_2_0=ruleTypeScope + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); + } + add( + $current, + "scopes", + lv_scopes_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + otherlv_3=',' + { + newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); + } + lv_scopes_4_0=ruleTypeScope + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); + } + add( + $current, + "scopes", + lv_scopes_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); + afterParserOrEnumRuleCall(); + } + ) + ) + )* + )? + otherlv_5='}' + { + newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); + } + ) +; + +// Entry rule entryRuleTypeScope +entryRuleTypeScope returns [EObject current=null]: + { newCompositeNode(grammarAccess.getTypeScopeRule()); } + iv_ruleTypeScope=ruleTypeScope + { $current=$iv_ruleTypeScope.current; } + EOF; + +// Rule TypeScope +ruleTypeScope returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + ( + ( + lv_min_0_0=RULE_INT + { + newLeafNode(lv_min_0_0, grammarAccess.getTypeScopeAccess().getMinINTTerminalRuleCall_0_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getTypeScopeRule()); + } + setWithLastConsumed( + $current, + "min", + lv_min_0_0, + "org.eclipse.xtext.common.Terminals.INT"); + } + ) + ) + ( + ( + ( + lv_greather_1_0='<' + { + newLeafNode(lv_greather_1_0, grammarAccess.getTypeScopeAccess().getGreatherLessThanSignKeyword_0_1_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getTypeScopeRule()); + } + setWithLastConsumed($current, "greather", true, "<"); + } + ) + ) + | + ( + ( + lv_greaterOrEqual_2_0='<=' + { + newLeafNode(lv_greaterOrEqual_2_0, grammarAccess.getTypeScopeAccess().getGreaterOrEqualLessThanSignEqualsSignKeyword_0_1_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getTypeScopeRule()); + } + setWithLastConsumed($current, "greaterOrEqual", true, "<="); + } + ) + ) + ) + )? + otherlv_3='#' + { + newLeafNode(otherlv_3, grammarAccess.getTypeScopeAccess().getNumberSignKeyword_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getTypeScopeAccess().getTypeTypeReferenceParserRuleCall_2_0()); + } + lv_type_4_0=ruleTypeReference + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getTypeScopeRule()); + } + set( + $current, + "type", + lv_type_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeReference"); + afterParserOrEnumRuleCall(); + } + ) + ) + ( + ( + ( + ( + lv_less_5_0='<' + { + newLeafNode(lv_less_5_0, grammarAccess.getTypeScopeAccess().getLessLessThanSignKeyword_3_0_0_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getTypeScopeRule()); + } + setWithLastConsumed($current, "less", true, "<"); + } + ) + ) + | + ( + ( + lv_lessOrEqual_6_0='<=' + { + newLeafNode(lv_lessOrEqual_6_0, grammarAccess.getTypeScopeAccess().getLessOrEqualLessThanSignEqualsSignKeyword_3_0_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getTypeScopeRule()); + } + setWithLastConsumed($current, "lessOrEqual", true, "<="); + } + ) + ) + ) + ( + ( + lv_max_7_0=RULE_INT + { + newLeafNode(lv_max_7_0, grammarAccess.getTypeScopeAccess().getMaxINTTerminalRuleCall_3_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getTypeScopeRule()); + } + setWithLastConsumed( + $current, + "max", + lv_max_7_0, + "org.eclipse.xtext.common.Terminals.INT"); + } + ) + ) + )? + ) +; + +// Entry rule entryRuleTypeReference +entryRuleTypeReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getTypeReferenceRule()); } + iv_ruleTypeReference=ruleTypeReference + { $current=$iv_ruleTypeReference.current; } + EOF; + +// Rule TypeReference +ruleTypeReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getTypeReferenceAccess().getClassReferenceParserRuleCall_0()); + } + this_ClassReference_0=ruleClassReference + { + $current = $this_ClassReference_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getTypeReferenceAccess().getObjectReferenceParserRuleCall_1()); + } + this_ObjectReference_1=ruleObjectReference + { + $current = $this_ObjectReference_1.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getTypeReferenceAccess().getIntegerReferenceParserRuleCall_2()); + } + this_IntegerReference_2=ruleIntegerReference + { + $current = $this_IntegerReference_2.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getTypeReferenceAccess().getRealReferenceParserRuleCall_3()); + } + this_RealReference_3=ruleRealReference + { + $current = $this_RealReference_3.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getTypeReferenceAccess().getStringReferenceParserRuleCall_4()); + } + this_StringReference_4=ruleStringReference + { + $current = $this_StringReference_4.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleClassReference +entryRuleClassReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getClassReferenceRule()); } + iv_ruleClassReference=ruleClassReference + { $current=$iv_ruleClassReference.current; } + EOF; + +// Rule ClassReference +ruleClassReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='[' + { + newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLeftSquareBracketKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); + } + lv_element_1_0=ruleMetamodelElement + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getClassReferenceRule()); + } + set( + $current, + "element", + lv_element_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); + afterParserOrEnumRuleCall(); + } + ) + ) + otherlv_2=']' + { + newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getRightSquareBracketKeyword_2()); + } + ) +; + +// Entry rule entryRuleObjectReference +entryRuleObjectReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getObjectReferenceRule()); } + iv_ruleObjectReference=ruleObjectReference + { $current=$iv_ruleObjectReference.current; } + EOF; + +// Rule ObjectReference +ruleObjectReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(), + $current); + } + ) + otherlv_1='Object' + { + newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getObjectKeyword_1()); + } + ) +; + +// Entry rule entryRuleIntegerReference +entryRuleIntegerReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getIntegerReferenceRule()); } + iv_ruleIntegerReference=ruleIntegerReference + { $current=$iv_ruleIntegerReference.current; } + EOF; + +// Rule IntegerReference +ruleIntegerReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(), + $current); + } + ) + otherlv_1='int' + { + newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); + } + ) +; + +// Entry rule entryRuleRealReference +entryRuleRealReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getRealReferenceRule()); } + iv_ruleRealReference=ruleRealReference + { $current=$iv_ruleRealReference.current; } + EOF; + +// Rule RealReference +ruleRealReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getRealReferenceAccess().getRealScopeAction_0(), + $current); + } + ) + otherlv_1='real' + { + newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); + } + ) +; + +// Entry rule entryRuleStringReference +entryRuleStringReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getStringReferenceRule()); } + iv_ruleStringReference=ruleStringReference + { $current=$iv_ruleStringReference.current; } + EOF; + +// Rule StringReference +ruleStringReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + $current = forceCreateModelElement( + grammarAccess.getStringReferenceAccess().getStringScopeAction_0(), + $current); + } + ) + otherlv_1='string' + { + newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); + } + ) +; + +// Entry rule entryRuleScopeDeclaration +entryRuleScopeDeclaration returns [EObject current=null]: + { newCompositeNode(grammarAccess.getScopeDeclarationRule()); } + iv_ruleScopeDeclaration=ruleScopeDeclaration + { $current=$iv_ruleScopeDeclaration.current; } + EOF; + +// Rule ScopeDeclaration +ruleScopeDeclaration returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='scope' + { + newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); + } + ( + ( + lv_name_1_0=RULE_ID + { + newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getScopeDeclarationRule()); + } + setWithLastConsumed( + $current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + } + ) + ) + ( + ( + { + newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); + } + lv_specification_2_0=ruleScopeSpecification + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getScopeDeclarationRule()); + } + set( + $current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); + afterParserOrEnumRuleCall(); + } + ) + ) + ) +; + +// Entry rule entryRuleScopeReference +entryRuleScopeReference returns [EObject current=null]: + { newCompositeNode(grammarAccess.getScopeReferenceRule()); } + iv_ruleScopeReference=ruleScopeReference + { $current=$iv_ruleScopeReference.current; } + EOF; + +// Rule ScopeReference +ruleScopeReference returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + { + if ($current==null) { + $current = createModelElement(grammarAccess.getScopeReferenceRule()); + } + } + otherlv_0=RULE_ID + { + newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); + } + ) + ) +; + +// Entry rule entryRuleScope +entryRuleScope returns [EObject current=null]: + { newCompositeNode(grammarAccess.getScopeRule()); } + iv_ruleScope=ruleScope + { $current=$iv_ruleScope.current; } + EOF; + +// Rule Scope +ruleScope returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + { + newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); + } + this_ScopeSpecification_0=ruleScopeSpecification + { + $current = $this_ScopeSpecification_0.current; + afterParserOrEnumRuleCall(); + } + | + { + newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); + } + this_ScopeReference_1=ruleScopeReference + { + $current = $this_ScopeReference_1.current; + afterParserOrEnumRuleCall(); + } + ) +; + +// Entry rule entryRuleTask +entryRuleTask returns [EObject current=null]: + { newCompositeNode(grammarAccess.getTaskRule()); } + iv_ruleTask=ruleTask + { $current=$iv_ruleTask.current; } + EOF; + +// Rule Task +ruleTask returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + { + newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); + } + this_GenerationTask_0=ruleGenerationTask + { + $current = $this_GenerationTask_0.current; + afterParserOrEnumRuleCall(); + } +; + +// Entry rule entryRuleGenerationTask +entryRuleGenerationTask returns [EObject current=null]: + { newCompositeNode(grammarAccess.getGenerationTaskRule()); } + iv_ruleGenerationTask=ruleGenerationTask + { $current=$iv_ruleGenerationTask.current; } + EOF; + +// Rule GenerationTask +ruleGenerationTask returns [EObject current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + otherlv_0='generate' + { + newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); + } + ( + { + $current = forceCreateModelElement( + grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(), + $current); + } + ) + otherlv_2='{' + { + newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); + } + ( + ( + { + getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ( + ( + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); + } + ({true}?=>(otherlv_4='metamodel' + { + newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); + } + otherlv_5='=' + { + newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); + } + lv_metamodel_6_0=ruleMetamodel + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + $current, + "metamodel", + lv_metamodel_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel"); + afterParserOrEnumRuleCall(); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); + } + ({true}?=>(otherlv_7='partial-model' + { + newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); + } + otherlv_8='=' + { + newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); + } + lv_partialModel_9_0=rulePartialModel + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + $current, + "partialModel", + lv_partialModel_9_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); + afterParserOrEnumRuleCall(); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); + } + ({true}?=>(otherlv_10='patterns' + { + newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getPatternsKeyword_3_2_0()); + } + otherlv_11='=' + { + newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); + } + lv_patterns_12_0=ruleGraphPattern + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + $current, + "patterns", + lv_patterns_12_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); + afterParserOrEnumRuleCall(); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); + } + ({true}?=>(otherlv_13='scope' + { + newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0()); + } + otherlv_14='=' + { + newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_3_2_0()); + } + lv_scope_15_0=ruleScope + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + $current, + "scope", + lv_scope_15_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); + afterParserOrEnumRuleCall(); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); + } + ({true}?=>(otherlv_16='number' + { + newLeafNode(otherlv_16, grammarAccess.getGenerationTaskAccess().getNumberKeyword_3_4_0()); + } + otherlv_17='=' + { + newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); + } + ( + ( + lv_number_18_0=RULE_INT + { + newLeafNode(lv_number_18_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_4_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getGenerationTaskRule()); + } + setWithLastConsumed( + $current, + "number", + lv_number_18_0, + "org.eclipse.xtext.common.Terminals.INT"); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); + } + ({true}?=>(otherlv_19='runs' + { + newLeafNode(otherlv_19, grammarAccess.getGenerationTaskAccess().getRunsKeyword_3_5_0()); + } + otherlv_20='=' + { + newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); + } + ( + ( + lv_runs_21_0=RULE_INT + { + newLeafNode(lv_runs_21_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_5_2_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getGenerationTaskRule()); + } + setWithLastConsumed( + $current, + "runs", + lv_runs_21_0, + "org.eclipse.xtext.common.Terminals.INT"); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); + } + ({true}?=>(otherlv_22='solver' + { + newLeafNode(otherlv_22, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0()); + } + otherlv_23='=' + { + newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_6_2_0()); + } + lv_solver_24_0=ruleSolver + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + $current, + "solver", + lv_solver_24_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); + afterParserOrEnumRuleCall(); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); + } + ({true}?=>(otherlv_25='config' + { + newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_7_0()); + } + otherlv_26='=' + { + newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_7_2_0()); + } + lv_config_27_0=ruleConfig + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + $current, + "config", + lv_config_27_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); + afterParserOrEnumRuleCall(); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); + } + ({true}?=>(otherlv_28='output' + { + newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_8_0()); + } + otherlv_29='=' + { + newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_8_2_0()); + } + lv_tagetFolder_30_0=ruleFile + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + $current, + "tagetFolder", + lv_tagetFolder_30_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); + } + ({true}?=>(otherlv_31='debug' + { + newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0()); + } + otherlv_32='=' + { + newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0()); + } + lv_debugFolder_33_0=ruleFile + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + $current, + "debugFolder", + lv_debugFolder_33_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); + } + ({true}?=>(otherlv_34='log' + { + newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0()); + } + otherlv_35='=' + { + newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0()); + } + lv_targetLogFile_36_0=ruleFile + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + $current, + "targetLogFile", + lv_targetLogFile_36_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + )| + ( + {getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)}?=>( + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); + } + ({true}?=>(otherlv_37='statistics' + { + newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0()); + } + otherlv_38='=' + { + newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); + } + ( + ( + { + newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0()); + } + lv_targetStatisticsFile_39_0=ruleFile + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + $current, + "targetStatisticsFile", + lv_targetStatisticsFile_39_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + } + ) + ) + )) + { + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + ) + )* + ) + ) + { + getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + } + ) + otherlv_40='}' + { + newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); + } + ) +; + +// Rule Solver +ruleSolver returns [Enumerator current=null] +@init { + enterRule(); +} +@after { + leaveRule(); +}: + ( + ( + enumLiteral_0='SMTSolver' + { + $current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); + } + ) + | + ( + enumLiteral_1='AlloySolver' + { + $current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); + } + ) + | + ( + enumLiteral_2='ViatraSolver' + { + $current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); + } + ) + ) +; + RULE_ID : '^'? ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'_'|'0'..'9')*; RULE_INT : ('0'..'9')+; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens index 676ff381..0b45afaa 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfiguration.tokens @@ -1,20 +1,47 @@ -','=15 -'.'=20 -'::'=19 -'epackage'=12 -'excluding'=18 -'import'=11 -'metamodel'=21 -'package'=17 -'viatra'=13 -'{'=14 -'}'=16 +'#'=30 +','=18 +'.'=11 +'::'=22 +'<'=28 +'<='=29 +'='=16 +'AlloySolver'=47 +'Object'=33 +'SMTSolver'=46 +'ViatraSolver'=48 +'['=31 +']'=32 +'config'=27 +'debug'=43 +'epackage'=13 +'excluding'=21 +'file'=15 +'folder'=24 +'generate'=38 +'import'=12 +'int'=34 +'log'=44 +'metamodel'=23 +'number'=39 +'output'=42 +'package'=20 +'partial-model'=25 +'patterns'=26 +'real'=35 +'runs'=40 +'scope'=37 +'solver'=41 +'statistics'=45 +'string'=36 +'viatra'=14 +'{'=17 +'}'=19 RULE_ANY_OTHER=10 -RULE_ID=5 +RULE_ID=4 RULE_INT=6 RULE_ML_COMMENT=7 RULE_SL_COMMENT=8 -RULE_STRING=4 +RULE_STRING=5 RULE_WS=9 T__11=11 T__12=12 @@ -27,3 +54,30 @@ T__18=18 T__19=19 T__20=20 T__21=21 +T__22=22 +T__23=23 +T__24=24 +T__25=25 +T__26=26 +T__27=27 +T__28=28 +T__29=29 +T__30=30 +T__31=31 +T__32=32 +T__33=33 +T__34=34 +T__35=35 +T__36=36 +T__37=37 +T__38=38 +T__39=39 +T__40=40 +T__41=41 +T__42=42 +T__43=43 +T__44=44 +T__45=45 +T__46=46 +T__47=47 +T__48=48 diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java index 730041a1..3474822c 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationLexer.java @@ -12,8 +12,6 @@ import java.util.ArrayList; @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; @@ -23,14 +21,43 @@ public class InternalApplicationConfigurationLexer extends Lexer { 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_ID=4; + public static final int T__26=26; + public static final int T__27=27; + public static final int T__28=28; public static final int RULE_INT=6; + public static final int T__29=29; + public static final int T__22=22; public static final int RULE_ML_COMMENT=7; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; public static final int T__20=20; public static final int T__21=21; + public static final int RULE_STRING=5; + public static final int RULE_SL_COMMENT=8; + public static final int T__37=37; + public static final int T__38=38; + public static final int T__39=39; + public static final int T__33=33; + public static final int T__34=34; + public static final int T__35=35; + public static final int T__36=36; + public static final int EOF=-1; + public static final int T__30=30; + public static final int T__31=31; + public static final int T__32=32; + public static final int RULE_WS=9; + public static final int RULE_ANY_OTHER=10; + public static final int T__48=48; + public static final int T__44=44; + public static final int T__45=45; + public static final int T__46=46; + public static final int T__47=47; + public static final int T__40=40; + public static final int T__41=41; + public static final int T__42=42; + public static final int T__43=43; // delegates // delegators @@ -43,17 +70,575 @@ public class InternalApplicationConfigurationLexer extends Lexer { super(input,state); } - public String getGrammarFileName() { return "InternalApplicationConfiguration.g"; } + 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: ( '.' ) + // InternalApplicationConfiguration.g:11:9: '.' + { + match('.'); + + } + + 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: ( 'import' ) + // InternalApplicationConfiguration.g:12:9: 'import' + { + match("import"); + + + } + + 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: ( 'epackage' ) + // InternalApplicationConfiguration.g:13:9: 'epackage' + { + match("epackage"); + + + } + + 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: ( 'viatra' ) + // InternalApplicationConfiguration.g:14:9: 'viatra' + { + match("viatra"); + + + } + + 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: ( 'file' ) + // InternalApplicationConfiguration.g:15:9: 'file' + { + match("file"); + + + } + + 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: ( '{' ) + // InternalApplicationConfiguration.g:17:9: '{' + { + match('{'); + + } + + 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: ( ',' ) + // InternalApplicationConfiguration.g:18:9: ',' + { + match(','); + + } + + 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: ( 'package' ) + // InternalApplicationConfiguration.g:20:9: 'package' + { + match("package"); + + + } + + 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: ( 'excluding' ) + // InternalApplicationConfiguration.g:21:9: 'excluding' + { + match("excluding"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__21" + + // $ANTLR start "T__22" + public final void mT__22() throws RecognitionException { + try { + int _type = T__22; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:22:7: ( '::' ) + // InternalApplicationConfiguration.g:22:9: '::' + { + match("::"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__22" + + // $ANTLR start "T__23" + public final void mT__23() throws RecognitionException { + try { + int _type = T__23; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:23:7: ( 'metamodel' ) + // InternalApplicationConfiguration.g:23:9: 'metamodel' + { + match("metamodel"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__23" + + // $ANTLR start "T__24" + public final void mT__24() throws RecognitionException { + try { + int _type = T__24; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:24:7: ( 'folder' ) + // InternalApplicationConfiguration.g:24:9: 'folder' + { + match("folder"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__24" + + // $ANTLR start "T__25" + public final void mT__25() throws RecognitionException { + try { + int _type = T__25; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:25:7: ( 'partial-model' ) + // InternalApplicationConfiguration.g:25:9: 'partial-model' + { + match("partial-model"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__25" + + // $ANTLR start "T__26" + public final void mT__26() throws RecognitionException { + try { + int _type = T__26; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:26:7: ( 'patterns' ) + // InternalApplicationConfiguration.g:26:9: 'patterns' + { + match("patterns"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__26" + + // $ANTLR start "T__27" + public final void mT__27() throws RecognitionException { + try { + int _type = T__27; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:27:7: ( 'config' ) + // InternalApplicationConfiguration.g:27:9: 'config' + { + match("config"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__27" + + // $ANTLR start "T__28" + public final void mT__28() throws RecognitionException { + try { + int _type = T__28; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:28:7: ( '<' ) + // InternalApplicationConfiguration.g:28:9: '<' + { + match('<'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__28" + + // $ANTLR start "T__29" + public final void mT__29() throws RecognitionException { + try { + int _type = T__29; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:29:7: ( '<=' ) + // InternalApplicationConfiguration.g:29:9: '<=' + { + match("<="); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__29" + + // $ANTLR start "T__30" + public final void mT__30() throws RecognitionException { + try { + int _type = T__30; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:30:7: ( '#' ) + // InternalApplicationConfiguration.g:30:9: '#' + { + match('#'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__30" + + // $ANTLR start "T__31" + public final void mT__31() throws RecognitionException { + try { + int _type = T__31; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:31:7: ( '[' ) + // InternalApplicationConfiguration.g:31:9: '[' + { + match('['); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__31" + + // $ANTLR start "T__32" + public final void mT__32() throws RecognitionException { + try { + int _type = T__32; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:32:7: ( ']' ) + // InternalApplicationConfiguration.g:32:9: ']' + { + match(']'); + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__32" + + // $ANTLR start "T__33" + public final void mT__33() throws RecognitionException { + try { + int _type = T__33; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:33:7: ( 'Object' ) + // InternalApplicationConfiguration.g:33:9: 'Object' + { + match("Object"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__33" + + // $ANTLR start "T__34" + public final void mT__34() throws RecognitionException { + try { + int _type = T__34; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:34:7: ( 'int' ) + // InternalApplicationConfiguration.g:34:9: 'int' + { + match("int"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__34" + + // $ANTLR start "T__35" + public final void mT__35() throws RecognitionException { + try { + int _type = T__35; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:35:7: ( 'real' ) + // InternalApplicationConfiguration.g:35:9: 'real' + { + match("real"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__35" + + // $ANTLR start "T__36" + public final void mT__36() throws RecognitionException { + try { + int _type = T__36; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:36:7: ( 'string' ) + // InternalApplicationConfiguration.g:36:9: 'string' + { + match("string"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__36" + + // $ANTLR start "T__37" + public final void mT__37() throws RecognitionException { + try { + int _type = T__37; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:37:7: ( 'scope' ) + // InternalApplicationConfiguration.g:37:9: 'scope' + { + match("scope"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__37" - // $ANTLR start "T__11" - public final void mT__11() throws RecognitionException { + // $ANTLR start "T__38" + public final void mT__38() throws RecognitionException { try { - int _type = T__11; + int _type = T__38; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:11:7: ( 'import' ) - // InternalApplicationConfiguration.g:11:9: 'import' + // InternalApplicationConfiguration.g:38:7: ( 'generate' ) + // InternalApplicationConfiguration.g:38:9: 'generate' { - match("import"); + match("generate"); } @@ -64,17 +649,17 @@ public class InternalApplicationConfigurationLexer extends Lexer { finally { } } - // $ANTLR end "T__11" + // $ANTLR end "T__38" - // $ANTLR start "T__12" - public final void mT__12() throws RecognitionException { + // $ANTLR start "T__39" + public final void mT__39() throws RecognitionException { try { - int _type = T__12; + int _type = T__39; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:12:7: ( 'epackage' ) - // InternalApplicationConfiguration.g:12:9: 'epackage' + // InternalApplicationConfiguration.g:39:7: ( 'number' ) + // InternalApplicationConfiguration.g:39:9: 'number' { - match("epackage"); + match("number"); } @@ -85,17 +670,17 @@ public class InternalApplicationConfigurationLexer extends Lexer { finally { } } - // $ANTLR end "T__12" + // $ANTLR end "T__39" - // $ANTLR start "T__13" - public final void mT__13() throws RecognitionException { + // $ANTLR start "T__40" + public final void mT__40() throws RecognitionException { try { - int _type = T__13; + int _type = T__40; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:13:7: ( 'viatra' ) - // InternalApplicationConfiguration.g:13:9: 'viatra' + // InternalApplicationConfiguration.g:40:7: ( 'runs' ) + // InternalApplicationConfiguration.g:40:9: 'runs' { - match("viatra"); + match("runs"); } @@ -106,17 +691,18 @@ public class InternalApplicationConfigurationLexer extends Lexer { finally { } } - // $ANTLR end "T__13" + // $ANTLR end "T__40" - // $ANTLR start "T__14" - public final void mT__14() throws RecognitionException { + // $ANTLR start "T__41" + public final void mT__41() throws RecognitionException { try { - int _type = T__14; + int _type = T__41; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:14:7: ( '{' ) - // InternalApplicationConfiguration.g:14:9: '{' + // InternalApplicationConfiguration.g:41:7: ( 'solver' ) + // InternalApplicationConfiguration.g:41:9: 'solver' { - match('{'); + match("solver"); + } @@ -126,17 +712,18 @@ public class InternalApplicationConfigurationLexer extends Lexer { finally { } } - // $ANTLR end "T__14" + // $ANTLR end "T__41" - // $ANTLR start "T__15" - public final void mT__15() throws RecognitionException { + // $ANTLR start "T__42" + public final void mT__42() throws RecognitionException { try { - int _type = T__15; + int _type = T__42; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:15:7: ( ',' ) - // InternalApplicationConfiguration.g:15:9: ',' + // InternalApplicationConfiguration.g:42:7: ( 'output' ) + // InternalApplicationConfiguration.g:42:9: 'output' { - match(','); + match("output"); + } @@ -146,17 +733,18 @@ public class InternalApplicationConfigurationLexer extends Lexer { finally { } } - // $ANTLR end "T__15" + // $ANTLR end "T__42" - // $ANTLR start "T__16" - public final void mT__16() throws RecognitionException { + // $ANTLR start "T__43" + public final void mT__43() throws RecognitionException { try { - int _type = T__16; + int _type = T__43; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:16:7: ( '}' ) - // InternalApplicationConfiguration.g:16:9: '}' + // InternalApplicationConfiguration.g:43:7: ( 'debug' ) + // InternalApplicationConfiguration.g:43:9: 'debug' { - match('}'); + match("debug"); + } @@ -166,17 +754,17 @@ public class InternalApplicationConfigurationLexer extends Lexer { finally { } } - // $ANTLR end "T__16" + // $ANTLR end "T__43" - // $ANTLR start "T__17" - public final void mT__17() throws RecognitionException { + // $ANTLR start "T__44" + public final void mT__44() throws RecognitionException { try { - int _type = T__17; + int _type = T__44; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:17:7: ( 'package' ) - // InternalApplicationConfiguration.g:17:9: 'package' + // InternalApplicationConfiguration.g:44:7: ( 'log' ) + // InternalApplicationConfiguration.g:44:9: 'log' { - match("package"); + match("log"); } @@ -187,17 +775,17 @@ public class InternalApplicationConfigurationLexer extends Lexer { finally { } } - // $ANTLR end "T__17" + // $ANTLR end "T__44" - // $ANTLR start "T__18" - public final void mT__18() throws RecognitionException { + // $ANTLR start "T__45" + public final void mT__45() throws RecognitionException { try { - int _type = T__18; + int _type = T__45; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:18:7: ( 'excluding' ) - // InternalApplicationConfiguration.g:18:9: 'excluding' + // InternalApplicationConfiguration.g:45:7: ( 'statistics' ) + // InternalApplicationConfiguration.g:45:9: 'statistics' { - match("excluding"); + match("statistics"); } @@ -208,17 +796,17 @@ public class InternalApplicationConfigurationLexer extends Lexer { finally { } } - // $ANTLR end "T__18" + // $ANTLR end "T__45" - // $ANTLR start "T__19" - public final void mT__19() throws RecognitionException { + // $ANTLR start "T__46" + public final void mT__46() throws RecognitionException { try { - int _type = T__19; + int _type = T__46; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:19:7: ( '::' ) - // InternalApplicationConfiguration.g:19:9: '::' + // InternalApplicationConfiguration.g:46:7: ( 'SMTSolver' ) + // InternalApplicationConfiguration.g:46:9: 'SMTSolver' { - match("::"); + match("SMTSolver"); } @@ -229,17 +817,18 @@ public class InternalApplicationConfigurationLexer extends Lexer { finally { } } - // $ANTLR end "T__19" + // $ANTLR end "T__46" - // $ANTLR start "T__20" - public final void mT__20() throws RecognitionException { + // $ANTLR start "T__47" + public final void mT__47() throws RecognitionException { try { - int _type = T__20; + int _type = T__47; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:20:7: ( '.' ) - // InternalApplicationConfiguration.g:20:9: '.' + // InternalApplicationConfiguration.g:47:7: ( 'AlloySolver' ) + // InternalApplicationConfiguration.g:47:9: 'AlloySolver' { - match('.'); + match("AlloySolver"); + } @@ -249,17 +838,17 @@ public class InternalApplicationConfigurationLexer extends Lexer { finally { } } - // $ANTLR end "T__20" + // $ANTLR end "T__47" - // $ANTLR start "T__21" - public final void mT__21() throws RecognitionException { + // $ANTLR start "T__48" + public final void mT__48() throws RecognitionException { try { - int _type = T__21; + int _type = T__48; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:21:7: ( 'metamodel' ) - // InternalApplicationConfiguration.g:21:9: 'metamodel' + // InternalApplicationConfiguration.g:48:7: ( 'ViatraSolver' ) + // InternalApplicationConfiguration.g:48:9: 'ViatraSolver' { - match("metamodel"); + match("ViatraSolver"); } @@ -270,17 +859,17 @@ public class InternalApplicationConfigurationLexer extends Lexer { finally { } } - // $ANTLR end "T__21" + // $ANTLR end "T__48" // $ANTLR start "RULE_ID" public final void mRULE_ID() throws RecognitionException { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:647:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) - // InternalApplicationConfiguration.g:647:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalApplicationConfiguration.g:3119:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalApplicationConfiguration.g:3119:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // InternalApplicationConfiguration.g:647:11: ( '^' )? + // InternalApplicationConfiguration.g:3119:11: ( '^' )? int alt1=2; int LA1_0 = input.LA(1); @@ -289,7 +878,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt1) { case 1 : - // InternalApplicationConfiguration.g:647:11: '^' + // InternalApplicationConfiguration.g:3119:11: '^' { match('^'); @@ -307,7 +896,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { recover(mse); throw mse;} - // InternalApplicationConfiguration.g:647:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalApplicationConfiguration.g:3119:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop2: do { int alt2=2; @@ -356,10 +945,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:649:10: ( ( '0' .. '9' )+ ) - // InternalApplicationConfiguration.g:649:12: ( '0' .. '9' )+ + // InternalApplicationConfiguration.g:3121:10: ( ( '0' .. '9' )+ ) + // InternalApplicationConfiguration.g:3121:12: ( '0' .. '9' )+ { - // InternalApplicationConfiguration.g:649:12: ( '0' .. '9' )+ + // InternalApplicationConfiguration.g:3121:12: ( '0' .. '9' )+ int cnt3=0; loop3: do { @@ -373,7 +962,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt3) { case 1 : - // InternalApplicationConfiguration.g:649:13: '0' .. '9' + // InternalApplicationConfiguration.g:3121:13: '0' .. '9' { matchRange('0','9'); @@ -405,10 +994,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:651:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // InternalApplicationConfiguration.g:651:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalApplicationConfiguration.g:3123:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // InternalApplicationConfiguration.g:3123:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { - // InternalApplicationConfiguration.g:651:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalApplicationConfiguration.g:3123:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) int alt6=2; int LA6_0 = input.LA(1); @@ -426,10 +1015,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt6) { case 1 : - // InternalApplicationConfiguration.g:651:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // InternalApplicationConfiguration.g:3123:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // InternalApplicationConfiguration.g:651:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + // InternalApplicationConfiguration.g:3123:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* loop4: do { int alt4=3; @@ -445,7 +1034,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt4) { case 1 : - // InternalApplicationConfiguration.g:651:21: '\\\\' . + // InternalApplicationConfiguration.g:3123:21: '\\\\' . { match('\\'); matchAny(); @@ -453,7 +1042,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 2 : - // InternalApplicationConfiguration.g:651:28: ~ ( ( '\\\\' | '\"' ) ) + // InternalApplicationConfiguration.g:3123:28: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -478,10 +1067,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 2 : - // InternalApplicationConfiguration.g:651:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // InternalApplicationConfiguration.g:3123:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // InternalApplicationConfiguration.g:651:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + // InternalApplicationConfiguration.g:3123:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* loop5: do { int alt5=3; @@ -497,7 +1086,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt5) { case 1 : - // InternalApplicationConfiguration.g:651:54: '\\\\' . + // InternalApplicationConfiguration.g:3123:54: '\\\\' . { match('\\'); matchAny(); @@ -505,7 +1094,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 2 : - // InternalApplicationConfiguration.g:651:61: ~ ( ( '\\\\' | '\\'' ) ) + // InternalApplicationConfiguration.g:3123:61: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -548,12 +1137,12 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:653:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalApplicationConfiguration.g:653:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalApplicationConfiguration.g:3125:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalApplicationConfiguration.g:3125:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalApplicationConfiguration.g:653:24: ( options {greedy=false; } : . )* + // InternalApplicationConfiguration.g:3125:24: ( options {greedy=false; } : . )* loop7: do { int alt7=2; @@ -578,7 +1167,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt7) { case 1 : - // InternalApplicationConfiguration.g:653:52: . + // InternalApplicationConfiguration.g:3125:52: . { matchAny(); @@ -608,12 +1197,12 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:655:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalApplicationConfiguration.g:655:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalApplicationConfiguration.g:3127:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalApplicationConfiguration.g:3127:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // InternalApplicationConfiguration.g:655:24: (~ ( ( '\\n' | '\\r' ) ) )* + // InternalApplicationConfiguration.g:3127:24: (~ ( ( '\\n' | '\\r' ) ) )* loop8: do { int alt8=2; @@ -626,7 +1215,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt8) { case 1 : - // InternalApplicationConfiguration.g:655:24: ~ ( ( '\\n' | '\\r' ) ) + // InternalApplicationConfiguration.g:3127: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(); @@ -646,7 +1235,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } } while (true); - // InternalApplicationConfiguration.g:655:40: ( ( '\\r' )? '\\n' )? + // InternalApplicationConfiguration.g:3127:40: ( ( '\\r' )? '\\n' )? int alt10=2; int LA10_0 = input.LA(1); @@ -655,9 +1244,9 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt10) { case 1 : - // InternalApplicationConfiguration.g:655:41: ( '\\r' )? '\\n' + // InternalApplicationConfiguration.g:3127:41: ( '\\r' )? '\\n' { - // InternalApplicationConfiguration.g:655:41: ( '\\r' )? + // InternalApplicationConfiguration.g:3127:41: ( '\\r' )? int alt9=2; int LA9_0 = input.LA(1); @@ -666,7 +1255,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt9) { case 1 : - // InternalApplicationConfiguration.g:655:41: '\\r' + // InternalApplicationConfiguration.g:3127:41: '\\r' { match('\r'); @@ -698,10 +1287,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:657:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalApplicationConfiguration.g:657:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalApplicationConfiguration.g:3129:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalApplicationConfiguration.g:3129:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalApplicationConfiguration.g:657:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalApplicationConfiguration.g:3129:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt11=0; loop11: do { @@ -755,8 +1344,8 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:659:16: ( . ) - // InternalApplicationConfiguration.g:659:18: . + // InternalApplicationConfiguration.g:3131:16: ( . ) + // InternalApplicationConfiguration.g:3131:18: . { matchAny(); @@ -771,8 +1360,8 @@ public class InternalApplicationConfigurationLexer extends Lexer { // $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; + // InternalApplicationConfiguration.g:1:8: ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt12=45; alt12 = dfa12.predict(input); switch (alt12) { case 1 : @@ -853,49 +1442,238 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 12 : - // InternalApplicationConfiguration.g:1:76: RULE_ID + // InternalApplicationConfiguration.g:1:76: T__22 { - mRULE_ID(); + mT__22(); } break; case 13 : - // InternalApplicationConfiguration.g:1:84: RULE_INT + // InternalApplicationConfiguration.g:1:82: T__23 { - mRULE_INT(); + mT__23(); } break; case 14 : - // InternalApplicationConfiguration.g:1:93: RULE_STRING + // InternalApplicationConfiguration.g:1:88: T__24 { - mRULE_STRING(); + mT__24(); } break; case 15 : - // InternalApplicationConfiguration.g:1:105: RULE_ML_COMMENT + // InternalApplicationConfiguration.g:1:94: T__25 { - mRULE_ML_COMMENT(); + mT__25(); } break; case 16 : - // InternalApplicationConfiguration.g:1:121: RULE_SL_COMMENT + // InternalApplicationConfiguration.g:1:100: T__26 { - mRULE_SL_COMMENT(); + mT__26(); } break; case 17 : - // InternalApplicationConfiguration.g:1:137: RULE_WS + // InternalApplicationConfiguration.g:1:106: T__27 { - mRULE_WS(); + mT__27(); } break; case 18 : - // InternalApplicationConfiguration.g:1:145: RULE_ANY_OTHER + // InternalApplicationConfiguration.g:1:112: T__28 + { + mT__28(); + + } + break; + case 19 : + // InternalApplicationConfiguration.g:1:118: T__29 + { + mT__29(); + + } + break; + case 20 : + // InternalApplicationConfiguration.g:1:124: T__30 + { + mT__30(); + + } + break; + case 21 : + // InternalApplicationConfiguration.g:1:130: T__31 + { + mT__31(); + + } + break; + case 22 : + // InternalApplicationConfiguration.g:1:136: T__32 + { + mT__32(); + + } + break; + case 23 : + // InternalApplicationConfiguration.g:1:142: T__33 + { + mT__33(); + + } + break; + case 24 : + // InternalApplicationConfiguration.g:1:148: T__34 + { + mT__34(); + + } + break; + case 25 : + // InternalApplicationConfiguration.g:1:154: T__35 + { + mT__35(); + + } + break; + case 26 : + // InternalApplicationConfiguration.g:1:160: T__36 + { + mT__36(); + + } + break; + case 27 : + // InternalApplicationConfiguration.g:1:166: T__37 + { + mT__37(); + + } + break; + case 28 : + // InternalApplicationConfiguration.g:1:172: T__38 + { + mT__38(); + + } + break; + case 29 : + // InternalApplicationConfiguration.g:1:178: T__39 + { + mT__39(); + + } + break; + case 30 : + // InternalApplicationConfiguration.g:1:184: T__40 + { + mT__40(); + + } + break; + case 31 : + // InternalApplicationConfiguration.g:1:190: T__41 + { + mT__41(); + + } + break; + case 32 : + // InternalApplicationConfiguration.g:1:196: T__42 + { + mT__42(); + + } + break; + case 33 : + // InternalApplicationConfiguration.g:1:202: T__43 + { + mT__43(); + + } + break; + case 34 : + // InternalApplicationConfiguration.g:1:208: T__44 + { + mT__44(); + + } + break; + case 35 : + // InternalApplicationConfiguration.g:1:214: T__45 + { + mT__45(); + + } + break; + case 36 : + // InternalApplicationConfiguration.g:1:220: T__46 + { + mT__46(); + + } + break; + case 37 : + // InternalApplicationConfiguration.g:1:226: T__47 + { + mT__47(); + + } + break; + case 38 : + // InternalApplicationConfiguration.g:1:232: T__48 + { + mT__48(); + + } + break; + case 39 : + // InternalApplicationConfiguration.g:1:238: RULE_ID + { + mRULE_ID(); + + } + break; + case 40 : + // InternalApplicationConfiguration.g:1:246: RULE_INT + { + mRULE_INT(); + + } + break; + case 41 : + // InternalApplicationConfiguration.g:1:255: RULE_STRING + { + mRULE_STRING(); + + } + break; + case 42 : + // InternalApplicationConfiguration.g:1:267: RULE_ML_COMMENT + { + mRULE_ML_COMMENT(); + + } + break; + case 43 : + // InternalApplicationConfiguration.g:1:283: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 44 : + // InternalApplicationConfiguration.g:1:299: RULE_WS + { + mRULE_WS(); + + } + break; + case 45 : + // InternalApplicationConfiguration.g:1:307: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -909,92 +1687,248 @@ public class InternalApplicationConfigurationLexer extends Lexer { 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"; + "\2\uffff\4\50\4\uffff\1\50\1\44\2\50\1\67\3\uffff\13\50\1\44\2\uffff\3\44\3\uffff\2\50\1\uffff\5\50\4\uffff\1\50\1\uffff\2\50\5\uffff\16\50\5\uffff\1\50\1\152\25\50\1\u0080\4\50\1\uffff\3\50\1\u0088\7\50\1\u0090\1\u0091\10\50\1\uffff\7\50\1\uffff\7\50\2\uffff\2\50\1\u00aa\4\50\1\u00af\3\50\1\u00b3\2\50\1\u00b6\1\u00b7\4\50\1\u00bc\1\u00bd\1\u00be\1\50\1\uffff\1\u00c0\1\50\1\u00c2\1\u00c3\1\uffff\3\50\1\uffff\2\50\2\uffff\1\u00c9\3\50\3\uffff\1\50\1\uffff\1\50\2\uffff\3\50\1\u00d2\1\50\2\uffff\1\u00d4\2\50\1\u00d7\3\50\1\uffff\1\u00db\1\uffff\1\u00dc\1\50\1\uffff\1\u00de\2\50\2\uffff\1\u00e1\1\uffff\2\50\1\uffff\1\u00e4\1\50\1\uffff\1\u00e6\1\uffff"; static final String DFA12_eofS = - "\113\uffff"; + "\u00e7\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"; + "\1\0\1\uffff\1\155\1\160\2\151\4\uffff\1\141\1\72\1\145\1\157\1\75\3\uffff\1\142\1\145\1\143\1\145\2\165\1\145\1\157\1\115\1\154\1\151\1\101\2\uffff\2\0\1\52\3\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\2\154\4\uffff\1\143\1\uffff\1\164\1\156\5\uffff\1\152\1\141\1\156\1\141\1\157\1\154\1\156\1\155\1\164\1\142\1\147\1\124\1\154\1\141\5\uffff\1\157\1\60\1\143\1\154\1\164\1\145\1\144\1\153\2\164\1\141\1\146\1\145\1\154\1\163\1\151\1\164\1\160\1\166\1\145\1\142\1\160\1\165\1\60\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\60\1\145\1\141\1\151\1\145\1\155\1\151\1\143\2\60\1\156\1\151\2\145\1\162\1\145\1\165\1\147\1\uffff\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\147\1\141\1\162\1\157\1\147\1\164\2\uffff\1\147\1\163\1\60\1\162\1\141\1\162\1\164\1\60\1\154\1\123\1\141\1\60\1\147\1\151\2\60\1\145\1\154\1\156\1\144\3\60\1\164\1\uffff\1\60\1\164\2\60\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\60\1\55\1\163\1\145\3\uffff\1\151\1\uffff\1\145\2\uffff\1\145\1\154\1\157\1\60\1\147\2\uffff\1\60\1\154\1\143\1\60\1\162\1\166\1\154\1\uffff\1\60\1\uffff\1\60\1\163\1\uffff\1\60\1\145\1\166\2\uffff\1\60\1\uffff\1\162\1\145\1\uffff\1\60\1\162\1\uffff\1\60\1\uffff"; 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"; + "\1\uffff\1\uffff\1\156\1\170\1\151\1\157\4\uffff\1\141\1\72\1\145\1\157\1\75\3\uffff\1\142\1\165\1\164\1\145\2\165\1\145\1\157\1\115\1\154\1\151\1\172\2\uffff\2\uffff\1\57\3\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\2\154\4\uffff\1\164\1\uffff\1\164\1\156\5\uffff\1\152\1\141\1\156\1\162\1\157\1\154\1\156\1\155\1\164\1\142\1\147\1\124\1\154\1\141\5\uffff\1\157\1\172\1\143\1\154\1\164\1\145\1\144\1\153\2\164\1\141\1\146\1\145\1\154\1\163\1\151\1\164\1\160\1\166\1\145\1\142\1\160\1\165\1\172\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\172\1\145\1\141\1\151\1\145\1\155\1\151\1\143\2\172\1\156\1\151\2\145\1\162\1\145\1\165\1\147\1\uffff\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\147\1\141\1\162\1\157\1\147\1\164\2\uffff\1\147\1\163\1\172\1\162\1\141\1\162\1\164\1\172\1\154\1\123\1\141\1\172\1\147\1\151\2\172\1\145\1\154\1\156\1\144\3\172\1\164\1\uffff\1\172\1\164\2\172\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\172\1\55\1\163\1\145\3\uffff\1\151\1\uffff\1\145\2\uffff\1\145\1\154\1\157\1\172\1\147\2\uffff\1\172\1\154\1\143\1\172\1\162\1\166\1\154\1\uffff\1\172\1\uffff\1\172\1\163\1\uffff\1\172\1\145\1\166\2\uffff\1\172\1\uffff\1\162\1\145\1\uffff\1\172\1\162\1\uffff\1\172\1\uffff"; 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"; + "\1\uffff\1\1\4\uffff\1\6\1\7\1\10\1\11\5\uffff\1\24\1\25\1\26\14\uffff\1\47\1\50\3\uffff\1\54\1\55\1\1\2\uffff\1\47\5\uffff\1\6\1\7\1\10\1\11\1\uffff\1\14\2\uffff\1\23\1\22\1\24\1\25\1\26\16\uffff\1\50\1\51\1\52\1\53\1\54\34\uffff\1\30\25\uffff\1\42\7\uffff\1\5\7\uffff\1\31\1\36\30\uffff\1\33\4\uffff\1\41\3\uffff\1\2\2\uffff\1\4\1\16\4\uffff\1\21\1\27\1\32\1\uffff\1\37\1\uffff\1\35\1\40\5\uffff\1\12\1\17\7\uffff\1\3\1\uffff\1\20\2\uffff\1\34\3\uffff\1\13\1\15\1\uffff\1\44\2\uffff\1\43\2\uffff\1\45\1\uffff\1\46"; static final String DFA12_specialS = - "\1\1\15\uffff\1\0\1\2\73\uffff}>"; + "\1\1\37\uffff\1\2\1\0\u00c5\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\5\1\22\1\11\1\20\12\15\1\10\6\22\32\14\3\22\1\13\1\14\1\22\4\14\1\2\3\14\1\1\3\14\1\12\2\14\1\7\5\14\1\3\4\14\1\4\1\22\1\6\uff82\22", - "\1\23", - "\1\25\7\uffff\1\26", - "\1\27", + "\11\44\2\43\2\44\1\43\22\44\1\43\1\44\1\40\1\17\3\44\1\41\4\44\1\10\1\44\1\1\1\42\12\37\1\13\1\44\1\16\1\6\3\44\1\33\15\36\1\22\3\36\1\32\2\36\1\34\4\36\1\20\1\44\1\21\1\35\1\36\1\44\2\36\1\15\1\30\1\3\1\5\1\25\1\36\1\2\2\36\1\31\1\14\1\26\1\27\1\12\1\36\1\23\1\24\2\36\1\4\4\36\1\7\1\44\1\11\uff82\44", + "", + "\1\46\1\47", + "\1\51\7\uffff\1\52", + "\1\53", + "\1\54\5\uffff\1\55", + "", + "", + "", + "", + "\1\62", + "\1\63", + "\1\64", + "\1\65", + "\1\66", "", "", "", - "\1\33", - "\1\34", + "\1\73", + "\1\74\17\uffff\1\75", + "\1\77\13\uffff\1\100\4\uffff\1\76", + "\1\101", + "\1\102", + "\1\103", + "\1\104", + "\1\105", + "\1\106", + "\1\107", + "\1\110", + "\32\50\4\uffff\1\50\1\uffff\32\50", "", - "\1\36", - "\32\24\4\uffff\1\24\1\uffff\32\24", "", + "\0\112", + "\0\112", + "\1\113\4\uffff\1\114", "", - "\0\40", - "\0\40", - "\1\41\4\uffff\1\42", "", "", - "\1\44", + "\1\116", + "\1\117", "", - "\1\45", - "\1\46", - "\1\47", + "\1\120", + "\1\121", + "\1\122", + "\1\123", + "\1\124", "", "", "", - "\1\50", "", + "\1\125\16\uffff\1\126\1\uffff\1\127", "", - "\1\51", + "\1\130", + "\1\131", "", "", "", "", "", - "\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\132", + "\1\133", + "\1\134", + "\1\136\20\uffff\1\135", + "\1\137", + "\1\140", + "\1\141", + "\1\142", + "\1\143", + "\1\144", + "\1\145", + "\1\146", + "\1\147", + "\1\150", "", - "\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", "", + "\1\151", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\153", + "\1\154", + "\1\155", + "\1\156", + "\1\157", + "\1\160", + "\1\161", + "\1\162", + "\1\163", + "\1\164", + "\1\165", + "\1\166", + "\1\167", + "\1\170", + "\1\171", + "\1\172", + "\1\173", + "\1\174", + "\1\175", + "\1\176", + "\1\177", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u0081", + "\1\u0082", + "\1\u0083", + "\1\u0084", + "", + "\1\u0085", + "\1\u0086", + "\1\u0087", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u0089", + "\1\u008a", + "\1\u008b", + "\1\u008c", + "\1\u008d", + "\1\u008e", + "\1\u008f", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u0092", + "\1\u0093", + "\1\u0094", + "\1\u0095", + "\1\u0096", + "\1\u0097", + "\1\u0098", + "\1\u0099", + "", + "\1\u009a", + "\1\u009b", + "\1\u009c", + "\1\u009d", + "\1\u009e", + "\1\u009f", + "\1\u00a0", + "", + "\1\u00a1", + "\1\u00a2", + "\1\u00a3", + "\1\u00a4", + "\1\u00a5", + "\1\u00a6", + "\1\u00a7", + "", + "", + "\1\u00a8", + "\1\u00a9", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u00ab", + "\1\u00ac", + "\1\u00ad", + "\1\u00ae", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u00b0", + "\1\u00b1", + "\1\u00b2", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u00b4", + "\1\u00b5", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u00b8", + "\1\u00b9", + "\1\u00ba", + "\1\u00bb", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u00bf", + "", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u00c1", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "", + "\1\u00c4", + "\1\u00c5", + "\1\u00c6", + "", + "\1\u00c7", + "\1\u00c8", + "", + "", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u00ca", + "\1\u00cb", + "\1\u00cc", + "", + "", + "", + "\1\u00cd", + "", + "\1\u00ce", + "", + "", + "\1\u00cf", + "\1\u00d0", + "\1\u00d1", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u00d3", + "", + "", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u00d5", + "\1\u00d6", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u00d8", + "\1\u00d9", + "\1\u00da", + "", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u00dd", + "", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u00df", + "\1\u00e0", + "", + "", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "", + "\1\u00e2", + "\1\u00e3", + "", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u00e5", + "", + "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", "" }; @@ -1028,19 +1962,19 @@ public class InternalApplicationConfigurationLexer extends Lexer { this.transition = DFA12_transition; } public String getDescription() { - return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; + return "1:1: Tokens : ( T__11 | T__12 | T__13 | T__14 | T__15 | T__16 | T__17 | T__18 | T__19 | T__20 | T__21 | T__22 | T__23 | T__24 | T__25 | T__26 | T__27 | T__28 | T__29 | T__30 | T__31 | T__32 | T__33 | T__34 | T__35 | T__36 | T__37 | T__38 | T__39 | T__40 | T__41 | T__42 | T__43 | T__44 | T__45 | T__46 | T__47 | T__48 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { IntStream input = _input; int _s = s; switch ( s ) { case 0 : - int LA12_14 = input.LA(1); + int LA12_33 = input.LA(1); s = -1; - if ( ((LA12_14>='\u0000' && LA12_14<='\uFFFF')) ) {s = 32;} + if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 74;} - else s = 18; + else s = 36; if ( s>=0 ) return s; break; @@ -1048,51 +1982,87 @@ public class InternalApplicationConfigurationLexer extends Lexer { int LA12_0 = input.LA(1); s = -1; - if ( (LA12_0=='i') ) {s = 1;} + if ( (LA12_0=='.') ) {s = 1;} + + else if ( (LA12_0=='i') ) {s = 2;} + + else if ( (LA12_0=='e') ) {s = 3;} + + else if ( (LA12_0=='v') ) {s = 4;} + + else if ( (LA12_0=='f') ) {s = 5;} + + else if ( (LA12_0=='=') ) {s = 6;} + + else if ( (LA12_0=='{') ) {s = 7;} + + else if ( (LA12_0==',') ) {s = 8;} + + else if ( (LA12_0=='}') ) {s = 9;} + + else if ( (LA12_0=='p') ) {s = 10;} + + else if ( (LA12_0==':') ) {s = 11;} + + else if ( (LA12_0=='m') ) {s = 12;} + + else if ( (LA12_0=='c') ) {s = 13;} + + else if ( (LA12_0=='<') ) {s = 14;} + + else if ( (LA12_0=='#') ) {s = 15;} + + else if ( (LA12_0=='[') ) {s = 16;} + + else if ( (LA12_0==']') ) {s = 17;} + + else if ( (LA12_0=='O') ) {s = 18;} + + else if ( (LA12_0=='r') ) {s = 19;} - else if ( (LA12_0=='e') ) {s = 2;} + else if ( (LA12_0=='s') ) {s = 20;} - else if ( (LA12_0=='v') ) {s = 3;} + else if ( (LA12_0=='g') ) {s = 21;} - else if ( (LA12_0=='{') ) {s = 4;} + else if ( (LA12_0=='n') ) {s = 22;} - else if ( (LA12_0==',') ) {s = 5;} + else if ( (LA12_0=='o') ) {s = 23;} - else if ( (LA12_0=='}') ) {s = 6;} + else if ( (LA12_0=='d') ) {s = 24;} - else if ( (LA12_0=='p') ) {s = 7;} + else if ( (LA12_0=='l') ) {s = 25;} - else if ( (LA12_0==':') ) {s = 8;} + else if ( (LA12_0=='S') ) {s = 26;} - else if ( (LA12_0=='.') ) {s = 9;} + else if ( (LA12_0=='A') ) {s = 27;} - else if ( (LA12_0=='m') ) {s = 10;} + else if ( (LA12_0=='V') ) {s = 28;} - else if ( (LA12_0=='^') ) {s = 11;} + else if ( (LA12_0=='^') ) {s = 29;} - 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>='B' && LA12_0<='N')||(LA12_0>='P' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='U')||(LA12_0>='W' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='b')||LA12_0=='h'||(LA12_0>='j' && LA12_0<='k')||LA12_0=='q'||(LA12_0>='t' && LA12_0<='u')||(LA12_0>='w' && LA12_0<='z')) ) {s = 30;} - else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 13;} + else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 31;} - else if ( (LA12_0=='\"') ) {s = 14;} + else if ( (LA12_0=='\"') ) {s = 32;} - else if ( (LA12_0=='\'') ) {s = 15;} + else if ( (LA12_0=='\'') ) {s = 33;} - else if ( (LA12_0=='/') ) {s = 16;} + else if ( (LA12_0=='/') ) {s = 34;} - else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 17;} + else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 35;} - 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;} + else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='$' && LA12_0<='&')||(LA12_0>='(' && LA12_0<='+')||LA12_0=='-'||LA12_0==';'||(LA12_0>='>' && LA12_0<='@')||LA12_0=='\\'||LA12_0=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 36;} if ( s>=0 ) return s; break; case 2 : - int LA12_15 = input.LA(1); + int LA12_32 = input.LA(1); s = -1; - if ( ((LA12_15>='\u0000' && LA12_15<='\uFFFF')) ) {s = 32;} + if ( ((LA12_32>='\u0000' && LA12_32<='\uFFFF')) ) {s = 74;} - else s = 18; + else s = 36; if ( s>=0 ) return s; break; diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java index 7387e45b..5a083af8 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/parser/antlr/internal/InternalApplicationConfigurationParser.java @@ -5,6 +5,7 @@ import org.eclipse.xtext.parser.*; import org.eclipse.xtext.parser.impl.*; import org.eclipse.emf.ecore.util.EcoreUtil; import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.common.util.Enumerator; import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; import org.eclipse.xtext.parser.antlr.XtextTokenStream; import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; @@ -17,14 +18,13 @@ import org.antlr.runtime.*; import java.util.Stack; import java.util.List; import java.util.ArrayList; - +import java.util.Map; +import java.util.HashMap; @SuppressWarnings("all") public class InternalApplicationConfigurationParser extends AbstractInternalAntlrParser { 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'" + "", "", "", "", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'.'", "'import'", "'epackage'", "'viatra'", "'file'", "'='", "'{'", "','", "'}'", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'partial-model'", "'patterns'", "'config'", "'<'", "'<='", "'#'", "'['", "']'", "'Object'", "'int'", "'real'", "'string'", "'scope'", "'generate'", "'number'", "'runs'", "'solver'", "'output'", "'debug'", "'log'", "'statistics'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'" }; - 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; @@ -34,14 +34,43 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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_ID=4; + public static final int T__26=26; + public static final int T__27=27; + public static final int T__28=28; public static final int RULE_INT=6; + public static final int T__29=29; + public static final int T__22=22; public static final int RULE_ML_COMMENT=7; + public static final int T__23=23; + public static final int T__24=24; + public static final int T__25=25; public static final int T__20=20; public static final int T__21=21; + public static final int RULE_STRING=5; + public static final int RULE_SL_COMMENT=8; + public static final int T__37=37; + public static final int T__38=38; + public static final int T__39=39; + public static final int T__33=33; + public static final int T__34=34; + public static final int T__35=35; + public static final int T__36=36; + public static final int EOF=-1; + public static final int T__30=30; + public static final int T__31=31; + public static final int T__32=32; + public static final int RULE_WS=9; + public static final int RULE_ANY_OTHER=10; + public static final int T__48=48; + public static final int T__44=44; + public static final int T__45=45; + public static final int T__46=46; + public static final int T__47=47; + public static final int T__40=40; + public static final int T__41=41; + public static final int T__42=42; + public static final int T__43=43; // delegates // delegators @@ -83,7 +112,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleConfigurationScript" - // InternalApplicationConfiguration.g:64:1: entryRuleConfigurationScript returns [EObject current=null] : iv_ruleConfigurationScript= ruleConfigurationScript EOF ; + // InternalApplicationConfiguration.g:65:1: entryRuleConfigurationScript returns [EObject current=null] : iv_ruleConfigurationScript= ruleConfigurationScript EOF ; public final EObject entryRuleConfigurationScript() throws RecognitionException { EObject current = null; @@ -91,17 +120,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:64:60: (iv_ruleConfigurationScript= ruleConfigurationScript EOF ) - // InternalApplicationConfiguration.g:65:2: iv_ruleConfigurationScript= ruleConfigurationScript EOF + // InternalApplicationConfiguration.g:65:60: (iv_ruleConfigurationScript= ruleConfigurationScript EOF ) + // InternalApplicationConfiguration.g:66:2: iv_ruleConfigurationScript= ruleConfigurationScript EOF { - newCompositeNode(grammarAccess.getConfigurationScriptRule()); + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getConfigurationScriptRule()); + } pushFollow(FOLLOW_1); iv_ruleConfigurationScript=ruleConfigurationScript(); state._fsp--; - - current =iv_ruleConfigurationScript; - match(input,EOF,FOLLOW_2); + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleConfigurationScript; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; } @@ -119,7 +152,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleConfigurationScript" - // InternalApplicationConfiguration.g:71:1: ruleConfigurationScript returns [EObject current=null] : ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ; + // InternalApplicationConfiguration.g:72:1: ruleConfigurationScript returns [EObject current=null] : ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ; public final EObject ruleConfigurationScript() throws RecognitionException { EObject current = null; @@ -132,49 +165,53 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:77:2: ( ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ) - // InternalApplicationConfiguration.g:78:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) + // InternalApplicationConfiguration.g:78:2: ( ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) ) + // InternalApplicationConfiguration.g:79:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) { - // InternalApplicationConfiguration.g:78:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) - // InternalApplicationConfiguration.g:79:3: ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* + // InternalApplicationConfiguration.g:79:2: ( ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* ) + // InternalApplicationConfiguration.g:80:3: ( (lv_imports_0_0= ruleImport ) )* ( (lv_commands_1_0= ruleCommand ) )* { - // InternalApplicationConfiguration.g:79:3: ( (lv_imports_0_0= ruleImport ) )* + // InternalApplicationConfiguration.g:80:3: ( (lv_imports_0_0= ruleImport ) )* loop1: do { int alt1=2; int LA1_0 = input.LA(1); - if ( (LA1_0==11) ) { + if ( (LA1_0==12) ) { alt1=1; } switch (alt1) { case 1 : - // InternalApplicationConfiguration.g:80:4: (lv_imports_0_0= ruleImport ) + // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport ) { - // InternalApplicationConfiguration.g:80:4: (lv_imports_0_0= ruleImport ) - // InternalApplicationConfiguration.g:81:5: lv_imports_0_0= ruleImport + // InternalApplicationConfiguration.g:81:4: (lv_imports_0_0= ruleImport ) + // InternalApplicationConfiguration.g:82:5: lv_imports_0_0= ruleImport { + if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); - + newCompositeNode(grammarAccess.getConfigurationScriptAccess().getImportsImportParserRuleCall_0_0()); + + } pushFollow(FOLLOW_3); lv_imports_0_0=ruleImport(); state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); - } - add( - current, - "imports", - lv_imports_0_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); - afterParserOrEnumRuleCall(); - + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); + } + add( + current, + "imports", + lv_imports_0_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); + afterParserOrEnumRuleCall(); + + } } @@ -187,43 +224,47 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } } while (true); - // InternalApplicationConfiguration.g:98:3: ( (lv_commands_1_0= ruleCommand ) )* + // InternalApplicationConfiguration.g:99:3: ( (lv_commands_1_0= ruleCommand ) )* loop2: do { int alt2=2; int LA2_0 = input.LA(1); - if ( (LA2_0==21) ) { + if ( (LA2_0==15||LA2_0==23||(LA2_0>=25 && LA2_0<=27)||(LA2_0>=37 && LA2_0<=38)) ) { alt2=1; } switch (alt2) { case 1 : - // InternalApplicationConfiguration.g:99:4: (lv_commands_1_0= ruleCommand ) + // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand ) { - // InternalApplicationConfiguration.g:99:4: (lv_commands_1_0= ruleCommand ) - // InternalApplicationConfiguration.g:100:5: lv_commands_1_0= ruleCommand + // InternalApplicationConfiguration.g:100:4: (lv_commands_1_0= ruleCommand ) + // InternalApplicationConfiguration.g:101:5: lv_commands_1_0= ruleCommand { + if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); - + newCompositeNode(grammarAccess.getConfigurationScriptAccess().getCommandsCommandParserRuleCall_1_0()); + + } pushFollow(FOLLOW_4); lv_commands_1_0=ruleCommand(); state._fsp--; - - - if (current==null) { - current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); - } - add( - current, - "commands", - lv_commands_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); - afterParserOrEnumRuleCall(); - + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConfigurationScriptRule()); + } + add( + current, + "commands", + lv_commands_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); + afterParserOrEnumRuleCall(); + + } } @@ -242,9 +283,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } + if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); + } } catch (RecognitionException re) { @@ -259,7 +302,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleCommand" - // InternalApplicationConfiguration.g:121:1: entryRuleCommand returns [EObject current=null] : iv_ruleCommand= ruleCommand EOF ; + // InternalApplicationConfiguration.g:122:1: entryRuleCommand returns [EObject current=null] : iv_ruleCommand= ruleCommand EOF ; public final EObject entryRuleCommand() throws RecognitionException { EObject current = null; @@ -267,17 +310,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:121:48: (iv_ruleCommand= ruleCommand EOF ) - // InternalApplicationConfiguration.g:122:2: iv_ruleCommand= ruleCommand EOF + // InternalApplicationConfiguration.g:122:48: (iv_ruleCommand= ruleCommand EOF ) + // InternalApplicationConfiguration.g:123:2: iv_ruleCommand= ruleCommand EOF { - newCompositeNode(grammarAccess.getCommandRule()); + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getCommandRule()); + } pushFollow(FOLLOW_1); iv_ruleCommand=ruleCommand(); state._fsp--; - - current =iv_ruleCommand; - match(input,EOF,FOLLOW_2); + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleCommand; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; } @@ -295,38 +342,95 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleCommand" - // InternalApplicationConfiguration.g:128:1: ruleCommand returns [EObject current=null] : this_Declaration_0= ruleDeclaration ; + // InternalApplicationConfiguration.g:129:1: ruleCommand returns [EObject current=null] : (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) ; public final EObject ruleCommand() throws RecognitionException { EObject current = null; EObject this_Declaration_0 = null; + EObject this_Task_1 = null; + enterRule(); try { - // InternalApplicationConfiguration.g:134:2: (this_Declaration_0= ruleDeclaration ) - // InternalApplicationConfiguration.g:135:2: this_Declaration_0= ruleDeclaration + // InternalApplicationConfiguration.g:135:2: ( (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) ) + // InternalApplicationConfiguration.g:136:2: (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) { + // InternalApplicationConfiguration.g:136:2: (this_Declaration_0= ruleDeclaration | this_Task_1= ruleTask ) + int alt3=2; + int LA3_0 = input.LA(1); - newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall()); - - pushFollow(FOLLOW_2); - this_Declaration_0=ruleDeclaration(); + if ( (LA3_0==15||LA3_0==23||(LA3_0>=25 && LA3_0<=27)||LA3_0==37) ) { + alt3=1; + } + else if ( (LA3_0==38) ) { + alt3=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 3, 0, input); - state._fsp--; + throw nvae; + } + switch (alt3) { + case 1 : + // InternalApplicationConfiguration.g:137:3: this_Declaration_0= ruleDeclaration + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getCommandAccess().getDeclarationParserRuleCall_0()); + + } + pushFollow(FOLLOW_2); + this_Declaration_0=ruleDeclaration(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_Declaration_0; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 2 : + // InternalApplicationConfiguration.g:146:3: this_Task_1= ruleTask + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getCommandAccess().getTaskParserRuleCall_1()); + + } + pushFollow(FOLLOW_2); + this_Task_1=ruleTask(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current = this_Task_1; + afterParserOrEnumRuleCall(); + + } + + } + break; + + } - current = this_Declaration_0; - afterParserOrEnumRuleCall(); - } + if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); + } } catch (RecognitionException re) { @@ -340,26 +444,30 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR end "ruleCommand" - // $ANTLR start "entryRuleDeclaration" - // InternalApplicationConfiguration.g:146:1: entryRuleDeclaration returns [EObject current=null] : iv_ruleDeclaration= ruleDeclaration EOF ; - public final EObject entryRuleDeclaration() throws RecognitionException { - EObject current = null; + // $ANTLR start "entryRuleQualifiedName" + // InternalApplicationConfiguration.g:158:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; + public final String entryRuleQualifiedName() throws RecognitionException { + String current = null; - EObject iv_ruleDeclaration = null; + AntlrDatatypeRuleToken iv_ruleQualifiedName = null; try { - // InternalApplicationConfiguration.g:146:52: (iv_ruleDeclaration= ruleDeclaration EOF ) - // InternalApplicationConfiguration.g:147:2: iv_ruleDeclaration= ruleDeclaration EOF + // InternalApplicationConfiguration.g:158:53: (iv_ruleQualifiedName= ruleQualifiedName EOF ) + // InternalApplicationConfiguration.g:159:2: iv_ruleQualifiedName= ruleQualifiedName EOF { - newCompositeNode(grammarAccess.getDeclarationRule()); + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getQualifiedNameRule()); + } pushFollow(FOLLOW_1); - iv_ruleDeclaration=ruleDeclaration(); + iv_ruleQualifiedName=ruleQualifiedName(); state._fsp--; - - current =iv_ruleDeclaration; - match(input,EOF,FOLLOW_2); + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleQualifiedName.getText(); + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; } @@ -373,42 +481,98 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } return current; } - // $ANTLR end "entryRuleDeclaration" + // $ANTLR end "entryRuleQualifiedName" - // $ANTLR start "ruleDeclaration" - // InternalApplicationConfiguration.g:153:1: ruleDeclaration returns [EObject current=null] : this_MetamodelDeclaration_0= ruleMetamodelDeclaration ; - public final EObject ruleDeclaration() throws RecognitionException { - EObject current = null; - - EObject this_MetamodelDeclaration_0 = null; + // $ANTLR start "ruleQualifiedName" + // InternalApplicationConfiguration.g:165:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )* ) ; + public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException { + AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); + Token this_ID_0=null; + Token kw=null; + Token this_ID_2=null; enterRule(); try { - // InternalApplicationConfiguration.g:159:2: (this_MetamodelDeclaration_0= ruleMetamodelDeclaration ) - // InternalApplicationConfiguration.g:160:2: this_MetamodelDeclaration_0= ruleMetamodelDeclaration + // InternalApplicationConfiguration.g:171:2: ( (this_ID_0= RULE_ID ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )* ) ) + // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )* ) { + // InternalApplicationConfiguration.g:172:2: (this_ID_0= RULE_ID ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )* ) + // InternalApplicationConfiguration.g:173:3: this_ID_0= RULE_ID ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )* + { + this_ID_0=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current; + if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall()); - - pushFollow(FOLLOW_2); - this_MetamodelDeclaration_0=ruleMetamodelDeclaration(); + current.merge(this_ID_0); + + } + if ( state.backtracking==0 ) { - state._fsp--; + newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0()); + + } + // InternalApplicationConfiguration.g:180:3: ( ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID )* + loop4: + do { + int alt4=2; + int LA4_0 = input.LA(1); + + if ( (LA4_0==11) && (synpred1_InternalApplicationConfiguration())) { + alt4=1; + } + + + switch (alt4) { + case 1 : + // InternalApplicationConfiguration.g:181:4: ( ( '.' )=>kw= '.' ) this_ID_2= RULE_ID + { + // InternalApplicationConfiguration.g:181:4: ( ( '.' )=>kw= '.' ) + // InternalApplicationConfiguration.g:182:5: ( '.' )=>kw= '.' + { + kw=(Token)match(input,11,FOLLOW_6); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(kw); + newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); + + } + } + + this_ID_2=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current.merge(this_ID_2); + + } + if ( state.backtracking==0 ) { + + newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1()); + + } + + } + break; + + default : + break loop4; + } + } while (true); + + + } - current = this_MetamodelDeclaration_0; - afterParserOrEnumRuleCall(); - } + if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); + } } catch (RecognitionException re) { @@ -419,11 +583,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } return current; } - // $ANTLR end "ruleDeclaration" + // $ANTLR end "ruleQualifiedName" // $ANTLR start "entryRuleImport" - // InternalApplicationConfiguration.g:171:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; + // InternalApplicationConfiguration.g:201:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; public final EObject entryRuleImport() throws RecognitionException { EObject current = null; @@ -431,17 +595,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:171:47: (iv_ruleImport= ruleImport EOF ) - // InternalApplicationConfiguration.g:172:2: iv_ruleImport= ruleImport EOF + // InternalApplicationConfiguration.g:201:47: (iv_ruleImport= ruleImport EOF ) + // InternalApplicationConfiguration.g:202:2: iv_ruleImport= ruleImport EOF { - newCompositeNode(grammarAccess.getImportRule()); + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getImportRule()); + } pushFollow(FOLLOW_1); iv_ruleImport=ruleImport(); state._fsp--; - - current =iv_ruleImport; - match(input,EOF,FOLLOW_2); + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleImport; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; } @@ -459,7 +627,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleImport" - // InternalApplicationConfiguration.g:178:1: ruleImport returns [EObject current=null] : (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ; + // InternalApplicationConfiguration.g:208:1: ruleImport returns [EObject current=null] : (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ; public final EObject ruleImport() throws RecognitionException { EObject current = null; @@ -472,69 +640,79 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:184:2: ( (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ) - // InternalApplicationConfiguration.g:185:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) + // InternalApplicationConfiguration.g:214:2: ( (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) ) + // InternalApplicationConfiguration.g:215:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) { - // InternalApplicationConfiguration.g:185:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) - int alt3=2; - int LA3_0 = input.LA(1); + // InternalApplicationConfiguration.g:215:2: (this_EPackageImport_0= ruleEPackageImport | this_ViatraImport_1= ruleViatraImport ) + int alt5=2; + int LA5_0 = input.LA(1); - if ( (LA3_0==11) ) { - int LA3_1 = input.LA(2); + if ( (LA5_0==12) ) { + int LA5_1 = input.LA(2); - if ( (LA3_1==12) ) { - alt3=1; + if ( (LA5_1==13) ) { + alt5=1; } - else if ( (LA3_1==13) ) { - alt3=2; + else if ( (LA5_1==14) ) { + alt5=2; } else { + if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = - new NoViableAltException("", 3, 1, input); + new NoViableAltException("", 5, 1, input); throw nvae; } } else { + if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = - new NoViableAltException("", 3, 0, input); + new NoViableAltException("", 5, 0, input); throw nvae; } - switch (alt3) { + switch (alt5) { case 1 : - // InternalApplicationConfiguration.g:186:3: this_EPackageImport_0= ruleEPackageImport + // InternalApplicationConfiguration.g:216:3: this_EPackageImport_0= ruleEPackageImport { + if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); - + newCompositeNode(grammarAccess.getImportAccess().getEPackageImportParserRuleCall_0()); + + } pushFollow(FOLLOW_2); this_EPackageImport_0=ruleEPackageImport(); state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { - - current = this_EPackageImport_0; - afterParserOrEnumRuleCall(); - + current = this_EPackageImport_0; + afterParserOrEnumRuleCall(); + + } } break; case 2 : - // InternalApplicationConfiguration.g:195:3: this_ViatraImport_1= ruleViatraImport + // InternalApplicationConfiguration.g:225:3: this_ViatraImport_1= ruleViatraImport { + if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); - + newCompositeNode(grammarAccess.getImportAccess().getViatraImportParserRuleCall_1()); + + } pushFollow(FOLLOW_2); this_ViatraImport_1=ruleViatraImport(); state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { - - current = this_ViatraImport_1; - afterParserOrEnumRuleCall(); - + current = this_ViatraImport_1; + afterParserOrEnumRuleCall(); + + } } break; @@ -544,9 +722,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } + if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); + } } catch (RecognitionException re) { @@ -561,7 +741,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleEPackageImport" - // InternalApplicationConfiguration.g:207:1: entryRuleEPackageImport returns [EObject current=null] : iv_ruleEPackageImport= ruleEPackageImport EOF ; + // InternalApplicationConfiguration.g:237:1: entryRuleEPackageImport returns [EObject current=null] : iv_ruleEPackageImport= ruleEPackageImport EOF ; public final EObject entryRuleEPackageImport() throws RecognitionException { EObject current = null; @@ -569,17 +749,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:207:55: (iv_ruleEPackageImport= ruleEPackageImport EOF ) - // InternalApplicationConfiguration.g:208:2: iv_ruleEPackageImport= ruleEPackageImport EOF + // InternalApplicationConfiguration.g:237:55: (iv_ruleEPackageImport= ruleEPackageImport EOF ) + // InternalApplicationConfiguration.g:238:2: iv_ruleEPackageImport= ruleEPackageImport EOF { - newCompositeNode(grammarAccess.getEPackageImportRule()); + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getEPackageImportRule()); + } pushFollow(FOLLOW_1); iv_ruleEPackageImport=ruleEPackageImport(); state._fsp--; - - current =iv_ruleEPackageImport; - match(input,EOF,FOLLOW_2); + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleEPackageImport; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; } @@ -597,7 +781,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleEPackageImport" - // InternalApplicationConfiguration.g:214:1: ruleEPackageImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ; + // InternalApplicationConfiguration.g:244:1: ruleEPackageImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ; public final EObject ruleEPackageImport() throws RecognitionException { EObject current = null; @@ -609,35 +793,43 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:220:2: ( (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ) - // InternalApplicationConfiguration.g:221:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:250:2: ( (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) ) + // InternalApplicationConfiguration.g:251:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) { - // InternalApplicationConfiguration.g:221:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:222:3: otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) + // InternalApplicationConfiguration.g:251:2: (otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:252:3: otherlv_0= 'import' otherlv_1= 'epackage' ( (otherlv_2= RULE_STRING ) ) { - otherlv_0=(Token)match(input,11,FOLLOW_5); + otherlv_0=(Token)match(input,12,FOLLOW_7); if (state.failed) return current; + if ( state.backtracking==0 ) { - newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0()); - - otherlv_1=(Token)match(input,12,FOLLOW_6); + newLeafNode(otherlv_0, grammarAccess.getEPackageImportAccess().getImportKeyword_0()); + + } + otherlv_1=(Token)match(input,13,FOLLOW_8); if (state.failed) return current; + if ( state.backtracking==0 ) { - newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); - - // InternalApplicationConfiguration.g:230:3: ( (otherlv_2= RULE_STRING ) ) - // InternalApplicationConfiguration.g:231:4: (otherlv_2= RULE_STRING ) + newLeafNode(otherlv_1, grammarAccess.getEPackageImportAccess().getEpackageKeyword_1()); + + } + // InternalApplicationConfiguration.g:260:3: ( (otherlv_2= RULE_STRING ) ) + // InternalApplicationConfiguration.g:261:4: (otherlv_2= RULE_STRING ) { - // InternalApplicationConfiguration.g:231:4: (otherlv_2= RULE_STRING ) - // InternalApplicationConfiguration.g:232:5: otherlv_2= RULE_STRING + // InternalApplicationConfiguration.g:261:4: (otherlv_2= RULE_STRING ) + // InternalApplicationConfiguration.g:262:5: otherlv_2= RULE_STRING { + if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getEPackageImportRule()); - } - - otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); + if (current==null) { + current = createModelElement(grammarAccess.getEPackageImportRule()); + } + + } + otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { - newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); - + newLeafNode(otherlv_2, grammarAccess.getEPackageImportAccess().getImportedPackageEPackageCrossReference_2_0()); + + } } @@ -650,9 +842,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } + if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); + } } catch (RecognitionException re) { @@ -667,7 +861,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleViatraImport" - // InternalApplicationConfiguration.g:247:1: entryRuleViatraImport returns [EObject current=null] : iv_ruleViatraImport= ruleViatraImport EOF ; + // InternalApplicationConfiguration.g:277:1: entryRuleViatraImport returns [EObject current=null] : iv_ruleViatraImport= ruleViatraImport EOF ; public final EObject entryRuleViatraImport() throws RecognitionException { EObject current = null; @@ -675,17 +869,21 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:247:53: (iv_ruleViatraImport= ruleViatraImport EOF ) - // InternalApplicationConfiguration.g:248:2: iv_ruleViatraImport= ruleViatraImport EOF + // InternalApplicationConfiguration.g:277:53: (iv_ruleViatraImport= ruleViatraImport EOF ) + // InternalApplicationConfiguration.g:278:2: iv_ruleViatraImport= ruleViatraImport EOF { - newCompositeNode(grammarAccess.getViatraImportRule()); + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getViatraImportRule()); + } pushFollow(FOLLOW_1); iv_ruleViatraImport=ruleViatraImport(); state._fsp--; - - current =iv_ruleViatraImport; - match(input,EOF,FOLLOW_2); + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleViatraImport; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; } @@ -703,7 +901,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleViatraImport" - // InternalApplicationConfiguration.g:254:1: ruleViatraImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ; + // InternalApplicationConfiguration.g:284:1: ruleViatraImport returns [EObject current=null] : (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ; public final EObject ruleViatraImport() throws RecognitionException { EObject current = null; @@ -715,35 +913,43 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:260:2: ( (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ) - // InternalApplicationConfiguration.g:261:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:290:2: ( (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) ) + // InternalApplicationConfiguration.g:291:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) { - // InternalApplicationConfiguration.g:261:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) - // InternalApplicationConfiguration.g:262:3: otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) + // InternalApplicationConfiguration.g:291:2: (otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:292:3: otherlv_0= 'import' otherlv_1= 'viatra' ( (otherlv_2= RULE_STRING ) ) { - otherlv_0=(Token)match(input,11,FOLLOW_7); + otherlv_0=(Token)match(input,12,FOLLOW_9); if (state.failed) return current; + if ( state.backtracking==0 ) { - newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0()); - - otherlv_1=(Token)match(input,13,FOLLOW_6); + newLeafNode(otherlv_0, grammarAccess.getViatraImportAccess().getImportKeyword_0()); + + } + otherlv_1=(Token)match(input,14,FOLLOW_8); if (state.failed) return current; + if ( state.backtracking==0 ) { - newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1()); - - // InternalApplicationConfiguration.g:270:3: ( (otherlv_2= RULE_STRING ) ) - // InternalApplicationConfiguration.g:271:4: (otherlv_2= RULE_STRING ) + newLeafNode(otherlv_1, grammarAccess.getViatraImportAccess().getViatraKeyword_1()); + + } + // InternalApplicationConfiguration.g:300:3: ( (otherlv_2= RULE_STRING ) ) + // InternalApplicationConfiguration.g:301:4: (otherlv_2= RULE_STRING ) { - // InternalApplicationConfiguration.g:271:4: (otherlv_2= RULE_STRING ) - // InternalApplicationConfiguration.g:272:5: otherlv_2= RULE_STRING + // InternalApplicationConfiguration.g:301:4: (otherlv_2= RULE_STRING ) + // InternalApplicationConfiguration.g:302:5: otherlv_2= RULE_STRING { + if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getViatraImportRule()); - } - - otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); + if (current==null) { + current = createModelElement(grammarAccess.getViatraImportRule()); + } + + } + otherlv_2=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { - newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); - + newLeafNode(otherlv_2, grammarAccess.getViatraImportAccess().getImportedViatraPatternModelCrossReference_2_0()); + + } } @@ -756,9 +962,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } + if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); + } } catch (RecognitionException re) { @@ -772,26 +980,30 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR end "ruleViatraImport" - // $ANTLR start "entryRuleMetamodelSpecification" - // InternalApplicationConfiguration.g:287:1: entryRuleMetamodelSpecification returns [EObject current=null] : iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ; - public final EObject entryRuleMetamodelSpecification() throws RecognitionException { + // $ANTLR start "entryRuleDeclaration" + // InternalApplicationConfiguration.g:317:1: entryRuleDeclaration returns [EObject current=null] : iv_ruleDeclaration= ruleDeclaration EOF ; + public final EObject entryRuleDeclaration() throws RecognitionException { EObject current = null; - EObject iv_ruleMetamodelSpecification = null; + EObject iv_ruleDeclaration = null; try { - // InternalApplicationConfiguration.g:287:63: (iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ) - // InternalApplicationConfiguration.g:288:2: iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF + // InternalApplicationConfiguration.g:317:52: (iv_ruleDeclaration= ruleDeclaration EOF ) + // InternalApplicationConfiguration.g:318:2: iv_ruleDeclaration= ruleDeclaration EOF { - newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getDeclarationRule()); + } pushFollow(FOLLOW_1); - iv_ruleMetamodelSpecification=ruleMetamodelSpecification(); + iv_ruleDeclaration=ruleDeclaration(); state._fsp--; - - current =iv_ruleMetamodelSpecification; - match(input,EOF,FOLLOW_2); + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleDeclaration; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; } @@ -805,139 +1017,219 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } return current; } - // $ANTLR end "entryRuleMetamodelSpecification" + // $ANTLR end "entryRuleDeclaration" - // $ANTLR start "ruleMetamodelSpecification" - // InternalApplicationConfiguration.g:294:1: ruleMetamodelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ; - public final EObject ruleMetamodelSpecification() throws RecognitionException { + // $ANTLR start "ruleDeclaration" + // InternalApplicationConfiguration.g:324:1: ruleDeclaration returns [EObject current=null] : (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) ; + public final EObject ruleDeclaration() throws RecognitionException { EObject current = null; - Token otherlv_0=null; - Token otherlv_2=null; - Token otherlv_4=null; - EObject lv_entries_1_0 = null; - - EObject lv_entries_3_0 = null; + EObject this_FileDeclaration_0 = null; + EObject this_MetamodelDeclaration_1 = null; + EObject this_PartialModelDeclaration_2 = null; - enterRule(); + EObject this_GraphPatternDeclaration_3 = null; - try { - // InternalApplicationConfiguration.g:300:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ) - // InternalApplicationConfiguration.g:301:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) - { - // InternalApplicationConfiguration.g:301:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) - // InternalApplicationConfiguration.g:302:3: otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' - { - otherlv_0=(Token)match(input,14,FOLLOW_8); + EObject this_ConfigDeclaration_4 = null; - newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); - - // InternalApplicationConfiguration.g:306:3: ( (lv_entries_1_0= ruleMetamodelEntry ) ) - // InternalApplicationConfiguration.g:307:4: (lv_entries_1_0= ruleMetamodelEntry ) - { - // InternalApplicationConfiguration.g:307:4: (lv_entries_1_0= ruleMetamodelEntry ) - // InternalApplicationConfiguration.g:308:5: lv_entries_1_0= ruleMetamodelEntry - { + EObject this_ScopeDeclaration_5 = null; - newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); - - pushFollow(FOLLOW_9); - lv_entries_1_0=ruleMetamodelEntry(); - state._fsp--; + enterRule(); - if (current==null) { - current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); - } - add( - current, - "entries", - lv_entries_1_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); - afterParserOrEnumRuleCall(); - + try { + // InternalApplicationConfiguration.g:330:2: ( (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) ) + // InternalApplicationConfiguration.g:331:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) + { + // InternalApplicationConfiguration.g:331:2: (this_FileDeclaration_0= ruleFileDeclaration | this_MetamodelDeclaration_1= ruleMetamodelDeclaration | this_PartialModelDeclaration_2= rulePartialModelDeclaration | this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration | this_ConfigDeclaration_4= ruleConfigDeclaration | this_ScopeDeclaration_5= ruleScopeDeclaration ) + int alt6=6; + switch ( input.LA(1) ) { + case 15: + { + alt6=1; + } + break; + case 23: + { + alt6=2; + } + break; + case 25: + { + alt6=3; + } + break; + case 26: + { + alt6=4; + } + break; + case 27: + { + alt6=5; + } + break; + case 37: + { + alt6=6; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 6, 0, input); + throw nvae; } + switch (alt6) { + case 1 : + // InternalApplicationConfiguration.g:332:3: this_FileDeclaration_0= ruleFileDeclaration + { + if ( state.backtracking==0 ) { - } + newCompositeNode(grammarAccess.getDeclarationAccess().getFileDeclarationParserRuleCall_0()); + + } + pushFollow(FOLLOW_2); + this_FileDeclaration_0=ruleFileDeclaration(); - // InternalApplicationConfiguration.g:325:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* - loop4: - do { - int alt4=2; - int LA4_0 = input.LA(1); + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { - if ( (LA4_0==15) ) { - alt4=1; - } + current = this_FileDeclaration_0; + afterParserOrEnumRuleCall(); + + } + } + break; + case 2 : + // InternalApplicationConfiguration.g:341:3: this_MetamodelDeclaration_1= ruleMetamodelDeclaration + { + if ( state.backtracking==0 ) { - switch (alt4) { - case 1 : - // InternalApplicationConfiguration.g:326:4: otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) - { - otherlv_2=(Token)match(input,15,FOLLOW_8); + newCompositeNode(grammarAccess.getDeclarationAccess().getMetamodelDeclarationParserRuleCall_1()); + + } + pushFollow(FOLLOW_2); + this_MetamodelDeclaration_1=ruleMetamodelDeclaration(); - newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); - - // InternalApplicationConfiguration.g:330:4: ( (lv_entries_3_0= ruleMetamodelEntry ) ) - // InternalApplicationConfiguration.g:331:5: (lv_entries_3_0= ruleMetamodelEntry ) - { - // InternalApplicationConfiguration.g:331:5: (lv_entries_3_0= ruleMetamodelEntry ) - // InternalApplicationConfiguration.g:332:6: lv_entries_3_0= ruleMetamodelEntry - { + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); - - pushFollow(FOLLOW_9); - lv_entries_3_0=ruleMetamodelEntry(); + current = this_MetamodelDeclaration_1; + afterParserOrEnumRuleCall(); + + } - state._fsp--; + } + break; + case 3 : + // InternalApplicationConfiguration.g:350:3: this_PartialModelDeclaration_2= rulePartialModelDeclaration + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getDeclarationAccess().getPartialModelDeclarationParserRuleCall_2()); + + } + pushFollow(FOLLOW_2); + this_PartialModelDeclaration_2=rulePartialModelDeclaration(); - if (current==null) { - current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); - } - add( - current, - "entries", - lv_entries_3_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); - afterParserOrEnumRuleCall(); - + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { - } + current = this_PartialModelDeclaration_2; + afterParserOrEnumRuleCall(); + + } + } + break; + case 4 : + // InternalApplicationConfiguration.g:359:3: this_GraphPatternDeclaration_3= ruleGraphPatternDeclaration + { + if ( state.backtracking==0 ) { - } + newCompositeNode(grammarAccess.getDeclarationAccess().getGraphPatternDeclarationParserRuleCall_3()); + + } + pushFollow(FOLLOW_2); + this_GraphPatternDeclaration_3=ruleGraphPatternDeclaration(); + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { - } - break; + current = this_GraphPatternDeclaration_3; + afterParserOrEnumRuleCall(); + + } - default : - break loop4; - } - } while (true); + } + break; + case 5 : + // InternalApplicationConfiguration.g:368:3: this_ConfigDeclaration_4= ruleConfigDeclaration + { + if ( state.backtracking==0 ) { - otherlv_4=(Token)match(input,16,FOLLOW_2); + newCompositeNode(grammarAccess.getDeclarationAccess().getConfigDeclarationParserRuleCall_4()); + + } + pushFollow(FOLLOW_2); + this_ConfigDeclaration_4=ruleConfigDeclaration(); - newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); - + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { - } + current = this_ConfigDeclaration_4; + afterParserOrEnumRuleCall(); + + } + } + break; + case 6 : + // InternalApplicationConfiguration.g:377:3: this_ScopeDeclaration_5= ruleScopeDeclaration + { + if ( state.backtracking==0 ) { - } + newCompositeNode(grammarAccess.getDeclarationAccess().getScopeDeclarationParserRuleCall_5()); + + } + pushFollow(FOLLOW_2); + this_ScopeDeclaration_5=ruleScopeDeclaration(); + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { - leaveRule(); + current = this_ScopeDeclaration_5; + afterParserOrEnumRuleCall(); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + leaveRule(); + + } } catch (RecognitionException re) { @@ -948,29 +1240,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } return current; } - // $ANTLR end "ruleMetamodelSpecification" + // $ANTLR end "ruleDeclaration" - // $ANTLR start "entryRuleMetamodelEntry" - // InternalApplicationConfiguration.g:358:1: entryRuleMetamodelEntry returns [EObject current=null] : iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ; - public final EObject entryRuleMetamodelEntry() throws RecognitionException { + // $ANTLR start "entryRuleFileSpecification" + // InternalApplicationConfiguration.g:389:1: entryRuleFileSpecification returns [EObject current=null] : iv_ruleFileSpecification= ruleFileSpecification EOF ; + public final EObject entryRuleFileSpecification() throws RecognitionException { EObject current = null; - EObject iv_ruleMetamodelEntry = null; + EObject iv_ruleFileSpecification = null; try { - // InternalApplicationConfiguration.g:358:55: (iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ) - // InternalApplicationConfiguration.g:359:2: iv_ruleMetamodelEntry= ruleMetamodelEntry EOF + // InternalApplicationConfiguration.g:389:58: (iv_ruleFileSpecification= ruleFileSpecification EOF ) + // InternalApplicationConfiguration.g:390:2: iv_ruleFileSpecification= ruleFileSpecification EOF { - newCompositeNode(grammarAccess.getMetamodelEntryRule()); + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getFileSpecificationRule()); + } pushFollow(FOLLOW_1); - iv_ruleMetamodelEntry=ruleMetamodelEntry(); + iv_ruleFileSpecification=ruleFileSpecification(); state._fsp--; - - current =iv_ruleMetamodelEntry; - match(input,EOF,FOLLOW_2); + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleFileSpecification; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; } @@ -984,88 +1280,61 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } return current; } - // $ANTLR end "entryRuleMetamodelEntry" + // $ANTLR end "entryRuleFileSpecification" - // $ANTLR start "ruleMetamodelEntry" - // InternalApplicationConfiguration.g:365:1: ruleMetamodelEntry returns [EObject current=null] : (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ; - public final EObject ruleMetamodelEntry() throws RecognitionException { + // $ANTLR start "ruleFileSpecification" + // InternalApplicationConfiguration.g:396:1: ruleFileSpecification returns [EObject current=null] : ( (lv_path_0_0= RULE_STRING ) ) ; + public final EObject ruleFileSpecification() throws RecognitionException { EObject current = null; - EObject this_MetamodelElement_0 = null; - - EObject this_AllPackageEntry_1 = null; - + Token lv_path_0_0=null; enterRule(); try { - // InternalApplicationConfiguration.g:371:2: ( (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ) - // InternalApplicationConfiguration.g:372:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) + // InternalApplicationConfiguration.g:402:2: ( ( (lv_path_0_0= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:403:2: ( (lv_path_0_0= RULE_STRING ) ) { - // InternalApplicationConfiguration.g:372:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) - int alt5=2; - int LA5_0 = input.LA(1); + // InternalApplicationConfiguration.g:403:2: ( (lv_path_0_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:404:3: (lv_path_0_0= RULE_STRING ) + { + // InternalApplicationConfiguration.g:404:3: (lv_path_0_0= RULE_STRING ) + // InternalApplicationConfiguration.g:405:4: lv_path_0_0= RULE_STRING + { + lv_path_0_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { - if ( (LA5_0==RULE_ID) ) { - alt5=1; + newLeafNode(lv_path_0_0, grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0()); + } - else if ( (LA5_0==17) ) { - alt5=2; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getFileSpecificationRule()); + } + setWithLastConsumed( + current, + "path", + lv_path_0_0, + "org.eclipse.xtext.common.Terminals.STRING"); + } - else { - NoViableAltException nvae = - new NoViableAltException("", 5, 0, input); - throw nvae; } - switch (alt5) { - case 1 : - // InternalApplicationConfiguration.g:373:3: this_MetamodelElement_0= ruleMetamodelElement - { - - newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); - - pushFollow(FOLLOW_2); - this_MetamodelElement_0=ruleMetamodelElement(); - - state._fsp--; - - - current = this_MetamodelElement_0; - afterParserOrEnumRuleCall(); - - - } - break; - case 2 : - // InternalApplicationConfiguration.g:382:3: this_AllPackageEntry_1= ruleAllPackageEntry - { - - newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); - - pushFollow(FOLLOW_2); - this_AllPackageEntry_1=ruleAllPackageEntry(); - - state._fsp--; - current = this_AllPackageEntry_1; - afterParserOrEnumRuleCall(); - - - } - break; - } } + if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); + } } catch (RecognitionException re) { @@ -1076,29 +1345,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } return current; } - // $ANTLR end "ruleMetamodelEntry" + // $ANTLR end "ruleFileSpecification" - // $ANTLR start "entryRuleAllPackageEntry" - // InternalApplicationConfiguration.g:394:1: entryRuleAllPackageEntry returns [EObject current=null] : iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ; - public final EObject entryRuleAllPackageEntry() throws RecognitionException { + // $ANTLR start "entryRuleFileDeclaration" + // InternalApplicationConfiguration.g:424:1: entryRuleFileDeclaration returns [EObject current=null] : iv_ruleFileDeclaration= ruleFileDeclaration EOF ; + public final EObject entryRuleFileDeclaration() throws RecognitionException { EObject current = null; - EObject iv_ruleAllPackageEntry = null; + EObject iv_ruleFileDeclaration = null; try { - // InternalApplicationConfiguration.g:394:56: (iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ) - // InternalApplicationConfiguration.g:395:2: iv_ruleAllPackageEntry= ruleAllPackageEntry EOF + // InternalApplicationConfiguration.g:424:56: (iv_ruleFileDeclaration= ruleFileDeclaration EOF ) + // InternalApplicationConfiguration.g:425:2: iv_ruleFileDeclaration= ruleFileDeclaration EOF { - newCompositeNode(grammarAccess.getAllPackageEntryRule()); + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getFileDeclarationRule()); + } pushFollow(FOLLOW_1); - iv_ruleAllPackageEntry=ruleAllPackageEntry(); + iv_ruleFileDeclaration=ruleFileDeclaration(); state._fsp--; - - current =iv_ruleAllPackageEntry; - match(input,EOF,FOLLOW_2); + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleFileDeclaration; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; } @@ -1112,176 +1385,204 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } return current; } - // $ANTLR end "entryRuleAllPackageEntry" + // $ANTLR end "entryRuleFileDeclaration" - // $ANTLR start "ruleAllPackageEntry" - // InternalApplicationConfiguration.g:401:1: ruleAllPackageEntry returns [EObject current=null] : (otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ; - public final EObject ruleAllPackageEntry() throws RecognitionException { + // $ANTLR start "ruleFileDeclaration" + // InternalApplicationConfiguration.g:431:1: ruleFileDeclaration returns [EObject current=null] : (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ; + public final EObject ruleFileDeclaration() throws RecognitionException { EObject current = null; Token otherlv_0=null; - Token otherlv_1=null; + Token lv_name_1_0=null; Token otherlv_2=null; - Token otherlv_3=null; - Token otherlv_5=null; - Token otherlv_7=null; - EObject lv_exclusion_4_0 = null; - - EObject lv_exclusion_6_0 = null; + EObject lv_specification_3_0 = null; enterRule(); try { - // InternalApplicationConfiguration.g:407:2: ( (otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ) - // InternalApplicationConfiguration.g:408:2: (otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) + // InternalApplicationConfiguration.g:437:2: ( (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) ) + // InternalApplicationConfiguration.g:438:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) { - // InternalApplicationConfiguration.g:408:2: (otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) - // InternalApplicationConfiguration.g:409:3: otherlv_0= 'package' ( (otherlv_1= RULE_ID ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? + // InternalApplicationConfiguration.g:438:2: (otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) ) + // InternalApplicationConfiguration.g:439:3: otherlv_0= 'file' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '=' ( (lv_specification_3_0= ruleFileSpecification ) ) { - otherlv_0=(Token)match(input,17,FOLLOW_10); + otherlv_0=(Token)match(input,15,FOLLOW_6); if (state.failed) return current; + if ( state.backtracking==0 ) { - newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); - - // InternalApplicationConfiguration.g:413:3: ( (otherlv_1= RULE_ID ) ) - // InternalApplicationConfiguration.g:414:4: (otherlv_1= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getFileDeclarationAccess().getFileKeyword_0()); + + } + // InternalApplicationConfiguration.g:443:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:444:4: (lv_name_1_0= RULE_ID ) { - // InternalApplicationConfiguration.g:414:4: (otherlv_1= RULE_ID ) - // InternalApplicationConfiguration.g:415:5: otherlv_1= RULE_ID + // InternalApplicationConfiguration.g:444:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:445:5: lv_name_1_0= RULE_ID { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_name_1_0, grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getFileDeclarationRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + + } - if (current==null) { - current = createModelElement(grammarAccess.getAllPackageEntryRule()); - } - - otherlv_1=(Token)match(input,RULE_ID,FOLLOW_11); + } - newLeafNode(otherlv_1, grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); - } + otherlv_2=(Token)match(input,16,FOLLOW_8); if (state.failed) return current; + if ( state.backtracking==0 ) { + newLeafNode(otherlv_2, grammarAccess.getFileDeclarationAccess().getEqualsSignKeyword_2()); + } + // InternalApplicationConfiguration.g:465:3: ( (lv_specification_3_0= ruleFileSpecification ) ) + // InternalApplicationConfiguration.g:466:4: (lv_specification_3_0= ruleFileSpecification ) + { + // InternalApplicationConfiguration.g:466:4: (lv_specification_3_0= ruleFileSpecification ) + // InternalApplicationConfiguration.g:467:5: lv_specification_3_0= ruleFileSpecification + { + if ( state.backtracking==0 ) { - // InternalApplicationConfiguration.g:426:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? - int alt7=2; - int LA7_0 = input.LA(1); + newCompositeNode(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0()); + + } + pushFollow(FOLLOW_2); + lv_specification_3_0=ruleFileSpecification(); - if ( (LA7_0==18) ) { - alt7=1; + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getFileDeclarationRule()); + } + set( + current, + "specification", + lv_specification_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); + afterParserOrEnumRuleCall(); + } - switch (alt7) { - case 1 : - // InternalApplicationConfiguration.g:427:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' - { - otherlv_2=(Token)match(input,18,FOLLOW_12); - newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); - - otherlv_3=(Token)match(input,14,FOLLOW_10); + } - newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); - - // InternalApplicationConfiguration.g:435:4: ( (lv_exclusion_4_0= ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:436:5: (lv_exclusion_4_0= ruleMetamodelElement ) - { - // InternalApplicationConfiguration.g:436:5: (lv_exclusion_4_0= ruleMetamodelElement ) - // InternalApplicationConfiguration.g:437:6: lv_exclusion_4_0= ruleMetamodelElement - { - newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); - - pushFollow(FOLLOW_9); - lv_exclusion_4_0=ruleMetamodelElement(); + } - state._fsp--; + } - if (current==null) { - current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); - } - add( - current, - "exclusion", - lv_exclusion_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); - afterParserOrEnumRuleCall(); - - } + } + if ( state.backtracking==0 ) { - } + leaveRule(); - // InternalApplicationConfiguration.g:454:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* - loop6: - do { - int alt6=2; - int LA6_0 = input.LA(1); + } + } - if ( (LA6_0==15) ) { - alt6=1; - } + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleFileDeclaration" - switch (alt6) { - case 1 : - // InternalApplicationConfiguration.g:455:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) - { - otherlv_5=(Token)match(input,15,FOLLOW_10); + // $ANTLR start "entryRuleFileReference" + // InternalApplicationConfiguration.g:488:1: entryRuleFileReference returns [EObject current=null] : iv_ruleFileReference= ruleFileReference EOF ; + public final EObject entryRuleFileReference() throws RecognitionException { + EObject current = null; - newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); - - // InternalApplicationConfiguration.g:459:5: ( (lv_exclusion_6_0= ruleMetamodelElement ) ) - // InternalApplicationConfiguration.g:460:6: (lv_exclusion_6_0= ruleMetamodelElement ) - { - // InternalApplicationConfiguration.g:460:6: (lv_exclusion_6_0= ruleMetamodelElement ) - // InternalApplicationConfiguration.g:461:7: lv_exclusion_6_0= ruleMetamodelElement - { + EObject iv_ruleFileReference = null; - newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); - - pushFollow(FOLLOW_9); - lv_exclusion_6_0=ruleMetamodelElement(); - state._fsp--; + try { + // InternalApplicationConfiguration.g:488:54: (iv_ruleFileReference= ruleFileReference EOF ) + // InternalApplicationConfiguration.g:489:2: iv_ruleFileReference= ruleFileReference EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getFileReferenceRule()); + } + pushFollow(FOLLOW_1); + iv_ruleFileReference=ruleFileReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleFileReference; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + } - if (current==null) { - current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); - } - add( - current, - "exclusion", - lv_exclusion_6_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); - afterParserOrEnumRuleCall(); - + } - } + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleFileReference" - } + // $ANTLR start "ruleFileReference" + // InternalApplicationConfiguration.g:495:1: ruleFileReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + public final EObject ruleFileReference() throws RecognitionException { + EObject current = null; + Token otherlv_0=null; - } - break; - default : - break loop6; - } - } while (true); + enterRule(); - otherlv_7=(Token)match(input,16,FOLLOW_2); + try { + // InternalApplicationConfiguration.g:501:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:502:2: ( (otherlv_0= RULE_ID ) ) + { + // InternalApplicationConfiguration.g:502:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:503:3: (otherlv_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:503:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:504:4: otherlv_0= RULE_ID + { + if ( state.backtracking==0 ) { - newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); - + if (current==null) { + current = createModelElement(grammarAccess.getFileReferenceRule()); + } + + } + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { - } - break; + newLeafNode(otherlv_0, grammarAccess.getFileReferenceAccess().getReferredFileDeclarationCrossReference_0()); + + } } @@ -1291,9 +1592,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } + if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); + } } catch (RecognitionException re) { @@ -1304,29 +1607,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } return current; } - // $ANTLR end "ruleAllPackageEntry" + // $ANTLR end "ruleFileReference" - // $ANTLR start "entryRuleMetamodelElement" - // InternalApplicationConfiguration.g:488:1: entryRuleMetamodelElement returns [EObject current=null] : iv_ruleMetamodelElement= ruleMetamodelElement EOF ; - public final EObject entryRuleMetamodelElement() throws RecognitionException { + // $ANTLR start "entryRuleFile" + // InternalApplicationConfiguration.g:518:1: entryRuleFile returns [EObject current=null] : iv_ruleFile= ruleFile EOF ; + public final EObject entryRuleFile() throws RecognitionException { EObject current = null; - EObject iv_ruleMetamodelElement = null; + EObject iv_ruleFile = null; try { - // InternalApplicationConfiguration.g:488:57: (iv_ruleMetamodelElement= ruleMetamodelElement EOF ) - // InternalApplicationConfiguration.g:489:2: iv_ruleMetamodelElement= ruleMetamodelElement EOF + // InternalApplicationConfiguration.g:518:45: (iv_ruleFile= ruleFile EOF ) + // InternalApplicationConfiguration.g:519:2: iv_ruleFile= ruleFile EOF { - newCompositeNode(grammarAccess.getMetamodelElementRule()); + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getFileRule()); + } pushFollow(FOLLOW_1); - iv_ruleMetamodelElement=ruleMetamodelElement(); + iv_ruleFile=ruleFile(); state._fsp--; - - current =iv_ruleMetamodelElement; - match(input,EOF,FOLLOW_2); + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleFile; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; } @@ -1340,134 +1647,86 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } return current; } - // $ANTLR end "entryRuleMetamodelElement" + // $ANTLR end "entryRuleFile" - // $ANTLR start "ruleMetamodelElement" - // InternalApplicationConfiguration.g:495:1: ruleMetamodelElement returns [EObject current=null] : ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ; - public final EObject ruleMetamodelElement() throws RecognitionException { + // $ANTLR start "ruleFile" + // InternalApplicationConfiguration.g:525:1: ruleFile returns [EObject current=null] : (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ; + public final EObject ruleFile() throws RecognitionException { EObject current = null; - Token otherlv_0=null; - Token otherlv_1=null; - Token otherlv_2=null; - Token otherlv_3=null; - Token otherlv_4=null; + EObject this_FileSpecification_0 = null; + + EObject this_FileReference_1 = null; + enterRule(); try { - // InternalApplicationConfiguration.g:501:2: ( ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ) - // InternalApplicationConfiguration.g:502:2: ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) - { - // InternalApplicationConfiguration.g:502:2: ( ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) - // InternalApplicationConfiguration.g:503:3: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? + // InternalApplicationConfiguration.g:531:2: ( (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) ) + // InternalApplicationConfiguration.g:532:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) { - // InternalApplicationConfiguration.g:503:3: ( ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' )? - int alt8=2; - int LA8_0 = input.LA(1); + // InternalApplicationConfiguration.g:532:2: (this_FileSpecification_0= ruleFileSpecification | this_FileReference_1= ruleFileReference ) + int alt7=2; + int LA7_0 = input.LA(1); - if ( (LA8_0==RULE_ID) ) { - int LA8_1 = input.LA(2); + if ( (LA7_0==RULE_STRING) ) { + alt7=1; + } + else if ( (LA7_0==RULE_ID) ) { + alt7=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 7, 0, input); - if ( (LA8_1==19) ) { - alt8=1; - } + throw nvae; } - switch (alt8) { + switch (alt7) { case 1 : - // InternalApplicationConfiguration.g:504:4: ( (otherlv_0= RULE_ID ) ) otherlv_1= '::' - { - // InternalApplicationConfiguration.g:504:4: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:505:5: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:533:3: this_FileSpecification_0= ruleFileSpecification { - // InternalApplicationConfiguration.g:505:5: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:506:6: otherlv_0= RULE_ID - { - - if (current==null) { - current = createModelElement(grammarAccess.getMetamodelElementRule()); - } - - otherlv_0=(Token)match(input,RULE_ID,FOLLOW_13); - - newLeafNode(otherlv_0, grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); - + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getFileAccess().getFileSpecificationParserRuleCall_0()); + } + pushFollow(FOLLOW_2); + this_FileSpecification_0=ruleFileSpecification(); + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current = this_FileSpecification_0; + afterParserOrEnumRuleCall(); + } - otherlv_1=(Token)match(input,19,FOLLOW_10); - - newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); - - } break; - - } - - // InternalApplicationConfiguration.g:522:3: ( (otherlv_2= RULE_ID ) ) - // InternalApplicationConfiguration.g:523:4: (otherlv_2= RULE_ID ) - { - // InternalApplicationConfiguration.g:523:4: (otherlv_2= RULE_ID ) - // InternalApplicationConfiguration.g:524:5: otherlv_2= RULE_ID - { - - if (current==null) { - current = createModelElement(grammarAccess.getMetamodelElementRule()); - } - - otherlv_2=(Token)match(input,RULE_ID,FOLLOW_14); - - newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); - - - } - - - } - - // InternalApplicationConfiguration.g:535:3: (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? - int alt9=2; - int LA9_0 = input.LA(1); - - if ( (LA9_0==20) ) { - alt9=1; - } - switch (alt9) { - case 1 : - // InternalApplicationConfiguration.g:536:4: otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) - { - otherlv_3=(Token)match(input,20,FOLLOW_10); - - newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); - - // InternalApplicationConfiguration.g:540:4: ( (otherlv_4= RULE_ID ) ) - // InternalApplicationConfiguration.g:541:5: (otherlv_4= RULE_ID ) - { - // InternalApplicationConfiguration.g:541:5: (otherlv_4= RULE_ID ) - // InternalApplicationConfiguration.g:542:6: otherlv_4= RULE_ID + case 2 : + // InternalApplicationConfiguration.g:542:3: this_FileReference_1= ruleFileReference { + if ( state.backtracking==0 ) { - if (current==null) { - current = createModelElement(grammarAccess.getMetamodelElementRule()); - } - - otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2); - - newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); - - + newCompositeNode(grammarAccess.getFileAccess().getFileReferenceParserRuleCall_1()); + } + pushFollow(FOLLOW_2); + this_FileReference_1=ruleFileReference(); + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current = this_FileReference_1; + afterParserOrEnumRuleCall(); + } - } break; @@ -1476,12 +1735,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } + if ( state.backtracking==0 ) { - } - - - leaveRule(); + leaveRule(); + } } catch (RecognitionException re) { @@ -1492,29 +1750,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } return current; } - // $ANTLR end "ruleMetamodelElement" + // $ANTLR end "ruleFile" - // $ANTLR start "entryRuleMetamodelDeclaration" - // InternalApplicationConfiguration.g:558:1: entryRuleMetamodelDeclaration returns [EObject current=null] : iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ; - public final EObject entryRuleMetamodelDeclaration() throws RecognitionException { + // $ANTLR start "entryRuleMetamodelSpecification" + // InternalApplicationConfiguration.g:554:1: entryRuleMetamodelSpecification returns [EObject current=null] : iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ; + public final EObject entryRuleMetamodelSpecification() throws RecognitionException { EObject current = null; - EObject iv_ruleMetamodelDeclaration = null; + EObject iv_ruleMetamodelSpecification = null; try { - // InternalApplicationConfiguration.g:558:61: (iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ) - // InternalApplicationConfiguration.g:559:2: iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF + // InternalApplicationConfiguration.g:554:63: (iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF ) + // InternalApplicationConfiguration.g:555:2: iv_ruleMetamodelSpecification= ruleMetamodelSpecification EOF { - newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getMetamodelSpecificationRule()); + } pushFollow(FOLLOW_1); - iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration(); + iv_ruleMetamodelSpecification=ruleMetamodelSpecification(); state._fsp--; - - current =iv_ruleMetamodelDeclaration; - match(input,EOF,FOLLOW_2); + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleMetamodelSpecification; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; } @@ -1528,99 +1790,298 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } return current; } - // $ANTLR end "entryRuleMetamodelDeclaration" + // $ANTLR end "entryRuleMetamodelSpecification" - // $ANTLR start "ruleMetamodelDeclaration" - // InternalApplicationConfiguration.g:565:1: ruleMetamodelDeclaration returns [EObject current=null] : (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ; - public final EObject ruleMetamodelDeclaration() throws RecognitionException { + // $ANTLR start "ruleMetamodelSpecification" + // InternalApplicationConfiguration.g:561:1: ruleMetamodelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ; + public final EObject ruleMetamodelSpecification() throws RecognitionException { EObject current = null; Token otherlv_0=null; - Token lv_name_1_0=null; - EObject lv_specification_2_0 = null; + Token otherlv_2=null; + Token otherlv_4=null; + EObject lv_entries_1_0 = null; + + EObject lv_entries_3_0 = null; enterRule(); try { - // InternalApplicationConfiguration.g:571:2: ( (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ) - // InternalApplicationConfiguration.g:572:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) + // InternalApplicationConfiguration.g:567:2: ( (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) ) + // InternalApplicationConfiguration.g:568:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) { - // InternalApplicationConfiguration.g:572:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) - // InternalApplicationConfiguration.g:573:3: otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) + // InternalApplicationConfiguration.g:568:2: (otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' ) + // InternalApplicationConfiguration.g:569:3: otherlv_0= '{' ( (lv_entries_1_0= ruleMetamodelEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* otherlv_4= '}' { - otherlv_0=(Token)match(input,21,FOLLOW_10); + otherlv_0=(Token)match(input,17,FOLLOW_11); if (state.failed) return current; + if ( state.backtracking==0 ) { - newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); - - // InternalApplicationConfiguration.g:577:3: ( (lv_name_1_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:578:4: (lv_name_1_0= RULE_ID ) + newLeafNode(otherlv_0, grammarAccess.getMetamodelSpecificationAccess().getLeftCurlyBracketKeyword_0()); + + } + // InternalApplicationConfiguration.g:573:3: ( (lv_entries_1_0= ruleMetamodelEntry ) ) + // InternalApplicationConfiguration.g:574:4: (lv_entries_1_0= ruleMetamodelEntry ) { - // InternalApplicationConfiguration.g:578:4: (lv_name_1_0= RULE_ID ) - // InternalApplicationConfiguration.g:579:5: lv_name_1_0= RULE_ID + // InternalApplicationConfiguration.g:574:4: (lv_entries_1_0= ruleMetamodelEntry ) + // InternalApplicationConfiguration.g:575:5: lv_entries_1_0= ruleMetamodelEntry { - lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_12); + if ( state.backtracking==0 ) { - newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); - + newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_1_0()); + + } + pushFollow(FOLLOW_12); + lv_entries_1_0=ruleMetamodelEntry(); - if (current==null) { - current = createModelElement(grammarAccess.getMetamodelDeclarationRule()); - } - setWithLastConsumed( - current, - "name", - lv_name_1_0, - "org.eclipse.xtext.common.Terminals.ID"); - + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); + } + add( + current, + "entries", + lv_entries_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); + afterParserOrEnumRuleCall(); + + } } } - // InternalApplicationConfiguration.g:595:3: ( (lv_specification_2_0= ruleMetamodelSpecification ) ) - // InternalApplicationConfiguration.g:596:4: (lv_specification_2_0= ruleMetamodelSpecification ) - { - // InternalApplicationConfiguration.g:596:4: (lv_specification_2_0= ruleMetamodelSpecification ) - // InternalApplicationConfiguration.g:597:5: lv_specification_2_0= ruleMetamodelSpecification - { + // InternalApplicationConfiguration.g:592:3: (otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) )* + loop8: + do { + int alt8=2; + int LA8_0 = input.LA(1); + + if ( (LA8_0==18) ) { + alt8=1; + } + + + switch (alt8) { + case 1 : + // InternalApplicationConfiguration.g:593:4: otherlv_2= ',' ( (lv_entries_3_0= ruleMetamodelEntry ) ) + { + otherlv_2=(Token)match(input,18,FOLLOW_11); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getMetamodelSpecificationAccess().getCommaKeyword_2_0()); + + } + // InternalApplicationConfiguration.g:597:4: ( (lv_entries_3_0= ruleMetamodelEntry ) ) + // InternalApplicationConfiguration.g:598:5: (lv_entries_3_0= ruleMetamodelEntry ) + { + // InternalApplicationConfiguration.g:598:5: (lv_entries_3_0= ruleMetamodelEntry ) + // InternalApplicationConfiguration.g:599:6: lv_entries_3_0= ruleMetamodelEntry + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getMetamodelSpecificationAccess().getEntriesMetamodelEntryParserRuleCall_2_1_0()); + + } + pushFollow(FOLLOW_12); + lv_entries_3_0=ruleMetamodelEntry(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getMetamodelSpecificationRule()); + } + add( + current, + "entries", + lv_entries_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelEntry"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop8; + } + } while (true); + + otherlv_4=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_4, grammarAccess.getMetamodelSpecificationAccess().getRightCurlyBracketKeyword_3()); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleMetamodelSpecification" - newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); - - pushFollow(FOLLOW_2); - lv_specification_2_0=ruleMetamodelSpecification(); + + // $ANTLR start "entryRuleMetamodelEntry" + // InternalApplicationConfiguration.g:625:1: entryRuleMetamodelEntry returns [EObject current=null] : iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ; + public final EObject entryRuleMetamodelEntry() throws RecognitionException { + EObject current = null; + + EObject iv_ruleMetamodelEntry = null; + + + try { + // InternalApplicationConfiguration.g:625:55: (iv_ruleMetamodelEntry= ruleMetamodelEntry EOF ) + // InternalApplicationConfiguration.g:626:2: iv_ruleMetamodelEntry= ruleMetamodelEntry EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getMetamodelEntryRule()); + } + pushFollow(FOLLOW_1); + iv_ruleMetamodelEntry=ruleMetamodelEntry(); state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleMetamodelEntry; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + } - if (current==null) { - current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule()); - } - set( - current, - "specification", - lv_specification_2_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); - afterParserOrEnumRuleCall(); - + } + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); } + finally { + } + return current; + } + // $ANTLR end "entryRuleMetamodelEntry" + + + // $ANTLR start "ruleMetamodelEntry" + // InternalApplicationConfiguration.g:632:1: ruleMetamodelEntry returns [EObject current=null] : (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ; + public final EObject ruleMetamodelEntry() throws RecognitionException { + EObject current = null; + + EObject this_MetamodelElement_0 = null; + + EObject this_AllPackageEntry_1 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:638:2: ( (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) ) + // InternalApplicationConfiguration.g:639:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) + { + // InternalApplicationConfiguration.g:639:2: (this_MetamodelElement_0= ruleMetamodelElement | this_AllPackageEntry_1= ruleAllPackageEntry ) + int alt9=2; + int LA9_0 = input.LA(1); + if ( (LA9_0==RULE_ID) ) { + alt9=1; + } + else if ( (LA9_0==20) ) { + alt9=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 9, 0, input); + throw nvae; } + switch (alt9) { + case 1 : + // InternalApplicationConfiguration.g:640:3: this_MetamodelElement_0= ruleMetamodelElement + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getMetamodelEntryAccess().getMetamodelElementParserRuleCall_0()); + + } + pushFollow(FOLLOW_2); + this_MetamodelElement_0=ruleMetamodelElement(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_MetamodelElement_0; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 2 : + // InternalApplicationConfiguration.g:649:3: this_AllPackageEntry_1= ruleAllPackageEntry + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getMetamodelEntryAccess().getAllPackageEntryParserRuleCall_1()); + + } + pushFollow(FOLLOW_2); + this_AllPackageEntry_1=ruleAllPackageEntry(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_AllPackageEntry_1; + afterParserOrEnumRuleCall(); + + } + + } + break; } } + if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); + } } catch (RecognitionException re) { @@ -1631,29 +2092,33 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } return current; } - // $ANTLR end "ruleMetamodelDeclaration" + // $ANTLR end "ruleMetamodelEntry" - // $ANTLR start "entryRuleMetamodelReference" - // InternalApplicationConfiguration.g:618:1: entryRuleMetamodelReference returns [EObject current=null] : iv_ruleMetamodelReference= ruleMetamodelReference EOF ; - public final EObject entryRuleMetamodelReference() throws RecognitionException { + // $ANTLR start "entryRuleAllPackageEntry" + // InternalApplicationConfiguration.g:661:1: entryRuleAllPackageEntry returns [EObject current=null] : iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ; + public final EObject entryRuleAllPackageEntry() throws RecognitionException { EObject current = null; - EObject iv_ruleMetamodelReference = null; + EObject iv_ruleAllPackageEntry = null; try { - // InternalApplicationConfiguration.g:618:59: (iv_ruleMetamodelReference= ruleMetamodelReference EOF ) - // InternalApplicationConfiguration.g:619:2: iv_ruleMetamodelReference= ruleMetamodelReference EOF + // InternalApplicationConfiguration.g:661:56: (iv_ruleAllPackageEntry= ruleAllPackageEntry EOF ) + // InternalApplicationConfiguration.g:662:2: iv_ruleAllPackageEntry= ruleAllPackageEntry EOF { - newCompositeNode(grammarAccess.getMetamodelReferenceRule()); + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getAllPackageEntryRule()); + } pushFollow(FOLLOW_1); - iv_ruleMetamodelReference=ruleMetamodelReference(); + iv_ruleAllPackageEntry=ruleAllPackageEntry(); state._fsp--; - - current =iv_ruleMetamodelReference; - match(input,EOF,FOLLOW_2); + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleAllPackageEntry; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; } @@ -1667,38 +2132,206 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } return current; } - // $ANTLR end "entryRuleMetamodelReference" + // $ANTLR end "entryRuleAllPackageEntry" - // $ANTLR start "ruleMetamodelReference" - // InternalApplicationConfiguration.g:625:1: ruleMetamodelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; - public final EObject ruleMetamodelReference() throws RecognitionException { + // $ANTLR start "ruleAllPackageEntry" + // InternalApplicationConfiguration.g:668:1: ruleAllPackageEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ; + public final EObject ruleAllPackageEntry() throws RecognitionException { EObject current = null; Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_3=null; + Token otherlv_5=null; + Token otherlv_7=null; + EObject lv_exclusion_4_0 = null; + + EObject lv_exclusion_6_0 = null; + enterRule(); try { - // InternalApplicationConfiguration.g:631:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:632:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:674:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) ) + // InternalApplicationConfiguration.g:675:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) { - // InternalApplicationConfiguration.g:632:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:633:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:675:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? ) + // InternalApplicationConfiguration.g:676:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? + { + otherlv_0=(Token)match(input,20,FOLLOW_6); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getAllPackageEntryAccess().getPackageKeyword_0()); + + } + // InternalApplicationConfiguration.g:680:3: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:681:4: ( ruleQualifiedName ) { - // InternalApplicationConfiguration.g:633:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:634:4: otherlv_0= RULE_ID + // InternalApplicationConfiguration.g:681:4: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:682:5: ruleQualifiedName { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getAllPackageEntryRule()); + } + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getAllPackageEntryAccess().getPackageEPackageCrossReference_1_0()); + + } + pushFollow(FOLLOW_13); + ruleQualifiedName(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalApplicationConfiguration.g:696:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' )? + int alt11=2; + int LA11_0 = input.LA(1); + + if ( (LA11_0==21) ) { + alt11=1; + } + switch (alt11) { + case 1 : + // InternalApplicationConfiguration.g:697:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleMetamodelElement ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* otherlv_7= '}' + { + otherlv_2=(Token)match(input,21,FOLLOW_14); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getAllPackageEntryAccess().getExcludingKeyword_2_0()); + + } + otherlv_3=(Token)match(input,17,FOLLOW_6); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_3, grammarAccess.getAllPackageEntryAccess().getLeftCurlyBracketKeyword_2_1()); + + } + // InternalApplicationConfiguration.g:705:4: ( (lv_exclusion_4_0= ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:706:5: (lv_exclusion_4_0= ruleMetamodelElement ) + { + // InternalApplicationConfiguration.g:706:5: (lv_exclusion_4_0= ruleMetamodelElement ) + // InternalApplicationConfiguration.g:707:6: lv_exclusion_4_0= ruleMetamodelElement + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_2_0()); + + } + pushFollow(FOLLOW_12); + lv_exclusion_4_0=ruleMetamodelElement(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); + } + add( + current, + "exclusion", + lv_exclusion_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalApplicationConfiguration.g:724:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) )* + loop10: + do { + int alt10=2; + int LA10_0 = input.LA(1); + + if ( (LA10_0==18) ) { + alt10=1; + } + + + switch (alt10) { + case 1 : + // InternalApplicationConfiguration.g:725:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleMetamodelElement ) ) + { + otherlv_5=(Token)match(input,18,FOLLOW_6); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_5, grammarAccess.getAllPackageEntryAccess().getCommaKeyword_2_3_0()); + + } + // InternalApplicationConfiguration.g:729:5: ( (lv_exclusion_6_0= ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:730:6: (lv_exclusion_6_0= ruleMetamodelElement ) + { + // InternalApplicationConfiguration.g:730:6: (lv_exclusion_6_0= ruleMetamodelElement ) + // InternalApplicationConfiguration.g:731:7: lv_exclusion_6_0= ruleMetamodelElement + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getAllPackageEntryAccess().getExclusionMetamodelElementParserRuleCall_2_3_1_0()); + + } + pushFollow(FOLLOW_12); + lv_exclusion_6_0=ruleMetamodelElement(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getAllPackageEntryRule()); + } + add( + current, + "exclusion", + lv_exclusion_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); + afterParserOrEnumRuleCall(); + + } + + } - if (current==null) { - current = createModelElement(grammarAccess.getMetamodelReferenceRule()); - } - - otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); - newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); - + } + + + } + break; + + default : + break loop10; + } + } while (true); + + otherlv_7=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_7, grammarAccess.getAllPackageEntryAccess().getRightCurlyBracketKeyword_2_4()); + + } + + } + break; } @@ -1708,9 +2341,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } + if ( state.backtracking==0 ) { - leaveRule(); + leaveRule(); + } } catch (RecognitionException re) { @@ -1721,26 +2356,7077 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } return current; } - // $ANTLR end "ruleMetamodelReference" + // $ANTLR end "ruleAllPackageEntry" + + + // $ANTLR start "entryRuleMetamodelElement" + // InternalApplicationConfiguration.g:758:1: entryRuleMetamodelElement returns [EObject current=null] : iv_ruleMetamodelElement= ruleMetamodelElement EOF ; + public final EObject entryRuleMetamodelElement() throws RecognitionException { + EObject current = null; + + EObject iv_ruleMetamodelElement = null; - // Delegated rules + try { + // InternalApplicationConfiguration.g:758:57: (iv_ruleMetamodelElement= ruleMetamodelElement EOF ) + // InternalApplicationConfiguration.g:759:2: iv_ruleMetamodelElement= ruleMetamodelElement EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getMetamodelElementRule()); + } + pushFollow(FOLLOW_1); + iv_ruleMetamodelElement=ruleMetamodelElement(); + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleMetamodelElement; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleMetamodelElement" + + + // $ANTLR start "ruleMetamodelElement" + // InternalApplicationConfiguration.g:765:1: ruleMetamodelElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ; + public final EObject ruleMetamodelElement() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_2=null; + Token otherlv_3=null; + Token otherlv_4=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:771:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) ) + // InternalApplicationConfiguration.g:772:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) + { + // InternalApplicationConfiguration.g:772:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? ) + // InternalApplicationConfiguration.g:773:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? + { + // InternalApplicationConfiguration.g:773:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? + int alt12=2; + int LA12_0 = input.LA(1); + + if ( (LA12_0==RULE_ID) ) { + int LA12_1 = input.LA(2); + + if ( (LA12_1==11) ) { + int LA12_2 = input.LA(3); + + if ( (LA12_2==RULE_ID) ) { + int LA12_5 = input.LA(4); + + if ( (LA12_5==11||LA12_5==22) ) { + alt12=1; + } + } + } + else if ( (LA12_1==22) ) { + alt12=1; + } + } + switch (alt12) { + case 1 : + // InternalApplicationConfiguration.g:774:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' + { + // InternalApplicationConfiguration.g:774:4: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:775:5: ( ruleQualifiedName ) + { + // InternalApplicationConfiguration.g:775:5: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:776:6: ruleQualifiedName + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getMetamodelElementRule()); + } + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getMetamodelElementAccess().getPackageEPackageCrossReference_0_0_0()); + + } + pushFollow(FOLLOW_15); + ruleQualifiedName(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + otherlv_1=(Token)match(input,22,FOLLOW_6); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getMetamodelElementAccess().getColonColonKeyword_0_1()); + + } + + } + break; + + } + + // InternalApplicationConfiguration.g:795:3: ( (otherlv_2= RULE_ID ) ) + // InternalApplicationConfiguration.g:796:4: (otherlv_2= RULE_ID ) + { + // InternalApplicationConfiguration.g:796:4: (otherlv_2= RULE_ID ) + // InternalApplicationConfiguration.g:797:5: otherlv_2= RULE_ID + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getMetamodelElementRule()); + } + + } + otherlv_2=(Token)match(input,RULE_ID,FOLLOW_5); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getMetamodelElementAccess().getClassifierEClassifierCrossReference_1_0()); + + } + + } + + + } + + // InternalApplicationConfiguration.g:808:3: (otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) )? + int alt13=2; + int LA13_0 = input.LA(1); + + if ( (LA13_0==11) ) { + alt13=1; + } + switch (alt13) { + case 1 : + // InternalApplicationConfiguration.g:809:4: otherlv_3= '.' ( (otherlv_4= RULE_ID ) ) + { + otherlv_3=(Token)match(input,11,FOLLOW_6); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_3, grammarAccess.getMetamodelElementAccess().getFullStopKeyword_2_0()); + + } + // InternalApplicationConfiguration.g:813:4: ( (otherlv_4= RULE_ID ) ) + // InternalApplicationConfiguration.g:814:5: (otherlv_4= RULE_ID ) + { + // InternalApplicationConfiguration.g:814:5: (otherlv_4= RULE_ID ) + // InternalApplicationConfiguration.g:815:6: otherlv_4= RULE_ID + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getMetamodelElementRule()); + } + + } + otherlv_4=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_4, grammarAccess.getMetamodelElementAccess().getFeatureENamedElementCrossReference_2_1_0()); + + } + + } + + + } + + + } + break; + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleMetamodelElement" + + + // $ANTLR start "entryRuleMetamodelDeclaration" + // InternalApplicationConfiguration.g:831:1: entryRuleMetamodelDeclaration returns [EObject current=null] : iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ; + public final EObject entryRuleMetamodelDeclaration() throws RecognitionException { + EObject current = null; + + EObject iv_ruleMetamodelDeclaration = null; + + + try { + // InternalApplicationConfiguration.g:831:61: (iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF ) + // InternalApplicationConfiguration.g:832:2: iv_ruleMetamodelDeclaration= ruleMetamodelDeclaration EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getMetamodelDeclarationRule()); + } + pushFollow(FOLLOW_1); + iv_ruleMetamodelDeclaration=ruleMetamodelDeclaration(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleMetamodelDeclaration; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleMetamodelDeclaration" + + + // $ANTLR start "ruleMetamodelDeclaration" + // InternalApplicationConfiguration.g:838:1: ruleMetamodelDeclaration returns [EObject current=null] : (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ; + public final EObject ruleMetamodelDeclaration() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_name_1_0=null; + EObject lv_specification_2_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:844:2: ( (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) ) + // InternalApplicationConfiguration.g:845:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) + { + // InternalApplicationConfiguration.g:845:2: (otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) ) + // InternalApplicationConfiguration.g:846:3: otherlv_0= 'metamodel' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleMetamodelSpecification ) ) + { + otherlv_0=(Token)match(input,23,FOLLOW_6); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getMetamodelDeclarationAccess().getMetamodelKeyword_0()); + + } + // InternalApplicationConfiguration.g:850:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:851:4: (lv_name_1_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:851:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:852:5: lv_name_1_0= RULE_ID + { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_name_1_0, grammarAccess.getMetamodelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getMetamodelDeclarationRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + + } + + } + + + } + + // InternalApplicationConfiguration.g:868:3: ( (lv_specification_2_0= ruleMetamodelSpecification ) ) + // InternalApplicationConfiguration.g:869:4: (lv_specification_2_0= ruleMetamodelSpecification ) + { + // InternalApplicationConfiguration.g:869:4: (lv_specification_2_0= ruleMetamodelSpecification ) + // InternalApplicationConfiguration.g:870:5: lv_specification_2_0= ruleMetamodelSpecification + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getMetamodelDeclarationAccess().getSpecificationMetamodelSpecificationParserRuleCall_2_0()); + + } + pushFollow(FOLLOW_2); + lv_specification_2_0=ruleMetamodelSpecification(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getMetamodelDeclarationRule()); + } + set( + current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleMetamodelDeclaration" + + + // $ANTLR start "entryRuleMetamodelReference" + // InternalApplicationConfiguration.g:891:1: entryRuleMetamodelReference returns [EObject current=null] : iv_ruleMetamodelReference= ruleMetamodelReference EOF ; + public final EObject entryRuleMetamodelReference() throws RecognitionException { + EObject current = null; + + EObject iv_ruleMetamodelReference = null; + + + try { + // InternalApplicationConfiguration.g:891:59: (iv_ruleMetamodelReference= ruleMetamodelReference EOF ) + // InternalApplicationConfiguration.g:892:2: iv_ruleMetamodelReference= ruleMetamodelReference EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getMetamodelReferenceRule()); + } + pushFollow(FOLLOW_1); + iv_ruleMetamodelReference=ruleMetamodelReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleMetamodelReference; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleMetamodelReference" + + + // $ANTLR start "ruleMetamodelReference" + // InternalApplicationConfiguration.g:898:1: ruleMetamodelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + public final EObject ruleMetamodelReference() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:904:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:905:2: ( (otherlv_0= RULE_ID ) ) + { + // InternalApplicationConfiguration.g:905:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:906:3: (otherlv_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:906:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:907:4: otherlv_0= RULE_ID + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getMetamodelReferenceRule()); + } + + } + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getMetamodelReferenceAccess().getReferredMetamodelDeclarationCrossReference_0()); + + } + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleMetamodelReference" + + + // $ANTLR start "entryRuleMetamodel" + // InternalApplicationConfiguration.g:921:1: entryRuleMetamodel returns [EObject current=null] : iv_ruleMetamodel= ruleMetamodel EOF ; + public final EObject entryRuleMetamodel() throws RecognitionException { + EObject current = null; + + EObject iv_ruleMetamodel = null; + + + try { + // InternalApplicationConfiguration.g:921:50: (iv_ruleMetamodel= ruleMetamodel EOF ) + // InternalApplicationConfiguration.g:922:2: iv_ruleMetamodel= ruleMetamodel EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getMetamodelRule()); + } + pushFollow(FOLLOW_1); + iv_ruleMetamodel=ruleMetamodel(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleMetamodel; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleMetamodel" + + + // $ANTLR start "ruleMetamodel" + // InternalApplicationConfiguration.g:928:1: ruleMetamodel returns [EObject current=null] : (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ; + public final EObject ruleMetamodel() throws RecognitionException { + EObject current = null; + + EObject this_MetamodelReference_0 = null; + + EObject this_MetamodelSpecification_1 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:934:2: ( (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) ) + // InternalApplicationConfiguration.g:935:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) + { + // InternalApplicationConfiguration.g:935:2: (this_MetamodelReference_0= ruleMetamodelReference | this_MetamodelSpecification_1= ruleMetamodelSpecification ) + int alt14=2; + int LA14_0 = input.LA(1); + + if ( (LA14_0==RULE_ID) ) { + alt14=1; + } + else if ( (LA14_0==17) ) { + alt14=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 14, 0, input); + + throw nvae; + } + switch (alt14) { + case 1 : + // InternalApplicationConfiguration.g:936:3: this_MetamodelReference_0= ruleMetamodelReference + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelReferenceParserRuleCall_0()); + + } + pushFollow(FOLLOW_2); + this_MetamodelReference_0=ruleMetamodelReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_MetamodelReference_0; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 2 : + // InternalApplicationConfiguration.g:945:3: this_MetamodelSpecification_1= ruleMetamodelSpecification + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getMetamodelAccess().getMetamodelSpecificationParserRuleCall_1()); + + } + pushFollow(FOLLOW_2); + this_MetamodelSpecification_1=ruleMetamodelSpecification(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_MetamodelSpecification_1; + afterParserOrEnumRuleCall(); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleMetamodel" + + + // $ANTLR start "entryRulePartialModelSpecification" + // InternalApplicationConfiguration.g:957:1: entryRulePartialModelSpecification returns [EObject current=null] : iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ; + public final EObject entryRulePartialModelSpecification() throws RecognitionException { + EObject current = null; + + EObject iv_rulePartialModelSpecification = null; + + + try { + // InternalApplicationConfiguration.g:957:66: (iv_rulePartialModelSpecification= rulePartialModelSpecification EOF ) + // InternalApplicationConfiguration.g:958:2: iv_rulePartialModelSpecification= rulePartialModelSpecification EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getPartialModelSpecificationRule()); + } + pushFollow(FOLLOW_1); + iv_rulePartialModelSpecification=rulePartialModelSpecification(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_rulePartialModelSpecification; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePartialModelSpecification" + + + // $ANTLR start "rulePartialModelSpecification" + // InternalApplicationConfiguration.g:964:1: rulePartialModelSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ; + public final EObject rulePartialModelSpecification() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_4=null; + EObject lv_entry_1_0 = null; + + EObject lv_entry_3_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:970:2: ( (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) ) + // InternalApplicationConfiguration.g:971:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) + { + // InternalApplicationConfiguration.g:971:2: (otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' ) + // InternalApplicationConfiguration.g:972:3: otherlv_0= '{' ( (lv_entry_1_0= rulePartialModelEntry ) ) (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? otherlv_4= '}' + { + otherlv_0=(Token)match(input,17,FOLLOW_16); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getPartialModelSpecificationAccess().getLeftCurlyBracketKeyword_0()); + + } + // InternalApplicationConfiguration.g:976:3: ( (lv_entry_1_0= rulePartialModelEntry ) ) + // InternalApplicationConfiguration.g:977:4: (lv_entry_1_0= rulePartialModelEntry ) + { + // InternalApplicationConfiguration.g:977:4: (lv_entry_1_0= rulePartialModelEntry ) + // InternalApplicationConfiguration.g:978:5: lv_entry_1_0= rulePartialModelEntry + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_1_0()); + + } + pushFollow(FOLLOW_12); + lv_entry_1_0=rulePartialModelEntry(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); + } + add( + current, + "entry", + lv_entry_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalApplicationConfiguration.g:995:3: (otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) )? + int alt15=2; + int LA15_0 = input.LA(1); + + if ( (LA15_0==18) ) { + alt15=1; + } + switch (alt15) { + case 1 : + // InternalApplicationConfiguration.g:996:4: otherlv_2= ',' ( (lv_entry_3_0= rulePartialModelEntry ) ) + { + otherlv_2=(Token)match(input,18,FOLLOW_16); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getPartialModelSpecificationAccess().getCommaKeyword_2_0()); + + } + // InternalApplicationConfiguration.g:1000:4: ( (lv_entry_3_0= rulePartialModelEntry ) ) + // InternalApplicationConfiguration.g:1001:5: (lv_entry_3_0= rulePartialModelEntry ) + { + // InternalApplicationConfiguration.g:1001:5: (lv_entry_3_0= rulePartialModelEntry ) + // InternalApplicationConfiguration.g:1002:6: lv_entry_3_0= rulePartialModelEntry + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPartialModelSpecificationAccess().getEntryPartialModelEntryParserRuleCall_2_1_0()); + + } + pushFollow(FOLLOW_17); + lv_entry_3_0=rulePartialModelEntry(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPartialModelSpecificationRule()); + } + add( + current, + "entry", + lv_entry_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + } + + otherlv_4=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_4, grammarAccess.getPartialModelSpecificationAccess().getRightCurlyBracketKeyword_3()); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePartialModelSpecification" + + + // $ANTLR start "entryRulePartialModelEntry" + // InternalApplicationConfiguration.g:1028:1: entryRulePartialModelEntry returns [EObject current=null] : iv_rulePartialModelEntry= rulePartialModelEntry EOF ; + public final EObject entryRulePartialModelEntry() throws RecognitionException { + EObject current = null; + + EObject iv_rulePartialModelEntry = null; + + + try { + // InternalApplicationConfiguration.g:1028:58: (iv_rulePartialModelEntry= rulePartialModelEntry EOF ) + // InternalApplicationConfiguration.g:1029:2: iv_rulePartialModelEntry= rulePartialModelEntry EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getPartialModelEntryRule()); + } + pushFollow(FOLLOW_1); + iv_rulePartialModelEntry=rulePartialModelEntry(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_rulePartialModelEntry; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePartialModelEntry" + + + // $ANTLR start "rulePartialModelEntry" + // InternalApplicationConfiguration.g:1035:1: rulePartialModelEntry returns [EObject current=null] : (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ; + public final EObject rulePartialModelEntry() throws RecognitionException { + EObject current = null; + + EObject this_ModelEntry_0 = null; + + EObject this_FolderEntry_1 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1041:2: ( (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) ) + // InternalApplicationConfiguration.g:1042:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) + { + // InternalApplicationConfiguration.g:1042:2: (this_ModelEntry_0= ruleModelEntry | this_FolderEntry_1= ruleFolderEntry ) + int alt16=2; + int LA16_0 = input.LA(1); + + if ( ((LA16_0>=RULE_ID && LA16_0<=RULE_STRING)) ) { + alt16=1; + } + else if ( (LA16_0==24) ) { + alt16=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 16, 0, input); + + throw nvae; + } + switch (alt16) { + case 1 : + // InternalApplicationConfiguration.g:1043:3: this_ModelEntry_0= ruleModelEntry + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPartialModelEntryAccess().getModelEntryParserRuleCall_0()); + + } + pushFollow(FOLLOW_2); + this_ModelEntry_0=ruleModelEntry(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_ModelEntry_0; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 2 : + // InternalApplicationConfiguration.g:1052:3: this_FolderEntry_1= ruleFolderEntry + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPartialModelEntryAccess().getFolderEntryParserRuleCall_1()); + + } + pushFollow(FOLLOW_2); + this_FolderEntry_1=ruleFolderEntry(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_FolderEntry_1; + afterParserOrEnumRuleCall(); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePartialModelEntry" + + + // $ANTLR start "entryRuleModelEntry" + // InternalApplicationConfiguration.g:1064:1: entryRuleModelEntry returns [EObject current=null] : iv_ruleModelEntry= ruleModelEntry EOF ; + public final EObject entryRuleModelEntry() throws RecognitionException { + EObject current = null; + + EObject iv_ruleModelEntry = null; + + + try { + // InternalApplicationConfiguration.g:1064:51: (iv_ruleModelEntry= ruleModelEntry EOF ) + // InternalApplicationConfiguration.g:1065:2: iv_ruleModelEntry= ruleModelEntry EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getModelEntryRule()); + } + pushFollow(FOLLOW_1); + iv_ruleModelEntry=ruleModelEntry(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleModelEntry; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleModelEntry" + + + // $ANTLR start "ruleModelEntry" + // InternalApplicationConfiguration.g:1071:1: ruleModelEntry returns [EObject current=null] : ( (lv_path_0_0= ruleFile ) ) ; + public final EObject ruleModelEntry() throws RecognitionException { + EObject current = null; + + EObject lv_path_0_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1077:2: ( ( (lv_path_0_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:1078:2: ( (lv_path_0_0= ruleFile ) ) + { + // InternalApplicationConfiguration.g:1078:2: ( (lv_path_0_0= ruleFile ) ) + // InternalApplicationConfiguration.g:1079:3: (lv_path_0_0= ruleFile ) + { + // InternalApplicationConfiguration.g:1079:3: (lv_path_0_0= ruleFile ) + // InternalApplicationConfiguration.g:1080:4: lv_path_0_0= ruleFile + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0()); + + } + pushFollow(FOLLOW_2); + lv_path_0_0=ruleFile(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getModelEntryRule()); + } + set( + current, + "path", + lv_path_0_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleModelEntry" + + + // $ANTLR start "entryRuleFolderEntry" + // InternalApplicationConfiguration.g:1100:1: entryRuleFolderEntry returns [EObject current=null] : iv_ruleFolderEntry= ruleFolderEntry EOF ; + public final EObject entryRuleFolderEntry() throws RecognitionException { + EObject current = null; + + EObject iv_ruleFolderEntry = null; + + + try { + // InternalApplicationConfiguration.g:1100:52: (iv_ruleFolderEntry= ruleFolderEntry EOF ) + // InternalApplicationConfiguration.g:1101:2: iv_ruleFolderEntry= ruleFolderEntry EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getFolderEntryRule()); + } + pushFollow(FOLLOW_1); + iv_ruleFolderEntry=ruleFolderEntry(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleFolderEntry; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleFolderEntry" + + + // $ANTLR start "ruleFolderEntry" + // InternalApplicationConfiguration.g:1107:1: ruleFolderEntry returns [EObject current=null] : (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ; + public final EObject ruleFolderEntry() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_3=null; + Token otherlv_5=null; + Token otherlv_7=null; + EObject lv_path_1_0 = null; + + EObject lv_exclusion_4_0 = null; + + EObject lv_exclusion_6_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1113:2: ( (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) ) + // InternalApplicationConfiguration.g:1114:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) + { + // InternalApplicationConfiguration.g:1114:2: (otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? ) + // InternalApplicationConfiguration.g:1115:3: otherlv_0= 'folder' ( (lv_path_1_0= ruleFile ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? + { + otherlv_0=(Token)match(input,24,FOLLOW_18); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getFolderEntryAccess().getFolderKeyword_0()); + + } + // InternalApplicationConfiguration.g:1119:3: ( (lv_path_1_0= ruleFile ) ) + // InternalApplicationConfiguration.g:1120:4: (lv_path_1_0= ruleFile ) + { + // InternalApplicationConfiguration.g:1120:4: (lv_path_1_0= ruleFile ) + // InternalApplicationConfiguration.g:1121:5: lv_path_1_0= ruleFile + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getFolderEntryAccess().getPathFileParserRuleCall_1_0()); + + } + pushFollow(FOLLOW_13); + lv_path_1_0=ruleFile(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getFolderEntryRule()); + } + set( + current, + "path", + lv_path_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalApplicationConfiguration.g:1138:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' )? + int alt18=2; + int LA18_0 = input.LA(1); + + if ( (LA18_0==21) ) { + alt18=1; + } + switch (alt18) { + case 1 : + // InternalApplicationConfiguration.g:1139:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusion_4_0= ruleModelEntry ) ) (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* otherlv_7= '}' + { + otherlv_2=(Token)match(input,21,FOLLOW_14); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getFolderEntryAccess().getExcludingKeyword_2_0()); + + } + otherlv_3=(Token)match(input,17,FOLLOW_18); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_3, grammarAccess.getFolderEntryAccess().getLeftCurlyBracketKeyword_2_1()); + + } + // InternalApplicationConfiguration.g:1147:4: ( (lv_exclusion_4_0= ruleModelEntry ) ) + // InternalApplicationConfiguration.g:1148:5: (lv_exclusion_4_0= ruleModelEntry ) + { + // InternalApplicationConfiguration.g:1148:5: (lv_exclusion_4_0= ruleModelEntry ) + // InternalApplicationConfiguration.g:1149:6: lv_exclusion_4_0= ruleModelEntry + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_2_0()); + + } + pushFollow(FOLLOW_12); + lv_exclusion_4_0=ruleModelEntry(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getFolderEntryRule()); + } + add( + current, + "exclusion", + lv_exclusion_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalApplicationConfiguration.g:1166:4: (otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) )* + loop17: + do { + int alt17=2; + int LA17_0 = input.LA(1); + + if ( (LA17_0==18) ) { + alt17=1; + } + + + switch (alt17) { + case 1 : + // InternalApplicationConfiguration.g:1167:5: otherlv_5= ',' ( (lv_exclusion_6_0= ruleModelEntry ) ) + { + otherlv_5=(Token)match(input,18,FOLLOW_18); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_5, grammarAccess.getFolderEntryAccess().getCommaKeyword_2_3_0()); + + } + // InternalApplicationConfiguration.g:1171:5: ( (lv_exclusion_6_0= ruleModelEntry ) ) + // InternalApplicationConfiguration.g:1172:6: (lv_exclusion_6_0= ruleModelEntry ) + { + // InternalApplicationConfiguration.g:1172:6: (lv_exclusion_6_0= ruleModelEntry ) + // InternalApplicationConfiguration.g:1173:7: lv_exclusion_6_0= ruleModelEntry + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getFolderEntryAccess().getExclusionModelEntryParserRuleCall_2_3_1_0()); + + } + pushFollow(FOLLOW_12); + lv_exclusion_6_0=ruleModelEntry(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getFolderEntryRule()); + } + add( + current, + "exclusion", + lv_exclusion_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop17; + } + } while (true); + + otherlv_7=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_7, grammarAccess.getFolderEntryAccess().getRightCurlyBracketKeyword_2_4()); + + } + + } + break; + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleFolderEntry" + + + // $ANTLR start "entryRulePartialModelDeclaration" + // InternalApplicationConfiguration.g:1200:1: entryRulePartialModelDeclaration returns [EObject current=null] : iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ; + public final EObject entryRulePartialModelDeclaration() throws RecognitionException { + EObject current = null; + + EObject iv_rulePartialModelDeclaration = null; + + + try { + // InternalApplicationConfiguration.g:1200:64: (iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF ) + // InternalApplicationConfiguration.g:1201:2: iv_rulePartialModelDeclaration= rulePartialModelDeclaration EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getPartialModelDeclarationRule()); + } + pushFollow(FOLLOW_1); + iv_rulePartialModelDeclaration=rulePartialModelDeclaration(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_rulePartialModelDeclaration; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePartialModelDeclaration" + + + // $ANTLR start "rulePartialModelDeclaration" + // InternalApplicationConfiguration.g:1207:1: rulePartialModelDeclaration returns [EObject current=null] : (otherlv_0= 'partial-model' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ; + public final EObject rulePartialModelDeclaration() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_name_1_0=null; + EObject lv_specification_2_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1213:2: ( (otherlv_0= 'partial-model' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ) + // InternalApplicationConfiguration.g:1214:2: (otherlv_0= 'partial-model' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) + { + // InternalApplicationConfiguration.g:1214:2: (otherlv_0= 'partial-model' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) + // InternalApplicationConfiguration.g:1215:3: otherlv_0= 'partial-model' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) + { + otherlv_0=(Token)match(input,25,FOLLOW_6); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getPartialModelKeyword_0()); + + } + // InternalApplicationConfiguration.g:1219:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1220:4: (lv_name_1_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:1220:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:1221:5: lv_name_1_0= RULE_ID + { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_name_1_0, grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getPartialModelDeclarationRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + + } + + } + + + } + + // InternalApplicationConfiguration.g:1237:3: ( (lv_specification_2_0= rulePartialModelSpecification ) ) + // InternalApplicationConfiguration.g:1238:4: (lv_specification_2_0= rulePartialModelSpecification ) + { + // InternalApplicationConfiguration.g:1238:4: (lv_specification_2_0= rulePartialModelSpecification ) + // InternalApplicationConfiguration.g:1239:5: lv_specification_2_0= rulePartialModelSpecification + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0()); + + } + pushFollow(FOLLOW_2); + lv_specification_2_0=rulePartialModelSpecification(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPartialModelDeclarationRule()); + } + set( + current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePartialModelDeclaration" + + + // $ANTLR start "entryRulePartialModelReference" + // InternalApplicationConfiguration.g:1260:1: entryRulePartialModelReference returns [EObject current=null] : iv_rulePartialModelReference= rulePartialModelReference EOF ; + public final EObject entryRulePartialModelReference() throws RecognitionException { + EObject current = null; + + EObject iv_rulePartialModelReference = null; + + + try { + // InternalApplicationConfiguration.g:1260:62: (iv_rulePartialModelReference= rulePartialModelReference EOF ) + // InternalApplicationConfiguration.g:1261:2: iv_rulePartialModelReference= rulePartialModelReference EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getPartialModelReferenceRule()); + } + pushFollow(FOLLOW_1); + iv_rulePartialModelReference=rulePartialModelReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_rulePartialModelReference; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePartialModelReference" + + + // $ANTLR start "rulePartialModelReference" + // InternalApplicationConfiguration.g:1267:1: rulePartialModelReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + public final EObject rulePartialModelReference() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1273:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:1274:2: ( (otherlv_0= RULE_ID ) ) + { + // InternalApplicationConfiguration.g:1274:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1275:3: (otherlv_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:1275:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:1276:4: otherlv_0= RULE_ID + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getPartialModelReferenceRule()); + } + + } + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationCrossReference_0()); + + } + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePartialModelReference" + + + // $ANTLR start "entryRulePartialModel" + // InternalApplicationConfiguration.g:1290:1: entryRulePartialModel returns [EObject current=null] : iv_rulePartialModel= rulePartialModel EOF ; + public final EObject entryRulePartialModel() throws RecognitionException { + EObject current = null; + + EObject iv_rulePartialModel = null; + + + try { + // InternalApplicationConfiguration.g:1290:53: (iv_rulePartialModel= rulePartialModel EOF ) + // InternalApplicationConfiguration.g:1291:2: iv_rulePartialModel= rulePartialModel EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getPartialModelRule()); + } + pushFollow(FOLLOW_1); + iv_rulePartialModel=rulePartialModel(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_rulePartialModel; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePartialModel" + + + // $ANTLR start "rulePartialModel" + // InternalApplicationConfiguration.g:1297:1: rulePartialModel returns [EObject current=null] : (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ; + public final EObject rulePartialModel() throws RecognitionException { + EObject current = null; + + EObject this_PartialModelSpecification_0 = null; + + EObject this_PartialModelReference_1 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1303:2: ( (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) ) + // InternalApplicationConfiguration.g:1304:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) + { + // InternalApplicationConfiguration.g:1304:2: (this_PartialModelSpecification_0= rulePartialModelSpecification | this_PartialModelReference_1= rulePartialModelReference ) + int alt19=2; + int LA19_0 = input.LA(1); + + if ( (LA19_0==17) ) { + alt19=1; + } + else if ( (LA19_0==RULE_ID) ) { + alt19=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 19, 0, input); + + throw nvae; + } + switch (alt19) { + case 1 : + // InternalApplicationConfiguration.g:1305:3: this_PartialModelSpecification_0= rulePartialModelSpecification + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelSpecificationParserRuleCall_0()); + + } + pushFollow(FOLLOW_2); + this_PartialModelSpecification_0=rulePartialModelSpecification(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_PartialModelSpecification_0; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 2 : + // InternalApplicationConfiguration.g:1314:3: this_PartialModelReference_1= rulePartialModelReference + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPartialModelAccess().getPartialModelReferenceParserRuleCall_1()); + + } + pushFollow(FOLLOW_2); + this_PartialModelReference_1=rulePartialModelReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_PartialModelReference_1; + afterParserOrEnumRuleCall(); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePartialModel" + + + // $ANTLR start "entryRulePatternSpecification" + // InternalApplicationConfiguration.g:1326:1: entryRulePatternSpecification returns [EObject current=null] : iv_rulePatternSpecification= rulePatternSpecification EOF ; + public final EObject entryRulePatternSpecification() throws RecognitionException { + EObject current = null; + + EObject iv_rulePatternSpecification = null; + + + try { + // InternalApplicationConfiguration.g:1326:61: (iv_rulePatternSpecification= rulePatternSpecification EOF ) + // InternalApplicationConfiguration.g:1327:2: iv_rulePatternSpecification= rulePatternSpecification EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getPatternSpecificationRule()); + } + pushFollow(FOLLOW_1); + iv_rulePatternSpecification=rulePatternSpecification(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_rulePatternSpecification; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePatternSpecification" + + + // $ANTLR start "rulePatternSpecification" + // InternalApplicationConfiguration.g:1333:1: rulePatternSpecification returns [EObject current=null] : (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ; + public final EObject rulePatternSpecification() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_4=null; + EObject lv_entries_1_0 = null; + + EObject lv_entries_3_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1339:2: ( (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) ) + // InternalApplicationConfiguration.g:1340:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) + { + // InternalApplicationConfiguration.g:1340:2: (otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' ) + // InternalApplicationConfiguration.g:1341:3: otherlv_0= '{' ( (lv_entries_1_0= rulePatternEntry ) ) (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* otherlv_4= '}' + { + otherlv_0=(Token)match(input,17,FOLLOW_11); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getPatternSpecificationAccess().getLeftCurlyBracketKeyword_0()); + + } + // InternalApplicationConfiguration.g:1345:3: ( (lv_entries_1_0= rulePatternEntry ) ) + // InternalApplicationConfiguration.g:1346:4: (lv_entries_1_0= rulePatternEntry ) + { + // InternalApplicationConfiguration.g:1346:4: (lv_entries_1_0= rulePatternEntry ) + // InternalApplicationConfiguration.g:1347:5: lv_entries_1_0= rulePatternEntry + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_1_0()); + + } + pushFollow(FOLLOW_12); + lv_entries_1_0=rulePatternEntry(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); + } + add( + current, + "entries", + lv_entries_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalApplicationConfiguration.g:1364:3: (otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) )* + loop20: + do { + int alt20=2; + int LA20_0 = input.LA(1); + + if ( (LA20_0==18) ) { + alt20=1; + } + + + switch (alt20) { + case 1 : + // InternalApplicationConfiguration.g:1365:4: otherlv_2= ',' ( (lv_entries_3_0= rulePatternEntry ) ) + { + otherlv_2=(Token)match(input,18,FOLLOW_11); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getPatternSpecificationAccess().getCommaKeyword_2_0()); + + } + // InternalApplicationConfiguration.g:1369:4: ( (lv_entries_3_0= rulePatternEntry ) ) + // InternalApplicationConfiguration.g:1370:5: (lv_entries_3_0= rulePatternEntry ) + { + // InternalApplicationConfiguration.g:1370:5: (lv_entries_3_0= rulePatternEntry ) + // InternalApplicationConfiguration.g:1371:6: lv_entries_3_0= rulePatternEntry + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPatternSpecificationAccess().getEntriesPatternEntryParserRuleCall_2_1_0()); + + } + pushFollow(FOLLOW_12); + lv_entries_3_0=rulePatternEntry(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getPatternSpecificationRule()); + } + add( + current, + "entries", + lv_entries_3_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop20; + } + } while (true); + + otherlv_4=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_4, grammarAccess.getPatternSpecificationAccess().getRightCurlyBracketKeyword_3()); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePatternSpecification" + + + // $ANTLR start "entryRulePatternEntry" + // InternalApplicationConfiguration.g:1397:1: entryRulePatternEntry returns [EObject current=null] : iv_rulePatternEntry= rulePatternEntry EOF ; + public final EObject entryRulePatternEntry() throws RecognitionException { + EObject current = null; + + EObject iv_rulePatternEntry = null; + + + try { + // InternalApplicationConfiguration.g:1397:53: (iv_rulePatternEntry= rulePatternEntry EOF ) + // InternalApplicationConfiguration.g:1398:2: iv_rulePatternEntry= rulePatternEntry EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getPatternEntryRule()); + } + pushFollow(FOLLOW_1); + iv_rulePatternEntry=rulePatternEntry(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_rulePatternEntry; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePatternEntry" + + + // $ANTLR start "rulePatternEntry" + // InternalApplicationConfiguration.g:1404:1: rulePatternEntry returns [EObject current=null] : (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ; + public final EObject rulePatternEntry() throws RecognitionException { + EObject current = null; + + EObject this_PatternElement_0 = null; + + EObject this_AllPatternEntry_1 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1410:2: ( (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) ) + // InternalApplicationConfiguration.g:1411:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) + { + // InternalApplicationConfiguration.g:1411:2: (this_PatternElement_0= rulePatternElement | this_AllPatternEntry_1= ruleAllPatternEntry ) + int alt21=2; + int LA21_0 = input.LA(1); + + if ( (LA21_0==RULE_ID) ) { + alt21=1; + } + else if ( (LA21_0==20) ) { + alt21=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 21, 0, input); + + throw nvae; + } + switch (alt21) { + case 1 : + // InternalApplicationConfiguration.g:1412:3: this_PatternElement_0= rulePatternElement + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPatternEntryAccess().getPatternElementParserRuleCall_0()); + + } + pushFollow(FOLLOW_2); + this_PatternElement_0=rulePatternElement(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_PatternElement_0; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 2 : + // InternalApplicationConfiguration.g:1421:3: this_AllPatternEntry_1= ruleAllPatternEntry + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPatternEntryAccess().getAllPatternEntryParserRuleCall_1()); + + } + pushFollow(FOLLOW_2); + this_AllPatternEntry_1=ruleAllPatternEntry(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_AllPatternEntry_1; + afterParserOrEnumRuleCall(); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePatternEntry" + + + // $ANTLR start "entryRuleAllPatternEntry" + // InternalApplicationConfiguration.g:1433:1: entryRuleAllPatternEntry returns [EObject current=null] : iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ; + public final EObject entryRuleAllPatternEntry() throws RecognitionException { + EObject current = null; + + EObject iv_ruleAllPatternEntry = null; + + + try { + // InternalApplicationConfiguration.g:1433:56: (iv_ruleAllPatternEntry= ruleAllPatternEntry EOF ) + // InternalApplicationConfiguration.g:1434:2: iv_ruleAllPatternEntry= ruleAllPatternEntry EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getAllPatternEntryRule()); + } + pushFollow(FOLLOW_1); + iv_ruleAllPatternEntry=ruleAllPatternEntry(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleAllPatternEntry; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleAllPatternEntry" + + + // $ANTLR start "ruleAllPatternEntry" + // InternalApplicationConfiguration.g:1440:1: ruleAllPatternEntry returns [EObject current=null] : (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ; + public final EObject ruleAllPatternEntry() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_3=null; + Token otherlv_5=null; + Token otherlv_7=null; + EObject lv_exclusuion_4_0 = null; + + EObject lv_exclusuion_6_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1446:2: ( (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) ) + // InternalApplicationConfiguration.g:1447:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) + { + // InternalApplicationConfiguration.g:1447:2: (otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? ) + // InternalApplicationConfiguration.g:1448:3: otherlv_0= 'package' ( ( ruleQualifiedName ) ) (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? + { + otherlv_0=(Token)match(input,20,FOLLOW_6); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getAllPatternEntryAccess().getPackageKeyword_0()); + + } + // InternalApplicationConfiguration.g:1452:3: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:1453:4: ( ruleQualifiedName ) + { + // InternalApplicationConfiguration.g:1453:4: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:1454:5: ruleQualifiedName + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getAllPatternEntryRule()); + } + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getAllPatternEntryAccess().getPackagePatternModelCrossReference_1_0()); + + } + pushFollow(FOLLOW_13); + ruleQualifiedName(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalApplicationConfiguration.g:1468:3: (otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' )? + int alt23=2; + int LA23_0 = input.LA(1); + + if ( (LA23_0==21) ) { + alt23=1; + } + switch (alt23) { + case 1 : + // InternalApplicationConfiguration.g:1469:4: otherlv_2= 'excluding' otherlv_3= '{' ( (lv_exclusuion_4_0= rulePatternElement ) ) (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* otherlv_7= '}' + { + otherlv_2=(Token)match(input,21,FOLLOW_14); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getAllPatternEntryAccess().getExcludingKeyword_2_0()); + + } + otherlv_3=(Token)match(input,17,FOLLOW_6); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_3, grammarAccess.getAllPatternEntryAccess().getLeftCurlyBracketKeyword_2_1()); + + } + // InternalApplicationConfiguration.g:1477:4: ( (lv_exclusuion_4_0= rulePatternElement ) ) + // InternalApplicationConfiguration.g:1478:5: (lv_exclusuion_4_0= rulePatternElement ) + { + // InternalApplicationConfiguration.g:1478:5: (lv_exclusuion_4_0= rulePatternElement ) + // InternalApplicationConfiguration.g:1479:6: lv_exclusuion_4_0= rulePatternElement + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_2_0()); + + } + pushFollow(FOLLOW_12); + lv_exclusuion_4_0=rulePatternElement(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); + } + add( + current, + "exclusuion", + lv_exclusuion_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalApplicationConfiguration.g:1496:4: (otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) )* + loop22: + do { + int alt22=2; + int LA22_0 = input.LA(1); + + if ( (LA22_0==18) ) { + alt22=1; + } + + + switch (alt22) { + case 1 : + // InternalApplicationConfiguration.g:1497:5: otherlv_5= ',' ( (lv_exclusuion_6_0= rulePatternElement ) ) + { + otherlv_5=(Token)match(input,18,FOLLOW_6); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_5, grammarAccess.getAllPatternEntryAccess().getCommaKeyword_2_3_0()); + + } + // InternalApplicationConfiguration.g:1501:5: ( (lv_exclusuion_6_0= rulePatternElement ) ) + // InternalApplicationConfiguration.g:1502:6: (lv_exclusuion_6_0= rulePatternElement ) + { + // InternalApplicationConfiguration.g:1502:6: (lv_exclusuion_6_0= rulePatternElement ) + // InternalApplicationConfiguration.g:1503:7: lv_exclusuion_6_0= rulePatternElement + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getAllPatternEntryAccess().getExclusuionPatternElementParserRuleCall_2_3_1_0()); + + } + pushFollow(FOLLOW_12); + lv_exclusuion_6_0=rulePatternElement(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getAllPatternEntryRule()); + } + add( + current, + "exclusuion", + lv_exclusuion_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop22; + } + } while (true); + + otherlv_7=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_7, grammarAccess.getAllPatternEntryAccess().getRightCurlyBracketKeyword_2_4()); + + } + + } + break; + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleAllPatternEntry" + + + // $ANTLR start "entryRulePatternElement" + // InternalApplicationConfiguration.g:1530:1: entryRulePatternElement returns [EObject current=null] : iv_rulePatternElement= rulePatternElement EOF ; + public final EObject entryRulePatternElement() throws RecognitionException { + EObject current = null; + + EObject iv_rulePatternElement = null; + + + try { + // InternalApplicationConfiguration.g:1530:55: (iv_rulePatternElement= rulePatternElement EOF ) + // InternalApplicationConfiguration.g:1531:2: iv_rulePatternElement= rulePatternElement EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getPatternElementRule()); + } + pushFollow(FOLLOW_1); + iv_rulePatternElement=rulePatternElement(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_rulePatternElement; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRulePatternElement" + + + // $ANTLR start "rulePatternElement" + // InternalApplicationConfiguration.g:1537:1: rulePatternElement returns [EObject current=null] : ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ; + public final EObject rulePatternElement() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_2=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1543:2: ( ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) ) + // InternalApplicationConfiguration.g:1544:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) + { + // InternalApplicationConfiguration.g:1544:2: ( ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:1545:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? ( (otherlv_2= RULE_ID ) ) + { + // InternalApplicationConfiguration.g:1545:3: ( ( ( ruleQualifiedName ) ) otherlv_1= '::' )? + int alt24=2; + int LA24_0 = input.LA(1); + + if ( (LA24_0==RULE_ID) ) { + int LA24_1 = input.LA(2); + + if ( (LA24_1==11||LA24_1==22) ) { + alt24=1; + } + } + switch (alt24) { + case 1 : + // InternalApplicationConfiguration.g:1546:4: ( ( ruleQualifiedName ) ) otherlv_1= '::' + { + // InternalApplicationConfiguration.g:1546:4: ( ( ruleQualifiedName ) ) + // InternalApplicationConfiguration.g:1547:5: ( ruleQualifiedName ) + { + // InternalApplicationConfiguration.g:1547:5: ( ruleQualifiedName ) + // InternalApplicationConfiguration.g:1548:6: ruleQualifiedName + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getPatternElementRule()); + } + + } + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getPatternElementAccess().getPackagePatternModelCrossReference_0_0_0()); + + } + pushFollow(FOLLOW_15); + ruleQualifiedName(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + afterParserOrEnumRuleCall(); + + } + + } + + + } + + otherlv_1=(Token)match(input,22,FOLLOW_6); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getPatternElementAccess().getColonColonKeyword_0_1()); + + } + + } + break; + + } + + // InternalApplicationConfiguration.g:1567:3: ( (otherlv_2= RULE_ID ) ) + // InternalApplicationConfiguration.g:1568:4: (otherlv_2= RULE_ID ) + { + // InternalApplicationConfiguration.g:1568:4: (otherlv_2= RULE_ID ) + // InternalApplicationConfiguration.g:1569:5: otherlv_2= RULE_ID + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getPatternElementRule()); + } + + } + otherlv_2=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getPatternElementAccess().getPatternPatternCrossReference_1_0()); + + } + + } + + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "rulePatternElement" + + + // $ANTLR start "entryRuleGraphPatternDeclaration" + // InternalApplicationConfiguration.g:1584:1: entryRuleGraphPatternDeclaration returns [EObject current=null] : iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ; + public final EObject entryRuleGraphPatternDeclaration() throws RecognitionException { + EObject current = null; + + EObject iv_ruleGraphPatternDeclaration = null; + + + try { + // InternalApplicationConfiguration.g:1584:64: (iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF ) + // InternalApplicationConfiguration.g:1585:2: iv_ruleGraphPatternDeclaration= ruleGraphPatternDeclaration EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getGraphPatternDeclarationRule()); + } + pushFollow(FOLLOW_1); + iv_ruleGraphPatternDeclaration=ruleGraphPatternDeclaration(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleGraphPatternDeclaration; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleGraphPatternDeclaration" + + + // $ANTLR start "ruleGraphPatternDeclaration" + // InternalApplicationConfiguration.g:1591:1: ruleGraphPatternDeclaration returns [EObject current=null] : (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ; + public final EObject ruleGraphPatternDeclaration() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_name_1_0=null; + EObject lv_specification_2_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1597:2: ( (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) ) + // InternalApplicationConfiguration.g:1598:2: (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) + { + // InternalApplicationConfiguration.g:1598:2: (otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) ) + // InternalApplicationConfiguration.g:1599:3: otherlv_0= 'patterns' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePatternSpecification ) ) + { + otherlv_0=(Token)match(input,26,FOLLOW_6); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getGraphPatternDeclarationAccess().getPatternsKeyword_0()); + + } + // InternalApplicationConfiguration.g:1603:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1604:4: (lv_name_1_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:1604:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:1605:5: lv_name_1_0= RULE_ID + { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_name_1_0, grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getGraphPatternDeclarationRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + + } + + } + + + } + + // InternalApplicationConfiguration.g:1621:3: ( (lv_specification_2_0= rulePatternSpecification ) ) + // InternalApplicationConfiguration.g:1622:4: (lv_specification_2_0= rulePatternSpecification ) + { + // InternalApplicationConfiguration.g:1622:4: (lv_specification_2_0= rulePatternSpecification ) + // InternalApplicationConfiguration.g:1623:5: lv_specification_2_0= rulePatternSpecification + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0()); + + } + pushFollow(FOLLOW_2); + lv_specification_2_0=rulePatternSpecification(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGraphPatternDeclarationRule()); + } + set( + current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleGraphPatternDeclaration" + + + // $ANTLR start "entryRuleGraphPatternReference" + // InternalApplicationConfiguration.g:1644:1: entryRuleGraphPatternReference returns [EObject current=null] : iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ; + public final EObject entryRuleGraphPatternReference() throws RecognitionException { + EObject current = null; + + EObject iv_ruleGraphPatternReference = null; + + + try { + // InternalApplicationConfiguration.g:1644:62: (iv_ruleGraphPatternReference= ruleGraphPatternReference EOF ) + // InternalApplicationConfiguration.g:1645:2: iv_ruleGraphPatternReference= ruleGraphPatternReference EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getGraphPatternReferenceRule()); + } + pushFollow(FOLLOW_1); + iv_ruleGraphPatternReference=ruleGraphPatternReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleGraphPatternReference; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleGraphPatternReference" + + + // $ANTLR start "ruleGraphPatternReference" + // InternalApplicationConfiguration.g:1651:1: ruleGraphPatternReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + public final EObject ruleGraphPatternReference() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1657:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:1658:2: ( (otherlv_0= RULE_ID ) ) + { + // InternalApplicationConfiguration.g:1658:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1659:3: (otherlv_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:1659:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:1660:4: otherlv_0= RULE_ID + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getGraphPatternReferenceRule()); + } + + } + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationCrossReference_0()); + + } + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleGraphPatternReference" + + + // $ANTLR start "entryRuleGraphPattern" + // InternalApplicationConfiguration.g:1674:1: entryRuleGraphPattern returns [EObject current=null] : iv_ruleGraphPattern= ruleGraphPattern EOF ; + public final EObject entryRuleGraphPattern() throws RecognitionException { + EObject current = null; + + EObject iv_ruleGraphPattern = null; + + + try { + // InternalApplicationConfiguration.g:1674:53: (iv_ruleGraphPattern= ruleGraphPattern EOF ) + // InternalApplicationConfiguration.g:1675:2: iv_ruleGraphPattern= ruleGraphPattern EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getGraphPatternRule()); + } + pushFollow(FOLLOW_1); + iv_ruleGraphPattern=ruleGraphPattern(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleGraphPattern; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleGraphPattern" + + + // $ANTLR start "ruleGraphPattern" + // InternalApplicationConfiguration.g:1681:1: ruleGraphPattern returns [EObject current=null] : (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ; + public final EObject ruleGraphPattern() throws RecognitionException { + EObject current = null; + + EObject this_GraphPatternReference_0 = null; + + EObject this_PatternSpecification_1 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1687:2: ( (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) ) + // InternalApplicationConfiguration.g:1688:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) + { + // InternalApplicationConfiguration.g:1688:2: (this_GraphPatternReference_0= ruleGraphPatternReference | this_PatternSpecification_1= rulePatternSpecification ) + int alt25=2; + int LA25_0 = input.LA(1); + + if ( (LA25_0==RULE_ID) ) { + alt25=1; + } + else if ( (LA25_0==17) ) { + alt25=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 25, 0, input); + + throw nvae; + } + switch (alt25) { + case 1 : + // InternalApplicationConfiguration.g:1689:3: this_GraphPatternReference_0= ruleGraphPatternReference + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getGraphPatternAccess().getGraphPatternReferenceParserRuleCall_0()); + + } + pushFollow(FOLLOW_2); + this_GraphPatternReference_0=ruleGraphPatternReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_GraphPatternReference_0; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 2 : + // InternalApplicationConfiguration.g:1698:3: this_PatternSpecification_1= rulePatternSpecification + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getGraphPatternAccess().getPatternSpecificationParserRuleCall_1()); + + } + pushFollow(FOLLOW_2); + this_PatternSpecification_1=rulePatternSpecification(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_PatternSpecification_1; + afterParserOrEnumRuleCall(); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleGraphPattern" + + + // $ANTLR start "entryRuleConfigSpecification" + // InternalApplicationConfiguration.g:1710:1: entryRuleConfigSpecification returns [EObject current=null] : iv_ruleConfigSpecification= ruleConfigSpecification EOF ; + public final EObject entryRuleConfigSpecification() throws RecognitionException { + EObject current = null; + + EObject iv_ruleConfigSpecification = null; + + + try { + // InternalApplicationConfiguration.g:1710:60: (iv_ruleConfigSpecification= ruleConfigSpecification EOF ) + // InternalApplicationConfiguration.g:1711:2: iv_ruleConfigSpecification= ruleConfigSpecification EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getConfigSpecificationRule()); + } + pushFollow(FOLLOW_1); + iv_ruleConfigSpecification=ruleConfigSpecification(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleConfigSpecification; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleConfigSpecification" + + + // $ANTLR start "ruleConfigSpecification" + // InternalApplicationConfiguration.g:1717:1: ruleConfigSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ; + public final EObject ruleConfigSpecification() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_3=null; + Token otherlv_5=null; + EObject lv_entries_2_0 = null; + + EObject lv_entries_4_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1723:2: ( ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:1724:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) + { + // InternalApplicationConfiguration.g:1724:2: ( () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:1725:3: () otherlv_1= '{' ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? otherlv_5= '}' + { + // InternalApplicationConfiguration.g:1725:3: () + // InternalApplicationConfiguration.g:1726:4: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElement( + grammarAccess.getConfigSpecificationAccess().getConfigSpecificationAction_0(), + current); + + } + + } + + otherlv_1=(Token)match(input,17,FOLLOW_19); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getConfigSpecificationAccess().getLeftCurlyBracketKeyword_1()); + + } + // InternalApplicationConfiguration.g:1736:3: ( ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* )? + int alt27=2; + int LA27_0 = input.LA(1); + + if ( (LA27_0==RULE_STRING) ) { + alt27=1; + } + switch (alt27) { + case 1 : + // InternalApplicationConfiguration.g:1737:4: ( (lv_entries_2_0= ruleConfigEntry ) ) (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* + { + // InternalApplicationConfiguration.g:1737:4: ( (lv_entries_2_0= ruleConfigEntry ) ) + // InternalApplicationConfiguration.g:1738:5: (lv_entries_2_0= ruleConfigEntry ) + { + // InternalApplicationConfiguration.g:1738:5: (lv_entries_2_0= ruleConfigEntry ) + // InternalApplicationConfiguration.g:1739:6: lv_entries_2_0= ruleConfigEntry + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_0_0()); + + } + pushFollow(FOLLOW_12); + lv_entries_2_0=ruleConfigEntry(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); + } + add( + current, + "entries", + lv_entries_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalApplicationConfiguration.g:1756:4: (otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) )* + loop26: + do { + int alt26=2; + int LA26_0 = input.LA(1); + + if ( (LA26_0==18) ) { + alt26=1; + } + + + switch (alt26) { + case 1 : + // InternalApplicationConfiguration.g:1757:5: otherlv_3= ',' ( (lv_entries_4_0= ruleConfigEntry ) ) + { + otherlv_3=(Token)match(input,18,FOLLOW_8); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_3, grammarAccess.getConfigSpecificationAccess().getCommaKeyword_2_1_0()); + + } + // InternalApplicationConfiguration.g:1761:5: ( (lv_entries_4_0= ruleConfigEntry ) ) + // InternalApplicationConfiguration.g:1762:6: (lv_entries_4_0= ruleConfigEntry ) + { + // InternalApplicationConfiguration.g:1762:6: (lv_entries_4_0= ruleConfigEntry ) + // InternalApplicationConfiguration.g:1763:7: lv_entries_4_0= ruleConfigEntry + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getConfigSpecificationAccess().getEntriesConfigEntryParserRuleCall_2_1_1_0()); + + } + pushFollow(FOLLOW_12); + lv_entries_4_0=ruleConfigEntry(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConfigSpecificationRule()); + } + add( + current, + "entries", + lv_entries_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop26; + } + } while (true); + + + } + break; + + } + + otherlv_5=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_5, grammarAccess.getConfigSpecificationAccess().getRightCurlyBracketKeyword_3()); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleConfigSpecification" + + + // $ANTLR start "entryRuleConfigDeclaration" + // InternalApplicationConfiguration.g:1790:1: entryRuleConfigDeclaration returns [EObject current=null] : iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ; + public final EObject entryRuleConfigDeclaration() throws RecognitionException { + EObject current = null; + + EObject iv_ruleConfigDeclaration = null; + + + try { + // InternalApplicationConfiguration.g:1790:58: (iv_ruleConfigDeclaration= ruleConfigDeclaration EOF ) + // InternalApplicationConfiguration.g:1791:2: iv_ruleConfigDeclaration= ruleConfigDeclaration EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getConfigDeclarationRule()); + } + pushFollow(FOLLOW_1); + iv_ruleConfigDeclaration=ruleConfigDeclaration(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleConfigDeclaration; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleConfigDeclaration" + + + // $ANTLR start "ruleConfigDeclaration" + // InternalApplicationConfiguration.g:1797:1: ruleConfigDeclaration returns [EObject current=null] : (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ; + public final EObject ruleConfigDeclaration() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_name_1_0=null; + EObject lv_specification_2_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1803:2: ( (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) ) + // InternalApplicationConfiguration.g:1804:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) + { + // InternalApplicationConfiguration.g:1804:2: (otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) ) + // InternalApplicationConfiguration.g:1805:3: otherlv_0= 'config' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleConfigSpecification ) ) + { + otherlv_0=(Token)match(input,27,FOLLOW_6); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getConfigDeclarationAccess().getConfigKeyword_0()); + + } + // InternalApplicationConfiguration.g:1809:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1810:4: (lv_name_1_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:1810:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:1811:5: lv_name_1_0= RULE_ID + { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_name_1_0, grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getConfigDeclarationRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + + } + + } + + + } + + // InternalApplicationConfiguration.g:1827:3: ( (lv_specification_2_0= ruleConfigSpecification ) ) + // InternalApplicationConfiguration.g:1828:4: (lv_specification_2_0= ruleConfigSpecification ) + { + // InternalApplicationConfiguration.g:1828:4: (lv_specification_2_0= ruleConfigSpecification ) + // InternalApplicationConfiguration.g:1829:5: lv_specification_2_0= ruleConfigSpecification + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0()); + + } + pushFollow(FOLLOW_2); + lv_specification_2_0=ruleConfigSpecification(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getConfigDeclarationRule()); + } + set( + current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleConfigDeclaration" + + + // $ANTLR start "entryRuleConfigEntry" + // InternalApplicationConfiguration.g:1850:1: entryRuleConfigEntry returns [EObject current=null] : iv_ruleConfigEntry= ruleConfigEntry EOF ; + public final EObject entryRuleConfigEntry() throws RecognitionException { + EObject current = null; + + EObject iv_ruleConfigEntry = null; + + + try { + // InternalApplicationConfiguration.g:1850:52: (iv_ruleConfigEntry= ruleConfigEntry EOF ) + // InternalApplicationConfiguration.g:1851:2: iv_ruleConfigEntry= ruleConfigEntry EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getConfigEntryRule()); + } + pushFollow(FOLLOW_1); + iv_ruleConfigEntry=ruleConfigEntry(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleConfigEntry; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleConfigEntry" + + + // $ANTLR start "ruleConfigEntry" + // InternalApplicationConfiguration.g:1857:1: ruleConfigEntry returns [EObject current=null] : ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ; + public final EObject ruleConfigEntry() throws RecognitionException { + EObject current = null; + + Token lv_key_0_0=null; + Token otherlv_1=null; + Token lv_value_2_0=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1863:2: ( ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) ) + // InternalApplicationConfiguration.g:1864:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) + { + // InternalApplicationConfiguration.g:1864:2: ( ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) ) + // InternalApplicationConfiguration.g:1865:3: ( (lv_key_0_0= RULE_STRING ) ) otherlv_1= '=' ( (lv_value_2_0= RULE_STRING ) ) + { + // InternalApplicationConfiguration.g:1865:3: ( (lv_key_0_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:1866:4: (lv_key_0_0= RULE_STRING ) + { + // InternalApplicationConfiguration.g:1866:4: (lv_key_0_0= RULE_STRING ) + // InternalApplicationConfiguration.g:1867:5: lv_key_0_0= RULE_STRING + { + lv_key_0_0=(Token)match(input,RULE_STRING,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_key_0_0, grammarAccess.getConfigEntryAccess().getKeySTRINGTerminalRuleCall_0_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getConfigEntryRule()); + } + setWithLastConsumed( + current, + "key", + lv_key_0_0, + "org.eclipse.xtext.common.Terminals.STRING"); + + } + + } + + + } + + otherlv_1=(Token)match(input,16,FOLLOW_8); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getConfigEntryAccess().getEqualsSignKeyword_1()); + + } + // InternalApplicationConfiguration.g:1887:3: ( (lv_value_2_0= RULE_STRING ) ) + // InternalApplicationConfiguration.g:1888:4: (lv_value_2_0= RULE_STRING ) + { + // InternalApplicationConfiguration.g:1888:4: (lv_value_2_0= RULE_STRING ) + // InternalApplicationConfiguration.g:1889:5: lv_value_2_0= RULE_STRING + { + lv_value_2_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_value_2_0, grammarAccess.getConfigEntryAccess().getValueSTRINGTerminalRuleCall_2_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getConfigEntryRule()); + } + setWithLastConsumed( + current, + "value", + lv_value_2_0, + "org.eclipse.xtext.common.Terminals.STRING"); + + } + + } + + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleConfigEntry" + + + // $ANTLR start "entryRuleConfigReference" + // InternalApplicationConfiguration.g:1909:1: entryRuleConfigReference returns [EObject current=null] : iv_ruleConfigReference= ruleConfigReference EOF ; + public final EObject entryRuleConfigReference() throws RecognitionException { + EObject current = null; + + EObject iv_ruleConfigReference = null; + + + try { + // InternalApplicationConfiguration.g:1909:56: (iv_ruleConfigReference= ruleConfigReference EOF ) + // InternalApplicationConfiguration.g:1910:2: iv_ruleConfigReference= ruleConfigReference EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getConfigReferenceRule()); + } + pushFollow(FOLLOW_1); + iv_ruleConfigReference=ruleConfigReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleConfigReference; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleConfigReference" + + + // $ANTLR start "ruleConfigReference" + // InternalApplicationConfiguration.g:1916:1: ruleConfigReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + public final EObject ruleConfigReference() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1922:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:1923:2: ( (otherlv_0= RULE_ID ) ) + { + // InternalApplicationConfiguration.g:1923:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:1924:3: (otherlv_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:1924:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:1925:4: otherlv_0= RULE_ID + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getConfigReferenceRule()); + } + + } + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationCrossReference_0()); + + } + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleConfigReference" + + + // $ANTLR start "entryRuleConfig" + // InternalApplicationConfiguration.g:1939:1: entryRuleConfig returns [EObject current=null] : iv_ruleConfig= ruleConfig EOF ; + public final EObject entryRuleConfig() throws RecognitionException { + EObject current = null; + + EObject iv_ruleConfig = null; + + + try { + // InternalApplicationConfiguration.g:1939:47: (iv_ruleConfig= ruleConfig EOF ) + // InternalApplicationConfiguration.g:1940:2: iv_ruleConfig= ruleConfig EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getConfigRule()); + } + pushFollow(FOLLOW_1); + iv_ruleConfig=ruleConfig(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleConfig; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleConfig" + + + // $ANTLR start "ruleConfig" + // InternalApplicationConfiguration.g:1946:1: ruleConfig returns [EObject current=null] : (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ; + public final EObject ruleConfig() throws RecognitionException { + EObject current = null; + + EObject this_ConfigSpecification_0 = null; + + EObject this_ConfigReference_1 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1952:2: ( (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) ) + // InternalApplicationConfiguration.g:1953:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) + { + // InternalApplicationConfiguration.g:1953:2: (this_ConfigSpecification_0= ruleConfigSpecification | this_ConfigReference_1= ruleConfigReference ) + int alt28=2; + int LA28_0 = input.LA(1); + + if ( (LA28_0==17) ) { + alt28=1; + } + else if ( (LA28_0==RULE_ID) ) { + alt28=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 28, 0, input); + + throw nvae; + } + switch (alt28) { + case 1 : + // InternalApplicationConfiguration.g:1954:3: this_ConfigSpecification_0= ruleConfigSpecification + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getConfigAccess().getConfigSpecificationParserRuleCall_0()); + + } + pushFollow(FOLLOW_2); + this_ConfigSpecification_0=ruleConfigSpecification(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_ConfigSpecification_0; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 2 : + // InternalApplicationConfiguration.g:1963:3: this_ConfigReference_1= ruleConfigReference + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getConfigAccess().getConfigReferenceParserRuleCall_1()); + + } + pushFollow(FOLLOW_2); + this_ConfigReference_1=ruleConfigReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_ConfigReference_1; + afterParserOrEnumRuleCall(); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleConfig" + + + // $ANTLR start "entryRuleScopeSpecification" + // InternalApplicationConfiguration.g:1975:1: entryRuleScopeSpecification returns [EObject current=null] : iv_ruleScopeSpecification= ruleScopeSpecification EOF ; + public final EObject entryRuleScopeSpecification() throws RecognitionException { + EObject current = null; + + EObject iv_ruleScopeSpecification = null; + + + try { + // InternalApplicationConfiguration.g:1975:59: (iv_ruleScopeSpecification= ruleScopeSpecification EOF ) + // InternalApplicationConfiguration.g:1976:2: iv_ruleScopeSpecification= ruleScopeSpecification EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getScopeSpecificationRule()); + } + pushFollow(FOLLOW_1); + iv_ruleScopeSpecification=ruleScopeSpecification(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleScopeSpecification; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleScopeSpecification" + + + // $ANTLR start "ruleScopeSpecification" + // InternalApplicationConfiguration.g:1982:1: ruleScopeSpecification returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ; + public final EObject ruleScopeSpecification() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + Token otherlv_3=null; + Token otherlv_5=null; + EObject lv_scopes_2_0 = null; + + EObject lv_scopes_4_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:1988:2: ( ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) ) + // InternalApplicationConfiguration.g:1989:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) + { + // InternalApplicationConfiguration.g:1989:2: ( () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' ) + // InternalApplicationConfiguration.g:1990:3: () otherlv_1= '{' ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? otherlv_5= '}' + { + // InternalApplicationConfiguration.g:1990:3: () + // InternalApplicationConfiguration.g:1991:4: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElement( + grammarAccess.getScopeSpecificationAccess().getScopeSpecificationAction_0(), + current); + + } + + } + + otherlv_1=(Token)match(input,17,FOLLOW_20); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getScopeSpecificationAccess().getLeftCurlyBracketKeyword_1()); + + } + // InternalApplicationConfiguration.g:2001:3: ( ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* )? + int alt30=2; + int LA30_0 = input.LA(1); + + if ( (LA30_0==RULE_INT||LA30_0==30) ) { + alt30=1; + } + switch (alt30) { + case 1 : + // InternalApplicationConfiguration.g:2002:4: ( (lv_scopes_2_0= ruleTypeScope ) ) (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* + { + // InternalApplicationConfiguration.g:2002:4: ( (lv_scopes_2_0= ruleTypeScope ) ) + // InternalApplicationConfiguration.g:2003:5: (lv_scopes_2_0= ruleTypeScope ) + { + // InternalApplicationConfiguration.g:2003:5: (lv_scopes_2_0= ruleTypeScope ) + // InternalApplicationConfiguration.g:2004:6: lv_scopes_2_0= ruleTypeScope + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_0_0()); + + } + pushFollow(FOLLOW_12); + lv_scopes_2_0=ruleTypeScope(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); + } + add( + current, + "scopes", + lv_scopes_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalApplicationConfiguration.g:2021:4: (otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) )* + loop29: + do { + int alt29=2; + int LA29_0 = input.LA(1); + + if ( (LA29_0==18) ) { + alt29=1; + } + + + switch (alt29) { + case 1 : + // InternalApplicationConfiguration.g:2022:5: otherlv_3= ',' ( (lv_scopes_4_0= ruleTypeScope ) ) + { + otherlv_3=(Token)match(input,18,FOLLOW_21); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_3, grammarAccess.getScopeSpecificationAccess().getCommaKeyword_2_1_0()); + + } + // InternalApplicationConfiguration.g:2026:5: ( (lv_scopes_4_0= ruleTypeScope ) ) + // InternalApplicationConfiguration.g:2027:6: (lv_scopes_4_0= ruleTypeScope ) + { + // InternalApplicationConfiguration.g:2027:6: (lv_scopes_4_0= ruleTypeScope ) + // InternalApplicationConfiguration.g:2028:7: lv_scopes_4_0= ruleTypeScope + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getScopeSpecificationAccess().getScopesTypeScopeParserRuleCall_2_1_1_0()); + + } + pushFollow(FOLLOW_12); + lv_scopes_4_0=ruleTypeScope(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getScopeSpecificationRule()); + } + add( + current, + "scopes", + lv_scopes_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + break; + + default : + break loop29; + } + } while (true); + + + } + break; + + } + + otherlv_5=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_5, grammarAccess.getScopeSpecificationAccess().getRightCurlyBracketKeyword_3()); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleScopeSpecification" + + + // $ANTLR start "entryRuleTypeScope" + // InternalApplicationConfiguration.g:2055:1: entryRuleTypeScope returns [EObject current=null] : iv_ruleTypeScope= ruleTypeScope EOF ; + public final EObject entryRuleTypeScope() throws RecognitionException { + EObject current = null; + + EObject iv_ruleTypeScope = null; + + + try { + // InternalApplicationConfiguration.g:2055:50: (iv_ruleTypeScope= ruleTypeScope EOF ) + // InternalApplicationConfiguration.g:2056:2: iv_ruleTypeScope= ruleTypeScope EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getTypeScopeRule()); + } + pushFollow(FOLLOW_1); + iv_ruleTypeScope=ruleTypeScope(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleTypeScope; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleTypeScope" + + + // $ANTLR start "ruleTypeScope" + // InternalApplicationConfiguration.g:2062:1: ruleTypeScope returns [EObject current=null] : ( ( ( (lv_min_0_0= RULE_INT ) ) ( ( (lv_greather_1_0= '<' ) ) | ( (lv_greaterOrEqual_2_0= '<=' ) ) ) )? otherlv_3= '#' ( (lv_type_4_0= ruleTypeReference ) ) ( ( ( (lv_less_5_0= '<' ) ) | ( (lv_lessOrEqual_6_0= '<=' ) ) ) ( (lv_max_7_0= RULE_INT ) ) )? ) ; + public final EObject ruleTypeScope() throws RecognitionException { + EObject current = null; + + Token lv_min_0_0=null; + Token lv_greather_1_0=null; + Token lv_greaterOrEqual_2_0=null; + Token otherlv_3=null; + Token lv_less_5_0=null; + Token lv_lessOrEqual_6_0=null; + Token lv_max_7_0=null; + EObject lv_type_4_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2068:2: ( ( ( ( (lv_min_0_0= RULE_INT ) ) ( ( (lv_greather_1_0= '<' ) ) | ( (lv_greaterOrEqual_2_0= '<=' ) ) ) )? otherlv_3= '#' ( (lv_type_4_0= ruleTypeReference ) ) ( ( ( (lv_less_5_0= '<' ) ) | ( (lv_lessOrEqual_6_0= '<=' ) ) ) ( (lv_max_7_0= RULE_INT ) ) )? ) ) + // InternalApplicationConfiguration.g:2069:2: ( ( ( (lv_min_0_0= RULE_INT ) ) ( ( (lv_greather_1_0= '<' ) ) | ( (lv_greaterOrEqual_2_0= '<=' ) ) ) )? otherlv_3= '#' ( (lv_type_4_0= ruleTypeReference ) ) ( ( ( (lv_less_5_0= '<' ) ) | ( (lv_lessOrEqual_6_0= '<=' ) ) ) ( (lv_max_7_0= RULE_INT ) ) )? ) + { + // InternalApplicationConfiguration.g:2069:2: ( ( ( (lv_min_0_0= RULE_INT ) ) ( ( (lv_greather_1_0= '<' ) ) | ( (lv_greaterOrEqual_2_0= '<=' ) ) ) )? otherlv_3= '#' ( (lv_type_4_0= ruleTypeReference ) ) ( ( ( (lv_less_5_0= '<' ) ) | ( (lv_lessOrEqual_6_0= '<=' ) ) ) ( (lv_max_7_0= RULE_INT ) ) )? ) + // InternalApplicationConfiguration.g:2070:3: ( ( (lv_min_0_0= RULE_INT ) ) ( ( (lv_greather_1_0= '<' ) ) | ( (lv_greaterOrEqual_2_0= '<=' ) ) ) )? otherlv_3= '#' ( (lv_type_4_0= ruleTypeReference ) ) ( ( ( (lv_less_5_0= '<' ) ) | ( (lv_lessOrEqual_6_0= '<=' ) ) ) ( (lv_max_7_0= RULE_INT ) ) )? + { + // InternalApplicationConfiguration.g:2070:3: ( ( (lv_min_0_0= RULE_INT ) ) ( ( (lv_greather_1_0= '<' ) ) | ( (lv_greaterOrEqual_2_0= '<=' ) ) ) )? + int alt32=2; + int LA32_0 = input.LA(1); + + if ( (LA32_0==RULE_INT) ) { + alt32=1; + } + switch (alt32) { + case 1 : + // InternalApplicationConfiguration.g:2071:4: ( (lv_min_0_0= RULE_INT ) ) ( ( (lv_greather_1_0= '<' ) ) | ( (lv_greaterOrEqual_2_0= '<=' ) ) ) + { + // InternalApplicationConfiguration.g:2071:4: ( (lv_min_0_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2072:5: (lv_min_0_0= RULE_INT ) + { + // InternalApplicationConfiguration.g:2072:5: (lv_min_0_0= RULE_INT ) + // InternalApplicationConfiguration.g:2073:6: lv_min_0_0= RULE_INT + { + lv_min_0_0=(Token)match(input,RULE_INT,FOLLOW_22); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_min_0_0, grammarAccess.getTypeScopeAccess().getMinINTTerminalRuleCall_0_0_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getTypeScopeRule()); + } + setWithLastConsumed( + current, + "min", + lv_min_0_0, + "org.eclipse.xtext.common.Terminals.INT"); + + } + + } + + + } + + // InternalApplicationConfiguration.g:2089:4: ( ( (lv_greather_1_0= '<' ) ) | ( (lv_greaterOrEqual_2_0= '<=' ) ) ) + int alt31=2; + int LA31_0 = input.LA(1); + + if ( (LA31_0==28) ) { + alt31=1; + } + else if ( (LA31_0==29) ) { + alt31=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 31, 0, input); + + throw nvae; + } + switch (alt31) { + case 1 : + // InternalApplicationConfiguration.g:2090:5: ( (lv_greather_1_0= '<' ) ) + { + // InternalApplicationConfiguration.g:2090:5: ( (lv_greather_1_0= '<' ) ) + // InternalApplicationConfiguration.g:2091:6: (lv_greather_1_0= '<' ) + { + // InternalApplicationConfiguration.g:2091:6: (lv_greather_1_0= '<' ) + // InternalApplicationConfiguration.g:2092:7: lv_greather_1_0= '<' + { + lv_greather_1_0=(Token)match(input,28,FOLLOW_23); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_greather_1_0, grammarAccess.getTypeScopeAccess().getGreatherLessThanSignKeyword_0_1_0_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getTypeScopeRule()); + } + setWithLastConsumed(current, "greather", true, "<"); + + } + + } + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2105:5: ( (lv_greaterOrEqual_2_0= '<=' ) ) + { + // InternalApplicationConfiguration.g:2105:5: ( (lv_greaterOrEqual_2_0= '<=' ) ) + // InternalApplicationConfiguration.g:2106:6: (lv_greaterOrEqual_2_0= '<=' ) + { + // InternalApplicationConfiguration.g:2106:6: (lv_greaterOrEqual_2_0= '<=' ) + // InternalApplicationConfiguration.g:2107:7: lv_greaterOrEqual_2_0= '<=' + { + lv_greaterOrEqual_2_0=(Token)match(input,29,FOLLOW_23); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_greaterOrEqual_2_0, grammarAccess.getTypeScopeAccess().getGreaterOrEqualLessThanSignEqualsSignKeyword_0_1_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getTypeScopeRule()); + } + setWithLastConsumed(current, "greaterOrEqual", true, "<="); + + } + + } + + + } + + + } + break; + + } + + + } + break; + + } + + otherlv_3=(Token)match(input,30,FOLLOW_24); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_3, grammarAccess.getTypeScopeAccess().getNumberSignKeyword_1()); + + } + // InternalApplicationConfiguration.g:2125:3: ( (lv_type_4_0= ruleTypeReference ) ) + // InternalApplicationConfiguration.g:2126:4: (lv_type_4_0= ruleTypeReference ) + { + // InternalApplicationConfiguration.g:2126:4: (lv_type_4_0= ruleTypeReference ) + // InternalApplicationConfiguration.g:2127:5: lv_type_4_0= ruleTypeReference + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getTypeScopeAccess().getTypeTypeReferenceParserRuleCall_2_0()); + + } + pushFollow(FOLLOW_25); + lv_type_4_0=ruleTypeReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getTypeScopeRule()); + } + set( + current, + "type", + lv_type_4_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeReference"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalApplicationConfiguration.g:2144:3: ( ( ( (lv_less_5_0= '<' ) ) | ( (lv_lessOrEqual_6_0= '<=' ) ) ) ( (lv_max_7_0= RULE_INT ) ) )? + int alt34=2; + int LA34_0 = input.LA(1); + + if ( ((LA34_0>=28 && LA34_0<=29)) ) { + alt34=1; + } + switch (alt34) { + case 1 : + // InternalApplicationConfiguration.g:2145:4: ( ( (lv_less_5_0= '<' ) ) | ( (lv_lessOrEqual_6_0= '<=' ) ) ) ( (lv_max_7_0= RULE_INT ) ) + { + // InternalApplicationConfiguration.g:2145:4: ( ( (lv_less_5_0= '<' ) ) | ( (lv_lessOrEqual_6_0= '<=' ) ) ) + int alt33=2; + int LA33_0 = input.LA(1); + + if ( (LA33_0==28) ) { + alt33=1; + } + else if ( (LA33_0==29) ) { + alt33=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 33, 0, input); + + throw nvae; + } + switch (alt33) { + case 1 : + // InternalApplicationConfiguration.g:2146:5: ( (lv_less_5_0= '<' ) ) + { + // InternalApplicationConfiguration.g:2146:5: ( (lv_less_5_0= '<' ) ) + // InternalApplicationConfiguration.g:2147:6: (lv_less_5_0= '<' ) + { + // InternalApplicationConfiguration.g:2147:6: (lv_less_5_0= '<' ) + // InternalApplicationConfiguration.g:2148:7: lv_less_5_0= '<' + { + lv_less_5_0=(Token)match(input,28,FOLLOW_26); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_less_5_0, grammarAccess.getTypeScopeAccess().getLessLessThanSignKeyword_3_0_0_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getTypeScopeRule()); + } + setWithLastConsumed(current, "less", true, "<"); + + } + + } + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2161:5: ( (lv_lessOrEqual_6_0= '<=' ) ) + { + // InternalApplicationConfiguration.g:2161:5: ( (lv_lessOrEqual_6_0= '<=' ) ) + // InternalApplicationConfiguration.g:2162:6: (lv_lessOrEqual_6_0= '<=' ) + { + // InternalApplicationConfiguration.g:2162:6: (lv_lessOrEqual_6_0= '<=' ) + // InternalApplicationConfiguration.g:2163:7: lv_lessOrEqual_6_0= '<=' + { + lv_lessOrEqual_6_0=(Token)match(input,29,FOLLOW_26); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_lessOrEqual_6_0, grammarAccess.getTypeScopeAccess().getLessOrEqualLessThanSignEqualsSignKeyword_3_0_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getTypeScopeRule()); + } + setWithLastConsumed(current, "lessOrEqual", true, "<="); + + } + + } + + + } + + + } + break; + + } + + // InternalApplicationConfiguration.g:2176:4: ( (lv_max_7_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2177:5: (lv_max_7_0= RULE_INT ) + { + // InternalApplicationConfiguration.g:2177:5: (lv_max_7_0= RULE_INT ) + // InternalApplicationConfiguration.g:2178:6: lv_max_7_0= RULE_INT + { + lv_max_7_0=(Token)match(input,RULE_INT,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_max_7_0, grammarAccess.getTypeScopeAccess().getMaxINTTerminalRuleCall_3_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getTypeScopeRule()); + } + setWithLastConsumed( + current, + "max", + lv_max_7_0, + "org.eclipse.xtext.common.Terminals.INT"); + + } + + } + + + } + + + } + break; + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleTypeScope" + + + // $ANTLR start "entryRuleTypeReference" + // InternalApplicationConfiguration.g:2199:1: entryRuleTypeReference returns [EObject current=null] : iv_ruleTypeReference= ruleTypeReference EOF ; + public final EObject entryRuleTypeReference() throws RecognitionException { + EObject current = null; + + EObject iv_ruleTypeReference = null; + + + try { + // InternalApplicationConfiguration.g:2199:54: (iv_ruleTypeReference= ruleTypeReference EOF ) + // InternalApplicationConfiguration.g:2200:2: iv_ruleTypeReference= ruleTypeReference EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getTypeReferenceRule()); + } + pushFollow(FOLLOW_1); + iv_ruleTypeReference=ruleTypeReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleTypeReference; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleTypeReference" + + + // $ANTLR start "ruleTypeReference" + // InternalApplicationConfiguration.g:2206:1: ruleTypeReference returns [EObject current=null] : (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) ; + public final EObject ruleTypeReference() throws RecognitionException { + EObject current = null; + + EObject this_ClassReference_0 = null; + + EObject this_ObjectReference_1 = null; + + EObject this_IntegerReference_2 = null; + + EObject this_RealReference_3 = null; + + EObject this_StringReference_4 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2212:2: ( (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) ) + // InternalApplicationConfiguration.g:2213:2: (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) + { + // InternalApplicationConfiguration.g:2213:2: (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) + int alt35=5; + switch ( input.LA(1) ) { + case 31: + { + alt35=1; + } + break; + case 33: + { + alt35=2; + } + break; + case 34: + { + alt35=3; + } + break; + case 35: + { + alt35=4; + } + break; + case 36: + { + alt35=5; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 35, 0, input); + + throw nvae; + } + + switch (alt35) { + case 1 : + // InternalApplicationConfiguration.g:2214:3: this_ClassReference_0= ruleClassReference + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getTypeReferenceAccess().getClassReferenceParserRuleCall_0()); + + } + pushFollow(FOLLOW_2); + this_ClassReference_0=ruleClassReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_ClassReference_0; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2223:3: this_ObjectReference_1= ruleObjectReference + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getTypeReferenceAccess().getObjectReferenceParserRuleCall_1()); + + } + pushFollow(FOLLOW_2); + this_ObjectReference_1=ruleObjectReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_ObjectReference_1; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 3 : + // InternalApplicationConfiguration.g:2232:3: this_IntegerReference_2= ruleIntegerReference + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getTypeReferenceAccess().getIntegerReferenceParserRuleCall_2()); + + } + pushFollow(FOLLOW_2); + this_IntegerReference_2=ruleIntegerReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_IntegerReference_2; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 4 : + // InternalApplicationConfiguration.g:2241:3: this_RealReference_3= ruleRealReference + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getTypeReferenceAccess().getRealReferenceParserRuleCall_3()); + + } + pushFollow(FOLLOW_2); + this_RealReference_3=ruleRealReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_RealReference_3; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 5 : + // InternalApplicationConfiguration.g:2250:3: this_StringReference_4= ruleStringReference + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getTypeReferenceAccess().getStringReferenceParserRuleCall_4()); + + } + pushFollow(FOLLOW_2); + this_StringReference_4=ruleStringReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_StringReference_4; + afterParserOrEnumRuleCall(); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleTypeReference" + + + // $ANTLR start "entryRuleClassReference" + // InternalApplicationConfiguration.g:2262:1: entryRuleClassReference returns [EObject current=null] : iv_ruleClassReference= ruleClassReference EOF ; + public final EObject entryRuleClassReference() throws RecognitionException { + EObject current = null; + + EObject iv_ruleClassReference = null; + + + try { + // InternalApplicationConfiguration.g:2262:55: (iv_ruleClassReference= ruleClassReference EOF ) + // InternalApplicationConfiguration.g:2263:2: iv_ruleClassReference= ruleClassReference EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getClassReferenceRule()); + } + pushFollow(FOLLOW_1); + iv_ruleClassReference=ruleClassReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleClassReference; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleClassReference" + + + // $ANTLR start "ruleClassReference" + // InternalApplicationConfiguration.g:2269:1: ruleClassReference returns [EObject current=null] : (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) ; + public final EObject ruleClassReference() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + EObject lv_element_1_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2275:2: ( (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) ) + // InternalApplicationConfiguration.g:2276:2: (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) + { + // InternalApplicationConfiguration.g:2276:2: (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) + // InternalApplicationConfiguration.g:2277:3: otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' + { + otherlv_0=(Token)match(input,31,FOLLOW_6); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getClassReferenceAccess().getLeftSquareBracketKeyword_0()); + + } + // InternalApplicationConfiguration.g:2281:3: ( (lv_element_1_0= ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:2282:4: (lv_element_1_0= ruleMetamodelElement ) + { + // InternalApplicationConfiguration.g:2282:4: (lv_element_1_0= ruleMetamodelElement ) + // InternalApplicationConfiguration.g:2283:5: lv_element_1_0= ruleMetamodelElement + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0()); + + } + pushFollow(FOLLOW_27); + lv_element_1_0=ruleMetamodelElement(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getClassReferenceRule()); + } + set( + current, + "element", + lv_element_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelElement"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + otherlv_2=(Token)match(input,32,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getRightSquareBracketKeyword_2()); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleClassReference" + + + // $ANTLR start "entryRuleObjectReference" + // InternalApplicationConfiguration.g:2308:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ; + public final EObject entryRuleObjectReference() throws RecognitionException { + EObject current = null; + + EObject iv_ruleObjectReference = null; + + + try { + // InternalApplicationConfiguration.g:2308:56: (iv_ruleObjectReference= ruleObjectReference EOF ) + // InternalApplicationConfiguration.g:2309:2: iv_ruleObjectReference= ruleObjectReference EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getObjectReferenceRule()); + } + pushFollow(FOLLOW_1); + iv_ruleObjectReference=ruleObjectReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleObjectReference; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleObjectReference" + + + // $ANTLR start "ruleObjectReference" + // InternalApplicationConfiguration.g:2315:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'Object' ) ; + public final EObject ruleObjectReference() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2321:2: ( ( () otherlv_1= 'Object' ) ) + // InternalApplicationConfiguration.g:2322:2: ( () otherlv_1= 'Object' ) + { + // InternalApplicationConfiguration.g:2322:2: ( () otherlv_1= 'Object' ) + // InternalApplicationConfiguration.g:2323:3: () otherlv_1= 'Object' + { + // InternalApplicationConfiguration.g:2323:3: () + // InternalApplicationConfiguration.g:2324:4: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElement( + grammarAccess.getObjectReferenceAccess().getObjectReferenceAction_0(), + current); + + } + + } + + otherlv_1=(Token)match(input,33,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getObjectKeyword_1()); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleObjectReference" + + + // $ANTLR start "entryRuleIntegerReference" + // InternalApplicationConfiguration.g:2338:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ; + public final EObject entryRuleIntegerReference() throws RecognitionException { + EObject current = null; + + EObject iv_ruleIntegerReference = null; + + + try { + // InternalApplicationConfiguration.g:2338:57: (iv_ruleIntegerReference= ruleIntegerReference EOF ) + // InternalApplicationConfiguration.g:2339:2: iv_ruleIntegerReference= ruleIntegerReference EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getIntegerReferenceRule()); + } + pushFollow(FOLLOW_1); + iv_ruleIntegerReference=ruleIntegerReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleIntegerReference; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleIntegerReference" + + + // $ANTLR start "ruleIntegerReference" + // InternalApplicationConfiguration.g:2345:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ; + public final EObject ruleIntegerReference() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2351:2: ( ( () otherlv_1= 'int' ) ) + // InternalApplicationConfiguration.g:2352:2: ( () otherlv_1= 'int' ) + { + // InternalApplicationConfiguration.g:2352:2: ( () otherlv_1= 'int' ) + // InternalApplicationConfiguration.g:2353:3: () otherlv_1= 'int' + { + // InternalApplicationConfiguration.g:2353:3: () + // InternalApplicationConfiguration.g:2354:4: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElement( + grammarAccess.getIntegerReferenceAccess().getIntegerScopeAction_0(), + current); + + } + + } + + otherlv_1=(Token)match(input,34,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleIntegerReference" + + + // $ANTLR start "entryRuleRealReference" + // InternalApplicationConfiguration.g:2368:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ; + public final EObject entryRuleRealReference() throws RecognitionException { + EObject current = null; + + EObject iv_ruleRealReference = null; + + + try { + // InternalApplicationConfiguration.g:2368:54: (iv_ruleRealReference= ruleRealReference EOF ) + // InternalApplicationConfiguration.g:2369:2: iv_ruleRealReference= ruleRealReference EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getRealReferenceRule()); + } + pushFollow(FOLLOW_1); + iv_ruleRealReference=ruleRealReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleRealReference; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleRealReference" + + + // $ANTLR start "ruleRealReference" + // InternalApplicationConfiguration.g:2375:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ; + public final EObject ruleRealReference() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2381:2: ( ( () otherlv_1= 'real' ) ) + // InternalApplicationConfiguration.g:2382:2: ( () otherlv_1= 'real' ) + { + // InternalApplicationConfiguration.g:2382:2: ( () otherlv_1= 'real' ) + // InternalApplicationConfiguration.g:2383:3: () otherlv_1= 'real' + { + // InternalApplicationConfiguration.g:2383:3: () + // InternalApplicationConfiguration.g:2384:4: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElement( + grammarAccess.getRealReferenceAccess().getRealScopeAction_0(), + current); + + } + + } + + otherlv_1=(Token)match(input,35,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleRealReference" + + + // $ANTLR start "entryRuleStringReference" + // InternalApplicationConfiguration.g:2398:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ; + public final EObject entryRuleStringReference() throws RecognitionException { + EObject current = null; + + EObject iv_ruleStringReference = null; + + + try { + // InternalApplicationConfiguration.g:2398:56: (iv_ruleStringReference= ruleStringReference EOF ) + // InternalApplicationConfiguration.g:2399:2: iv_ruleStringReference= ruleStringReference EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getStringReferenceRule()); + } + pushFollow(FOLLOW_1); + iv_ruleStringReference=ruleStringReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleStringReference; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleStringReference" + + + // $ANTLR start "ruleStringReference" + // InternalApplicationConfiguration.g:2405:1: ruleStringReference returns [EObject current=null] : ( () otherlv_1= 'string' ) ; + public final EObject ruleStringReference() throws RecognitionException { + EObject current = null; + + Token otherlv_1=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2411:2: ( ( () otherlv_1= 'string' ) ) + // InternalApplicationConfiguration.g:2412:2: ( () otherlv_1= 'string' ) + { + // InternalApplicationConfiguration.g:2412:2: ( () otherlv_1= 'string' ) + // InternalApplicationConfiguration.g:2413:3: () otherlv_1= 'string' + { + // InternalApplicationConfiguration.g:2413:3: () + // InternalApplicationConfiguration.g:2414:4: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElement( + grammarAccess.getStringReferenceAccess().getStringScopeAction_0(), + current); + + } + + } + + otherlv_1=(Token)match(input,36,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleStringReference" + + + // $ANTLR start "entryRuleScopeDeclaration" + // InternalApplicationConfiguration.g:2428:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ; + public final EObject entryRuleScopeDeclaration() throws RecognitionException { + EObject current = null; + + EObject iv_ruleScopeDeclaration = null; + + + try { + // InternalApplicationConfiguration.g:2428:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ) + // InternalApplicationConfiguration.g:2429:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getScopeDeclarationRule()); + } + pushFollow(FOLLOW_1); + iv_ruleScopeDeclaration=ruleScopeDeclaration(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleScopeDeclaration; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleScopeDeclaration" + + + // $ANTLR start "ruleScopeDeclaration" + // InternalApplicationConfiguration.g:2435:1: ruleScopeDeclaration returns [EObject current=null] : (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ; + public final EObject ruleScopeDeclaration() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token lv_name_1_0=null; + EObject lv_specification_2_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2441:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ) + // InternalApplicationConfiguration.g:2442:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) + { + // InternalApplicationConfiguration.g:2442:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) + // InternalApplicationConfiguration.g:2443:3: otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) + { + otherlv_0=(Token)match(input,37,FOLLOW_6); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getScopeDeclarationAccess().getScopeKeyword_0()); + + } + // InternalApplicationConfiguration.g:2447:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2448:4: (lv_name_1_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:2448:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:2449:5: lv_name_1_0= RULE_ID + { + lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_name_1_0, grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getScopeDeclarationRule()); + } + setWithLastConsumed( + current, + "name", + lv_name_1_0, + "org.eclipse.xtext.common.Terminals.ID"); + + } + + } + + + } + + // InternalApplicationConfiguration.g:2465:3: ( (lv_specification_2_0= ruleScopeSpecification ) ) + // InternalApplicationConfiguration.g:2466:4: (lv_specification_2_0= ruleScopeSpecification ) + { + // InternalApplicationConfiguration.g:2466:4: (lv_specification_2_0= ruleScopeSpecification ) + // InternalApplicationConfiguration.g:2467:5: lv_specification_2_0= ruleScopeSpecification + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0()); + + } + pushFollow(FOLLOW_2); + lv_specification_2_0=ruleScopeSpecification(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getScopeDeclarationRule()); + } + set( + current, + "specification", + lv_specification_2_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleScopeDeclaration" + + + // $ANTLR start "entryRuleScopeReference" + // InternalApplicationConfiguration.g:2488:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ; + public final EObject entryRuleScopeReference() throws RecognitionException { + EObject current = null; + + EObject iv_ruleScopeReference = null; + + + try { + // InternalApplicationConfiguration.g:2488:55: (iv_ruleScopeReference= ruleScopeReference EOF ) + // InternalApplicationConfiguration.g:2489:2: iv_ruleScopeReference= ruleScopeReference EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getScopeReferenceRule()); + } + pushFollow(FOLLOW_1); + iv_ruleScopeReference=ruleScopeReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleScopeReference; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleScopeReference" + + + // $ANTLR start "ruleScopeReference" + // InternalApplicationConfiguration.g:2495:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + public final EObject ruleScopeReference() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2501:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:2502:2: ( (otherlv_0= RULE_ID ) ) + { + // InternalApplicationConfiguration.g:2502:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2503:3: (otherlv_0= RULE_ID ) + { + // InternalApplicationConfiguration.g:2503:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:2504:4: otherlv_0= RULE_ID + { + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getScopeReferenceRule()); + } + + } + otherlv_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationCrossReference_0()); + + } + + } + + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleScopeReference" + + + // $ANTLR start "entryRuleScope" + // InternalApplicationConfiguration.g:2518:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ; + public final EObject entryRuleScope() throws RecognitionException { + EObject current = null; + + EObject iv_ruleScope = null; + + + try { + // InternalApplicationConfiguration.g:2518:46: (iv_ruleScope= ruleScope EOF ) + // InternalApplicationConfiguration.g:2519:2: iv_ruleScope= ruleScope EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getScopeRule()); + } + pushFollow(FOLLOW_1); + iv_ruleScope=ruleScope(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleScope; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleScope" + + + // $ANTLR start "ruleScope" + // InternalApplicationConfiguration.g:2525:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ; + public final EObject ruleScope() throws RecognitionException { + EObject current = null; + + EObject this_ScopeSpecification_0 = null; + + EObject this_ScopeReference_1 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2531:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ) + // InternalApplicationConfiguration.g:2532:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) + { + // InternalApplicationConfiguration.g:2532:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) + int alt36=2; + int LA36_0 = input.LA(1); + + if ( (LA36_0==17) ) { + alt36=1; + } + else if ( (LA36_0==RULE_ID) ) { + alt36=2; + } + else { + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 36, 0, input); + + throw nvae; + } + switch (alt36) { + case 1 : + // InternalApplicationConfiguration.g:2533:3: this_ScopeSpecification_0= ruleScopeSpecification + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getScopeAccess().getScopeSpecificationParserRuleCall_0()); + + } + pushFollow(FOLLOW_2); + this_ScopeSpecification_0=ruleScopeSpecification(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_ScopeSpecification_0; + afterParserOrEnumRuleCall(); + + } + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2542:3: this_ScopeReference_1= ruleScopeReference + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getScopeAccess().getScopeReferenceParserRuleCall_1()); + + } + pushFollow(FOLLOW_2); + this_ScopeReference_1=ruleScopeReference(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_ScopeReference_1; + afterParserOrEnumRuleCall(); + + } + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleScope" + + + // $ANTLR start "entryRuleTask" + // InternalApplicationConfiguration.g:2554:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ; + public final EObject entryRuleTask() throws RecognitionException { + EObject current = null; + + EObject iv_ruleTask = null; + + + try { + // InternalApplicationConfiguration.g:2554:45: (iv_ruleTask= ruleTask EOF ) + // InternalApplicationConfiguration.g:2555:2: iv_ruleTask= ruleTask EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getTaskRule()); + } + pushFollow(FOLLOW_1); + iv_ruleTask=ruleTask(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleTask; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleTask" + + + // $ANTLR start "ruleTask" + // InternalApplicationConfiguration.g:2561:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ; + public final EObject ruleTask() throws RecognitionException { + EObject current = null; + + EObject this_GenerationTask_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2567:2: (this_GenerationTask_0= ruleGenerationTask ) + // InternalApplicationConfiguration.g:2568:2: this_GenerationTask_0= ruleGenerationTask + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getTaskAccess().getGenerationTaskParserRuleCall()); + + } + pushFollow(FOLLOW_2); + this_GenerationTask_0=ruleGenerationTask(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = this_GenerationTask_0; + afterParserOrEnumRuleCall(); + + } + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleTask" + + + // $ANTLR start "entryRuleGenerationTask" + // InternalApplicationConfiguration.g:2579:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ; + public final EObject entryRuleGenerationTask() throws RecognitionException { + EObject current = null; + + EObject iv_ruleGenerationTask = null; + + + try { + // InternalApplicationConfiguration.g:2579:55: (iv_ruleGenerationTask= ruleGenerationTask EOF ) + // InternalApplicationConfiguration.g:2580:2: iv_ruleGenerationTask= ruleGenerationTask EOF + { + if ( state.backtracking==0 ) { + newCompositeNode(grammarAccess.getGenerationTaskRule()); + } + pushFollow(FOLLOW_1); + iv_ruleGenerationTask=ruleGenerationTask(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + current =iv_ruleGenerationTask; + } + match(input,EOF,FOLLOW_2); if (state.failed) return current; + + } + + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "entryRuleGenerationTask" + + + // $ANTLR start "ruleGenerationTask" + // InternalApplicationConfiguration.g:2586:1: ruleGenerationTask returns [EObject current=null] : (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ; + public final EObject ruleGenerationTask() throws RecognitionException { + EObject current = null; + + Token otherlv_0=null; + Token otherlv_2=null; + Token otherlv_4=null; + Token otherlv_5=null; + Token otherlv_7=null; + Token otherlv_8=null; + Token otherlv_10=null; + Token otherlv_11=null; + Token otherlv_13=null; + Token otherlv_14=null; + Token otherlv_16=null; + Token otherlv_17=null; + Token lv_number_18_0=null; + Token otherlv_19=null; + Token otherlv_20=null; + Token lv_runs_21_0=null; + Token otherlv_22=null; + Token otherlv_23=null; + Token otherlv_25=null; + Token otherlv_26=null; + Token otherlv_28=null; + Token otherlv_29=null; + Token otherlv_31=null; + Token otherlv_32=null; + Token otherlv_34=null; + Token otherlv_35=null; + Token otherlv_37=null; + Token otherlv_38=null; + Token otherlv_40=null; + EObject lv_metamodel_6_0 = null; + + EObject lv_partialModel_9_0 = null; + + EObject lv_patterns_12_0 = null; + + EObject lv_scope_15_0 = null; + + Enumerator lv_solver_24_0 = null; + + EObject lv_config_27_0 = null; + + EObject lv_tagetFolder_30_0 = null; + + EObject lv_debugFolder_33_0 = null; + + EObject lv_targetLogFile_36_0 = null; + + EObject lv_targetStatisticsFile_39_0 = null; + + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:2592:2: ( (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ) + // InternalApplicationConfiguration.g:2593:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) + { + // InternalApplicationConfiguration.g:2593:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) + // InternalApplicationConfiguration.g:2594:3: otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' + { + otherlv_0=(Token)match(input,38,FOLLOW_14); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getGenerationTaskAccess().getGenerateKeyword_0()); + + } + // InternalApplicationConfiguration.g:2598:3: () + // InternalApplicationConfiguration.g:2599:4: + { + if ( state.backtracking==0 ) { + + current = forceCreateModelElement( + grammarAccess.getGenerationTaskAccess().getGenerationTaskAction_1(), + current); + + } + + } + + otherlv_2=(Token)match(input,17,FOLLOW_28); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_2, grammarAccess.getGenerationTaskAccess().getLeftCurlyBracketKeyword_2()); + + } + // InternalApplicationConfiguration.g:2609:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) + // InternalApplicationConfiguration.g:2610:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) + { + // InternalApplicationConfiguration.g:2610:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) + // InternalApplicationConfiguration.g:2611:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) + { + getUnorderedGroupHelper().enter(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + // InternalApplicationConfiguration.g:2614:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) + // InternalApplicationConfiguration.g:2615:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* + { + // InternalApplicationConfiguration.g:2615:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* + loop37: + do { + int alt37=13; + alt37 = dfa37.predict(input); + switch (alt37) { + case 1 : + // InternalApplicationConfiguration.g:2616:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:2616:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2617:5: {...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0)"); + } + // InternalApplicationConfiguration.g:2617:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) + // InternalApplicationConfiguration.g:2618:6: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0); + // InternalApplicationConfiguration.g:2621:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) + // InternalApplicationConfiguration.g:2621:10: {...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) + { + if ( !((true)) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:2621:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) + // InternalApplicationConfiguration.g:2621:20: otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) + { + otherlv_4=(Token)match(input,23,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_4, grammarAccess.getGenerationTaskAccess().getMetamodelKeyword_3_0_0()); + + } + otherlv_5=(Token)match(input,16,FOLLOW_29); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_5, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_0_1()); + + } + // InternalApplicationConfiguration.g:2629:9: ( (lv_metamodel_6_0= ruleMetamodel ) ) + // InternalApplicationConfiguration.g:2630:10: (lv_metamodel_6_0= ruleMetamodel ) + { + // InternalApplicationConfiguration.g:2630:10: (lv_metamodel_6_0= ruleMetamodel ) + // InternalApplicationConfiguration.g:2631:11: lv_metamodel_6_0= ruleMetamodel + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getMetamodelMetamodelParserRuleCall_3_0_2_0()); + + } + pushFollow(FOLLOW_28); + lv_metamodel_6_0=ruleMetamodel(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "metamodel", + lv_metamodel_6_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Metamodel"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + } + + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:2654:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:2654:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2655:5: {...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1)"); + } + // InternalApplicationConfiguration.g:2655:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) + // InternalApplicationConfiguration.g:2656:6: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1); + // InternalApplicationConfiguration.g:2659:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) + // InternalApplicationConfiguration.g:2659:10: {...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) + { + if ( !((true)) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:2659:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) + // InternalApplicationConfiguration.g:2659:20: otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) + { + otherlv_7=(Token)match(input,25,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); + + } + otherlv_8=(Token)match(input,16,FOLLOW_29); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_8, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_1_1()); + + } + // InternalApplicationConfiguration.g:2667:9: ( (lv_partialModel_9_0= rulePartialModel ) ) + // InternalApplicationConfiguration.g:2668:10: (lv_partialModel_9_0= rulePartialModel ) + { + // InternalApplicationConfiguration.g:2668:10: (lv_partialModel_9_0= rulePartialModel ) + // InternalApplicationConfiguration.g:2669:11: lv_partialModel_9_0= rulePartialModel + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getPartialModelPartialModelParserRuleCall_3_1_2_0()); + + } + pushFollow(FOLLOW_28); + lv_partialModel_9_0=rulePartialModel(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "partialModel", + lv_partialModel_9_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + } + + + } + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:2692:4: ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:2692:4: ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2693:5: {...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2)"); + } + // InternalApplicationConfiguration.g:2693:111: ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) + // InternalApplicationConfiguration.g:2694:6: ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2); + // InternalApplicationConfiguration.g:2697:9: ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) + // InternalApplicationConfiguration.g:2697:10: {...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) + { + if ( !((true)) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:2697:19: (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) + // InternalApplicationConfiguration.g:2697:20: otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) + { + otherlv_10=(Token)match(input,26,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_10, grammarAccess.getGenerationTaskAccess().getPatternsKeyword_3_2_0()); + + } + otherlv_11=(Token)match(input,16,FOLLOW_29); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_11, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_2_1()); + + } + // InternalApplicationConfiguration.g:2705:9: ( (lv_patterns_12_0= ruleGraphPattern ) ) + // InternalApplicationConfiguration.g:2706:10: (lv_patterns_12_0= ruleGraphPattern ) + { + // InternalApplicationConfiguration.g:2706:10: (lv_patterns_12_0= ruleGraphPattern ) + // InternalApplicationConfiguration.g:2707:11: lv_patterns_12_0= ruleGraphPattern + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getPatternsGraphPatternParserRuleCall_3_2_2_0()); + + } + pushFollow(FOLLOW_28); + lv_patterns_12_0=ruleGraphPattern(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "patterns", + lv_patterns_12_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + } + + + } + + + } + break; + case 4 : + // InternalApplicationConfiguration.g:2730:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:2730:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2731:5: {...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3)"); + } + // InternalApplicationConfiguration.g:2731:111: ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) + // InternalApplicationConfiguration.g:2732:6: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3); + // InternalApplicationConfiguration.g:2735:9: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) + // InternalApplicationConfiguration.g:2735:10: {...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) + { + if ( !((true)) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:2735:19: (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) + // InternalApplicationConfiguration.g:2735:20: otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) + { + otherlv_13=(Token)match(input,37,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0()); + + } + otherlv_14=(Token)match(input,16,FOLLOW_29); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_14, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_3_1()); + + } + // InternalApplicationConfiguration.g:2743:9: ( (lv_scope_15_0= ruleScope ) ) + // InternalApplicationConfiguration.g:2744:10: (lv_scope_15_0= ruleScope ) + { + // InternalApplicationConfiguration.g:2744:10: (lv_scope_15_0= ruleScope ) + // InternalApplicationConfiguration.g:2745:11: lv_scope_15_0= ruleScope + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getScopeScopeParserRuleCall_3_3_2_0()); + + } + pushFollow(FOLLOW_28); + lv_scope_15_0=ruleScope(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "scope", + lv_scope_15_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + } + + + } + + + } + break; + case 5 : + // InternalApplicationConfiguration.g:2768:4: ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:2768:4: ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2769:5: {...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4)"); + } + // InternalApplicationConfiguration.g:2769:111: ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) + // InternalApplicationConfiguration.g:2770:6: ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4); + // InternalApplicationConfiguration.g:2773:9: ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:2773:10: {...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) + { + if ( !((true)) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:2773:19: (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:2773:20: otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) + { + otherlv_16=(Token)match(input,39,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_16, grammarAccess.getGenerationTaskAccess().getNumberKeyword_3_4_0()); + + } + otherlv_17=(Token)match(input,16,FOLLOW_26); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_17, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_4_1()); + + } + // InternalApplicationConfiguration.g:2781:9: ( (lv_number_18_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2782:10: (lv_number_18_0= RULE_INT ) + { + // InternalApplicationConfiguration.g:2782:10: (lv_number_18_0= RULE_INT ) + // InternalApplicationConfiguration.g:2783:11: lv_number_18_0= RULE_INT + { + lv_number_18_0=(Token)match(input,RULE_INT,FOLLOW_28); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_number_18_0, grammarAccess.getGenerationTaskAccess().getNumberINTTerminalRuleCall_3_4_2_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getGenerationTaskRule()); + } + setWithLastConsumed( + current, + "number", + lv_number_18_0, + "org.eclipse.xtext.common.Terminals.INT"); + + } + + } + + + } + + + } + + + } + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + } + + + } + + + } + break; + case 6 : + // InternalApplicationConfiguration.g:2805:4: ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:2805:4: ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2806:5: {...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5)"); + } + // InternalApplicationConfiguration.g:2806:111: ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) + // InternalApplicationConfiguration.g:2807:6: ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5); + // InternalApplicationConfiguration.g:2810:9: ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:2810:10: {...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) + { + if ( !((true)) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:2810:19: (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:2810:20: otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) + { + otherlv_19=(Token)match(input,40,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_19, grammarAccess.getGenerationTaskAccess().getRunsKeyword_3_5_0()); + + } + otherlv_20=(Token)match(input,16,FOLLOW_26); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_20, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_5_1()); + + } + // InternalApplicationConfiguration.g:2818:9: ( (lv_runs_21_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2819:10: (lv_runs_21_0= RULE_INT ) + { + // InternalApplicationConfiguration.g:2819:10: (lv_runs_21_0= RULE_INT ) + // InternalApplicationConfiguration.g:2820:11: lv_runs_21_0= RULE_INT + { + lv_runs_21_0=(Token)match(input,RULE_INT,FOLLOW_28); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(lv_runs_21_0, grammarAccess.getGenerationTaskAccess().getRunsINTTerminalRuleCall_3_5_2_0()); + + } + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElement(grammarAccess.getGenerationTaskRule()); + } + setWithLastConsumed( + current, + "runs", + lv_runs_21_0, + "org.eclipse.xtext.common.Terminals.INT"); + + } + + } + + + } + + + } + + + } + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + } + + + } + + + } + break; + case 7 : + // InternalApplicationConfiguration.g:2842:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:2842:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2843:5: {...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6)"); + } + // InternalApplicationConfiguration.g:2843:111: ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) + // InternalApplicationConfiguration.g:2844:6: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6); + // InternalApplicationConfiguration.g:2847:9: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) + // InternalApplicationConfiguration.g:2847:10: {...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) + { + if ( !((true)) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:2847:19: (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) + // InternalApplicationConfiguration.g:2847:20: otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) + { + otherlv_22=(Token)match(input,41,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_22, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0()); + + } + otherlv_23=(Token)match(input,16,FOLLOW_30); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_23, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_6_1()); + + } + // InternalApplicationConfiguration.g:2855:9: ( (lv_solver_24_0= ruleSolver ) ) + // InternalApplicationConfiguration.g:2856:10: (lv_solver_24_0= ruleSolver ) + { + // InternalApplicationConfiguration.g:2856:10: (lv_solver_24_0= ruleSolver ) + // InternalApplicationConfiguration.g:2857:11: lv_solver_24_0= ruleSolver + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getSolverSolverEnumRuleCall_3_6_2_0()); + + } + pushFollow(FOLLOW_28); + lv_solver_24_0=ruleSolver(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "solver", + lv_solver_24_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + } + + + } + + + } + break; + case 8 : + // InternalApplicationConfiguration.g:2880:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:2880:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2881:5: {...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7)"); + } + // InternalApplicationConfiguration.g:2881:111: ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) + // InternalApplicationConfiguration.g:2882:6: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7); + // InternalApplicationConfiguration.g:2885:9: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) + // InternalApplicationConfiguration.g:2885:10: {...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) + { + if ( !((true)) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:2885:19: (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) + // InternalApplicationConfiguration.g:2885:20: otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) + { + otherlv_25=(Token)match(input,27,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_25, grammarAccess.getGenerationTaskAccess().getConfigKeyword_3_7_0()); + + } + otherlv_26=(Token)match(input,16,FOLLOW_29); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_26, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_7_1()); + + } + // InternalApplicationConfiguration.g:2893:9: ( (lv_config_27_0= ruleConfig ) ) + // InternalApplicationConfiguration.g:2894:10: (lv_config_27_0= ruleConfig ) + { + // InternalApplicationConfiguration.g:2894:10: (lv_config_27_0= ruleConfig ) + // InternalApplicationConfiguration.g:2895:11: lv_config_27_0= ruleConfig + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getConfigConfigParserRuleCall_3_7_2_0()); + + } + pushFollow(FOLLOW_28); + lv_config_27_0=ruleConfig(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "config", + lv_config_27_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + } + + + } + + + } + break; + case 9 : + // InternalApplicationConfiguration.g:2918:4: ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:2918:4: ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2919:5: {...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8)"); + } + // InternalApplicationConfiguration.g:2919:111: ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:2920:6: ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8); + // InternalApplicationConfiguration.g:2923:9: ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:2923:10: {...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) + { + if ( !((true)) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:2923:19: (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:2923:20: otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) + { + otherlv_28=(Token)match(input,42,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_8_0()); + + } + otherlv_29=(Token)match(input,16,FOLLOW_18); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_29, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_8_1()); + + } + // InternalApplicationConfiguration.g:2931:9: ( (lv_tagetFolder_30_0= ruleFile ) ) + // InternalApplicationConfiguration.g:2932:10: (lv_tagetFolder_30_0= ruleFile ) + { + // InternalApplicationConfiguration.g:2932:10: (lv_tagetFolder_30_0= ruleFile ) + // InternalApplicationConfiguration.g:2933:11: lv_tagetFolder_30_0= ruleFile + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getTagetFolderFileParserRuleCall_3_8_2_0()); + + } + pushFollow(FOLLOW_28); + lv_tagetFolder_30_0=ruleFile(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "tagetFolder", + lv_tagetFolder_30_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + } + + + } + + + } + break; + case 10 : + // InternalApplicationConfiguration.g:2956:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:2956:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2957:5: {...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9)"); + } + // InternalApplicationConfiguration.g:2957:111: ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:2958:6: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9); + // InternalApplicationConfiguration.g:2961:9: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:2961:10: {...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) + { + if ( !((true)) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:2961:19: (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:2961:20: otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) + { + otherlv_31=(Token)match(input,43,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0()); + + } + otherlv_32=(Token)match(input,16,FOLLOW_18); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_32, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_9_1()); + + } + // InternalApplicationConfiguration.g:2969:9: ( (lv_debugFolder_33_0= ruleFile ) ) + // InternalApplicationConfiguration.g:2970:10: (lv_debugFolder_33_0= ruleFile ) + { + // InternalApplicationConfiguration.g:2970:10: (lv_debugFolder_33_0= ruleFile ) + // InternalApplicationConfiguration.g:2971:11: lv_debugFolder_33_0= ruleFile + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getDebugFolderFileParserRuleCall_3_9_2_0()); + + } + pushFollow(FOLLOW_28); + lv_debugFolder_33_0=ruleFile(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "debugFolder", + lv_debugFolder_33_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + } + + + } + + + } + break; + case 11 : + // InternalApplicationConfiguration.g:2994:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:2994:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2995:5: {...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10)"); + } + // InternalApplicationConfiguration.g:2995:112: ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:2996:6: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10); + // InternalApplicationConfiguration.g:2999:9: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:2999:10: {...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) + { + if ( !((true)) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:2999:19: (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:2999:20: otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) + { + otherlv_34=(Token)match(input,44,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0()); + + } + otherlv_35=(Token)match(input,16,FOLLOW_18); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_35, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_10_1()); + + } + // InternalApplicationConfiguration.g:3007:9: ( (lv_targetLogFile_36_0= ruleFile ) ) + // InternalApplicationConfiguration.g:3008:10: (lv_targetLogFile_36_0= ruleFile ) + { + // InternalApplicationConfiguration.g:3008:10: (lv_targetLogFile_36_0= ruleFile ) + // InternalApplicationConfiguration.g:3009:11: lv_targetLogFile_36_0= ruleFile + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetLogFileFileParserRuleCall_3_10_2_0()); + + } + pushFollow(FOLLOW_28); + lv_targetLogFile_36_0=ruleFile(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "targetLogFile", + lv_targetLogFile_36_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + } + + + } + + + } + break; + case 12 : + // InternalApplicationConfiguration.g:3032:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) + { + // InternalApplicationConfiguration.g:3032:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:3033:5: {...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) + { + if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11)"); + } + // InternalApplicationConfiguration.g:3033:112: ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:3034:6: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) + { + getUnorderedGroupHelper().select(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11); + // InternalApplicationConfiguration.g:3037:9: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:3037:10: {...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) + { + if ( !((true)) ) { + if (state.backtracking>0) {state.failed=true; return current;} + throw new FailedPredicateException(input, "ruleGenerationTask", "true"); + } + // InternalApplicationConfiguration.g:3037:19: (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:3037:20: otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) + { + otherlv_37=(Token)match(input,45,FOLLOW_10); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0()); + + } + otherlv_38=(Token)match(input,16,FOLLOW_18); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_38, grammarAccess.getGenerationTaskAccess().getEqualsSignKeyword_3_11_1()); + + } + // InternalApplicationConfiguration.g:3045:9: ( (lv_targetStatisticsFile_39_0= ruleFile ) ) + // InternalApplicationConfiguration.g:3046:10: (lv_targetStatisticsFile_39_0= ruleFile ) + { + // InternalApplicationConfiguration.g:3046:10: (lv_targetStatisticsFile_39_0= ruleFile ) + // InternalApplicationConfiguration.g:3047:11: lv_targetStatisticsFile_39_0= ruleFile + { + if ( state.backtracking==0 ) { + + newCompositeNode(grammarAccess.getGenerationTaskAccess().getTargetStatisticsFileFileParserRuleCall_3_11_2_0()); + + } + pushFollow(FOLLOW_28); + lv_targetStatisticsFile_39_0=ruleFile(); + + state._fsp--; + if (state.failed) return current; + if ( state.backtracking==0 ) { + + if (current==null) { + current = createModelElementForParent(grammarAccess.getGenerationTaskRule()); + } + set( + current, + "targetStatisticsFile", + lv_targetStatisticsFile_39_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + + } + + + } + + getUnorderedGroupHelper().returnFromSelection(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + } + + + } + + + } + break; + + default : + break loop37; + } + } while (true); + + + } + + + } + + getUnorderedGroupHelper().leave(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3()); + + } + + otherlv_40=(Token)match(input,19,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_40, grammarAccess.getGenerationTaskAccess().getRightCurlyBracketKeyword_4()); + + } + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleGenerationTask" + + + // $ANTLR start "ruleSolver" + // InternalApplicationConfiguration.g:3085:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ; + public final Enumerator ruleSolver() throws RecognitionException { + Enumerator current = null; + + Token enumLiteral_0=null; + Token enumLiteral_1=null; + Token enumLiteral_2=null; + + + enterRule(); + + try { + // InternalApplicationConfiguration.g:3091:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ) + // InternalApplicationConfiguration.g:3092:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) + { + // InternalApplicationConfiguration.g:3092:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) + int alt38=3; + switch ( input.LA(1) ) { + case 46: + { + alt38=1; + } + break; + case 47: + { + alt38=2; + } + break; + case 48: + { + alt38=3; + } + break; + default: + if (state.backtracking>0) {state.failed=true; return current;} + NoViableAltException nvae = + new NoViableAltException("", 38, 0, input); + + throw nvae; + } + + switch (alt38) { + case 1 : + // InternalApplicationConfiguration.g:3093:3: (enumLiteral_0= 'SMTSolver' ) + { + // InternalApplicationConfiguration.g:3093:3: (enumLiteral_0= 'SMTSolver' ) + // InternalApplicationConfiguration.g:3094:4: enumLiteral_0= 'SMTSolver' + { + enumLiteral_0=(Token)match(input,46,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_0, grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0()); + + } + + } + + + } + break; + case 2 : + // InternalApplicationConfiguration.g:3101:3: (enumLiteral_1= 'AlloySolver' ) + { + // InternalApplicationConfiguration.g:3101:3: (enumLiteral_1= 'AlloySolver' ) + // InternalApplicationConfiguration.g:3102:4: enumLiteral_1= 'AlloySolver' + { + enumLiteral_1=(Token)match(input,47,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_1, grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1()); + + } + + } + + + } + break; + case 3 : + // InternalApplicationConfiguration.g:3109:3: (enumLiteral_2= 'ViatraSolver' ) + { + // InternalApplicationConfiguration.g:3109:3: (enumLiteral_2= 'ViatraSolver' ) + // InternalApplicationConfiguration.g:3110:4: enumLiteral_2= 'ViatraSolver' + { + enumLiteral_2=(Token)match(input,48,FOLLOW_2); if (state.failed) return current; + if ( state.backtracking==0 ) { + + current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); + newLeafNode(enumLiteral_2, grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2()); + + } + + } + + + } + break; + + } + + + } + + if ( state.backtracking==0 ) { + + leaveRule(); + + } + } + + catch (RecognitionException re) { + recover(input,re); + appendSkippedTokens(); + } + finally { + } + return current; + } + // $ANTLR end "ruleSolver" + + // $ANTLR start synpred1_InternalApplicationConfiguration + public final void synpred1_InternalApplicationConfiguration_fragment() throws RecognitionException { + // InternalApplicationConfiguration.g:182:5: ( '.' ) + // InternalApplicationConfiguration.g:182:6: '.' + { + match(input,11,FOLLOW_2); if (state.failed) return ; + + } + } + // $ANTLR end synpred1_InternalApplicationConfiguration + + // Delegated rules + + public final boolean synpred1_InternalApplicationConfiguration() { + state.backtracking++; + int start = input.mark(); + try { + synpred1_InternalApplicationConfiguration_fragment(); // can never throw exception + } catch (RecognitionException re) { + System.err.println("impossible: "+re); + } + boolean success = !state.failed; + input.rewind(start); + state.backtracking--; + state.failed=false; + return success; + } + + + protected DFA37 dfa37 = new DFA37(this); + static final String dfa_1s = "\16\uffff"; + static final String dfa_2s = "\1\23\15\uffff"; + static final String dfa_3s = "\1\55\15\uffff"; + static final String dfa_4s = "\1\uffff\1\15\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14"; + static final String dfa_5s = "\1\0\15\uffff}>"; + static final String[] dfa_6s = { + "\1\1\3\uffff\1\2\1\uffff\1\3\1\4\1\11\11\uffff\1\5\1\uffff\1\6\1\7\1\10\1\12\1\13\1\14\1\15", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + }; + + static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); + static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s); + static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s); + static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s); + static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); + static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s); + + class DFA37 extends DFA { + + public DFA37(BaseRecognizer recognizer) { + this.recognizer = recognizer; + this.decisionNumber = 37; + this.eot = dfa_1; + this.eof = dfa_1; + this.min = dfa_2; + this.max = dfa_3; + this.accept = dfa_4; + this.special = dfa_5; + this.transition = dfa_6; + } + public String getDescription() { + return "()* loopback of 2615:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )*"; + } + public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { + TokenStream input = (TokenStream)_input; + int _s = s; + switch ( s ) { + case 0 : + int LA37_0 = input.LA(1); + + + int index37_0 = input.index(); + input.rewind(); + s = -1; + if ( (LA37_0==19) ) {s = 1;} + + else if ( LA37_0 == 23 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 2;} + + else if ( LA37_0 == 25 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 1) ) {s = 3;} + + else if ( LA37_0 == 26 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 2) ) {s = 4;} + + else if ( LA37_0 == 37 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 3) ) {s = 5;} + + else if ( LA37_0 == 39 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 4) ) {s = 6;} + + else if ( LA37_0 == 40 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 5) ) {s = 7;} + + else if ( LA37_0 == 41 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 6) ) {s = 8;} + + else if ( LA37_0 == 27 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 7) ) {s = 9;} + + else if ( LA37_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 8) ) {s = 10;} + + else if ( LA37_0 == 43 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 9) ) {s = 11;} + + else if ( LA37_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 12;} + + else if ( LA37_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 13;} + + + input.seek(index37_0); + if ( s>=0 ) return s; + break; + } + if (state.backtracking>0) {state.failed=true; return -1;} + NoViableAltException nvae = + new NoViableAltException(getDescription(), 37, _s, input); + error(nvae); + throw nvae; + } + } 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[]{0x0000000000200802L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000000200002L}); - public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000001000L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x000000600E809002L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x000000600E808002L}); + public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000000000802L}); public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000000000010L}); public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000002000L}); - public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000020020L}); - public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000018000L}); - public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000000020L}); - public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000040002L}); - public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000004000L}); - public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000080000L}); - public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000100002L}); - -} \ No newline at end of file + public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000020L}); + public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000004000L}); + public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000010000L}); + public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000000100010L}); + public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x00000000000C0000L}); + public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000200002L}); + public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000020000L}); + public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000000400000L}); + public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x0000000001000030L}); + public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000000080000L}); + public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000000030L}); + public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000000080020L}); + public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000040080040L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000040000040L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000030000000L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000040000000L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000001E80000000L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000030000002L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000100000000L}); + public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x00003FA00E880000L}); + public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000000020010L}); + public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0001C00000000000L}); + +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSemanticSequencer.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSemanticSequencer.java index 775726ec..50aad570 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSemanticSequencer.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/serializer/ApplicationConfigurationSemanticSequencer.java @@ -5,13 +5,40 @@ package hu.bme.mit.inf.dslreasoner.application.serializer; import com.google.inject.Inject; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageImport; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.IntegerScope; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelDeclaration; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelReference; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ObjectReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.RealScope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.StringScope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope; import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport; import hu.bme.mit.inf.dslreasoner.application.services.ApplicationConfigurationGrammarAccess; import java.util.Set; @@ -42,12 +69,54 @@ public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatin case ApplicationConfigurationPackage.ALL_PACKAGE_ENTRY: sequence_AllPackageEntry(context, (AllPackageEntry) semanticObject); return; + case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY: + sequence_AllPatternEntry(context, (AllPatternEntry) semanticObject); + return; + case ApplicationConfigurationPackage.CLASS_REFERENCE: + sequence_ClassReference(context, (ClassReference) semanticObject); + return; + case ApplicationConfigurationPackage.CONFIG_DECLARATION: + sequence_ConfigDeclaration(context, (ConfigDeclaration) semanticObject); + return; + case ApplicationConfigurationPackage.CONFIG_ENTRY: + sequence_ConfigEntry(context, (ConfigEntry) semanticObject); + return; + case ApplicationConfigurationPackage.CONFIG_REFERENCE: + sequence_ConfigReference(context, (ConfigReference) semanticObject); + return; + case ApplicationConfigurationPackage.CONFIG_SPECIFICATION: + sequence_ConfigSpecification(context, (ConfigSpecification) semanticObject); + return; case ApplicationConfigurationPackage.CONFIGURATION_SCRIPT: sequence_ConfigurationScript(context, (ConfigurationScript) semanticObject); return; case ApplicationConfigurationPackage.EPACKAGE_IMPORT: sequence_EPackageImport(context, (EPackageImport) semanticObject); return; + case ApplicationConfigurationPackage.FILE_DECLARATION: + sequence_FileDeclaration(context, (FileDeclaration) semanticObject); + return; + case ApplicationConfigurationPackage.FILE_REFERENCE: + sequence_FileReference(context, (FileReference) semanticObject); + return; + case ApplicationConfigurationPackage.FILE_SPECIFICATION: + sequence_FileSpecification(context, (FileSpecification) semanticObject); + return; + case ApplicationConfigurationPackage.FOLDER_ENTRY: + sequence_FolderEntry(context, (FolderEntry) semanticObject); + return; + case ApplicationConfigurationPackage.GENERATION_TASK: + sequence_GenerationTask(context, (GenerationTask) semanticObject); + return; + case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION: + sequence_GraphPatternDeclaration(context, (GraphPatternDeclaration) semanticObject); + return; + case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE: + sequence_GraphPatternReference(context, (GraphPatternReference) semanticObject); + return; + case ApplicationConfigurationPackage.INTEGER_SCOPE: + sequence_IntegerReference(context, (IntegerScope) semanticObject); + return; case ApplicationConfigurationPackage.METAMODEL_DECLARATION: sequence_MetamodelDeclaration(context, (MetamodelDeclaration) semanticObject); return; @@ -60,6 +129,45 @@ public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatin case ApplicationConfigurationPackage.METAMODEL_SPECIFICATION: sequence_MetamodelSpecification(context, (MetamodelSpecification) semanticObject); return; + case ApplicationConfigurationPackage.MODEL_ENTRY: + sequence_ModelEntry(context, (ModelEntry) semanticObject); + return; + case ApplicationConfigurationPackage.OBJECT_REFERENCE: + sequence_ObjectReference(context, (ObjectReference) semanticObject); + return; + case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION: + sequence_PartialModelDeclaration(context, (PartialModelDeclaration) semanticObject); + return; + case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE: + sequence_PartialModelReference(context, (PartialModelReference) semanticObject); + return; + case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION: + sequence_PartialModelSpecification(context, (PartialModelSpecification) semanticObject); + return; + case ApplicationConfigurationPackage.PATTERN_ELEMENT: + sequence_PatternElement(context, (PatternElement) semanticObject); + return; + case ApplicationConfigurationPackage.PATTERN_SPECIFICATION: + sequence_PatternSpecification(context, (PatternSpecification) semanticObject); + return; + case ApplicationConfigurationPackage.REAL_SCOPE: + sequence_RealReference(context, (RealScope) semanticObject); + return; + case ApplicationConfigurationPackage.SCOPE_DECLARATION: + sequence_ScopeDeclaration(context, (ScopeDeclaration) semanticObject); + return; + case ApplicationConfigurationPackage.SCOPE_REFERENCE: + sequence_ScopeReference(context, (ScopeReference) semanticObject); + return; + case ApplicationConfigurationPackage.SCOPE_SPECIFICATION: + sequence_ScopeSpecification(context, (ScopeSpecification) semanticObject); + return; + case ApplicationConfigurationPackage.STRING_SCOPE: + sequence_StringReference(context, (StringScope) semanticObject); + return; + case ApplicationConfigurationPackage.TYPE_SCOPE: + sequence_TypeScope(context, (TypeScope) semanticObject); + return; case ApplicationConfigurationPackage.VIATRA_IMPORT: sequence_ViatraImport(context, (ViatraImport) semanticObject); return; @@ -74,13 +182,121 @@ public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatin * AllPackageEntry returns AllPackageEntry * * Constraint: - * (package=[EPackage|ID] (exclusion+=MetamodelElement exclusion+=MetamodelElement*)?) + * (package=[EPackage|QualifiedName] (exclusion+=MetamodelElement exclusion+=MetamodelElement*)?) */ protected void sequence_AllPackageEntry(ISerializationContext context, AllPackageEntry semanticObject) { genericSequencer.createSequence(context, semanticObject); } + /** + * Contexts: + * PatternEntry returns AllPatternEntry + * AllPatternEntry returns AllPatternEntry + * + * Constraint: + * (package=[PatternModel|QualifiedName] (exclusuion+=PatternElement exclusuion+=PatternElement*)?) + */ + protected void sequence_AllPatternEntry(ISerializationContext context, AllPatternEntry semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * TypeReference returns ClassReference + * ClassReference returns ClassReference + * + * Constraint: + * element=MetamodelElement + */ + protected void sequence_ClassReference(ISerializationContext context, ClassReference semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CLASS_REFERENCE__ELEMENT) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CLASS_REFERENCE__ELEMENT)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getClassReferenceAccess().getElementMetamodelElementParserRuleCall_1_0(), semanticObject.getElement()); + feeder.finish(); + } + + + /** + * Contexts: + * Command returns ConfigDeclaration + * Declaration returns ConfigDeclaration + * ConfigDeclaration returns ConfigDeclaration + * + * Constraint: + * (name=ID specification=ConfigSpecification) + */ + protected void sequence_ConfigDeclaration(ISerializationContext context, ConfigDeclaration semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_DECLARATION__SPECIFICATION) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_DECLARATION__SPECIFICATION)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getConfigDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); + feeder.accept(grammarAccess.getConfigDeclarationAccess().getSpecificationConfigSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); + feeder.finish(); + } + + + /** + * Contexts: + * ConfigEntry returns ConfigEntry + * + * Constraint: + * (key=STRING value=STRING) + */ + protected void sequence_ConfigEntry(ISerializationContext context, ConfigEntry semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_ENTRY__KEY) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_ENTRY__KEY)); + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_ENTRY__VALUE) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_ENTRY__VALUE)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getConfigEntryAccess().getKeySTRINGTerminalRuleCall_0_0(), semanticObject.getKey()); + feeder.accept(grammarAccess.getConfigEntryAccess().getValueSTRINGTerminalRuleCall_2_0(), semanticObject.getValue()); + feeder.finish(); + } + + + /** + * Contexts: + * ConfigReference returns ConfigReference + * Config returns ConfigReference + * + * Constraint: + * config=[ConfigDeclaration|ID] + */ + protected void sequence_ConfigReference(ISerializationContext context, ConfigReference semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_REFERENCE__CONFIG) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.CONFIG_REFERENCE__CONFIG)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getConfigReferenceAccess().getConfigConfigDeclarationIDTerminalRuleCall_0_1(), semanticObject.getConfig()); + feeder.finish(); + } + + + /** + * Contexts: + * ConfigSpecification returns ConfigSpecification + * Config returns ConfigSpecification + * + * Constraint: + * (entries+=ConfigEntry entries+=ConfigEntry*)? + */ + protected void sequence_ConfigSpecification(ISerializationContext context, ConfigSpecification semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + /** * Contexts: * ConfigurationScript returns ConfigurationScript @@ -112,6 +328,162 @@ public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatin } + /** + * Contexts: + * Command returns FileDeclaration + * Declaration returns FileDeclaration + * FileDeclaration returns FileDeclaration + * + * Constraint: + * (name=ID specification=FileSpecification) + */ + protected void sequence_FileDeclaration(ISerializationContext context, FileDeclaration semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.FILE_DECLARATION__SPECIFICATION) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.FILE_DECLARATION__SPECIFICATION)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getFileDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); + feeder.accept(grammarAccess.getFileDeclarationAccess().getSpecificationFileSpecificationParserRuleCall_3_0(), semanticObject.getSpecification()); + feeder.finish(); + } + + + /** + * Contexts: + * FileReference returns FileReference + * File returns FileReference + * + * Constraint: + * referred=[FileDeclaration|ID] + */ + protected void sequence_FileReference(ISerializationContext context, FileReference semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.FILE_REFERENCE__REFERRED) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.FILE_REFERENCE__REFERRED)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getFileReferenceAccess().getReferredFileDeclarationIDTerminalRuleCall_0_1(), semanticObject.getReferred()); + feeder.finish(); + } + + + /** + * Contexts: + * FileSpecification returns FileSpecification + * File returns FileSpecification + * + * Constraint: + * path=STRING + */ + protected void sequence_FileSpecification(ISerializationContext context, FileSpecification semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.FILE_SPECIFICATION__PATH) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.FILE_SPECIFICATION__PATH)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getFileSpecificationAccess().getPathSTRINGTerminalRuleCall_0(), semanticObject.getPath()); + feeder.finish(); + } + + + /** + * Contexts: + * PartialModelEntry returns FolderEntry + * FolderEntry returns FolderEntry + * + * Constraint: + * (path=File (exclusion+=ModelEntry exclusion+=ModelEntry*)?) + */ + protected void sequence_FolderEntry(ISerializationContext context, FolderEntry semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * Command returns GenerationTask + * Task returns GenerationTask + * GenerationTask returns GenerationTask + * + * Constraint: + * ( + * metamodel=Metamodel | + * partialModel=PartialModel | + * patterns=GraphPattern | + * scope=Scope | + * number=INT | + * runs=INT | + * solver=Solver | + * config=Config | + * tagetFolder=File | + * debugFolder=File | + * targetLogFile=File | + * targetStatisticsFile=File + * )* + */ + protected void sequence_GenerationTask(ISerializationContext context, GenerationTask semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * Command returns GraphPatternDeclaration + * Declaration returns GraphPatternDeclaration + * GraphPatternDeclaration returns GraphPatternDeclaration + * + * Constraint: + * (name=ID specification=PatternSpecification) + */ + protected void sequence_GraphPatternDeclaration(ISerializationContext context, GraphPatternDeclaration semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_DECLARATION__SPECIFICATION) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_DECLARATION__SPECIFICATION)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getGraphPatternDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); + feeder.accept(grammarAccess.getGraphPatternDeclarationAccess().getSpecificationPatternSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); + feeder.finish(); + } + + + /** + * Contexts: + * GraphPatternReference returns GraphPatternReference + * GraphPattern returns GraphPatternReference + * + * Constraint: + * referred=[GraphPatternDeclaration|ID] + */ + protected void sequence_GraphPatternReference(ISerializationContext context, GraphPatternReference semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_REFERENCE__REFERRED) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_REFERENCE__REFERRED)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getGraphPatternReferenceAccess().getReferredGraphPatternDeclarationIDTerminalRuleCall_0_1(), semanticObject.getReferred()); + feeder.finish(); + } + + + /** + * Contexts: + * TypeReference returns IntegerScope + * IntegerReference returns IntegerScope + * + * Constraint: + * {IntegerScope} + */ + protected void sequence_IntegerReference(ISerializationContext context, IntegerScope semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + /** * Contexts: * Command returns MetamodelDeclaration @@ -123,8 +495,8 @@ public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatin */ protected void sequence_MetamodelDeclaration(ISerializationContext context, MetamodelDeclaration semanticObject) { if (errorAcceptor != null) { - if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.METAMODEL_DECLARATION__NAME) == ValueTransient.YES) - errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.METAMODEL_DECLARATION__NAME)); + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.METAMODEL_DECLARATION__SPECIFICATION) == ValueTransient.YES) errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.METAMODEL_DECLARATION__SPECIFICATION)); } @@ -141,7 +513,7 @@ public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatin * MetamodelElement returns MetamodelElement * * Constraint: - * (package=[EPackage|ID]? classifier=[EClassifier|ID] feature=[ENamedElement|ID]?) + * (package=[EPackage|QualifiedName]? classifier=[EClassifier|ID] feature=[ENamedElement|ID]?) */ protected void sequence_MetamodelElement(ISerializationContext context, MetamodelElement semanticObject) { genericSequencer.createSequence(context, semanticObject); @@ -180,6 +552,212 @@ public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatin } + /** + * Contexts: + * PartialModelEntry returns ModelEntry + * ModelEntry returns ModelEntry + * + * Constraint: + * path=File + */ + protected void sequence_ModelEntry(ISerializationContext context, ModelEntry semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_ENTRY__PATH) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_ENTRY__PATH)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getModelEntryAccess().getPathFileParserRuleCall_0(), semanticObject.getPath()); + feeder.finish(); + } + + + /** + * Contexts: + * TypeReference returns ObjectReference + * ObjectReference returns ObjectReference + * + * Constraint: + * {ObjectReference} + */ + protected void sequence_ObjectReference(ISerializationContext context, ObjectReference semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * Command returns PartialModelDeclaration + * Declaration returns PartialModelDeclaration + * PartialModelDeclaration returns PartialModelDeclaration + * + * Constraint: + * (name=ID specification=PartialModelSpecification) + */ + protected void sequence_PartialModelDeclaration(ISerializationContext context, PartialModelDeclaration semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_DECLARATION__SPECIFICATION) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_DECLARATION__SPECIFICATION)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getPartialModelDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); + feeder.accept(grammarAccess.getPartialModelDeclarationAccess().getSpecificationPartialModelSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); + feeder.finish(); + } + + + /** + * Contexts: + * PartialModelReference returns PartialModelReference + * PartialModel returns PartialModelReference + * + * Constraint: + * referred=[PartialModelDeclaration|ID] + */ + protected void sequence_PartialModelReference(ISerializationContext context, PartialModelReference semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_REFERENCE__REFERRED) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_REFERENCE__REFERRED)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getPartialModelReferenceAccess().getReferredPartialModelDeclarationIDTerminalRuleCall_0_1(), semanticObject.getReferred()); + feeder.finish(); + } + + + /** + * Contexts: + * PartialModelSpecification returns PartialModelSpecification + * PartialModel returns PartialModelSpecification + * + * Constraint: + * (entry+=PartialModelEntry entry+=PartialModelEntry?) + */ + protected void sequence_PartialModelSpecification(ISerializationContext context, PartialModelSpecification semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * PatternEntry returns PatternElement + * PatternElement returns PatternElement + * + * Constraint: + * (package=[PatternModel|QualifiedName]? pattern=[Pattern|ID]) + */ + protected void sequence_PatternElement(ISerializationContext context, PatternElement semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * PatternSpecification returns PatternSpecification + * GraphPattern returns PatternSpecification + * + * Constraint: + * (entries+=PatternEntry entries+=PatternEntry*) + */ + protected void sequence_PatternSpecification(ISerializationContext context, PatternSpecification semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * TypeReference returns RealScope + * RealReference returns RealScope + * + * Constraint: + * {RealScope} + */ + protected void sequence_RealReference(ISerializationContext context, RealScope semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * Command returns ScopeDeclaration + * Declaration returns ScopeDeclaration + * ScopeDeclaration returns ScopeDeclaration + * + * Constraint: + * (name=ID specification=ScopeSpecification) + */ + protected void sequence_ScopeDeclaration(ISerializationContext context, ScopeDeclaration semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.DECLARATION__NAME)); + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.SCOPE_DECLARATION__SPECIFICATION) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.SCOPE_DECLARATION__SPECIFICATION)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getScopeDeclarationAccess().getNameIDTerminalRuleCall_1_0(), semanticObject.getName()); + feeder.accept(grammarAccess.getScopeDeclarationAccess().getSpecificationScopeSpecificationParserRuleCall_2_0(), semanticObject.getSpecification()); + feeder.finish(); + } + + + /** + * Contexts: + * ScopeReference returns ScopeReference + * Scope returns ScopeReference + * + * Constraint: + * referred=[ScopeDeclaration|ID] + */ + protected void sequence_ScopeReference(ISerializationContext context, ScopeReference semanticObject) { + if (errorAcceptor != null) { + if (transientValues.isValueTransient(semanticObject, ApplicationConfigurationPackage.Literals.SCOPE_REFERENCE__REFERRED) == ValueTransient.YES) + errorAcceptor.accept(diagnosticProvider.createFeatureValueMissing(semanticObject, ApplicationConfigurationPackage.Literals.SCOPE_REFERENCE__REFERRED)); + } + SequenceFeeder feeder = createSequencerFeeder(context, semanticObject); + feeder.accept(grammarAccess.getScopeReferenceAccess().getReferredScopeDeclarationIDTerminalRuleCall_0_1(), semanticObject.getReferred()); + feeder.finish(); + } + + + /** + * Contexts: + * ScopeSpecification returns ScopeSpecification + * Scope returns ScopeSpecification + * + * Constraint: + * (scopes+=TypeScope scopes+=TypeScope*)? + */ + protected void sequence_ScopeSpecification(ISerializationContext context, ScopeSpecification semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * TypeReference returns StringScope + * StringReference returns StringScope + * + * Constraint: + * {StringScope} + */ + protected void sequence_StringReference(ISerializationContext context, StringScope semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + + /** + * Contexts: + * TypeScope returns TypeScope + * + * Constraint: + * ((min=INT (greather?='<' | greaterOrEqual?='<='))? type=TypeReference ((less?='<' | lessOrEqual?='<=') max=INT)?) + */ + protected void sequence_TypeScope(ISerializationContext context, TypeScope semanticObject) { + genericSequencer.createSequence(context, semanticObject); + } + + /** * Contexts: * Import returns ViatraImport diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java index 97717b2f..688dd229 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/services/ApplicationConfigurationGrammarAccess.java @@ -6,9 +6,12 @@ package hu.bme.mit.inf.dslreasoner.application.services; import com.google.inject.Inject; import com.google.inject.Singleton; import java.util.List; +import org.eclipse.xtext.Action; import org.eclipse.xtext.Alternatives; import org.eclipse.xtext.Assignment; import org.eclipse.xtext.CrossReference; +import org.eclipse.xtext.EnumLiteralDeclaration; +import org.eclipse.xtext.EnumRule; import org.eclipse.xtext.Grammar; import org.eclipse.xtext.GrammarUtil; import org.eclipse.xtext.Group; @@ -16,7 +19,9 @@ import org.eclipse.xtext.Keyword; import org.eclipse.xtext.ParserRule; import org.eclipse.xtext.RuleCall; import org.eclipse.xtext.TerminalRule; +import org.eclipse.xtext.UnorderedGroup; import org.eclipse.xtext.common.services.TerminalsGrammarAccess; +import org.eclipse.xtext.service.AbstractElementFinder.AbstractEnumRuleElementFinder; import org.eclipse.xtext.service.AbstractElementFinder.AbstractGrammarElementFinder; import org.eclipse.xtext.service.GrammarProvider; @@ -53,32 +58,49 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen } public class CommandElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Command"); - private final RuleCall cDeclarationParserRuleCall = (RuleCall)rule.eContents().get(1); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cDeclarationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cTaskParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); //Command: - // Declaration - // //| Task - //; + // Declaration | Task; @Override public ParserRule getRule() { return rule; } + //Declaration | Task + public Alternatives getAlternatives() { return cAlternatives; } + //Declaration - public RuleCall getDeclarationParserRuleCall() { return cDeclarationParserRuleCall; } + public RuleCall getDeclarationParserRuleCall_0() { return cDeclarationParserRuleCall_0; } + + //Task + public RuleCall getTaskParserRuleCall_1() { return cTaskParserRuleCall_1; } } - public class DeclarationElements extends AbstractParserRuleElementFinder { - private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Declaration"); - private final RuleCall cMetamodelDeclarationParserRuleCall = (RuleCall)rule.eContents().get(1); + public class QualifiedNameElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.QualifiedName"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final RuleCall cIDTerminalRuleCall_0 = (RuleCall)cGroup.eContents().get(0); + private final Group cGroup_1 = (Group)cGroup.eContents().get(1); + private final Keyword cFullStopKeyword_1_0 = (Keyword)cGroup_1.eContents().get(0); + private final RuleCall cIDTerminalRuleCall_1_1 = (RuleCall)cGroup_1.eContents().get(1); - //Declaration: - // MetamodelDeclaration - // // | PartialModelDeclaration - // // | GraphPatternDeclaration - // // | SolverConfig - //; + //QualifiedName: + // ID (=> '.' ID)*; @Override public ParserRule getRule() { return rule; } - //// FileDeclaration | - //MetamodelDeclaration - public RuleCall getMetamodelDeclarationParserRuleCall() { return cMetamodelDeclarationParserRuleCall; } + //ID (=> '.' ID)* + public Group getGroup() { return cGroup; } + + //ID + public RuleCall getIDTerminalRuleCall_0() { return cIDTerminalRuleCall_0; } + + //(=> '.' ID)* + public Group getGroup_1() { return cGroup_1; } + + //=> '.' + public Keyword getFullStopKeyword_1_0() { return cFullStopKeyword_1_0; } + + //ID + public RuleCall getIDTerminalRuleCall_1_1() { return cIDTerminalRuleCall_1_1; } } public class ImportElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Import"); @@ -164,6 +186,141 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen //STRING public RuleCall getImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1() { return cImportedViatraPatternModelSTRINGTerminalRuleCall_2_0_1; } } + public class DeclarationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Declaration"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cFileDeclarationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cMetamodelDeclarationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + private final RuleCall cPartialModelDeclarationParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); + private final RuleCall cGraphPatternDeclarationParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); + private final RuleCall cConfigDeclarationParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); + private final RuleCall cScopeDeclarationParserRuleCall_5 = (RuleCall)cAlternatives.eContents().get(5); + + ///////////////////////////////////////////////////// + //// Declaration + ///////////////////////////////////////////////////// + //Declaration: + // FileDeclaration + // | MetamodelDeclaration + // | PartialModelDeclaration + // | GraphPatternDeclaration + // | ConfigDeclaration + // | ScopeDeclaration; + @Override public ParserRule getRule() { return rule; } + + //FileDeclaration | MetamodelDeclaration | PartialModelDeclaration | GraphPatternDeclaration | ConfigDeclaration | + //ScopeDeclaration + public Alternatives getAlternatives() { return cAlternatives; } + + //FileDeclaration + public RuleCall getFileDeclarationParserRuleCall_0() { return cFileDeclarationParserRuleCall_0; } + + //MetamodelDeclaration + public RuleCall getMetamodelDeclarationParserRuleCall_1() { return cMetamodelDeclarationParserRuleCall_1; } + + //PartialModelDeclaration + public RuleCall getPartialModelDeclarationParserRuleCall_2() { return cPartialModelDeclarationParserRuleCall_2; } + + //GraphPatternDeclaration + public RuleCall getGraphPatternDeclarationParserRuleCall_3() { return cGraphPatternDeclarationParserRuleCall_3; } + + //ConfigDeclaration + public RuleCall getConfigDeclarationParserRuleCall_4() { return cConfigDeclarationParserRuleCall_4; } + + //ScopeDeclaration + public RuleCall getScopeDeclarationParserRuleCall_5() { return cScopeDeclarationParserRuleCall_5; } + } + public class FileSpecificationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileSpecification"); + private final Assignment cPathAssignment = (Assignment)rule.eContents().get(1); + private final RuleCall cPathSTRINGTerminalRuleCall_0 = (RuleCall)cPathAssignment.eContents().get(0); + + ///////////////////////////////////////////////////// + //// Files and Folders + ///////////////////////////////////////////////////// + //FileSpecification: + // path=STRING; + @Override public ParserRule getRule() { return rule; } + + //path=STRING + public Assignment getPathAssignment() { return cPathAssignment; } + + //STRING + public RuleCall getPathSTRINGTerminalRuleCall_0() { return cPathSTRINGTerminalRuleCall_0; } + } + public class FileDeclarationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileDeclaration"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cFileKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); + private final Keyword cEqualsSignKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final Assignment cSpecificationAssignment_3 = (Assignment)cGroup.eContents().get(3); + private final RuleCall cSpecificationFileSpecificationParserRuleCall_3_0 = (RuleCall)cSpecificationAssignment_3.eContents().get(0); + + //FileDeclaration: + // 'file' name=ID '=' specification=FileSpecification; + @Override public ParserRule getRule() { return rule; } + + //'file' name=ID '=' specification=FileSpecification + public Group getGroup() { return cGroup; } + + //'file' + public Keyword getFileKeyword_0() { return cFileKeyword_0; } + + //name=ID + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //ID + public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } + + //'=' + public Keyword getEqualsSignKeyword_2() { return cEqualsSignKeyword_2; } + + //specification=FileSpecification + public Assignment getSpecificationAssignment_3() { return cSpecificationAssignment_3; } + + //FileSpecification + public RuleCall getSpecificationFileSpecificationParserRuleCall_3_0() { return cSpecificationFileSpecificationParserRuleCall_3_0; } + } + public class FileReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FileReference"); + private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); + private final CrossReference cReferredFileDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); + private final RuleCall cReferredFileDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredFileDeclarationCrossReference_0.eContents().get(1); + + //FileReference: + // referred=[FileDeclaration]; + @Override public ParserRule getRule() { return rule; } + + //referred=[FileDeclaration] + public Assignment getReferredAssignment() { return cReferredAssignment; } + + //[FileDeclaration] + public CrossReference getReferredFileDeclarationCrossReference_0() { return cReferredFileDeclarationCrossReference_0; } + + //ID + public RuleCall getReferredFileDeclarationIDTerminalRuleCall_0_1() { return cReferredFileDeclarationIDTerminalRuleCall_0_1; } + } + public class FileElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.File"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cFileSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cFileReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //File: + // FileSpecification | FileReference; + @Override public ParserRule getRule() { return rule; } + + //FileSpecification | FileReference + public Alternatives getAlternatives() { return cAlternatives; } + + //FileSpecification + public RuleCall getFileSpecificationParserRuleCall_0() { return cFileSpecificationParserRuleCall_0; } + + //FileReference + public RuleCall getFileReferenceParserRuleCall_1() { return cFileReferenceParserRuleCall_1; } + } public class MetamodelSpecificationElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.MetamodelSpecification"); private final Group cGroup = (Group)rule.eContents().get(1); @@ -177,15 +334,6 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); ///////////////////////////////////////////////////// - //// Files and Folders - ///////////////////////////////////////////////////// - /// * - //FileSpecification: path = STRING; - //FileDeclaration: 'file' name = ID '=' specification = FileSpecification; - // - //FileReference: referred = [FileDeclaration]; - //File: FileSpecification | FileReference; - // * / /////////////////////////////////////////////////// //// Metamodel ///////////////////////////////////////////////////// //MetamodelSpecification: @@ -244,7 +392,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen private final Keyword cPackageKeyword_0 = (Keyword)cGroup.eContents().get(0); private final Assignment cPackageAssignment_1 = (Assignment)cGroup.eContents().get(1); private final CrossReference cPackageEPackageCrossReference_1_0 = (CrossReference)cPackageAssignment_1.eContents().get(0); - private final RuleCall cPackageEPackageIDTerminalRuleCall_1_0_1 = (RuleCall)cPackageEPackageCrossReference_1_0.eContents().get(1); + private final RuleCall cPackageEPackageQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cPackageEPackageCrossReference_1_0.eContents().get(1); private final Group cGroup_2 = (Group)cGroup.eContents().get(2); private final Keyword cExcludingKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); private final Keyword cLeftCurlyBracketKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); @@ -257,25 +405,25 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen private final Keyword cRightCurlyBracketKeyword_2_4 = (Keyword)cGroup_2.eContents().get(4); //AllPackageEntry: - // "package" package=[ecore::EPackage] ("excluding" '{' exclusion+=MetamodelElement (',' exclusion+=MetamodelElement)* - // '}')?; + // "package" package=[ecore::EPackage|QualifiedName] ("excluding" '{' exclusion+=MetamodelElement (',' + // exclusion+=MetamodelElement)* '}')?; @Override public ParserRule getRule() { return rule; } - //"package" package=[ecore::EPackage] ("excluding" '{' exclusion+=MetamodelElement (',' exclusion+=MetamodelElement)* - //'}')? + //"package" package=[ecore::EPackage|QualifiedName] ("excluding" '{' exclusion+=MetamodelElement (',' + //exclusion+=MetamodelElement)* '}')? public Group getGroup() { return cGroup; } //"package" public Keyword getPackageKeyword_0() { return cPackageKeyword_0; } - //package=[ecore::EPackage] + //package=[ecore::EPackage|QualifiedName] public Assignment getPackageAssignment_1() { return cPackageAssignment_1; } - //[ecore::EPackage] + //[ecore::EPackage|QualifiedName] public CrossReference getPackageEPackageCrossReference_1_0() { return cPackageEPackageCrossReference_1_0; } - //ID - public RuleCall getPackageEPackageIDTerminalRuleCall_1_0_1() { return cPackageEPackageIDTerminalRuleCall_1_0_1; } + //QualifiedName + public RuleCall getPackageEPackageQualifiedNameParserRuleCall_1_0_1() { return cPackageEPackageQualifiedNameParserRuleCall_1_0_1; } //("excluding" '{' exclusion+=MetamodelElement (',' exclusion+=MetamodelElement)* '}')? public Group getGroup_2() { return cGroup_2; } @@ -313,7 +461,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen private final Group cGroup_0 = (Group)cGroup.eContents().get(0); private final Assignment cPackageAssignment_0_0 = (Assignment)cGroup_0.eContents().get(0); private final CrossReference cPackageEPackageCrossReference_0_0_0 = (CrossReference)cPackageAssignment_0_0.eContents().get(0); - private final RuleCall cPackageEPackageIDTerminalRuleCall_0_0_0_1 = (RuleCall)cPackageEPackageCrossReference_0_0_0.eContents().get(1); + private final RuleCall cPackageEPackageQualifiedNameParserRuleCall_0_0_0_1 = (RuleCall)cPackageEPackageCrossReference_0_0_0.eContents().get(1); private final Keyword cColonColonKeyword_0_1 = (Keyword)cGroup_0.eContents().get(1); private final Assignment cClassifierAssignment_1 = (Assignment)cGroup.eContents().get(1); private final CrossReference cClassifierEClassifierCrossReference_1_0 = (CrossReference)cClassifierAssignment_1.eContents().get(0); @@ -325,23 +473,24 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen private final RuleCall cFeatureENamedElementIDTerminalRuleCall_2_1_0_1 = (RuleCall)cFeatureENamedElementCrossReference_2_1_0.eContents().get(1); //MetamodelElement: - // (package=[ecore::EPackage] '::')? classifier=[ecore::EClassifier] ('.' feature=[ecore::ENamedElement])?; + // (package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' + // feature=[ecore::ENamedElement])?; @Override public ParserRule getRule() { return rule; } - //(package=[ecore::EPackage] '::')? classifier=[ecore::EClassifier] ('.' feature=[ecore::ENamedElement])? + //(package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' feature=[ecore::ENamedElement])? public Group getGroup() { return cGroup; } - //(package=[ecore::EPackage] '::')? + //(package=[ecore::EPackage|QualifiedName] '::')? public Group getGroup_0() { return cGroup_0; } - //package=[ecore::EPackage] + //package=[ecore::EPackage|QualifiedName] public Assignment getPackageAssignment_0_0() { return cPackageAssignment_0_0; } - //[ecore::EPackage] + //[ecore::EPackage|QualifiedName] public CrossReference getPackageEPackageCrossReference_0_0_0() { return cPackageEPackageCrossReference_0_0_0; } - //ID - public RuleCall getPackageEPackageIDTerminalRuleCall_0_0_0_1() { return cPackageEPackageIDTerminalRuleCall_0_0_0_1; } + //QualifiedName + public RuleCall getPackageEPackageQualifiedNameParserRuleCall_0_0_0_1() { return cPackageEPackageQualifiedNameParserRuleCall_0_0_0_1; } //'::' public Keyword getColonColonKeyword_0_1() { return cColonColonKeyword_0_1; } @@ -439,108 +588,1462 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen //MetamodelSpecification public RuleCall getMetamodelSpecificationParserRuleCall_1() { return cMetamodelSpecificationParserRuleCall_1; } } - - - private final ConfigurationScriptElements pConfigurationScript; - private final CommandElements pCommand; - private final DeclarationElements pDeclaration; - private final ImportElements pImport; - private final EPackageImportElements pEPackageImport; - private final ViatraImportElements pViatraImport; - private final MetamodelSpecificationElements pMetamodelSpecification; - private final MetamodelEntryElements pMetamodelEntry; - private final AllPackageEntryElements pAllPackageEntry; - private final MetamodelElementElements pMetamodelElement; - private final MetamodelDeclarationElements pMetamodelDeclaration; - private final MetamodelReferenceElements pMetamodelReference; - private final MetamodelElements pMetamodel; - - private final Grammar grammar; - - private final TerminalsGrammarAccess gaTerminals; - - @Inject - public ApplicationConfigurationGrammarAccess(GrammarProvider grammarProvider, - TerminalsGrammarAccess gaTerminals) { - this.grammar = internalFindGrammar(grammarProvider); - this.gaTerminals = gaTerminals; - this.pConfigurationScript = new ConfigurationScriptElements(); - this.pCommand = new CommandElements(); - this.pDeclaration = new DeclarationElements(); - this.pImport = new ImportElements(); - this.pEPackageImport = new EPackageImportElements(); - this.pViatraImport = new ViatraImportElements(); - this.pMetamodelSpecification = new MetamodelSpecificationElements(); - this.pMetamodelEntry = new MetamodelEntryElements(); - this.pAllPackageEntry = new AllPackageEntryElements(); - this.pMetamodelElement = new MetamodelElementElements(); - this.pMetamodelDeclaration = new MetamodelDeclarationElements(); - this.pMetamodelReference = new MetamodelReferenceElements(); - this.pMetamodel = new MetamodelElements(); - } - - protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { - Grammar grammar = grammarProvider.getGrammar(this); - while (grammar != null) { - if ("hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration".equals(grammar.getName())) { - return grammar; - } - List grammars = grammar.getUsedGrammars(); - if (!grammars.isEmpty()) { - grammar = grammars.iterator().next(); - } else { - return null; - } - } - return grammar; + public class PartialModelSpecificationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelSpecification"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cEntryAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cEntryPartialModelEntryParserRuleCall_1_0 = (RuleCall)cEntryAssignment_1.eContents().get(0); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); + private final Assignment cEntryAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); + private final RuleCall cEntryPartialModelEntryParserRuleCall_2_1_0 = (RuleCall)cEntryAssignment_2_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); + + ///////////////////////////////////////////////////// + //// Partial Model + ///////////////////////////////////////////////////// + //PartialModelSpecification: + // '{' entry+=PartialModelEntry (',' entry+=PartialModelEntry)? '}'; + @Override public ParserRule getRule() { return rule; } + + //'{' entry+=PartialModelEntry (',' entry+=PartialModelEntry)? '}' + public Group getGroup() { return cGroup; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; } + + //entry+=PartialModelEntry + public Assignment getEntryAssignment_1() { return cEntryAssignment_1; } + + //PartialModelEntry + public RuleCall getEntryPartialModelEntryParserRuleCall_1_0() { return cEntryPartialModelEntryParserRuleCall_1_0; } + + //(',' entry+=PartialModelEntry)? + public Group getGroup_2() { return cGroup_2; } + + //',' + public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; } + + //entry+=PartialModelEntry + public Assignment getEntryAssignment_2_1() { return cEntryAssignment_2_1; } + + //PartialModelEntry + public RuleCall getEntryPartialModelEntryParserRuleCall_2_1_0() { return cEntryPartialModelEntryParserRuleCall_2_1_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } } - - @Override - public Grammar getGrammar() { - return grammar; + public class PartialModelEntryElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelEntry"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cModelEntryParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cFolderEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //PartialModelEntry: + // ModelEntry | FolderEntry; + @Override public ParserRule getRule() { return rule; } + + //ModelEntry | FolderEntry + public Alternatives getAlternatives() { return cAlternatives; } + + //ModelEntry + public RuleCall getModelEntryParserRuleCall_0() { return cModelEntryParserRuleCall_0; } + + //FolderEntry + public RuleCall getFolderEntryParserRuleCall_1() { return cFolderEntryParserRuleCall_1; } } - - - public TerminalsGrammarAccess getTerminalsGrammarAccess() { - return gaTerminals; + public class ModelEntryElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ModelEntry"); + private final Assignment cPathAssignment = (Assignment)rule.eContents().get(1); + private final RuleCall cPathFileParserRuleCall_0 = (RuleCall)cPathAssignment.eContents().get(0); + + //ModelEntry: + // path=File; + @Override public ParserRule getRule() { return rule; } + + //path=File + public Assignment getPathAssignment() { return cPathAssignment; } + + //File + public RuleCall getPathFileParserRuleCall_0() { return cPathFileParserRuleCall_0; } } - - - //ConfigurationScript: - // imports+=Import* - // commands+=Command*; - public ConfigurationScriptElements getConfigurationScriptAccess() { - return pConfigurationScript; + public class FolderEntryElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.FolderEntry"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cFolderKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cPathAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cPathFileParserRuleCall_1_0 = (RuleCall)cPathAssignment_1.eContents().get(0); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Keyword cExcludingKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); + private final Assignment cExclusionAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2); + private final RuleCall cExclusionModelEntryParserRuleCall_2_2_0 = (RuleCall)cExclusionAssignment_2_2.eContents().get(0); + private final Group cGroup_2_3 = (Group)cGroup_2.eContents().get(3); + private final Keyword cCommaKeyword_2_3_0 = (Keyword)cGroup_2_3.eContents().get(0); + private final Assignment cExclusionAssignment_2_3_1 = (Assignment)cGroup_2_3.eContents().get(1); + private final RuleCall cExclusionModelEntryParserRuleCall_2_3_1_0 = (RuleCall)cExclusionAssignment_2_3_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_2_4 = (Keyword)cGroup_2.eContents().get(4); + + //FolderEntry: + // "folder" path=File ("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")?; + @Override public ParserRule getRule() { return rule; } + + //"folder" path=File ("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")? + public Group getGroup() { return cGroup; } + + //"folder" + public Keyword getFolderKeyword_0() { return cFolderKeyword_0; } + + //path=File + public Assignment getPathAssignment_1() { return cPathAssignment_1; } + + //File + public RuleCall getPathFileParserRuleCall_1_0() { return cPathFileParserRuleCall_1_0; } + + //("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")? + public Group getGroup_2() { return cGroup_2; } + + //"excluding" + public Keyword getExcludingKeyword_2_0() { return cExcludingKeyword_2_0; } + + //"{" + public Keyword getLeftCurlyBracketKeyword_2_1() { return cLeftCurlyBracketKeyword_2_1; } + + //exclusion+=ModelEntry + public Assignment getExclusionAssignment_2_2() { return cExclusionAssignment_2_2; } + + //ModelEntry + public RuleCall getExclusionModelEntryParserRuleCall_2_2_0() { return cExclusionModelEntryParserRuleCall_2_2_0; } + + //("," exclusion+=ModelEntry)* + public Group getGroup_2_3() { return cGroup_2_3; } + + //"," + public Keyword getCommaKeyword_2_3_0() { return cCommaKeyword_2_3_0; } + + //exclusion+=ModelEntry + public Assignment getExclusionAssignment_2_3_1() { return cExclusionAssignment_2_3_1; } + + //ModelEntry + public RuleCall getExclusionModelEntryParserRuleCall_2_3_1_0() { return cExclusionModelEntryParserRuleCall_2_3_1_0; } + + //"}" + public Keyword getRightCurlyBracketKeyword_2_4() { return cRightCurlyBracketKeyword_2_4; } } - - public ParserRule getConfigurationScriptRule() { - return getConfigurationScriptAccess().getRule(); + public class PartialModelDeclarationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelDeclaration"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cPartialModelKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); + private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cSpecificationPartialModelSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0); + + //PartialModelDeclaration: + // 'partial-model' name=ID specification=PartialModelSpecification; + @Override public ParserRule getRule() { return rule; } + + //'partial-model' name=ID specification=PartialModelSpecification + public Group getGroup() { return cGroup; } + + //'partial-model' + public Keyword getPartialModelKeyword_0() { return cPartialModelKeyword_0; } + + //name=ID + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //ID + public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } + + //specification=PartialModelSpecification + public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } + + //PartialModelSpecification + public RuleCall getSpecificationPartialModelSpecificationParserRuleCall_2_0() { return cSpecificationPartialModelSpecificationParserRuleCall_2_0; } } - - //Command: - // Declaration - // //| Task - //; - public CommandElements getCommandAccess() { - return pCommand; + public class PartialModelReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModelReference"); + private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); + private final CrossReference cReferredPartialModelDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); + private final RuleCall cReferredPartialModelDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredPartialModelDeclarationCrossReference_0.eContents().get(1); + + //PartialModelReference: + // referred=[PartialModelDeclaration]; + @Override public ParserRule getRule() { return rule; } + + //referred=[PartialModelDeclaration] + public Assignment getReferredAssignment() { return cReferredAssignment; } + + //[PartialModelDeclaration] + public CrossReference getReferredPartialModelDeclarationCrossReference_0() { return cReferredPartialModelDeclarationCrossReference_0; } + + //ID + public RuleCall getReferredPartialModelDeclarationIDTerminalRuleCall_0_1() { return cReferredPartialModelDeclarationIDTerminalRuleCall_0_1; } + } + public class PartialModelElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PartialModel"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cPartialModelSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cPartialModelReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //PartialModel: + // PartialModelSpecification | PartialModelReference; + @Override public ParserRule getRule() { return rule; } + + //PartialModelSpecification | PartialModelReference + public Alternatives getAlternatives() { return cAlternatives; } + + //PartialModelSpecification + public RuleCall getPartialModelSpecificationParserRuleCall_0() { return cPartialModelSpecificationParserRuleCall_0; } + + //PartialModelReference + public RuleCall getPartialModelReferenceParserRuleCall_1() { return cPartialModelReferenceParserRuleCall_1; } + } + public class PatternSpecificationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternSpecification"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cLeftCurlyBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cEntriesAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cEntriesPatternEntryParserRuleCall_1_0 = (RuleCall)cEntriesAssignment_1.eContents().get(0); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Keyword cCommaKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); + private final Assignment cEntriesAssignment_2_1 = (Assignment)cGroup_2.eContents().get(1); + private final RuleCall cEntriesPatternEntryParserRuleCall_2_1_0 = (RuleCall)cEntriesAssignment_2_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); + + ///////////////////////////////////////////////////// + //// Patterns + ///////////////////////////////////////////////////// + //PatternSpecification: + // '{' entries+=PatternEntry (',' entries+=PatternEntry)* '}'; + @Override public ParserRule getRule() { return rule; } + + //'{' entries+=PatternEntry (',' entries+=PatternEntry)* '}' + public Group getGroup() { return cGroup; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_0() { return cLeftCurlyBracketKeyword_0; } + + //entries+=PatternEntry + public Assignment getEntriesAssignment_1() { return cEntriesAssignment_1; } + + //PatternEntry + public RuleCall getEntriesPatternEntryParserRuleCall_1_0() { return cEntriesPatternEntryParserRuleCall_1_0; } + + //(',' entries+=PatternEntry)* + public Group getGroup_2() { return cGroup_2; } + + //',' + public Keyword getCommaKeyword_2_0() { return cCommaKeyword_2_0; } + + //entries+=PatternEntry + public Assignment getEntriesAssignment_2_1() { return cEntriesAssignment_2_1; } + + //PatternEntry + public RuleCall getEntriesPatternEntryParserRuleCall_2_1_0() { return cEntriesPatternEntryParserRuleCall_2_1_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } + } + public class PatternEntryElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternEntry"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cPatternElementParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cAllPatternEntryParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //PatternEntry: + // PatternElement | AllPatternEntry; + @Override public ParserRule getRule() { return rule; } + + //PatternElement | AllPatternEntry + public Alternatives getAlternatives() { return cAlternatives; } + + //PatternElement + public RuleCall getPatternElementParserRuleCall_0() { return cPatternElementParserRuleCall_0; } + + //AllPatternEntry + public RuleCall getAllPatternEntryParserRuleCall_1() { return cAllPatternEntryParserRuleCall_1; } + } + public class AllPatternEntryElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.AllPatternEntry"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cPackageKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cPackageAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cPackagePatternModelCrossReference_1_0 = (CrossReference)cPackageAssignment_1.eContents().get(0); + private final RuleCall cPackagePatternModelQualifiedNameParserRuleCall_1_0_1 = (RuleCall)cPackagePatternModelCrossReference_1_0.eContents().get(1); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Keyword cExcludingKeyword_2_0 = (Keyword)cGroup_2.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_2_1 = (Keyword)cGroup_2.eContents().get(1); + private final Assignment cExclusuionAssignment_2_2 = (Assignment)cGroup_2.eContents().get(2); + private final RuleCall cExclusuionPatternElementParserRuleCall_2_2_0 = (RuleCall)cExclusuionAssignment_2_2.eContents().get(0); + private final Group cGroup_2_3 = (Group)cGroup_2.eContents().get(3); + private final Keyword cCommaKeyword_2_3_0 = (Keyword)cGroup_2_3.eContents().get(0); + private final Assignment cExclusuionAssignment_2_3_1 = (Assignment)cGroup_2_3.eContents().get(1); + private final RuleCall cExclusuionPatternElementParserRuleCall_2_3_1_0 = (RuleCall)cExclusuionAssignment_2_3_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_2_4 = (Keyword)cGroup_2.eContents().get(4); + + //AllPatternEntry: + // 'package' package=[viatra::PatternModel|QualifiedName] ('excluding' '{' exclusuion+=PatternElement (',' + // exclusuion+=PatternElement)* '}')?; + @Override public ParserRule getRule() { return rule; } + + //'package' package=[viatra::PatternModel|QualifiedName] ('excluding' '{' exclusuion+=PatternElement (',' + //exclusuion+=PatternElement)* '}')? + public Group getGroup() { return cGroup; } + + //'package' + public Keyword getPackageKeyword_0() { return cPackageKeyword_0; } + + //package=[viatra::PatternModel|QualifiedName] + public Assignment getPackageAssignment_1() { return cPackageAssignment_1; } + + //[viatra::PatternModel|QualifiedName] + public CrossReference getPackagePatternModelCrossReference_1_0() { return cPackagePatternModelCrossReference_1_0; } + + //QualifiedName + public RuleCall getPackagePatternModelQualifiedNameParserRuleCall_1_0_1() { return cPackagePatternModelQualifiedNameParserRuleCall_1_0_1; } + + //('excluding' '{' exclusuion+=PatternElement (',' exclusuion+=PatternElement)* '}')? + public Group getGroup_2() { return cGroup_2; } + + //'excluding' + public Keyword getExcludingKeyword_2_0() { return cExcludingKeyword_2_0; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_2_1() { return cLeftCurlyBracketKeyword_2_1; } + + //exclusuion+=PatternElement + public Assignment getExclusuionAssignment_2_2() { return cExclusuionAssignment_2_2; } + + //PatternElement + public RuleCall getExclusuionPatternElementParserRuleCall_2_2_0() { return cExclusuionPatternElementParserRuleCall_2_2_0; } + + //(',' exclusuion+=PatternElement)* + public Group getGroup_2_3() { return cGroup_2_3; } + + //',' + public Keyword getCommaKeyword_2_3_0() { return cCommaKeyword_2_3_0; } + + //exclusuion+=PatternElement + public Assignment getExclusuionAssignment_2_3_1() { return cExclusuionAssignment_2_3_1; } + + //PatternElement + public RuleCall getExclusuionPatternElementParserRuleCall_2_3_1_0() { return cExclusuionPatternElementParserRuleCall_2_3_1_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_2_4() { return cRightCurlyBracketKeyword_2_4; } + } + public class PatternElementElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.PatternElement"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Group cGroup_0 = (Group)cGroup.eContents().get(0); + private final Assignment cPackageAssignment_0_0 = (Assignment)cGroup_0.eContents().get(0); + private final CrossReference cPackagePatternModelCrossReference_0_0_0 = (CrossReference)cPackageAssignment_0_0.eContents().get(0); + private final RuleCall cPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1 = (RuleCall)cPackagePatternModelCrossReference_0_0_0.eContents().get(1); + private final Keyword cColonColonKeyword_0_1 = (Keyword)cGroup_0.eContents().get(1); + private final Assignment cPatternAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final CrossReference cPatternPatternCrossReference_1_0 = (CrossReference)cPatternAssignment_1.eContents().get(0); + private final RuleCall cPatternPatternIDTerminalRuleCall_1_0_1 = (RuleCall)cPatternPatternCrossReference_1_0.eContents().get(1); + + //PatternElement: + // (package=[viatra::PatternModel|QualifiedName] '::')? pattern=[viatra::Pattern]; + @Override public ParserRule getRule() { return rule; } + + //(package=[viatra::PatternModel|QualifiedName] '::')? pattern=[viatra::Pattern] + public Group getGroup() { return cGroup; } + + //(package=[viatra::PatternModel|QualifiedName] '::')? + public Group getGroup_0() { return cGroup_0; } + + //package=[viatra::PatternModel|QualifiedName] + public Assignment getPackageAssignment_0_0() { return cPackageAssignment_0_0; } + + //[viatra::PatternModel|QualifiedName] + public CrossReference getPackagePatternModelCrossReference_0_0_0() { return cPackagePatternModelCrossReference_0_0_0; } + + //QualifiedName + public RuleCall getPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1() { return cPackagePatternModelQualifiedNameParserRuleCall_0_0_0_1; } + + //'::' + public Keyword getColonColonKeyword_0_1() { return cColonColonKeyword_0_1; } + + //pattern=[viatra::Pattern] + public Assignment getPatternAssignment_1() { return cPatternAssignment_1; } + + //[viatra::Pattern] + public CrossReference getPatternPatternCrossReference_1_0() { return cPatternPatternCrossReference_1_0; } + + //ID + public RuleCall getPatternPatternIDTerminalRuleCall_1_0_1() { return cPatternPatternIDTerminalRuleCall_1_0_1; } + } + public class GraphPatternDeclarationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPatternDeclaration"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cPatternsKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); + private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cSpecificationPatternSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0); + + //GraphPatternDeclaration: + // 'patterns' name=ID specification=PatternSpecification; + @Override public ParserRule getRule() { return rule; } + + //'patterns' name=ID specification=PatternSpecification + public Group getGroup() { return cGroup; } + + //'patterns' + public Keyword getPatternsKeyword_0() { return cPatternsKeyword_0; } + + //name=ID + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //ID + public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } + + //specification=PatternSpecification + public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } + + //PatternSpecification + public RuleCall getSpecificationPatternSpecificationParserRuleCall_2_0() { return cSpecificationPatternSpecificationParserRuleCall_2_0; } + } + public class GraphPatternReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPatternReference"); + private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); + private final CrossReference cReferredGraphPatternDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); + private final RuleCall cReferredGraphPatternDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredGraphPatternDeclarationCrossReference_0.eContents().get(1); + + //GraphPatternReference: + // referred=[GraphPatternDeclaration]; + @Override public ParserRule getRule() { return rule; } + + //referred=[GraphPatternDeclaration] + public Assignment getReferredAssignment() { return cReferredAssignment; } + + //[GraphPatternDeclaration] + public CrossReference getReferredGraphPatternDeclarationCrossReference_0() { return cReferredGraphPatternDeclarationCrossReference_0; } + + //ID + public RuleCall getReferredGraphPatternDeclarationIDTerminalRuleCall_0_1() { return cReferredGraphPatternDeclarationIDTerminalRuleCall_0_1; } + } + public class GraphPatternElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GraphPattern"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cGraphPatternReferenceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cPatternSpecificationParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //GraphPattern: + // GraphPatternReference | PatternSpecification; + @Override public ParserRule getRule() { return rule; } + + //GraphPatternReference | PatternSpecification + public Alternatives getAlternatives() { return cAlternatives; } + + //GraphPatternReference + public RuleCall getGraphPatternReferenceParserRuleCall_0() { return cGraphPatternReferenceParserRuleCall_0; } + + //PatternSpecification + public RuleCall getPatternSpecificationParserRuleCall_1() { return cPatternSpecificationParserRuleCall_1; } + } + public class ConfigSpecificationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigSpecification"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Action cConfigSpecificationAction_0 = (Action)cGroup.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Assignment cEntriesAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); + private final RuleCall cEntriesConfigEntryParserRuleCall_2_0_0 = (RuleCall)cEntriesAssignment_2_0.eContents().get(0); + private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); + private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); + private final Assignment cEntriesAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); + private final RuleCall cEntriesConfigEntryParserRuleCall_2_1_1_0 = (RuleCall)cEntriesAssignment_2_1_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); + + ///////////////////////////////////////////////////// + //// SolverConfig + ///////////////////////////////////////////////////// + //ConfigSpecification: + // {ConfigSpecification} '{' (entries+=ConfigEntry ("," entries+=ConfigEntry)*)? + // '}'; + @Override public ParserRule getRule() { return rule; } + + //{ConfigSpecification} '{' (entries+=ConfigEntry ("," entries+=ConfigEntry)*)? '}' + public Group getGroup() { return cGroup; } + + //{ConfigSpecification} + public Action getConfigSpecificationAction_0() { return cConfigSpecificationAction_0; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } + + //(entries+=ConfigEntry ("," entries+=ConfigEntry)*)? + public Group getGroup_2() { return cGroup_2; } + + //entries+=ConfigEntry + public Assignment getEntriesAssignment_2_0() { return cEntriesAssignment_2_0; } + + //ConfigEntry + public RuleCall getEntriesConfigEntryParserRuleCall_2_0_0() { return cEntriesConfigEntryParserRuleCall_2_0_0; } + + //("," entries+=ConfigEntry)* + public Group getGroup_2_1() { return cGroup_2_1; } + + //"," + public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } + + //entries+=ConfigEntry + public Assignment getEntriesAssignment_2_1_1() { return cEntriesAssignment_2_1_1; } + + //ConfigEntry + public RuleCall getEntriesConfigEntryParserRuleCall_2_1_1_0() { return cEntriesConfigEntryParserRuleCall_2_1_1_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } + } + public class ConfigDeclarationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigDeclaration"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cConfigKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); + private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cSpecificationConfigSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0); + + //ConfigDeclaration: + // 'config' name=ID specification=ConfigSpecification; + @Override public ParserRule getRule() { return rule; } + + //'config' name=ID specification=ConfigSpecification + public Group getGroup() { return cGroup; } + + //'config' + public Keyword getConfigKeyword_0() { return cConfigKeyword_0; } + + //name=ID + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //ID + public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } + + //specification=ConfigSpecification + public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } + + //ConfigSpecification + public RuleCall getSpecificationConfigSpecificationParserRuleCall_2_0() { return cSpecificationConfigSpecificationParserRuleCall_2_0; } + } + public class ConfigEntryElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigEntry"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Assignment cKeyAssignment_0 = (Assignment)cGroup.eContents().get(0); + private final RuleCall cKeySTRINGTerminalRuleCall_0_0 = (RuleCall)cKeyAssignment_0.eContents().get(0); + private final Keyword cEqualsSignKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cValueAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cValueSTRINGTerminalRuleCall_2_0 = (RuleCall)cValueAssignment_2.eContents().get(0); + + //ConfigEntry: + // key=STRING "=" value=STRING; + @Override public ParserRule getRule() { return rule; } + + //key=STRING "=" value=STRING + public Group getGroup() { return cGroup; } + + //key=STRING + public Assignment getKeyAssignment_0() { return cKeyAssignment_0; } + + //STRING + public RuleCall getKeySTRINGTerminalRuleCall_0_0() { return cKeySTRINGTerminalRuleCall_0_0; } + + //"=" + public Keyword getEqualsSignKeyword_1() { return cEqualsSignKeyword_1; } + + //value=STRING + public Assignment getValueAssignment_2() { return cValueAssignment_2; } + + //STRING + public RuleCall getValueSTRINGTerminalRuleCall_2_0() { return cValueSTRINGTerminalRuleCall_2_0; } + } + public class ConfigReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ConfigReference"); + private final Assignment cConfigAssignment = (Assignment)rule.eContents().get(1); + private final CrossReference cConfigConfigDeclarationCrossReference_0 = (CrossReference)cConfigAssignment.eContents().get(0); + private final RuleCall cConfigConfigDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cConfigConfigDeclarationCrossReference_0.eContents().get(1); + + //ConfigReference: + // config=[ConfigDeclaration]; + @Override public ParserRule getRule() { return rule; } + + //config=[ConfigDeclaration] + public Assignment getConfigAssignment() { return cConfigAssignment; } + + //[ConfigDeclaration] + public CrossReference getConfigConfigDeclarationCrossReference_0() { return cConfigConfigDeclarationCrossReference_0; } + + //ID + public RuleCall getConfigConfigDeclarationIDTerminalRuleCall_0_1() { return cConfigConfigDeclarationIDTerminalRuleCall_0_1; } + } + public class ConfigElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Config"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cConfigSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cConfigReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //Config: + // ConfigSpecification | ConfigReference; + @Override public ParserRule getRule() { return rule; } + + //ConfigSpecification | ConfigReference + public Alternatives getAlternatives() { return cAlternatives; } + + //ConfigSpecification + public RuleCall getConfigSpecificationParserRuleCall_0() { return cConfigSpecificationParserRuleCall_0; } + + //ConfigReference + public RuleCall getConfigReferenceParserRuleCall_1() { return cConfigReferenceParserRuleCall_1; } + } + public class ScopeSpecificationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeSpecification"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Action cScopeSpecificationAction_0 = (Action)cGroup.eContents().get(0); + private final Keyword cLeftCurlyBracketKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Group cGroup_2 = (Group)cGroup.eContents().get(2); + private final Assignment cScopesAssignment_2_0 = (Assignment)cGroup_2.eContents().get(0); + private final RuleCall cScopesTypeScopeParserRuleCall_2_0_0 = (RuleCall)cScopesAssignment_2_0.eContents().get(0); + private final Group cGroup_2_1 = (Group)cGroup_2.eContents().get(1); + private final Keyword cCommaKeyword_2_1_0 = (Keyword)cGroup_2_1.eContents().get(0); + private final Assignment cScopesAssignment_2_1_1 = (Assignment)cGroup_2_1.eContents().get(1); + private final RuleCall cScopesTypeScopeParserRuleCall_2_1_1_0 = (RuleCall)cScopesAssignment_2_1_1.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_3 = (Keyword)cGroup.eContents().get(3); + + //ScopeSpecification: + // {ScopeSpecification} '{' (scopes+=TypeScope (',' scopes+=TypeScope)*)? + // '}'; + @Override public ParserRule getRule() { return rule; } + + //{ScopeSpecification} '{' (scopes+=TypeScope (',' scopes+=TypeScope)*)? '}' + public Group getGroup() { return cGroup; } + + //{ScopeSpecification} + public Action getScopeSpecificationAction_0() { return cScopeSpecificationAction_0; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_1() { return cLeftCurlyBracketKeyword_1; } + + //(scopes+=TypeScope (',' scopes+=TypeScope)*)? + public Group getGroup_2() { return cGroup_2; } + + //scopes+=TypeScope + public Assignment getScopesAssignment_2_0() { return cScopesAssignment_2_0; } + + //TypeScope + public RuleCall getScopesTypeScopeParserRuleCall_2_0_0() { return cScopesTypeScopeParserRuleCall_2_0_0; } + + //(',' scopes+=TypeScope)* + public Group getGroup_2_1() { return cGroup_2_1; } + + //',' + public Keyword getCommaKeyword_2_1_0() { return cCommaKeyword_2_1_0; } + + //scopes+=TypeScope + public Assignment getScopesAssignment_2_1_1() { return cScopesAssignment_2_1_1; } + + //TypeScope + public RuleCall getScopesTypeScopeParserRuleCall_2_1_1_0() { return cScopesTypeScopeParserRuleCall_2_1_1_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_3() { return cRightCurlyBracketKeyword_3; } + } + public class TypeScopeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeScope"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Group cGroup_0 = (Group)cGroup.eContents().get(0); + private final Assignment cMinAssignment_0_0 = (Assignment)cGroup_0.eContents().get(0); + private final RuleCall cMinINTTerminalRuleCall_0_0_0 = (RuleCall)cMinAssignment_0_0.eContents().get(0); + private final Alternatives cAlternatives_0_1 = (Alternatives)cGroup_0.eContents().get(1); + private final Assignment cGreatherAssignment_0_1_0 = (Assignment)cAlternatives_0_1.eContents().get(0); + private final Keyword cGreatherLessThanSignKeyword_0_1_0_0 = (Keyword)cGreatherAssignment_0_1_0.eContents().get(0); + private final Assignment cGreaterOrEqualAssignment_0_1_1 = (Assignment)cAlternatives_0_1.eContents().get(1); + private final Keyword cGreaterOrEqualLessThanSignEqualsSignKeyword_0_1_1_0 = (Keyword)cGreaterOrEqualAssignment_0_1_1.eContents().get(0); + private final Keyword cNumberSignKeyword_1 = (Keyword)cGroup.eContents().get(1); + private final Assignment cTypeAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cTypeTypeReferenceParserRuleCall_2_0 = (RuleCall)cTypeAssignment_2.eContents().get(0); + private final Group cGroup_3 = (Group)cGroup.eContents().get(3); + private final Alternatives cAlternatives_3_0 = (Alternatives)cGroup_3.eContents().get(0); + private final Assignment cLessAssignment_3_0_0 = (Assignment)cAlternatives_3_0.eContents().get(0); + private final Keyword cLessLessThanSignKeyword_3_0_0_0 = (Keyword)cLessAssignment_3_0_0.eContents().get(0); + private final Assignment cLessOrEqualAssignment_3_0_1 = (Assignment)cAlternatives_3_0.eContents().get(1); + private final Keyword cLessOrEqualLessThanSignEqualsSignKeyword_3_0_1_0 = (Keyword)cLessOrEqualAssignment_3_0_1.eContents().get(0); + private final Assignment cMaxAssignment_3_1 = (Assignment)cGroup_3.eContents().get(1); + private final RuleCall cMaxINTTerminalRuleCall_3_1_0 = (RuleCall)cMaxAssignment_3_1.eContents().get(0); + + //TypeScope: + // (min=INT (greather?='<' | greaterOrEqual?='<='))? '#' type=TypeReference ((less?='<' | lessOrEqual?='<=') max=INT)?; + @Override public ParserRule getRule() { return rule; } + + //(min=INT (greather?='<' | greaterOrEqual?='<='))? '#' type=TypeReference ((less?='<' | lessOrEqual?='<=') max=INT)? + public Group getGroup() { return cGroup; } + + //(min=INT (greather?='<' | greaterOrEqual?='<='))? + public Group getGroup_0() { return cGroup_0; } + + //min=INT + public Assignment getMinAssignment_0_0() { return cMinAssignment_0_0; } + + //INT + public RuleCall getMinINTTerminalRuleCall_0_0_0() { return cMinINTTerminalRuleCall_0_0_0; } + + //(greather?='<' | greaterOrEqual?='<=') + public Alternatives getAlternatives_0_1() { return cAlternatives_0_1; } + + //greather?='<' + public Assignment getGreatherAssignment_0_1_0() { return cGreatherAssignment_0_1_0; } + + //'<' + public Keyword getGreatherLessThanSignKeyword_0_1_0_0() { return cGreatherLessThanSignKeyword_0_1_0_0; } + + //greaterOrEqual?='<=' + public Assignment getGreaterOrEqualAssignment_0_1_1() { return cGreaterOrEqualAssignment_0_1_1; } + + //'<=' + public Keyword getGreaterOrEqualLessThanSignEqualsSignKeyword_0_1_1_0() { return cGreaterOrEqualLessThanSignEqualsSignKeyword_0_1_1_0; } + + //'#' + public Keyword getNumberSignKeyword_1() { return cNumberSignKeyword_1; } + + //type=TypeReference + public Assignment getTypeAssignment_2() { return cTypeAssignment_2; } + + //TypeReference + public RuleCall getTypeTypeReferenceParserRuleCall_2_0() { return cTypeTypeReferenceParserRuleCall_2_0; } + + //((less?='<' | lessOrEqual?='<=') max=INT)? + public Group getGroup_3() { return cGroup_3; } + + //(less?='<' | lessOrEqual?='<=') + public Alternatives getAlternatives_3_0() { return cAlternatives_3_0; } + + //less?='<' + public Assignment getLessAssignment_3_0_0() { return cLessAssignment_3_0_0; } + + //'<' + public Keyword getLessLessThanSignKeyword_3_0_0_0() { return cLessLessThanSignKeyword_3_0_0_0; } + + //lessOrEqual?='<=' + public Assignment getLessOrEqualAssignment_3_0_1() { return cLessOrEqualAssignment_3_0_1; } + + //'<=' + public Keyword getLessOrEqualLessThanSignEqualsSignKeyword_3_0_1_0() { return cLessOrEqualLessThanSignEqualsSignKeyword_3_0_1_0; } + + //max=INT + public Assignment getMaxAssignment_3_1() { return cMaxAssignment_3_1; } + + //INT + public RuleCall getMaxINTTerminalRuleCall_3_1_0() { return cMaxINTTerminalRuleCall_3_1_0; } + } + public class TypeReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeReference"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cClassReferenceParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cObjectReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + private final RuleCall cIntegerReferenceParserRuleCall_2 = (RuleCall)cAlternatives.eContents().get(2); + private final RuleCall cRealReferenceParserRuleCall_3 = (RuleCall)cAlternatives.eContents().get(3); + private final RuleCall cStringReferenceParserRuleCall_4 = (RuleCall)cAlternatives.eContents().get(4); + + //TypeReference: + // ClassReference | ObjectReference | IntegerReference | RealReference | StringReference; + @Override public ParserRule getRule() { return rule; } + + //ClassReference | ObjectReference | IntegerReference | RealReference | StringReference + public Alternatives getAlternatives() { return cAlternatives; } + + //ClassReference + public RuleCall getClassReferenceParserRuleCall_0() { return cClassReferenceParserRuleCall_0; } + + //ObjectReference + public RuleCall getObjectReferenceParserRuleCall_1() { return cObjectReferenceParserRuleCall_1; } + + //IntegerReference + public RuleCall getIntegerReferenceParserRuleCall_2() { return cIntegerReferenceParserRuleCall_2; } + + //RealReference + public RuleCall getRealReferenceParserRuleCall_3() { return cRealReferenceParserRuleCall_3; } + + //StringReference + public RuleCall getStringReferenceParserRuleCall_4() { return cStringReferenceParserRuleCall_4; } + } + public class ClassReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ClassReference"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cLeftSquareBracketKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cElementAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cElementMetamodelElementParserRuleCall_1_0 = (RuleCall)cElementAssignment_1.eContents().get(0); + private final Keyword cRightSquareBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + + //ClassReference: + // '[' element=MetamodelElement ']'; + @Override public ParserRule getRule() { return rule; } + + //'[' element=MetamodelElement ']' + public Group getGroup() { return cGroup; } + + //'[' + public Keyword getLeftSquareBracketKeyword_0() { return cLeftSquareBracketKeyword_0; } + + //element=MetamodelElement + public Assignment getElementAssignment_1() { return cElementAssignment_1; } + + //MetamodelElement + public RuleCall getElementMetamodelElementParserRuleCall_1_0() { return cElementMetamodelElementParserRuleCall_1_0; } + + //']' + public Keyword getRightSquareBracketKeyword_2() { return cRightSquareBracketKeyword_2; } + } + public class ObjectReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ObjectReference"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Action cObjectReferenceAction_0 = (Action)cGroup.eContents().get(0); + private final Keyword cObjectKeyword_1 = (Keyword)cGroup.eContents().get(1); + + //ObjectReference: + // {ObjectReference} 'Object'; + @Override public ParserRule getRule() { return rule; } + + //{ObjectReference} 'Object' + public Group getGroup() { return cGroup; } + + //{ObjectReference} + public Action getObjectReferenceAction_0() { return cObjectReferenceAction_0; } + + //'Object' + public Keyword getObjectKeyword_1() { return cObjectKeyword_1; } + } + public class IntegerReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.IntegerReference"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Action cIntegerScopeAction_0 = (Action)cGroup.eContents().get(0); + private final Keyword cIntKeyword_1 = (Keyword)cGroup.eContents().get(1); + + //IntegerReference: + // {IntegerScope} 'int'; + @Override public ParserRule getRule() { return rule; } + + //{IntegerScope} 'int' + public Group getGroup() { return cGroup; } + + //{IntegerScope} + public Action getIntegerScopeAction_0() { return cIntegerScopeAction_0; } + + //'int' + public Keyword getIntKeyword_1() { return cIntKeyword_1; } + } + public class RealReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.RealReference"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Action cRealScopeAction_0 = (Action)cGroup.eContents().get(0); + private final Keyword cRealKeyword_1 = (Keyword)cGroup.eContents().get(1); + + //RealReference: + // {RealScope} 'real'; + @Override public ParserRule getRule() { return rule; } + + //{RealScope} 'real' + public Group getGroup() { return cGroup; } + + //{RealScope} + public Action getRealScopeAction_0() { return cRealScopeAction_0; } + + //'real' + public Keyword getRealKeyword_1() { return cRealKeyword_1; } + } + public class StringReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.StringReference"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Action cStringScopeAction_0 = (Action)cGroup.eContents().get(0); + private final Keyword cStringKeyword_1 = (Keyword)cGroup.eContents().get(1); + + //StringReference: + // {StringScope} 'string'; + @Override public ParserRule getRule() { return rule; } + + //{StringScope} 'string' + public Group getGroup() { return cGroup; } + + //{StringScope} + public Action getStringScopeAction_0() { return cStringScopeAction_0; } + + //'string' + public Keyword getStringKeyword_1() { return cStringKeyword_1; } + } + public class ScopeDeclarationElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeDeclaration"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cScopeKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cNameAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cNameIDTerminalRuleCall_1_0 = (RuleCall)cNameAssignment_1.eContents().get(0); + private final Assignment cSpecificationAssignment_2 = (Assignment)cGroup.eContents().get(2); + private final RuleCall cSpecificationScopeSpecificationParserRuleCall_2_0 = (RuleCall)cSpecificationAssignment_2.eContents().get(0); + + //ScopeDeclaration: + // 'scope' name=ID specification=ScopeSpecification; + @Override public ParserRule getRule() { return rule; } + + //'scope' name=ID specification=ScopeSpecification + public Group getGroup() { return cGroup; } + + //'scope' + public Keyword getScopeKeyword_0() { return cScopeKeyword_0; } + + //name=ID + public Assignment getNameAssignment_1() { return cNameAssignment_1; } + + //ID + public RuleCall getNameIDTerminalRuleCall_1_0() { return cNameIDTerminalRuleCall_1_0; } + + //specification=ScopeSpecification + public Assignment getSpecificationAssignment_2() { return cSpecificationAssignment_2; } + + //ScopeSpecification + public RuleCall getSpecificationScopeSpecificationParserRuleCall_2_0() { return cSpecificationScopeSpecificationParserRuleCall_2_0; } + } + public class ScopeReferenceElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.ScopeReference"); + private final Assignment cReferredAssignment = (Assignment)rule.eContents().get(1); + private final CrossReference cReferredScopeDeclarationCrossReference_0 = (CrossReference)cReferredAssignment.eContents().get(0); + private final RuleCall cReferredScopeDeclarationIDTerminalRuleCall_0_1 = (RuleCall)cReferredScopeDeclarationCrossReference_0.eContents().get(1); + + //ScopeReference: + // referred=[ScopeDeclaration]; + @Override public ParserRule getRule() { return rule; } + + //referred=[ScopeDeclaration] + public Assignment getReferredAssignment() { return cReferredAssignment; } + + //[ScopeDeclaration] + public CrossReference getReferredScopeDeclarationCrossReference_0() { return cReferredScopeDeclarationCrossReference_0; } + + //ID + public RuleCall getReferredScopeDeclarationIDTerminalRuleCall_0_1() { return cReferredScopeDeclarationIDTerminalRuleCall_0_1; } + } + public class ScopeElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Scope"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final RuleCall cScopeSpecificationParserRuleCall_0 = (RuleCall)cAlternatives.eContents().get(0); + private final RuleCall cScopeReferenceParserRuleCall_1 = (RuleCall)cAlternatives.eContents().get(1); + + //Scope: + // ScopeSpecification | ScopeReference; + @Override public ParserRule getRule() { return rule; } + + //ScopeSpecification | ScopeReference + public Alternatives getAlternatives() { return cAlternatives; } + + //ScopeSpecification + public RuleCall getScopeSpecificationParserRuleCall_0() { return cScopeSpecificationParserRuleCall_0; } + + //ScopeReference + public RuleCall getScopeReferenceParserRuleCall_1() { return cScopeReferenceParserRuleCall_1; } + } + public class TaskElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Task"); + private final RuleCall cGenerationTaskParserRuleCall = (RuleCall)rule.eContents().get(1); + + //Task: + // GenerationTask / *| MeasurementTask | ValidationTask* /; + @Override public ParserRule getRule() { return rule; } + + //GenerationTask + public RuleCall getGenerationTaskParserRuleCall() { return cGenerationTaskParserRuleCall; } + } + public class GenerationTaskElements extends AbstractParserRuleElementFinder { + private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.GenerationTask"); + private final Group cGroup = (Group)rule.eContents().get(1); + private final Keyword cGenerateKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Action cGenerationTaskAction_1 = (Action)cGroup.eContents().get(1); + private final Keyword cLeftCurlyBracketKeyword_2 = (Keyword)cGroup.eContents().get(2); + private final UnorderedGroup cUnorderedGroup_3 = (UnorderedGroup)cGroup.eContents().get(3); + private final Group cGroup_3_0 = (Group)cUnorderedGroup_3.eContents().get(0); + private final Keyword cMetamodelKeyword_3_0_0 = (Keyword)cGroup_3_0.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_0_1 = (Keyword)cGroup_3_0.eContents().get(1); + private final Assignment cMetamodelAssignment_3_0_2 = (Assignment)cGroup_3_0.eContents().get(2); + private final RuleCall cMetamodelMetamodelParserRuleCall_3_0_2_0 = (RuleCall)cMetamodelAssignment_3_0_2.eContents().get(0); + private final Group cGroup_3_1 = (Group)cUnorderedGroup_3.eContents().get(1); + private final Keyword cPartialModelKeyword_3_1_0 = (Keyword)cGroup_3_1.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_1_1 = (Keyword)cGroup_3_1.eContents().get(1); + private final Assignment cPartialModelAssignment_3_1_2 = (Assignment)cGroup_3_1.eContents().get(2); + private final RuleCall cPartialModelPartialModelParserRuleCall_3_1_2_0 = (RuleCall)cPartialModelAssignment_3_1_2.eContents().get(0); + private final Group cGroup_3_2 = (Group)cUnorderedGroup_3.eContents().get(2); + private final Keyword cPatternsKeyword_3_2_0 = (Keyword)cGroup_3_2.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_2_1 = (Keyword)cGroup_3_2.eContents().get(1); + private final Assignment cPatternsAssignment_3_2_2 = (Assignment)cGroup_3_2.eContents().get(2); + private final RuleCall cPatternsGraphPatternParserRuleCall_3_2_2_0 = (RuleCall)cPatternsAssignment_3_2_2.eContents().get(0); + private final Group cGroup_3_3 = (Group)cUnorderedGroup_3.eContents().get(3); + private final Keyword cScopeKeyword_3_3_0 = (Keyword)cGroup_3_3.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_3_1 = (Keyword)cGroup_3_3.eContents().get(1); + private final Assignment cScopeAssignment_3_3_2 = (Assignment)cGroup_3_3.eContents().get(2); + private final RuleCall cScopeScopeParserRuleCall_3_3_2_0 = (RuleCall)cScopeAssignment_3_3_2.eContents().get(0); + private final Group cGroup_3_4 = (Group)cUnorderedGroup_3.eContents().get(4); + private final Keyword cNumberKeyword_3_4_0 = (Keyword)cGroup_3_4.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_4_1 = (Keyword)cGroup_3_4.eContents().get(1); + private final Assignment cNumberAssignment_3_4_2 = (Assignment)cGroup_3_4.eContents().get(2); + private final RuleCall cNumberINTTerminalRuleCall_3_4_2_0 = (RuleCall)cNumberAssignment_3_4_2.eContents().get(0); + private final Group cGroup_3_5 = (Group)cUnorderedGroup_3.eContents().get(5); + private final Keyword cRunsKeyword_3_5_0 = (Keyword)cGroup_3_5.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_5_1 = (Keyword)cGroup_3_5.eContents().get(1); + private final Assignment cRunsAssignment_3_5_2 = (Assignment)cGroup_3_5.eContents().get(2); + private final RuleCall cRunsINTTerminalRuleCall_3_5_2_0 = (RuleCall)cRunsAssignment_3_5_2.eContents().get(0); + private final Group cGroup_3_6 = (Group)cUnorderedGroup_3.eContents().get(6); + private final Keyword cSolverKeyword_3_6_0 = (Keyword)cGroup_3_6.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_6_1 = (Keyword)cGroup_3_6.eContents().get(1); + private final Assignment cSolverAssignment_3_6_2 = (Assignment)cGroup_3_6.eContents().get(2); + private final RuleCall cSolverSolverEnumRuleCall_3_6_2_0 = (RuleCall)cSolverAssignment_3_6_2.eContents().get(0); + private final Group cGroup_3_7 = (Group)cUnorderedGroup_3.eContents().get(7); + private final Keyword cConfigKeyword_3_7_0 = (Keyword)cGroup_3_7.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_7_1 = (Keyword)cGroup_3_7.eContents().get(1); + private final Assignment cConfigAssignment_3_7_2 = (Assignment)cGroup_3_7.eContents().get(2); + private final RuleCall cConfigConfigParserRuleCall_3_7_2_0 = (RuleCall)cConfigAssignment_3_7_2.eContents().get(0); + private final Group cGroup_3_8 = (Group)cUnorderedGroup_3.eContents().get(8); + private final Keyword cOutputKeyword_3_8_0 = (Keyword)cGroup_3_8.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_8_1 = (Keyword)cGroup_3_8.eContents().get(1); + private final Assignment cTagetFolderAssignment_3_8_2 = (Assignment)cGroup_3_8.eContents().get(2); + private final RuleCall cTagetFolderFileParserRuleCall_3_8_2_0 = (RuleCall)cTagetFolderAssignment_3_8_2.eContents().get(0); + private final Group cGroup_3_9 = (Group)cUnorderedGroup_3.eContents().get(9); + private final Keyword cDebugKeyword_3_9_0 = (Keyword)cGroup_3_9.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_9_1 = (Keyword)cGroup_3_9.eContents().get(1); + private final Assignment cDebugFolderAssignment_3_9_2 = (Assignment)cGroup_3_9.eContents().get(2); + private final RuleCall cDebugFolderFileParserRuleCall_3_9_2_0 = (RuleCall)cDebugFolderAssignment_3_9_2.eContents().get(0); + private final Group cGroup_3_10 = (Group)cUnorderedGroup_3.eContents().get(10); + private final Keyword cLogKeyword_3_10_0 = (Keyword)cGroup_3_10.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_10_1 = (Keyword)cGroup_3_10.eContents().get(1); + private final Assignment cTargetLogFileAssignment_3_10_2 = (Assignment)cGroup_3_10.eContents().get(2); + private final RuleCall cTargetLogFileFileParserRuleCall_3_10_2_0 = (RuleCall)cTargetLogFileAssignment_3_10_2.eContents().get(0); + private final Group cGroup_3_11 = (Group)cUnorderedGroup_3.eContents().get(11); + private final Keyword cStatisticsKeyword_3_11_0 = (Keyword)cGroup_3_11.eContents().get(0); + private final Keyword cEqualsSignKeyword_3_11_1 = (Keyword)cGroup_3_11.eContents().get(1); + private final Assignment cTargetStatisticsFileAssignment_3_11_2 = (Assignment)cGroup_3_11.eContents().get(2); + private final RuleCall cTargetStatisticsFileFileParserRuleCall_3_11_2_0 = (RuleCall)cTargetStatisticsFileAssignment_3_11_2.eContents().get(0); + private final Keyword cRightCurlyBracketKeyword_4 = (Keyword)cGroup.eContents().get(4); + + //GenerationTask: + // 'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' + // partialModel=PartialModel)? & ('patterns' '=' patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & ('number' '=' + // number=INT)? & ('runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? & ('config' '=' config=Config)? & ('output' '=' + // tagetFolder=File)? & ('debug' '=' debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' + // targetStatisticsFile=File)?) + // '}'; + @Override public ParserRule getRule() { return rule; } + + //'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' + //partialModel=PartialModel)? & ('patterns' '=' patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & ('number' '=' + //number=INT)? & ('runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? & ('config' '=' config=Config)? & ('output' '=' + //tagetFolder=File)? & ('debug' '=' debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' + //targetStatisticsFile=File)?) '}' + public Group getGroup() { return cGroup; } + + //'generate' + public Keyword getGenerateKeyword_0() { return cGenerateKeyword_0; } + + //{GenerationTask} + public Action getGenerationTaskAction_1() { return cGenerationTaskAction_1; } + + //'{' + public Keyword getLeftCurlyBracketKeyword_2() { return cLeftCurlyBracketKeyword_2; } + + //(('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' partialModel=PartialModel)? & ('patterns' '=' + //patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & ('number' '=' number=INT)? & ('runs' '=' runs=INT)? & ('solver' + //'=' solver=Solver)? & ('config' '=' config=Config)? & ('output' '=' tagetFolder=File)? & ('debug' '=' + //debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' targetStatisticsFile=File)?) + public UnorderedGroup getUnorderedGroup_3() { return cUnorderedGroup_3; } + + //('metamodel' '=' metamodel=Metamodel)? + public Group getGroup_3_0() { return cGroup_3_0; } + + //'metamodel' + public Keyword getMetamodelKeyword_3_0_0() { return cMetamodelKeyword_3_0_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_0_1() { return cEqualsSignKeyword_3_0_1; } + + //metamodel=Metamodel + public Assignment getMetamodelAssignment_3_0_2() { return cMetamodelAssignment_3_0_2; } + + //Metamodel + public RuleCall getMetamodelMetamodelParserRuleCall_3_0_2_0() { return cMetamodelMetamodelParserRuleCall_3_0_2_0; } + + //('partial-model' '=' partialModel=PartialModel)? + public Group getGroup_3_1() { return cGroup_3_1; } + + //'partial-model' + public Keyword getPartialModelKeyword_3_1_0() { return cPartialModelKeyword_3_1_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_1_1() { return cEqualsSignKeyword_3_1_1; } + + //partialModel=PartialModel + public Assignment getPartialModelAssignment_3_1_2() { return cPartialModelAssignment_3_1_2; } + + //PartialModel + public RuleCall getPartialModelPartialModelParserRuleCall_3_1_2_0() { return cPartialModelPartialModelParserRuleCall_3_1_2_0; } + + //('patterns' '=' patterns=GraphPattern)? + public Group getGroup_3_2() { return cGroup_3_2; } + + //'patterns' + public Keyword getPatternsKeyword_3_2_0() { return cPatternsKeyword_3_2_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_2_1() { return cEqualsSignKeyword_3_2_1; } + + //patterns=GraphPattern + public Assignment getPatternsAssignment_3_2_2() { return cPatternsAssignment_3_2_2; } + + //GraphPattern + public RuleCall getPatternsGraphPatternParserRuleCall_3_2_2_0() { return cPatternsGraphPatternParserRuleCall_3_2_2_0; } + + //('scope' '=' scope=Scope)? + public Group getGroup_3_3() { return cGroup_3_3; } + + //'scope' + public Keyword getScopeKeyword_3_3_0() { return cScopeKeyword_3_3_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_3_1() { return cEqualsSignKeyword_3_3_1; } + + //scope=Scope + public Assignment getScopeAssignment_3_3_2() { return cScopeAssignment_3_3_2; } + + //Scope + public RuleCall getScopeScopeParserRuleCall_3_3_2_0() { return cScopeScopeParserRuleCall_3_3_2_0; } + + //('number' '=' number=INT)? + public Group getGroup_3_4() { return cGroup_3_4; } + + //'number' + public Keyword getNumberKeyword_3_4_0() { return cNumberKeyword_3_4_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_4_1() { return cEqualsSignKeyword_3_4_1; } + + //number=INT + public Assignment getNumberAssignment_3_4_2() { return cNumberAssignment_3_4_2; } + + //INT + public RuleCall getNumberINTTerminalRuleCall_3_4_2_0() { return cNumberINTTerminalRuleCall_3_4_2_0; } + + //('runs' '=' runs=INT)? + public Group getGroup_3_5() { return cGroup_3_5; } + + //'runs' + public Keyword getRunsKeyword_3_5_0() { return cRunsKeyword_3_5_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_5_1() { return cEqualsSignKeyword_3_5_1; } + + //runs=INT + public Assignment getRunsAssignment_3_5_2() { return cRunsAssignment_3_5_2; } + + //INT + public RuleCall getRunsINTTerminalRuleCall_3_5_2_0() { return cRunsINTTerminalRuleCall_3_5_2_0; } + + //('solver' '=' solver=Solver)? + public Group getGroup_3_6() { return cGroup_3_6; } + + //'solver' + public Keyword getSolverKeyword_3_6_0() { return cSolverKeyword_3_6_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_6_1() { return cEqualsSignKeyword_3_6_1; } + + //solver=Solver + public Assignment getSolverAssignment_3_6_2() { return cSolverAssignment_3_6_2; } + + //Solver + public RuleCall getSolverSolverEnumRuleCall_3_6_2_0() { return cSolverSolverEnumRuleCall_3_6_2_0; } + + //('config' '=' config=Config)? + public Group getGroup_3_7() { return cGroup_3_7; } + + //'config' + public Keyword getConfigKeyword_3_7_0() { return cConfigKeyword_3_7_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_7_1() { return cEqualsSignKeyword_3_7_1; } + + //config=Config + public Assignment getConfigAssignment_3_7_2() { return cConfigAssignment_3_7_2; } + + //Config + public RuleCall getConfigConfigParserRuleCall_3_7_2_0() { return cConfigConfigParserRuleCall_3_7_2_0; } + + //('output' '=' tagetFolder=File)? + public Group getGroup_3_8() { return cGroup_3_8; } + + //'output' + public Keyword getOutputKeyword_3_8_0() { return cOutputKeyword_3_8_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_8_1() { return cEqualsSignKeyword_3_8_1; } + + //tagetFolder=File + public Assignment getTagetFolderAssignment_3_8_2() { return cTagetFolderAssignment_3_8_2; } + + //File + public RuleCall getTagetFolderFileParserRuleCall_3_8_2_0() { return cTagetFolderFileParserRuleCall_3_8_2_0; } + + //('debug' '=' debugFolder=File)? + public Group getGroup_3_9() { return cGroup_3_9; } + + //'debug' + public Keyword getDebugKeyword_3_9_0() { return cDebugKeyword_3_9_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_9_1() { return cEqualsSignKeyword_3_9_1; } + + //debugFolder=File + public Assignment getDebugFolderAssignment_3_9_2() { return cDebugFolderAssignment_3_9_2; } + + //File + public RuleCall getDebugFolderFileParserRuleCall_3_9_2_0() { return cDebugFolderFileParserRuleCall_3_9_2_0; } + + //('log' '=' targetLogFile=File)? + public Group getGroup_3_10() { return cGroup_3_10; } + + //'log' + public Keyword getLogKeyword_3_10_0() { return cLogKeyword_3_10_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_10_1() { return cEqualsSignKeyword_3_10_1; } + + //targetLogFile=File + public Assignment getTargetLogFileAssignment_3_10_2() { return cTargetLogFileAssignment_3_10_2; } + + //File + public RuleCall getTargetLogFileFileParserRuleCall_3_10_2_0() { return cTargetLogFileFileParserRuleCall_3_10_2_0; } + + //('statistics' '=' targetStatisticsFile=File)? + public Group getGroup_3_11() { return cGroup_3_11; } + + //'statistics' + public Keyword getStatisticsKeyword_3_11_0() { return cStatisticsKeyword_3_11_0; } + + //'=' + public Keyword getEqualsSignKeyword_3_11_1() { return cEqualsSignKeyword_3_11_1; } + + //targetStatisticsFile=File + public Assignment getTargetStatisticsFileAssignment_3_11_2() { return cTargetStatisticsFileAssignment_3_11_2; } + + //File + public RuleCall getTargetStatisticsFileFileParserRuleCall_3_11_2_0() { return cTargetStatisticsFileFileParserRuleCall_3_11_2_0; } + + //'}' + public Keyword getRightCurlyBracketKeyword_4() { return cRightCurlyBracketKeyword_4; } + } + + public class SolverElements extends AbstractEnumRuleElementFinder { + private final EnumRule rule = (EnumRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.Solver"); + private final Alternatives cAlternatives = (Alternatives)rule.eContents().get(1); + private final EnumLiteralDeclaration cSMTSolverEnumLiteralDeclaration_0 = (EnumLiteralDeclaration)cAlternatives.eContents().get(0); + private final Keyword cSMTSolverSMTSolverKeyword_0_0 = (Keyword)cSMTSolverEnumLiteralDeclaration_0.eContents().get(0); + private final EnumLiteralDeclaration cAlloySolverEnumLiteralDeclaration_1 = (EnumLiteralDeclaration)cAlternatives.eContents().get(1); + private final Keyword cAlloySolverAlloySolverKeyword_1_0 = (Keyword)cAlloySolverEnumLiteralDeclaration_1.eContents().get(0); + private final EnumLiteralDeclaration cViatraSolverEnumLiteralDeclaration_2 = (EnumLiteralDeclaration)cAlternatives.eContents().get(2); + private final Keyword cViatraSolverViatraSolverKeyword_2_0 = (Keyword)cViatraSolverEnumLiteralDeclaration_2.eContents().get(0); + + //enum Solver: + // SMTSolver | AlloySolver | ViatraSolver; + public EnumRule getRule() { return rule; } + + //SMTSolver | AlloySolver | ViatraSolver + public Alternatives getAlternatives() { return cAlternatives; } + + //SMTSolver + public EnumLiteralDeclaration getSMTSolverEnumLiteralDeclaration_0() { return cSMTSolverEnumLiteralDeclaration_0; } + + //"SMTSolver" + public Keyword getSMTSolverSMTSolverKeyword_0_0() { return cSMTSolverSMTSolverKeyword_0_0; } + + //AlloySolver + public EnumLiteralDeclaration getAlloySolverEnumLiteralDeclaration_1() { return cAlloySolverEnumLiteralDeclaration_1; } + + //"AlloySolver" + public Keyword getAlloySolverAlloySolverKeyword_1_0() { return cAlloySolverAlloySolverKeyword_1_0; } + + //ViatraSolver + public EnumLiteralDeclaration getViatraSolverEnumLiteralDeclaration_2() { return cViatraSolverEnumLiteralDeclaration_2; } + + //"ViatraSolver" + public Keyword getViatraSolverViatraSolverKeyword_2_0() { return cViatraSolverViatraSolverKeyword_2_0; } + } + + private final ConfigurationScriptElements pConfigurationScript; + private final CommandElements pCommand; + private final QualifiedNameElements pQualifiedName; + private final ImportElements pImport; + private final EPackageImportElements pEPackageImport; + private final ViatraImportElements pViatraImport; + private final DeclarationElements pDeclaration; + private final FileSpecificationElements pFileSpecification; + private final FileDeclarationElements pFileDeclaration; + private final FileReferenceElements pFileReference; + private final FileElements pFile; + private final MetamodelSpecificationElements pMetamodelSpecification; + private final MetamodelEntryElements pMetamodelEntry; + private final AllPackageEntryElements pAllPackageEntry; + private final MetamodelElementElements pMetamodelElement; + private final MetamodelDeclarationElements pMetamodelDeclaration; + private final MetamodelReferenceElements pMetamodelReference; + private final MetamodelElements pMetamodel; + private final PartialModelSpecificationElements pPartialModelSpecification; + private final PartialModelEntryElements pPartialModelEntry; + private final ModelEntryElements pModelEntry; + private final FolderEntryElements pFolderEntry; + private final PartialModelDeclarationElements pPartialModelDeclaration; + private final PartialModelReferenceElements pPartialModelReference; + private final PartialModelElements pPartialModel; + private final PatternSpecificationElements pPatternSpecification; + private final PatternEntryElements pPatternEntry; + private final AllPatternEntryElements pAllPatternEntry; + private final PatternElementElements pPatternElement; + private final GraphPatternDeclarationElements pGraphPatternDeclaration; + private final GraphPatternReferenceElements pGraphPatternReference; + private final GraphPatternElements pGraphPattern; + private final ConfigSpecificationElements pConfigSpecification; + private final ConfigDeclarationElements pConfigDeclaration; + private final ConfigEntryElements pConfigEntry; + private final ConfigReferenceElements pConfigReference; + private final ConfigElements pConfig; + private final SolverElements eSolver; + private final ScopeSpecificationElements pScopeSpecification; + private final TypeScopeElements pTypeScope; + private final TypeReferenceElements pTypeReference; + private final ClassReferenceElements pClassReference; + private final ObjectReferenceElements pObjectReference; + private final IntegerReferenceElements pIntegerReference; + private final RealReferenceElements pRealReference; + private final StringReferenceElements pStringReference; + private final ScopeDeclarationElements pScopeDeclaration; + private final ScopeReferenceElements pScopeReference; + private final ScopeElements pScope; + private final TaskElements pTask; + private final GenerationTaskElements pGenerationTask; + + private final Grammar grammar; + + private final TerminalsGrammarAccess gaTerminals; + + @Inject + public ApplicationConfigurationGrammarAccess(GrammarProvider grammarProvider, + TerminalsGrammarAccess gaTerminals) { + this.grammar = internalFindGrammar(grammarProvider); + this.gaTerminals = gaTerminals; + this.pConfigurationScript = new ConfigurationScriptElements(); + this.pCommand = new CommandElements(); + this.pQualifiedName = new QualifiedNameElements(); + this.pImport = new ImportElements(); + this.pEPackageImport = new EPackageImportElements(); + this.pViatraImport = new ViatraImportElements(); + this.pDeclaration = new DeclarationElements(); + this.pFileSpecification = new FileSpecificationElements(); + this.pFileDeclaration = new FileDeclarationElements(); + this.pFileReference = new FileReferenceElements(); + this.pFile = new FileElements(); + this.pMetamodelSpecification = new MetamodelSpecificationElements(); + this.pMetamodelEntry = new MetamodelEntryElements(); + this.pAllPackageEntry = new AllPackageEntryElements(); + this.pMetamodelElement = new MetamodelElementElements(); + this.pMetamodelDeclaration = new MetamodelDeclarationElements(); + this.pMetamodelReference = new MetamodelReferenceElements(); + this.pMetamodel = new MetamodelElements(); + this.pPartialModelSpecification = new PartialModelSpecificationElements(); + this.pPartialModelEntry = new PartialModelEntryElements(); + this.pModelEntry = new ModelEntryElements(); + this.pFolderEntry = new FolderEntryElements(); + this.pPartialModelDeclaration = new PartialModelDeclarationElements(); + this.pPartialModelReference = new PartialModelReferenceElements(); + this.pPartialModel = new PartialModelElements(); + this.pPatternSpecification = new PatternSpecificationElements(); + this.pPatternEntry = new PatternEntryElements(); + this.pAllPatternEntry = new AllPatternEntryElements(); + this.pPatternElement = new PatternElementElements(); + this.pGraphPatternDeclaration = new GraphPatternDeclarationElements(); + this.pGraphPatternReference = new GraphPatternReferenceElements(); + this.pGraphPattern = new GraphPatternElements(); + this.pConfigSpecification = new ConfigSpecificationElements(); + this.pConfigDeclaration = new ConfigDeclarationElements(); + this.pConfigEntry = new ConfigEntryElements(); + this.pConfigReference = new ConfigReferenceElements(); + this.pConfig = new ConfigElements(); + this.eSolver = new SolverElements(); + this.pScopeSpecification = new ScopeSpecificationElements(); + this.pTypeScope = new TypeScopeElements(); + this.pTypeReference = new TypeReferenceElements(); + this.pClassReference = new ClassReferenceElements(); + this.pObjectReference = new ObjectReferenceElements(); + this.pIntegerReference = new IntegerReferenceElements(); + this.pRealReference = new RealReferenceElements(); + this.pStringReference = new StringReferenceElements(); + this.pScopeDeclaration = new ScopeDeclarationElements(); + this.pScopeReference = new ScopeReferenceElements(); + this.pScope = new ScopeElements(); + this.pTask = new TaskElements(); + this.pGenerationTask = new GenerationTaskElements(); + } + + protected Grammar internalFindGrammar(GrammarProvider grammarProvider) { + Grammar grammar = grammarProvider.getGrammar(this); + while (grammar != null) { + if ("hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration".equals(grammar.getName())) { + return grammar; + } + List grammars = grammar.getUsedGrammars(); + if (!grammars.isEmpty()) { + grammar = grammars.iterator().next(); + } else { + return null; + } + } + return grammar; + } + + @Override + public Grammar getGrammar() { + return grammar; + } + + + public TerminalsGrammarAccess getTerminalsGrammarAccess() { + return gaTerminals; + } + + + //ConfigurationScript: + // imports+=Import* + // commands+=Command*; + public ConfigurationScriptElements getConfigurationScriptAccess() { + return pConfigurationScript; + } + + public ParserRule getConfigurationScriptRule() { + return getConfigurationScriptAccess().getRule(); + } + + //Command: + // Declaration | Task; + public CommandElements getCommandAccess() { + return pCommand; } public ParserRule getCommandRule() { return getCommandAccess().getRule(); } - //Declaration: - // MetamodelDeclaration - // // | PartialModelDeclaration - // // | GraphPatternDeclaration - // // | SolverConfig - //; - public DeclarationElements getDeclarationAccess() { - return pDeclaration; + //QualifiedName: + // ID (=> '.' ID)*; + public QualifiedNameElements getQualifiedNameAccess() { + return pQualifiedName; } - public ParserRule getDeclarationRule() { - return getDeclarationAccess().getRule(); + public ParserRule getQualifiedNameRule() { + return getQualifiedNameAccess().getRule(); } ///////////////////////////////////////////////////// @@ -576,16 +2079,68 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen return getViatraImportAccess().getRule(); } + ///////////////////////////////////////////////////// + //// Declaration + ///////////////////////////////////////////////////// + //Declaration: + // FileDeclaration + // | MetamodelDeclaration + // | PartialModelDeclaration + // | GraphPatternDeclaration + // | ConfigDeclaration + // | ScopeDeclaration; + public DeclarationElements getDeclarationAccess() { + return pDeclaration; + } + + public ParserRule getDeclarationRule() { + return getDeclarationAccess().getRule(); + } + ///////////////////////////////////////////////////// //// Files and Folders ///////////////////////////////////////////////////// - /// * - //FileSpecification: path = STRING; - //FileDeclaration: 'file' name = ID '=' specification = FileSpecification; - // - //FileReference: referred = [FileDeclaration]; - //File: FileSpecification | FileReference; - // * / /////////////////////////////////////////////////// + //FileSpecification: + // path=STRING; + public FileSpecificationElements getFileSpecificationAccess() { + return pFileSpecification; + } + + public ParserRule getFileSpecificationRule() { + return getFileSpecificationAccess().getRule(); + } + + //FileDeclaration: + // 'file' name=ID '=' specification=FileSpecification; + public FileDeclarationElements getFileDeclarationAccess() { + return pFileDeclaration; + } + + public ParserRule getFileDeclarationRule() { + return getFileDeclarationAccess().getRule(); + } + + //FileReference: + // referred=[FileDeclaration]; + public FileReferenceElements getFileReferenceAccess() { + return pFileReference; + } + + public ParserRule getFileReferenceRule() { + return getFileReferenceAccess().getRule(); + } + + //File: + // FileSpecification | FileReference; + public FileElements getFileAccess() { + return pFile; + } + + public ParserRule getFileRule() { + return getFileAccess().getRule(); + } + + ///////////////////////////////////////////////////// //// Metamodel ///////////////////////////////////////////////////// //MetamodelSpecification: @@ -609,8 +2164,8 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen } //AllPackageEntry: - // "package" package=[ecore::EPackage] ("excluding" '{' exclusion+=MetamodelElement (',' exclusion+=MetamodelElement)* - // '}')?; + // "package" package=[ecore::EPackage|QualifiedName] ("excluding" '{' exclusion+=MetamodelElement (',' + // exclusion+=MetamodelElement)* '}')?; public AllPackageEntryElements getAllPackageEntryAccess() { return pAllPackageEntry; } @@ -620,7 +2175,8 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen } //MetamodelElement: - // (package=[ecore::EPackage] '::')? classifier=[ecore::EClassifier] ('.' feature=[ecore::ENamedElement])?; + // (package=[ecore::EPackage|QualifiedName] '::')? classifier=[ecore::EClassifier] ('.' + // feature=[ecore::ENamedElement])?; public MetamodelElementElements getMetamodelElementAccess() { return pMetamodelElement; } @@ -659,6 +2215,353 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen return getMetamodelAccess().getRule(); } + ///////////////////////////////////////////////////// + //// Partial Model + ///////////////////////////////////////////////////// + //PartialModelSpecification: + // '{' entry+=PartialModelEntry (',' entry+=PartialModelEntry)? '}'; + public PartialModelSpecificationElements getPartialModelSpecificationAccess() { + return pPartialModelSpecification; + } + + public ParserRule getPartialModelSpecificationRule() { + return getPartialModelSpecificationAccess().getRule(); + } + + //PartialModelEntry: + // ModelEntry | FolderEntry; + public PartialModelEntryElements getPartialModelEntryAccess() { + return pPartialModelEntry; + } + + public ParserRule getPartialModelEntryRule() { + return getPartialModelEntryAccess().getRule(); + } + + //ModelEntry: + // path=File; + public ModelEntryElements getModelEntryAccess() { + return pModelEntry; + } + + public ParserRule getModelEntryRule() { + return getModelEntryAccess().getRule(); + } + + //FolderEntry: + // "folder" path=File ("excluding" "{" exclusion+=ModelEntry ("," exclusion+=ModelEntry)* "}")?; + public FolderEntryElements getFolderEntryAccess() { + return pFolderEntry; + } + + public ParserRule getFolderEntryRule() { + return getFolderEntryAccess().getRule(); + } + + //PartialModelDeclaration: + // 'partial-model' name=ID specification=PartialModelSpecification; + public PartialModelDeclarationElements getPartialModelDeclarationAccess() { + return pPartialModelDeclaration; + } + + public ParserRule getPartialModelDeclarationRule() { + return getPartialModelDeclarationAccess().getRule(); + } + + //PartialModelReference: + // referred=[PartialModelDeclaration]; + public PartialModelReferenceElements getPartialModelReferenceAccess() { + return pPartialModelReference; + } + + public ParserRule getPartialModelReferenceRule() { + return getPartialModelReferenceAccess().getRule(); + } + + //PartialModel: + // PartialModelSpecification | PartialModelReference; + public PartialModelElements getPartialModelAccess() { + return pPartialModel; + } + + public ParserRule getPartialModelRule() { + return getPartialModelAccess().getRule(); + } + + ///////////////////////////////////////////////////// + //// Patterns + ///////////////////////////////////////////////////// + //PatternSpecification: + // '{' entries+=PatternEntry (',' entries+=PatternEntry)* '}'; + public PatternSpecificationElements getPatternSpecificationAccess() { + return pPatternSpecification; + } + + public ParserRule getPatternSpecificationRule() { + return getPatternSpecificationAccess().getRule(); + } + + //PatternEntry: + // PatternElement | AllPatternEntry; + public PatternEntryElements getPatternEntryAccess() { + return pPatternEntry; + } + + public ParserRule getPatternEntryRule() { + return getPatternEntryAccess().getRule(); + } + + //AllPatternEntry: + // 'package' package=[viatra::PatternModel|QualifiedName] ('excluding' '{' exclusuion+=PatternElement (',' + // exclusuion+=PatternElement)* '}')?; + public AllPatternEntryElements getAllPatternEntryAccess() { + return pAllPatternEntry; + } + + public ParserRule getAllPatternEntryRule() { + return getAllPatternEntryAccess().getRule(); + } + + //PatternElement: + // (package=[viatra::PatternModel|QualifiedName] '::')? pattern=[viatra::Pattern]; + public PatternElementElements getPatternElementAccess() { + return pPatternElement; + } + + public ParserRule getPatternElementRule() { + return getPatternElementAccess().getRule(); + } + + //GraphPatternDeclaration: + // 'patterns' name=ID specification=PatternSpecification; + public GraphPatternDeclarationElements getGraphPatternDeclarationAccess() { + return pGraphPatternDeclaration; + } + + public ParserRule getGraphPatternDeclarationRule() { + return getGraphPatternDeclarationAccess().getRule(); + } + + //GraphPatternReference: + // referred=[GraphPatternDeclaration]; + public GraphPatternReferenceElements getGraphPatternReferenceAccess() { + return pGraphPatternReference; + } + + public ParserRule getGraphPatternReferenceRule() { + return getGraphPatternReferenceAccess().getRule(); + } + + //GraphPattern: + // GraphPatternReference | PatternSpecification; + public GraphPatternElements getGraphPatternAccess() { + return pGraphPattern; + } + + public ParserRule getGraphPatternRule() { + return getGraphPatternAccess().getRule(); + } + + ///////////////////////////////////////////////////// + //// SolverConfig + ///////////////////////////////////////////////////// + //ConfigSpecification: + // {ConfigSpecification} '{' (entries+=ConfigEntry ("," entries+=ConfigEntry)*)? + // '}'; + public ConfigSpecificationElements getConfigSpecificationAccess() { + return pConfigSpecification; + } + + public ParserRule getConfigSpecificationRule() { + return getConfigSpecificationAccess().getRule(); + } + + //ConfigDeclaration: + // 'config' name=ID specification=ConfigSpecification; + public ConfigDeclarationElements getConfigDeclarationAccess() { + return pConfigDeclaration; + } + + public ParserRule getConfigDeclarationRule() { + return getConfigDeclarationAccess().getRule(); + } + + //ConfigEntry: + // key=STRING "=" value=STRING; + public ConfigEntryElements getConfigEntryAccess() { + return pConfigEntry; + } + + public ParserRule getConfigEntryRule() { + return getConfigEntryAccess().getRule(); + } + + //ConfigReference: + // config=[ConfigDeclaration]; + public ConfigReferenceElements getConfigReferenceAccess() { + return pConfigReference; + } + + public ParserRule getConfigReferenceRule() { + return getConfigReferenceAccess().getRule(); + } + + //Config: + // ConfigSpecification | ConfigReference; + public ConfigElements getConfigAccess() { + return pConfig; + } + + public ParserRule getConfigRule() { + return getConfigAccess().getRule(); + } + + //enum Solver: + // SMTSolver | AlloySolver | ViatraSolver; + public SolverElements getSolverAccess() { + return eSolver; + } + + public EnumRule getSolverRule() { + return getSolverAccess().getRule(); + } + + //ScopeSpecification: + // {ScopeSpecification} '{' (scopes+=TypeScope (',' scopes+=TypeScope)*)? + // '}'; + public ScopeSpecificationElements getScopeSpecificationAccess() { + return pScopeSpecification; + } + + public ParserRule getScopeSpecificationRule() { + return getScopeSpecificationAccess().getRule(); + } + + //TypeScope: + // (min=INT (greather?='<' | greaterOrEqual?='<='))? '#' type=TypeReference ((less?='<' | lessOrEqual?='<=') max=INT)?; + public TypeScopeElements getTypeScopeAccess() { + return pTypeScope; + } + + public ParserRule getTypeScopeRule() { + return getTypeScopeAccess().getRule(); + } + + //TypeReference: + // ClassReference | ObjectReference | IntegerReference | RealReference | StringReference; + public TypeReferenceElements getTypeReferenceAccess() { + return pTypeReference; + } + + public ParserRule getTypeReferenceRule() { + return getTypeReferenceAccess().getRule(); + } + + //ClassReference: + // '[' element=MetamodelElement ']'; + public ClassReferenceElements getClassReferenceAccess() { + return pClassReference; + } + + public ParserRule getClassReferenceRule() { + return getClassReferenceAccess().getRule(); + } + + //ObjectReference: + // {ObjectReference} 'Object'; + public ObjectReferenceElements getObjectReferenceAccess() { + return pObjectReference; + } + + public ParserRule getObjectReferenceRule() { + return getObjectReferenceAccess().getRule(); + } + + //IntegerReference: + // {IntegerScope} 'int'; + public IntegerReferenceElements getIntegerReferenceAccess() { + return pIntegerReference; + } + + public ParserRule getIntegerReferenceRule() { + return getIntegerReferenceAccess().getRule(); + } + + //RealReference: + // {RealScope} 'real'; + public RealReferenceElements getRealReferenceAccess() { + return pRealReference; + } + + public ParserRule getRealReferenceRule() { + return getRealReferenceAccess().getRule(); + } + + //StringReference: + // {StringScope} 'string'; + public StringReferenceElements getStringReferenceAccess() { + return pStringReference; + } + + public ParserRule getStringReferenceRule() { + return getStringReferenceAccess().getRule(); + } + + //ScopeDeclaration: + // 'scope' name=ID specification=ScopeSpecification; + public ScopeDeclarationElements getScopeDeclarationAccess() { + return pScopeDeclaration; + } + + public ParserRule getScopeDeclarationRule() { + return getScopeDeclarationAccess().getRule(); + } + + //ScopeReference: + // referred=[ScopeDeclaration]; + public ScopeReferenceElements getScopeReferenceAccess() { + return pScopeReference; + } + + public ParserRule getScopeReferenceRule() { + return getScopeReferenceAccess().getRule(); + } + + //Scope: + // ScopeSpecification | ScopeReference; + public ScopeElements getScopeAccess() { + return pScope; + } + + public ParserRule getScopeRule() { + return getScopeAccess().getRule(); + } + + //Task: + // GenerationTask / *| MeasurementTask | ValidationTask* /; + public TaskElements getTaskAccess() { + return pTask; + } + + public ParserRule getTaskRule() { + return getTaskAccess().getRule(); + } + + //GenerationTask: + // 'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' + // partialModel=PartialModel)? & ('patterns' '=' patterns=GraphPattern)? & ('scope' '=' scope=Scope)? & ('number' '=' + // number=INT)? & ('runs' '=' runs=INT)? & ('solver' '=' solver=Solver)? & ('config' '=' config=Config)? & ('output' '=' + // tagetFolder=File)? & ('debug' '=' debugFolder=File)? & ('log' '=' targetLogFile=File)? & ('statistics' '=' + // targetStatisticsFile=File)?) + // '}'; + public GenerationTaskElements getGenerationTaskAccess() { + return pGenerationTask; + } + + public ParserRule getGenerationTaskRule() { + return getGenerationTaskAccess().getRule(); + } + //terminal ID: // '^'? ('a'..'z' | 'A'..'Z' | '_') ('a'..'z' | 'A'..'Z' | '_' | '0'..'9')*; public TerminalRule getIDRule() { diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.xtext b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.xtext index ed83419f..1e8fd485 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.xtext +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/ApplicationConfiguration.xtext @@ -4,23 +4,19 @@ import "http://www.eclipse.org/emf/2002/Ecore" as ecore import "http://www.eclipse.org/viatra/query/patternlanguage/PatternLanguage" as viatra generate applicationConfiguration "http://www.bme.hu/mit/inf/dslreasoner/application/ApplicationConfiguration" + ConfigurationScript: (imports += Import)* (commands += Command)* -; +; Command : - Declaration - //| Task -; -Declaration : -// FileDeclaration | - MetamodelDeclaration -// | PartialModelDeclaration -// | GraphPatternDeclaration -// | SolverConfig + Declaration | Task ; +QualifiedName returns ecore::EString: + ID (=>'.' ID)*; + /////////////////////////////////////////////////// // Imports /////////////////////////////////////////////////// @@ -29,25 +25,37 @@ Import: EPackageImport | ViatraImport; EPackageImport: "import" "epackage" importedPackage=[ecore::EPackage|STRING]; ViatraImport: "import" "viatra" importedViatra=[viatra::PatternModel|STRING]; + +/////////////////////////////////////////////////// +// Declaration +/////////////////////////////////////////////////// + +Declaration : + FileDeclaration + | MetamodelDeclaration + | PartialModelDeclaration + | GraphPatternDeclaration + | ConfigDeclaration + | ScopeDeclaration +; /////////////////////////////////////////////////// // Files and Folders /////////////////////////////////////////////////// -/* + FileSpecification: path = STRING; FileDeclaration: 'file' name = ID '=' specification = FileSpecification; - FileReference: referred = [FileDeclaration]; File: FileSpecification | FileReference; -*/ + /////////////////////////////////////////////////// // Metamodel /////////////////////////////////////////////////// MetamodelSpecification: '{' (entries += MetamodelEntry) (',' entries += MetamodelEntry)* '}'; MetamodelEntry: MetamodelElement | AllPackageEntry; -AllPackageEntry: "package" package=[ecore::EPackage] ("excluding" '{'exclusion +=MetamodelElement (',' exclusion +=MetamodelElement)*'}')?; -MetamodelElement: (package=[ecore::EPackage] '::')? classifier = [ecore::EClassifier] ('.' feature= [ecore::ENamedElement])?; +AllPackageEntry: "package" package=[ecore::EPackage|QualifiedName] ("excluding" '{'exclusion +=MetamodelElement (',' exclusion +=MetamodelElement)*'}')?; +MetamodelElement: (package=[ecore::EPackage|QualifiedName] '::')? classifier = [ecore::EClassifier] ('.' feature= [ecore::ENamedElement])?; MetamodelDeclaration: 'metamodel' name = ID specification = MetamodelSpecification; MetamodelReference: referred = [MetamodelDeclaration]; @@ -56,72 +64,74 @@ Metamodel: MetamodelReference | MetamodelSpecification; /////////////////////////////////////////////////// // Partial Model /////////////////////////////////////////////////// -/* -PartialModelEntry: path = File; -PartialModelSpecification: entry += PartialModelEntry ('+' entry += PartialModelEntry)*; -PartialModelDeclaration: 'partial-model' name = ID '=' specification = PartialModelSpecification; + +PartialModelSpecification: '{' entry += PartialModelEntry (',' entry += PartialModelEntry)? '}'; +PartialModelEntry: ModelEntry | FolderEntry; +ModelEntry: path = File; +FolderEntry: "folder" path = File ("excluding" "{" exclusion += ModelEntry ("," exclusion += ModelEntry)* "}")?; + +PartialModelDeclaration: 'models' name = ID specification = PartialModelSpecification; PartialModelReference : referred = [PartialModelDeclaration]; PartialModel: PartialModelSpecification | PartialModelReference; -*/ + /////////////////////////////////////////////////// // Patterns /////////////////////////////////////////////////// -/* + PatternSpecification: '{' entries += PatternEntry (',' entries += PatternEntry)* '}'; PatternEntry: PatternElement | AllPatternEntry; -AllPatternEntry: package = [viatra::PatternModel] ('excluding' '{' exclusuion += PatternElement (',' exclusuion += PatternElement)* '}')?; -PatternElement: pattern = [viatra::Pattern]; +AllPatternEntry: 'package' package = [viatra::PatternModel|QualifiedName] ('excluding' '{' exclusuion += PatternElement (',' exclusuion += PatternElement)* '}')?; +PatternElement: (package =[viatra::PatternModel|QualifiedName] '::')? pattern = [viatra::Pattern]; GraphPatternDeclaration: 'patterns' name = ID specification = PatternSpecification; GraphPatternReference: referred = [GraphPatternDeclaration]; GraphPattern: GraphPatternReference|PatternSpecification; -*/ + /////////////////////////////////////////////////// // SolverConfig /////////////////////////////////////////////////// -/* -SolverConfig : SMTSolverConfig | AlloySolverConfig | ViatraSolverConfig; - -SMTSolverConfig: - 'smt-solver-config' name = ID '{' - 'solver-path' '=' solverPath = File - '}' -; - -AlloySolverConfig: - 'alloy-solver-config' name = ID '{' - ('symmetry' '=' symmetry=INT)? - '}' -; - -ViatraSolverConfig: - 'viatra-solver-config' name = ID '{' - ('statecoding' '=' statecoding = ViatraStatecoder)? & - ('type-inferencing' '=' typeinferencing = ViatraTypeInferencing)? & - ('backtrack-chance' '=' backtrackChance = INT)? - '}' -; -enum ViatraStatecoder: neighbourhood | identifier; -enum ViatraTypeInferencing: preliminary | online; - -Solver: SMTSolver | AlloySolver | ViatraSolver; -SMTSolver: 'smt-solver' '(' (config = [SMTSolverConfig]) ')'; -AlloySolver: 'alloy-solver' {AlloySolver} '(' (config = [AlloySolverConfig]|'default') ')'; -ViatraSolver: 'viatra-solver' {ViatraSolver} '(' (config= [ViatraSolverConfig]|'default')')'; - -Task: GenerationTask; - -GenerationTask: 'generate' '{' - ('metamodel' '=' metamodel = Metamodel) & +ConfigSpecification: {ConfigSpecification}'{' + (entries += ConfigEntry ("," entries += ConfigEntry)*)? + '}'; +ConfigDeclaration : + 'config' name = ID specification = ConfigSpecification +; +ConfigEntry: key = STRING "=" value = STRING; +ConfigReference: config = [ConfigDeclaration]; +Config: ConfigSpecification | ConfigReference; + +enum Solver: SMTSolver | AlloySolver | ViatraSolver; + +ScopeSpecification: {ScopeSpecification} '{' + (scopes += TypeScope (',' scopes += TypeScope)*)? +'}'; +TypeScope: ( min = INT ( greather?='<' | greaterOrEqual?= '<='))? '#' type = TypeReference (( less?='<' | lessOrEqual?= '<=') max = INT)?; +TypeReference: ClassReference | ObjectReference | IntegerReference | RealReference | StringReference; +ClassReference: '[' element = MetamodelElement ']'; +ObjectReference: {ObjectReference} 'Object'; +IntegerReference: {IntegerScope} 'int'; +RealReference: {RealScope} 'real'; +StringReference: {StringScope} 'string'; + +ScopeDeclaration: 'scope' name = ID specification = ScopeSpecification; +ScopeReference: referred = [ScopeDeclaration]; +Scope: ScopeSpecification | ScopeReference; + +Task: GenerationTask /*| MeasurementTask | ValidationTask*/; + +GenerationTask: 'generate' {GenerationTask} '{' + (('metamodel' '=' metamodel = Metamodel)? & ('partial-model' '=' partialModel = PartialModel)? & ('patterns' '=' patterns = GraphPattern)? & - ('new-objects' '=' size = INT) & + ('scope' '=' scope = Scope)? & ('number' '=' number= INT)? & - ('runs' '=' runs = INT)? - 'target-folder' '=' tagetFolder = File - 'debug-folder' '=' debugFolder = File - ('log' '=' targetLogFile = File)? - ('statistics' '=' targetStatisticsFile = File)? + ('runs' '=' runs = INT)? & + ('solver' '=' solver = Solver)? & + ('config' '=' config = Config)? & + ('output' '=' tagetFolder = File)? & + ('debug' '=' debugFolder = File)? & + ('log' '=' targetLogFile = File)? & + ('statistics' '=' targetStatisticsFile = File)?) '}' -;*/ \ No newline at end of file +; \ No newline at end of file diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/linking/ApplicationConfigurationLinkingService.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/linking/ApplicationConfigurationLinkingService.xtend index 15567f88..35d4008b 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/linking/ApplicationConfigurationLinkingService.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/linking/ApplicationConfigurationLinkingService.xtend @@ -6,6 +6,7 @@ import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.EPackageI import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport import java.util.Collections import java.util.Optional +import org.eclipse.emf.common.util.URI import org.eclipse.emf.ecore.EObject import org.eclipse.emf.ecore.EReference import org.eclipse.viatra.query.patternlanguage.emf.scoping.IMetamodelProvider @@ -14,6 +15,13 @@ import org.eclipse.xtext.conversion.ValueConverterException import org.eclipse.xtext.linking.impl.DefaultLinkingService import org.eclipse.xtext.nodemodel.ILeafNode import org.eclipse.xtext.nodemodel.INode +import org.eclipse.emf.ecore.resource.Resource +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry +import org.eclipse.emf.ecore.util.EcoreUtil +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigurationScript +import org.eclipse.xtext.EcoreUtil2 +import java.util.List +import org.eclipse.xtext.conversion.impl.QualifiedNameValueConverter class ApplicationConfigurationLinkingService extends DefaultLinkingService{ @@ -31,20 +39,60 @@ class ApplicationConfigurationLinkingService extends DefaultLinkingService{ return getEPackage(context as EPackageImport, node as ILeafNode) } } else if(context instanceof ViatraImport) { - super.getLinkedObjects(context, ref, node) + if(ref == viatraImport_ImportedViatra && node instanceof ILeafNode) { + return getViatra(context as ViatraImport, node as ILeafNode) + } + } else if(context instanceof PatternEntry) { + if(ref === patternEntry_Package) { + return getViatraPackage(context as PatternEntry,node) + } } return super.getLinkedObjects(context, ref, node) } + + def getViatraPackage(PatternEntry entry, INode node) { + val document = EcoreUtil2.getContainerOfType(entry,ConfigurationScript) + val nodeString = valueConverterService.toValue(node.text, + linkingHelper.getRuleNameFrom(node.grammarElement), node).toString.replaceAll("\\s","") + val patternModels = document.imports.filter(ViatraImport).map[it.importedViatra].filterNull + val List patternModelsWithSameNamespace = patternModels.filter[nodeString.equals(it.packageName)].filter(EObject).toList + return patternModelsWithSameNamespace + } private def getEPackage(EPackageImport packageImport, ILeafNode node) { - getMetamodelNsUri(node).flatMap [ uri | + getNSUri(node).flatMap [ uri | Optional.ofNullable(metamodelProvider.loadEPackage(uri, packageImport.eResource.resourceSet)) ].map [ ePackage | Collections.singletonList(ePackage as EObject) ].orElse(emptyList) } + + private def getViatra(ViatraImport viatraImport, ILeafNode node) { + val uri = getNSUri(node) + if(uri.present) { + var URI createdURI + try{ + createdURI = URI.createURI(uri.get) + }catch(IllegalArgumentException e) { + return super.getLinkedObjects(viatraImport, viatraImport_ImportedViatra, node) + } + var Resource res + try{ + res = viatraImport.eResource.resourceSet.getResource(createdURI,true); + } catch(RuntimeException e){ + return super.getLinkedObjects(viatraImport, viatraImport_ImportedViatra, node) + } + if(res!==null && !res.contents.empty) { + return #[res.contents.head] + } else { + return super.getLinkedObjects(viatraImport, viatraImport_ImportedViatra, node) + } + } else { + return super.getLinkedObjects(viatraImport, viatraImport_ImportedViatra, node) + } + } - private def getMetamodelNsUri(ILeafNode node) { + private def getNSUri(ILeafNode node) { try { val convertedValue = valueConverterService.toValue(node.text, linkingHelper.getRuleNameFrom(node.grammarElement), node) diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend index 3aa349f3..97cda4a4 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src/hu/bme/mit/inf/dslreasoner/application/scoping/ApplicationConfigurationScopeProvider.xtend @@ -15,6 +15,10 @@ import org.eclipse.emf.ecore.EClass import org.eclipse.emf.ecore.EEnum import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelSpecification import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPackageEntry +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ViatraImport /** * This class contains custom scoping description. @@ -34,6 +38,12 @@ class ApplicationConfigurationScopeProvider extends AbstractApplicationConfigura context.scopeForMetamodelSpecification(reference,document) } else if(context instanceof AllPackageEntry){ context.scopeForAllPackageEntry(reference,document) + } else if(context instanceof PatternElement) { + context.scopeForPatternElement(reference,document) + } else if(context instanceof PatternSpecification) { + context.scopeForPatternSpecification(reference,document) + } else if(context instanceof AllPatternEntry) { + context.scopeForAllPatternEntry(reference,document) } else { return super.getScope(context,reference) } @@ -42,15 +52,24 @@ class ApplicationConfigurationScopeProvider extends AbstractApplicationConfigura private def allEPackages(ConfigurationScript document) { return document.imports.filter(EPackageImport).map[it.importedPackage].filterNull } - + private def allViatraPackages(ConfigurationScript document) { + val res = document.imports.filter(ViatraImport).map[it.importedViatra].filterNull + //println('''All packages: «res.map[packageName].toList»''') + return res + } private def allEClassifiers(ConfigurationScript document) { document.allEPackages.map[EClassifiers].flatten } + private def allPatterns(ConfigurationScript document) { + val res = document.allViatraPackages.map[patterns].flatten + //println('''All patterns: «res.map[name].toList»''') + return res + } protected def scopeForMetamodelElement(MetamodelElement context, EReference reference, ConfigurationScript document) { if(reference === language.metamodelEntry_Package) { return Scopes.scopeFor(document.allEPackages) - } if(reference === language.metamodelElement_Classifier) { + } else if(reference === language.metamodelElement_Classifier) { if(context.package !== null) { return Scopes.scopeFor(context.package.EClassifiers) } else { @@ -91,4 +110,44 @@ class ApplicationConfigurationScopeProvider extends AbstractApplicationConfigura return super.getScope(context,reference) } } + + ////////// + + protected def scopeForPatternElement(PatternElement context, EReference reference, ConfigurationScript document) { + if(reference === language.patternEntry_Package) { + return Scopes.scopeFor(document.allViatraPackages) + } else if(reference === language.patternElement_Pattern) { + if(context.package !== null) { + return Scopes.scopeFor(context.package.patterns) + } else { + return Scopes.scopeFor(document.allPatterns) + } + } else { + super.getScope(context,reference) + } + } + + protected def scopeForPatternSpecification(PatternSpecification context, EReference reference, ConfigurationScript document) { + if(reference === language.patternEntry_Package) { + return Scopes.scopeFor(document.allViatraPackages) + } else if(reference ===language.patternElement_Pattern) { + return Scopes.scopeFor(document.allPatterns) + } else { + return super.getScope(context,reference) + } + } + + protected def scopeForAllPatternEntry(AllPatternEntry context, EReference reference, ConfigurationScript document) { + if(reference === language.patternEntry_Package) { + return Scopes.scopeFor(document.allViatraPackages) + } else if(reference === language.patternElement_Pattern) { + if(context.package === null) { + return Scopes.scopeFor(document.allPatterns) + } else { + return Scopes.scopeFor(context.package.patterns) + } + } else { + return super.getScope(context,reference) + } + } } -- cgit v1.2.3-54-g00ecf