From e55fc0c91990c1de9cfdc02b5859b7419735abd3 Mon Sep 17 00:00:00 2001 From: OszkarSemerath Date: Wed, 24 Jan 2018 01:06:37 +0100 Subject: New Scope format: #String += 2..* --- .../model/generated/ApplicationConfiguration.ecore | 9 +- .../generated/ApplicationConfiguration.genmodel | 9 +- .../application/ApplicationConfiguration.xtextbin | Bin 8997 -> 8957 bytes .../applicationConfiguration/AllPatternEntry.java | 42 + .../ApplicationConfigurationPackage.java | 112 +- .../applicationConfiguration/ClassReference.java | 51 + .../applicationConfiguration/Config.java | 20 + .../ConfigDeclaration.java | 51 + .../applicationConfiguration/ConfigEntry.java | 79 ++ .../applicationConfiguration/ConfigReference.java | 51 + .../ConfigSpecification.java | 42 + .../application/applicationConfiguration/File.java | 20 + .../applicationConfiguration/FileDeclaration.java | 51 + .../applicationConfiguration/FileReference.java | 51 + .../FileSpecification.java | 51 + .../applicationConfiguration/FolderEntry.java | 42 + .../applicationConfiguration/GenerationTask.java | 351 ++++++ .../applicationConfiguration/GraphPattern.java | 20 + .../GraphPatternDeclaration.java | 51 + .../GraphPatternReference.java | 51 + .../applicationConfiguration/IntegerReference.java | 19 + .../applicationConfiguration/IntegerScope.java | 19 + .../applicationConfiguration/ModelEntry.java | 19 + .../applicationConfiguration/ObjectReference.java | 19 + .../applicationConfiguration/PartialModel.java | 20 + .../PartialModelDeclaration.java | 51 + .../PartialModelEntry.java | 52 + .../PartialModelReference.java | 51 + .../PartialModelSpecification.java | 42 + .../applicationConfiguration/PatternElement.java | 52 + .../applicationConfiguration/PatternEntry.java | 54 + .../PatternSpecification.java | 42 + .../applicationConfiguration/RealReference.java | 19 + .../applicationConfiguration/RealScope.java | 19 + .../applicationConfiguration/Scope.java | 20 + .../applicationConfiguration/ScopeDeclaration.java | 51 + .../applicationConfiguration/ScopeReference.java | 51 + .../ScopeSpecification.java | 42 + .../applicationConfiguration/Solver.java | 257 +++++ .../applicationConfiguration/StringReference.java | 19 + .../applicationConfiguration/StringScope.java | 19 + .../application/applicationConfiguration/Task.java | 19 + .../applicationConfiguration/TypeReference.java | 20 + .../applicationConfiguration/TypeScope.java | 187 ++++ .../impl/AllPatternEntryImpl.java | 166 +++ .../impl/ApplicationConfigurationPackageImpl.java | 44 +- .../impl/ClassReferenceImpl.java | 194 ++++ .../impl/ConfigDeclarationImpl.java | 194 ++++ .../impl/ConfigEntryImpl.java | 234 ++++ .../applicationConfiguration/impl/ConfigImpl.java | 43 + .../impl/ConfigReferenceImpl.java | 173 +++ .../impl/ConfigSpecificationImpl.java | 166 +++ .../impl/FileDeclarationImpl.java | 194 ++++ .../applicationConfiguration/impl/FileImpl.java | 43 + .../impl/FileReferenceImpl.java | 173 +++ .../impl/FileSpecificationImpl.java | 177 +++ .../impl/FolderEntryImpl.java | 166 +++ .../impl/GenerationTaskImpl.java | 951 ++++++++++++++++ .../impl/GraphPatternDeclarationImpl.java | 194 ++++ .../impl/GraphPatternImpl.java | 43 + .../impl/GraphPatternReferenceImpl.java | 173 +++ .../impl/IntegerReferenceImpl.java | 41 + .../impl/IntegerScopeImpl.java | 41 + .../impl/ModelEntryImpl.java | 41 + .../impl/ObjectReferenceImpl.java | 41 + .../impl/PartialModelDeclarationImpl.java | 194 ++++ .../impl/PartialModelEntryImpl.java | 195 ++++ .../impl/PartialModelImpl.java | 43 + .../impl/PartialModelReferenceImpl.java | 173 +++ .../impl/PartialModelSpecificationImpl.java | 166 +++ .../impl/PatternElementImpl.java | 174 +++ .../impl/PatternEntryImpl.java | 175 +++ .../impl/PatternSpecificationImpl.java | 166 +++ .../impl/RealReferenceImpl.java | 41 + .../impl/RealScopeImpl.java | 41 + .../impl/ScopeDeclarationImpl.java | 194 ++++ .../applicationConfiguration/impl/ScopeImpl.java | 43 + .../impl/ScopeReferenceImpl.java | 173 +++ .../impl/ScopeSpecificationImpl.java | 166 +++ .../impl/StringReferenceImpl.java | 41 + .../impl/StringScopeImpl.java | 41 + .../applicationConfiguration/impl/TaskImpl.java | 41 + .../impl/TypeReferenceImpl.java | 43 + .../impl/TypeScopeImpl.java | 490 +++++++++ .../internal/InternalApplicationConfiguration.g | 132 ++- .../InternalApplicationConfiguration.tokens | 48 +- .../InternalApplicationConfigurationLexer.java | 574 +++++----- .../InternalApplicationConfigurationParser.java | 1135 ++++++++++---------- .../ApplicationConfigurationSemanticSequencer.java | 2 +- .../ApplicationConfigurationGrammarAccess.java | 134 ++- .../application/ApplicationConfiguration.xtext | 10 +- .../dslreasoner/application/execution/.gitignore | 2 + .../validation/.MetamodelValidator.xtendbin | Bin 0 -> 5594 bytes .../.QueryAndMetamodelValidator.xtendbin | Bin 0 -> 4266 bytes .../application/execution/validation/.gitignore | 2 + .../execution/validation/MetamodelValidator.java | 167 +++ .../validation/QueryAndMetamodelValidator.java | 93 ++ 97 files changed, 9590 insertions(+), 1118 deletions(-) create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/AllPatternEntry.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ClassReference.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Config.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigDeclaration.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigEntry.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigReference.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigSpecification.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/File.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FileDeclaration.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FileReference.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FileSpecification.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FolderEntry.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GenerationTask.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GraphPattern.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GraphPatternDeclaration.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GraphPatternReference.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntegerReference.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntegerScope.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ModelEntry.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectReference.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModel.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelDeclaration.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelEntry.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelReference.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelSpecification.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PatternElement.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PatternEntry.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PatternSpecification.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealReference.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealScope.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Scope.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ScopeDeclaration.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ScopeReference.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ScopeSpecification.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Solver.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringReference.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringScope.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Task.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/TypeReference.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/TypeScope.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPatternEntryImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ClassReferenceImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigDeclarationImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigEntryImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigReferenceImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigSpecificationImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileDeclarationImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileReferenceImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileSpecificationImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FolderEntryImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GenerationTaskImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternDeclarationImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternReferenceImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerReferenceImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerScopeImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ModelEntryImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectReferenceImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelDeclarationImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelEntryImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelReferenceImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelSpecificationImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternElementImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternEntryImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternSpecificationImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealReferenceImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealScopeImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeDeclarationImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeReferenceImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeSpecificationImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringReferenceImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringScopeImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TaskImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeReferenceImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeScopeImpl.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/validation/.MetamodelValidator.xtendbin create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/validation/.QueryAndMetamodelValidator.xtendbin create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/validation/.gitignore create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/validation/MetamodelValidator.java create mode 100644 Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/validation/QueryAndMetamodelValidator.java 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 90093cf2..094e78ae 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 @@ -121,13 +121,12 @@ eType="#//TypeScope" containment="true"/> - - - - - + + + + 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 7c488ef0..70944294 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 @@ -110,12 +110,11 @@ - - - - - + + + + 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 8ba07de1..cf190ec9 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/AllPatternEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/AllPatternEntry.java new file mode 100644 index 00000000..bd7aef5c --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/AllPatternEntry.java @@ -0,0 +1,42 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'All Pattern Entry'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.AllPatternEntry#getExclusuion Exclusuion}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getAllPatternEntry() + * @model + * @generated + */ +public interface AllPatternEntry extends PatternEntry +{ + /** + * Returns the value of the 'Exclusuion' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement}. + * + *

+ * If the meaning of the 'Exclusuion' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Exclusuion' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getAllPatternEntry_Exclusuion() + * @model containment="true" + * @generated + */ + EList getExclusuion(); + +} // AllPatternEntry 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 782b5890..2a23a843 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 @@ -1178,58 +1178,49 @@ public interface ApplicationConfigurationPackage extends EPackage 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. + * The feature id for the 'Type' containment reference. * * * @generated * @ordered */ - int TYPE_SCOPE__GREATHER = 1; + int TYPE_SCOPE__TYPE = 0; /** - * The feature id for the 'Greater Or Equal' attribute. + * The feature id for the 'Sets New' attribute. * * * @generated * @ordered */ - int TYPE_SCOPE__GREATER_OR_EQUAL = 2; + int TYPE_SCOPE__SETS_NEW = 1; /** - * The feature id for the 'Type' containment reference. + * The feature id for the 'Sets Sum' attribute. * * * @generated * @ordered */ - int TYPE_SCOPE__TYPE = 3; + int TYPE_SCOPE__SETS_SUM = 2; /** - * The feature id for the 'Less' attribute. + * The feature id for the 'Min' attribute. * * * @generated * @ordered */ - int TYPE_SCOPE__LESS = 4; + int TYPE_SCOPE__MIN = 3; /** - * The feature id for the 'Less Or Equal' attribute. + * The feature id for the 'Max Unlimited' attribute. * * * @generated * @ordered */ - int TYPE_SCOPE__LESS_OR_EQUAL = 5; + int TYPE_SCOPE__MAX_UNLIMITED = 4; /** * The feature id for the 'Max' attribute. @@ -1238,7 +1229,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @generated * @ordered */ - int TYPE_SCOPE__MAX = 6; + int TYPE_SCOPE__MAX = 5; /** * The number of structural features of the 'Type Scope' class. @@ -1247,7 +1238,7 @@ public interface ApplicationConfigurationPackage extends EPackage * @generated * @ordered */ - int TYPE_SCOPE_FEATURE_COUNT = 7; + int TYPE_SCOPE_FEATURE_COUNT = 6; /** * The meta object id for the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeReferenceImpl Type Reference}' class. @@ -2384,70 +2375,59 @@ public interface ApplicationConfigurationPackage extends EPackage 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}'. + * 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 attribute 'Greather'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isGreather() + * @return the meta object for the containment reference 'Type'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getType() * @see #getTypeScope() * @generated */ - EAttribute getTypeScope_Greather(); + EReference getTypeScope_Type(); /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isGreaterOrEqual Greater Or Equal}'. + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsNew Sets New}'. * * - * @return the meta object for the attribute 'Greater Or Equal'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isGreaterOrEqual() + * @return the meta object for the attribute 'Sets New'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsNew() * @see #getTypeScope() * @generated */ - EAttribute getTypeScope_GreaterOrEqual(); + EAttribute getTypeScope_SetsNew(); /** - * Returns the meta object for the containment reference '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getType Type}'. + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsSum Sets Sum}'. * * - * @return the meta object for the containment reference 'Type'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getType() + * @return the meta object for the attribute 'Sets Sum'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsSum() * @see #getTypeScope() * @generated */ - EReference getTypeScope_Type(); + EAttribute getTypeScope_SetsSum(); /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isLess Less}'. + * 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 'Less'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isLess() + * @return the meta object for the attribute 'Min'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getMin() * @see #getTypeScope() * @generated */ - EAttribute getTypeScope_Less(); + EAttribute getTypeScope_Min(); /** - * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isLessOrEqual Less Or Equal}'. + * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isMaxUnlimited Max Unlimited}'. * * - * @return the meta object for the attribute 'Less Or Equal'. - * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isLessOrEqual() + * @return the meta object for the attribute 'Max Unlimited'. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isMaxUnlimited() * @see #getTypeScope() * @generated */ - EAttribute getTypeScope_LessOrEqual(); + EAttribute getTypeScope_MaxUnlimited(); /** * Returns the meta object for the attribute '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getMax Max}'. @@ -3435,52 +3415,44 @@ public interface ApplicationConfigurationPackage extends EPackage EClass TYPE_SCOPE = eINSTANCE.getTypeScope(); /** - * The meta object literal for the 'Min' attribute feature. - * - * - * @generated - */ - EAttribute TYPE_SCOPE__MIN = eINSTANCE.getTypeScope_Min(); - - /** - * The meta object literal for the 'Greather' attribute feature. + * The meta object literal for the 'Type' containment reference feature. * * * @generated */ - EAttribute TYPE_SCOPE__GREATHER = eINSTANCE.getTypeScope_Greather(); + EReference TYPE_SCOPE__TYPE = eINSTANCE.getTypeScope_Type(); /** - * The meta object literal for the 'Greater Or Equal' attribute feature. + * The meta object literal for the 'Sets New' attribute feature. * * * @generated */ - EAttribute TYPE_SCOPE__GREATER_OR_EQUAL = eINSTANCE.getTypeScope_GreaterOrEqual(); + EAttribute TYPE_SCOPE__SETS_NEW = eINSTANCE.getTypeScope_SetsNew(); /** - * The meta object literal for the 'Type' containment reference feature. + * The meta object literal for the 'Sets Sum' attribute feature. * * * @generated */ - EReference TYPE_SCOPE__TYPE = eINSTANCE.getTypeScope_Type(); + EAttribute TYPE_SCOPE__SETS_SUM = eINSTANCE.getTypeScope_SetsSum(); /** - * The meta object literal for the 'Less' attribute feature. + * The meta object literal for the 'Min' attribute feature. * * * @generated */ - EAttribute TYPE_SCOPE__LESS = eINSTANCE.getTypeScope_Less(); + EAttribute TYPE_SCOPE__MIN = eINSTANCE.getTypeScope_Min(); /** - * The meta object literal for the 'Less Or Equal' attribute feature. + * The meta object literal for the 'Max Unlimited' attribute feature. * * * @generated */ - EAttribute TYPE_SCOPE__LESS_OR_EQUAL = eINSTANCE.getTypeScope_LessOrEqual(); + EAttribute TYPE_SCOPE__MAX_UNLIMITED = eINSTANCE.getTypeScope_MaxUnlimited(); /** * The meta object literal for the 'Max' attribute feature. diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ClassReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ClassReference.java new file mode 100644 index 00000000..dc7d9227 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ClassReference.java @@ -0,0 +1,51 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Class Reference'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference#getElement Element}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getClassReference() + * @model + * @generated + */ +public interface ClassReference extends TypeReference +{ + /** + * Returns the value of the 'Element' containment reference. + * + *

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

+ * + * @return the value of the 'Element' containment reference. + * @see #setElement(MetamodelElement) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getClassReference_Element() + * @model containment="true" + * @generated + */ + MetamodelElement getElement(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ClassReference#getElement Element}' containment reference. + * + * + * @param value the new value of the 'Element' containment reference. + * @see #getElement() + * @generated + */ + void setElement(MetamodelElement value); + +} // ClassReference diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Config.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Config.java new file mode 100644 index 00000000..f0bf5d0d --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Config.java @@ -0,0 +1,20 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Config'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfig() + * @model + * @generated + */ +public interface Config extends EObject +{ +} // Config diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigDeclaration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigDeclaration.java new file mode 100644 index 00000000..6b5cd411 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigDeclaration.java @@ -0,0 +1,51 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Config Declaration'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration#getSpecification Specification}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigDeclaration() + * @model + * @generated + */ +public interface ConfigDeclaration extends Declaration +{ + /** + * Returns the value of the 'Specification' containment reference. + * + *

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

+ * + * @return the value of the 'Specification' containment reference. + * @see #setSpecification(ConfigSpecification) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigDeclaration_Specification() + * @model containment="true" + * @generated + */ + ConfigSpecification getSpecification(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigDeclaration#getSpecification Specification}' containment reference. + * + * + * @param value the new value of the 'Specification' containment reference. + * @see #getSpecification() + * @generated + */ + void setSpecification(ConfigSpecification value); + +} // ConfigDeclaration diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigEntry.java new file mode 100644 index 00000000..7c0e90e2 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigEntry.java @@ -0,0 +1,79 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Config Entry'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry#getKey Key}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry#getValue Value}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigEntry() + * @model + * @generated + */ +public interface ConfigEntry extends EObject +{ + /** + * Returns the value of the 'Key' attribute. + * + *

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

+ * + * @return the value of the 'Key' attribute. + * @see #setKey(String) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigEntry_Key() + * @model + * @generated + */ + String getKey(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry#getKey Key}' attribute. + * + * + * @param value the new value of the 'Key' attribute. + * @see #getKey() + * @generated + */ + void setKey(String value); + + /** + * Returns the value of the 'Value' attribute. + * + *

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

+ * + * @return the value of the 'Value' attribute. + * @see #setValue(String) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigEntry_Value() + * @model + * @generated + */ + String getValue(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry#getValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see #getValue() + * @generated + */ + void setValue(String value); + +} // ConfigEntry diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigReference.java new file mode 100644 index 00000000..b86f3e6b --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigReference.java @@ -0,0 +1,51 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Config Reference'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference#getConfig Config}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigReference() + * @model + * @generated + */ +public interface ConfigReference extends Config +{ + /** + * Returns the value of the 'Config' reference. + * + *

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

+ * + * @return the value of the 'Config' reference. + * @see #setConfig(ConfigDeclaration) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigReference_Config() + * @model + * @generated + */ + ConfigDeclaration getConfig(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference#getConfig Config}' reference. + * + * + * @param value the new value of the 'Config' reference. + * @see #getConfig() + * @generated + */ + void setConfig(ConfigDeclaration value); + +} // ConfigReference diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigSpecification.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigSpecification.java new file mode 100644 index 00000000..1d016927 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ConfigSpecification.java @@ -0,0 +1,42 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Config Specification'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification#getEntries Entries}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigSpecification() + * @model + * @generated + */ +public interface ConfigSpecification extends Config +{ + /** + * Returns the value of the 'Entries' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigEntry}. + * + *

+ * If the meaning of the 'Entries' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Entries' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getConfigSpecification_Entries() + * @model containment="true" + * @generated + */ + EList getEntries(); + +} // ConfigSpecification diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/File.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/File.java new file mode 100644 index 00000000..e4c2a024 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/File.java @@ -0,0 +1,20 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'File'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getFile() + * @model + * @generated + */ +public interface File extends EObject +{ +} // File diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FileDeclaration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FileDeclaration.java new file mode 100644 index 00000000..d5b9b335 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FileDeclaration.java @@ -0,0 +1,51 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'File Declaration'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration#getSpecification Specification}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getFileDeclaration() + * @model + * @generated + */ +public interface FileDeclaration extends Declaration +{ + /** + * Returns the value of the 'Specification' containment reference. + * + *

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

+ * + * @return the value of the 'Specification' containment reference. + * @see #setSpecification(FileSpecification) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getFileDeclaration_Specification() + * @model containment="true" + * @generated + */ + FileSpecification getSpecification(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileDeclaration#getSpecification Specification}' containment reference. + * + * + * @param value the new value of the 'Specification' containment reference. + * @see #getSpecification() + * @generated + */ + void setSpecification(FileSpecification value); + +} // FileDeclaration diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FileReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FileReference.java new file mode 100644 index 00000000..bc4e09bb --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FileReference.java @@ -0,0 +1,51 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'File Reference'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference#getReferred Referred}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getFileReference() + * @model + * @generated + */ +public interface FileReference extends File +{ + /** + * Returns the value of the 'Referred' reference. + * + *

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

+ * + * @return the value of the 'Referred' reference. + * @see #setReferred(FileDeclaration) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getFileReference_Referred() + * @model + * @generated + */ + FileDeclaration getReferred(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference#getReferred Referred}' reference. + * + * + * @param value the new value of the 'Referred' reference. + * @see #getReferred() + * @generated + */ + void setReferred(FileDeclaration value); + +} // FileReference diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FileSpecification.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FileSpecification.java new file mode 100644 index 00000000..921a248b --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FileSpecification.java @@ -0,0 +1,51 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'File Specification'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification#getPath Path}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getFileSpecification() + * @model + * @generated + */ +public interface FileSpecification extends File +{ + /** + * Returns the value of the 'Path' attribute. + * + *

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

+ * + * @return the value of the 'Path' attribute. + * @see #setPath(String) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getFileSpecification_Path() + * @model + * @generated + */ + String getPath(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification#getPath Path}' attribute. + * + * + * @param value the new value of the 'Path' attribute. + * @see #getPath() + * @generated + */ + void setPath(String value); + +} // FileSpecification diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FolderEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FolderEntry.java new file mode 100644 index 00000000..9b119649 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/FolderEntry.java @@ -0,0 +1,42 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Folder Entry'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FolderEntry#getExclusion Exclusion}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getFolderEntry() + * @model + * @generated + */ +public interface FolderEntry extends PartialModelEntry +{ + /** + * Returns the value of the 'Exclusion' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry}. + * + *

+ * If the meaning of the 'Exclusion' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Exclusion' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getFolderEntry_Exclusion() + * @model containment="true" + * @generated + */ + EList getExclusion(); + +} // FolderEntry diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GenerationTask.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GenerationTask.java new file mode 100644 index 00000000..7d62d979 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GenerationTask.java @@ -0,0 +1,351 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Generation Task'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getMetamodel Metamodel}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getPartialModel Partial Model}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getPatterns Patterns}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getScope Scope}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getNumber Number}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getRuns Runs}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getSolver Solver}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getConfig Config}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTagetFolder Taget Folder}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getDebugFolder Debug Folder}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTargetLogFile Target Log File}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTargetStatisticsFile Target Statistics File}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask() + * @model + * @generated + */ +public interface GenerationTask extends Task +{ + /** + * Returns the value of the 'Metamodel' containment reference. + * + *

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

+ * + * @return the value of the 'Metamodel' containment reference. + * @see #setMetamodel(Metamodel) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_Metamodel() + * @model containment="true" + * @generated + */ + Metamodel getMetamodel(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getMetamodel Metamodel}' containment reference. + * + * + * @param value the new value of the 'Metamodel' containment reference. + * @see #getMetamodel() + * @generated + */ + void setMetamodel(Metamodel value); + + /** + * Returns the value of the 'Partial Model' containment reference. + * + *

+ * If the meaning of the 'Partial Model' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Partial Model' containment reference. + * @see #setPartialModel(PartialModel) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_PartialModel() + * @model containment="true" + * @generated + */ + PartialModel getPartialModel(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getPartialModel Partial Model}' containment reference. + * + * + * @param value the new value of the 'Partial Model' containment reference. + * @see #getPartialModel() + * @generated + */ + void setPartialModel(PartialModel value); + + /** + * Returns the value of the 'Patterns' containment reference. + * + *

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

+ * + * @return the value of the 'Patterns' containment reference. + * @see #setPatterns(GraphPattern) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_Patterns() + * @model containment="true" + * @generated + */ + GraphPattern getPatterns(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getPatterns Patterns}' containment reference. + * + * + * @param value the new value of the 'Patterns' containment reference. + * @see #getPatterns() + * @generated + */ + void setPatterns(GraphPattern value); + + /** + * Returns the value of the 'Scope' containment reference. + * + *

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

+ * + * @return the value of the 'Scope' containment reference. + * @see #setScope(Scope) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_Scope() + * @model containment="true" + * @generated + */ + Scope getScope(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getScope Scope}' containment reference. + * + * + * @param value the new value of the 'Scope' containment reference. + * @see #getScope() + * @generated + */ + void setScope(Scope value); + + /** + * Returns the value of the 'Number' attribute. + * + *

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

+ * + * @return the value of the 'Number' attribute. + * @see #setNumber(int) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_Number() + * @model + * @generated + */ + int getNumber(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getNumber Number}' attribute. + * + * + * @param value the new value of the 'Number' attribute. + * @see #getNumber() + * @generated + */ + void setNumber(int value); + + /** + * Returns the value of the 'Runs' attribute. + * + *

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

+ * + * @return the value of the 'Runs' attribute. + * @see #setRuns(int) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_Runs() + * @model + * @generated + */ + int getRuns(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getRuns Runs}' attribute. + * + * + * @param value the new value of the 'Runs' attribute. + * @see #getRuns() + * @generated + */ + void setRuns(int value); + + /** + * Returns the value of the 'Solver' attribute. + * The literals are from the enumeration {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver}. + * + *

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

+ * + * @return the value of the 'Solver' attribute. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver + * @see #setSolver(Solver) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_Solver() + * @model + * @generated + */ + Solver getSolver(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getSolver Solver}' attribute. + * + * + * @param value the new value of the 'Solver' attribute. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver + * @see #getSolver() + * @generated + */ + void setSolver(Solver value); + + /** + * Returns the value of the 'Config' containment reference. + * + *

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

+ * + * @return the value of the 'Config' containment reference. + * @see #setConfig(Config) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_Config() + * @model containment="true" + * @generated + */ + Config getConfig(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getConfig Config}' containment reference. + * + * + * @param value the new value of the 'Config' containment reference. + * @see #getConfig() + * @generated + */ + void setConfig(Config value); + + /** + * Returns the value of the 'Taget Folder' containment reference. + * + *

+ * If the meaning of the 'Taget Folder' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Taget Folder' containment reference. + * @see #setTagetFolder(File) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_TagetFolder() + * @model containment="true" + * @generated + */ + File getTagetFolder(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTagetFolder Taget Folder}' containment reference. + * + * + * @param value the new value of the 'Taget Folder' containment reference. + * @see #getTagetFolder() + * @generated + */ + void setTagetFolder(File value); + + /** + * Returns the value of the 'Debug Folder' containment reference. + * + *

+ * If the meaning of the 'Debug Folder' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Debug Folder' containment reference. + * @see #setDebugFolder(File) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_DebugFolder() + * @model containment="true" + * @generated + */ + File getDebugFolder(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getDebugFolder Debug Folder}' containment reference. + * + * + * @param value the new value of the 'Debug Folder' containment reference. + * @see #getDebugFolder() + * @generated + */ + void setDebugFolder(File value); + + /** + * Returns the value of the 'Target Log File' containment reference. + * + *

+ * If the meaning of the 'Target Log File' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Target Log File' containment reference. + * @see #setTargetLogFile(File) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_TargetLogFile() + * @model containment="true" + * @generated + */ + File getTargetLogFile(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTargetLogFile Target Log File}' containment reference. + * + * + * @param value the new value of the 'Target Log File' containment reference. + * @see #getTargetLogFile() + * @generated + */ + void setTargetLogFile(File value); + + /** + * Returns the value of the 'Target Statistics File' containment reference. + * + *

+ * If the meaning of the 'Target Statistics File' containment reference isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Target Statistics File' containment reference. + * @see #setTargetStatisticsFile(File) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGenerationTask_TargetStatisticsFile() + * @model containment="true" + * @generated + */ + File getTargetStatisticsFile(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GenerationTask#getTargetStatisticsFile Target Statistics File}' containment reference. + * + * + * @param value the new value of the 'Target Statistics File' containment reference. + * @see #getTargetStatisticsFile() + * @generated + */ + void setTargetStatisticsFile(File value); + +} // GenerationTask diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GraphPattern.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GraphPattern.java new file mode 100644 index 00000000..e7013474 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GraphPattern.java @@ -0,0 +1,20 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Graph Pattern'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGraphPattern() + * @model + * @generated + */ +public interface GraphPattern extends EObject +{ +} // GraphPattern diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GraphPatternDeclaration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GraphPatternDeclaration.java new file mode 100644 index 00000000..3983631b --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GraphPatternDeclaration.java @@ -0,0 +1,51 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Graph Pattern Declaration'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration#getSpecification Specification}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGraphPatternDeclaration() + * @model + * @generated + */ +public interface GraphPatternDeclaration extends Declaration +{ + /** + * Returns the value of the 'Specification' containment reference. + * + *

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

+ * + * @return the value of the 'Specification' containment reference. + * @see #setSpecification(PatternSpecification) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGraphPatternDeclaration_Specification() + * @model containment="true" + * @generated + */ + PatternSpecification getSpecification(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternDeclaration#getSpecification Specification}' containment reference. + * + * + * @param value the new value of the 'Specification' containment reference. + * @see #getSpecification() + * @generated + */ + void setSpecification(PatternSpecification value); + +} // GraphPatternDeclaration diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GraphPatternReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GraphPatternReference.java new file mode 100644 index 00000000..7d4a9a25 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/GraphPatternReference.java @@ -0,0 +1,51 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Graph Pattern Reference'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference#getReferred Referred}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGraphPatternReference() + * @model + * @generated + */ +public interface GraphPatternReference extends GraphPattern +{ + /** + * Returns the value of the 'Referred' reference. + * + *

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

+ * + * @return the value of the 'Referred' reference. + * @see #setReferred(GraphPatternDeclaration) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getGraphPatternReference_Referred() + * @model + * @generated + */ + GraphPatternDeclaration getReferred(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference#getReferred Referred}' reference. + * + * + * @param value the new value of the 'Referred' reference. + * @see #getReferred() + * @generated + */ + void setReferred(GraphPatternDeclaration value); + +} // GraphPatternReference diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntegerReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntegerReference.java new file mode 100644 index 00000000..7a84c623 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntegerReference.java @@ -0,0 +1,19 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Integer Reference'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getIntegerReference() + * @model + * @generated + */ +public interface IntegerReference extends TypeReference +{ +} // IntegerReference diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntegerScope.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntegerScope.java new file mode 100644 index 00000000..4df80f00 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/IntegerScope.java @@ -0,0 +1,19 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Integer Scope'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getIntegerScope() + * @model + * @generated + */ +public interface IntegerScope extends IntegerReference +{ +} // IntegerScope diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ModelEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ModelEntry.java new file mode 100644 index 00000000..c52a9248 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ModelEntry.java @@ -0,0 +1,19 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Model Entry'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getModelEntry() + * @model + * @generated + */ +public interface ModelEntry extends PartialModelEntry +{ +} // ModelEntry diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectReference.java new file mode 100644 index 00000000..66f1ce18 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ObjectReference.java @@ -0,0 +1,19 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Object Reference'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getObjectReference() + * @model + * @generated + */ +public interface ObjectReference extends TypeReference +{ +} // ObjectReference diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModel.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModel.java new file mode 100644 index 00000000..8b96b07a --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModel.java @@ -0,0 +1,20 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Partial Model'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPartialModel() + * @model + * @generated + */ +public interface PartialModel extends EObject +{ +} // PartialModel diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelDeclaration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelDeclaration.java new file mode 100644 index 00000000..e54206a5 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelDeclaration.java @@ -0,0 +1,51 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Partial Model Declaration'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration#getSpecification Specification}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPartialModelDeclaration() + * @model + * @generated + */ +public interface PartialModelDeclaration extends Declaration +{ + /** + * Returns the value of the 'Specification' containment reference. + * + *

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

+ * + * @return the value of the 'Specification' containment reference. + * @see #setSpecification(PartialModelSpecification) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPartialModelDeclaration_Specification() + * @model containment="true" + * @generated + */ + PartialModelSpecification getSpecification(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelDeclaration#getSpecification Specification}' containment reference. + * + * + * @param value the new value of the 'Specification' containment reference. + * @see #getSpecification() + * @generated + */ + void setSpecification(PartialModelSpecification value); + +} // PartialModelDeclaration diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelEntry.java new file mode 100644 index 00000000..69c9bd03 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelEntry.java @@ -0,0 +1,52 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Partial Model Entry'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry#getPath Path}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPartialModelEntry() + * @model + * @generated + */ +public interface PartialModelEntry extends EObject +{ + /** + * Returns the value of the 'Path' containment reference. + * + *

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

+ * + * @return the value of the 'Path' containment reference. + * @see #setPath(File) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPartialModelEntry_Path() + * @model containment="true" + * @generated + */ + File getPath(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry#getPath Path}' containment reference. + * + * + * @param value the new value of the 'Path' containment reference. + * @see #getPath() + * @generated + */ + void setPath(File value); + +} // PartialModelEntry diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelReference.java new file mode 100644 index 00000000..04c29865 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelReference.java @@ -0,0 +1,51 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Partial Model Reference'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference#getReferred Referred}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPartialModelReference() + * @model + * @generated + */ +public interface PartialModelReference extends PartialModel +{ + /** + * Returns the value of the 'Referred' reference. + * + *

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

+ * + * @return the value of the 'Referred' reference. + * @see #setReferred(PartialModelDeclaration) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPartialModelReference_Referred() + * @model + * @generated + */ + PartialModelDeclaration getReferred(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference#getReferred Referred}' reference. + * + * + * @param value the new value of the 'Referred' reference. + * @see #getReferred() + * @generated + */ + void setReferred(PartialModelDeclaration value); + +} // PartialModelReference diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelSpecification.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelSpecification.java new file mode 100644 index 00000000..ca459b09 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PartialModelSpecification.java @@ -0,0 +1,42 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Partial Model Specification'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification#getEntry Entry}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPartialModelSpecification() + * @model + * @generated + */ +public interface PartialModelSpecification extends PartialModel +{ + /** + * Returns the value of the 'Entry' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry}. + * + *

+ * If the meaning of the 'Entry' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Entry' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPartialModelSpecification_Entry() + * @model containment="true" + * @generated + */ + EList getEntry(); + +} // PartialModelSpecification diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PatternElement.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PatternElement.java new file mode 100644 index 00000000..d9a2793d --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PatternElement.java @@ -0,0 +1,52 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.viatra.query.patternlanguage.patternLanguage.Pattern; + +/** + * + * A representation of the model object 'Pattern Element'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement#getPattern Pattern}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPatternElement() + * @model + * @generated + */ +public interface PatternElement extends PatternEntry +{ + /** + * Returns the value of the 'Pattern' reference. + * + *

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

+ * + * @return the value of the 'Pattern' reference. + * @see #setPattern(Pattern) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPatternElement_Pattern() + * @model + * @generated + */ + Pattern getPattern(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternElement#getPattern Pattern}' reference. + * + * + * @param value the new value of the 'Pattern' reference. + * @see #getPattern() + * @generated + */ + void setPattern(Pattern value); + +} // PatternElement diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PatternEntry.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PatternEntry.java new file mode 100644 index 00000000..f7e6a959 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PatternEntry.java @@ -0,0 +1,54 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.viatra.query.patternlanguage.patternLanguage.PatternModel; + +/** + * + * A representation of the model object 'Pattern Entry'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry#getPackage Package}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPatternEntry() + * @model + * @generated + */ +public interface PatternEntry extends EObject +{ + /** + * Returns the value of the 'Package' reference. + * + *

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

+ * + * @return the value of the 'Package' reference. + * @see #setPackage(PatternModel) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPatternEntry_Package() + * @model + * @generated + */ + PatternModel getPackage(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry#getPackage Package}' reference. + * + * + * @param value the new value of the 'Package' reference. + * @see #getPackage() + * @generated + */ + void setPackage(PatternModel value); + +} // PatternEntry diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PatternSpecification.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PatternSpecification.java new file mode 100644 index 00000000..1f90e1c1 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/PatternSpecification.java @@ -0,0 +1,42 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Pattern Specification'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification#getEntries Entries}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPatternSpecification() + * @model + * @generated + */ +public interface PatternSpecification extends GraphPattern +{ + /** + * Returns the value of the 'Entries' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternEntry}. + * + *

+ * If the meaning of the 'Entries' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Entries' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getPatternSpecification_Entries() + * @model containment="true" + * @generated + */ + EList getEntries(); + +} // PatternSpecification diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealReference.java new file mode 100644 index 00000000..1151e43a --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealReference.java @@ -0,0 +1,19 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Real Reference'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getRealReference() + * @model + * @generated + */ +public interface RealReference extends TypeReference +{ +} // RealReference diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealScope.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealScope.java new file mode 100644 index 00000000..dd542267 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/RealScope.java @@ -0,0 +1,19 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Real Scope'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getRealScope() + * @model + * @generated + */ +public interface RealScope extends RealReference +{ +} // RealScope diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Scope.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Scope.java new file mode 100644 index 00000000..88caa59c --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Scope.java @@ -0,0 +1,20 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Scope'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getScope() + * @model + * @generated + */ +public interface Scope extends EObject +{ +} // Scope diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ScopeDeclaration.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ScopeDeclaration.java new file mode 100644 index 00000000..aec71eab --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ScopeDeclaration.java @@ -0,0 +1,51 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Scope Declaration'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration#getSpecification Specification}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getScopeDeclaration() + * @model + * @generated + */ +public interface ScopeDeclaration extends Declaration +{ + /** + * Returns the value of the 'Specification' containment reference. + * + *

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

+ * + * @return the value of the 'Specification' containment reference. + * @see #setSpecification(ScopeSpecification) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getScopeDeclaration_Specification() + * @model containment="true" + * @generated + */ + ScopeSpecification getSpecification(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeDeclaration#getSpecification Specification}' containment reference. + * + * + * @param value the new value of the 'Specification' containment reference. + * @see #getSpecification() + * @generated + */ + void setSpecification(ScopeSpecification value); + +} // ScopeDeclaration diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ScopeReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ScopeReference.java new file mode 100644 index 00000000..a2481d61 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ScopeReference.java @@ -0,0 +1,51 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Scope Reference'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference#getReferred Referred}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getScopeReference() + * @model + * @generated + */ +public interface ScopeReference extends Scope +{ + /** + * Returns the value of the 'Referred' reference. + * + *

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

+ * + * @return the value of the 'Referred' reference. + * @see #setReferred(ScopeDeclaration) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getScopeReference_Referred() + * @model + * @generated + */ + ScopeDeclaration getReferred(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference#getReferred Referred}' reference. + * + * + * @param value the new value of the 'Referred' reference. + * @see #getReferred() + * @generated + */ + void setReferred(ScopeDeclaration value); + +} // ScopeReference diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ScopeSpecification.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ScopeSpecification.java new file mode 100644 index 00000000..5e4dbdd9 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ScopeSpecification.java @@ -0,0 +1,42 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.common.util.EList; + +/** + * + * A representation of the model object 'Scope Specification'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification#getScopes Scopes}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getScopeSpecification() + * @model + * @generated + */ +public interface ScopeSpecification extends Scope +{ + /** + * Returns the value of the 'Scopes' containment reference list. + * The list contents are of type {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope}. + * + *

+ * If the meaning of the 'Scopes' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Scopes' containment reference list. + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getScopeSpecification_Scopes() + * @model containment="true" + * @generated + */ + EList getScopes(); + +} // ScopeSpecification diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Solver.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Solver.java new file mode 100644 index 00000000..50ffd4e1 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Solver.java @@ -0,0 +1,257 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import java.util.Arrays; +import java.util.Collections; +import java.util.List; + +import org.eclipse.emf.common.util.Enumerator; + +/** + * + * A representation of the literals of the enumeration 'Solver', + * and utility methods for working with them. + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getSolver() + * @model + * @generated + */ +public enum Solver implements Enumerator +{ + /** + * The 'SMT Solver' literal object. + * + * + * @see #SMT_SOLVER_VALUE + * @generated + * @ordered + */ + SMT_SOLVER(0, "SMTSolver", "SMTSolver"), + + /** + * The 'Alloy Solver' literal object. + * + * + * @see #ALLOY_SOLVER_VALUE + * @generated + * @ordered + */ + ALLOY_SOLVER(1, "AlloySolver", "AlloySolver"), + + /** + * The 'Viatra Solver' literal object. + * + * + * @see #VIATRA_SOLVER_VALUE + * @generated + * @ordered + */ + VIATRA_SOLVER(2, "ViatraSolver", "ViatraSolver"); + + /** + * The 'SMT Solver' literal value. + * + *

+ * If the meaning of 'SMT Solver' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #SMT_SOLVER + * @model name="SMTSolver" + * @generated + * @ordered + */ + public static final int SMT_SOLVER_VALUE = 0; + + /** + * The 'Alloy Solver' literal value. + * + *

+ * If the meaning of 'Alloy Solver' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #ALLOY_SOLVER + * @model name="AlloySolver" + * @generated + * @ordered + */ + public static final int ALLOY_SOLVER_VALUE = 1; + + /** + * The 'Viatra Solver' literal value. + * + *

+ * If the meaning of 'Viatra Solver' literal object isn't clear, + * there really should be more of a description here... + *

+ * + * @see #VIATRA_SOLVER + * @model name="ViatraSolver" + * @generated + * @ordered + */ + public static final int VIATRA_SOLVER_VALUE = 2; + + /** + * An array of all the 'Solver' enumerators. + * + * + * @generated + */ + private static final Solver[] VALUES_ARRAY = + new Solver[] + { + SMT_SOLVER, + ALLOY_SOLVER, + VIATRA_SOLVER, + }; + + /** + * A public read-only list of all the 'Solver' enumerators. + * + * + * @generated + */ + public static final List VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); + + /** + * Returns the 'Solver' literal with the specified literal value. + * + * + * @param literal the literal. + * @return the matching enumerator or null. + * @generated + */ + public static Solver get(String literal) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + Solver result = VALUES_ARRAY[i]; + if (result.toString().equals(literal)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Solver' literal with the specified name. + * + * + * @param name the name. + * @return the matching enumerator or null. + * @generated + */ + public static Solver getByName(String name) + { + for (int i = 0; i < VALUES_ARRAY.length; ++i) + { + Solver result = VALUES_ARRAY[i]; + if (result.getName().equals(name)) + { + return result; + } + } + return null; + } + + /** + * Returns the 'Solver' literal with the specified integer value. + * + * + * @param value the integer value. + * @return the matching enumerator or null. + * @generated + */ + public static Solver get(int value) + { + switch (value) + { + case SMT_SOLVER_VALUE: return SMT_SOLVER; + case ALLOY_SOLVER_VALUE: return ALLOY_SOLVER; + case VIATRA_SOLVER_VALUE: return VIATRA_SOLVER; + } + return null; + } + + /** + * + * + * @generated + */ + private final int value; + + /** + * + * + * @generated + */ + private final String name; + + /** + * + * + * @generated + */ + private final String literal; + + /** + * Only this class can construct instances. + * + * + * @generated + */ + private Solver(int value, String name, String literal) + { + this.value = value; + this.name = name; + this.literal = literal; + } + + /** + * + * + * @generated + */ + public int getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * + * + * @generated + */ + public String getLiteral() + { + return literal; + } + + /** + * Returns the literal value of the enumerator, which is its string representation. + * + * + * @generated + */ + @Override + public String toString() + { + return literal; + } + +} //Solver diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringReference.java new file mode 100644 index 00000000..a50faa30 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringReference.java @@ -0,0 +1,19 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'String Reference'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getStringReference() + * @model + * @generated + */ +public interface StringReference extends TypeReference +{ +} // StringReference diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringScope.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringScope.java new file mode 100644 index 00000000..eddbed5a --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/StringScope.java @@ -0,0 +1,19 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'String Scope'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getStringScope() + * @model + * @generated + */ +public interface StringScope extends StringReference +{ +} // StringScope diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Task.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Task.java new file mode 100644 index 00000000..b78c662c --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/Task.java @@ -0,0 +1,19 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + + +/** + * + * A representation of the model object 'Task'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getTask() + * @model + * @generated + */ +public interface Task extends Command +{ +} // Task diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/TypeReference.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/TypeReference.java new file mode 100644 index 00000000..952972ed --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/TypeReference.java @@ -0,0 +1,20 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Type Reference'. + * + * + * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getTypeReference() + * @model + * @generated + */ +public interface TypeReference extends EObject +{ +} // TypeReference diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/TypeScope.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/TypeScope.java new file mode 100644 index 00000000..f1b65662 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/TypeScope.java @@ -0,0 +1,187 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Type Scope'. + * + * + *

+ * The following features are supported: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getType Type}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsNew Sets New}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsSum Sets Sum}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getMin Min}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isMaxUnlimited Max Unlimited}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getMax Max}
  • + *
+ * + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getTypeScope() + * @model + * @generated + */ +public interface TypeScope extends EObject +{ + /** + * Returns the value of the 'Type' containment reference. + * + *

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

+ * + * @return the value of the 'Type' containment reference. + * @see #setType(TypeReference) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getTypeScope_Type() + * @model containment="true" + * @generated + */ + TypeReference getType(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getType Type}' containment reference. + * + * + * @param value the new value of the 'Type' containment reference. + * @see #getType() + * @generated + */ + void setType(TypeReference value); + + /** + * Returns the value of the 'Sets New' attribute. + * + *

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

+ * + * @return the value of the 'Sets New' attribute. + * @see #setSetsNew(boolean) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getTypeScope_SetsNew() + * @model + * @generated + */ + boolean isSetsNew(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsNew Sets New}' attribute. + * + * + * @param value the new value of the 'Sets New' attribute. + * @see #isSetsNew() + * @generated + */ + void setSetsNew(boolean value); + + /** + * Returns the value of the 'Sets Sum' attribute. + * + *

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

+ * + * @return the value of the 'Sets Sum' attribute. + * @see #setSetsSum(boolean) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getTypeScope_SetsSum() + * @model + * @generated + */ + boolean isSetsSum(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isSetsSum Sets Sum}' attribute. + * + * + * @param value the new value of the 'Sets Sum' attribute. + * @see #isSetsSum() + * @generated + */ + void setSetsSum(boolean value); + + /** + * Returns the value of the 'Min' attribute. + * + *

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

+ * + * @return the value of the 'Min' attribute. + * @see #setMin(int) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getTypeScope_Min() + * @model + * @generated + */ + int getMin(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getMin Min}' attribute. + * + * + * @param value the new value of the 'Min' attribute. + * @see #getMin() + * @generated + */ + void setMin(int value); + + /** + * Returns the value of the 'Max Unlimited' attribute. + * + *

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

+ * + * @return the value of the 'Max Unlimited' attribute. + * @see #setMaxUnlimited(boolean) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getTypeScope_MaxUnlimited() + * @model + * @generated + */ + boolean isMaxUnlimited(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#isMaxUnlimited Max Unlimited}' attribute. + * + * + * @param value the new value of the 'Max Unlimited' attribute. + * @see #isMaxUnlimited() + * @generated + */ + void setMaxUnlimited(boolean value); + + /** + * Returns the value of the 'Max' attribute. + * + *

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

+ * + * @return the value of the 'Max' attribute. + * @see #setMax(int) + * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getTypeScope_Max() + * @model + * @generated + */ + int getMax(); + + /** + * Sets the value of the '{@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope#getMax Max}' attribute. + * + * + * @param value the new value of the 'Max' attribute. + * @see #getMax() + * @generated + */ + void setMax(int value); + +} // TypeScope diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPatternEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPatternEntryImpl.java new file mode 100644 index 00000000..8838fe85 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/AllPatternEntryImpl.java @@ -0,0 +1,166 @@ +/** + * generated by Xtext 2.10.0 + */ +package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl; + +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.PatternElement; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'All Pattern Entry'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.AllPatternEntryImpl#getExclusuion Exclusuion}
  • + *
+ * + * @generated + */ +public class AllPatternEntryImpl extends PatternEntryImpl implements AllPatternEntry +{ + /** + * The cached value of the '{@link #getExclusuion() Exclusuion}' containment reference list. + * + * + * @see #getExclusuion() + * @generated + * @ordered + */ + protected EList exclusuion; + + /** + * + * + * @generated + */ + protected AllPatternEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.ALL_PATTERN_ENTRY; + } + + /** + * + * + * @generated + */ + public EList getExclusuion() + { + if (exclusuion == null) + { + exclusuion = new EObjectContainmentEList(PatternElement.class, this, ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION); + } + return exclusuion; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION: + return ((InternalEList)getExclusuion()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION: + return getExclusuion(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION: + getExclusuion().clear(); + getExclusuion().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION: + getExclusuion().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.ALL_PATTERN_ENTRY__EXCLUSUION: + return exclusuion != null && !exclusuion.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //AllPatternEntryImpl 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 a623702e..ece5be15 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 @@ -1221,9 +1221,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EAttribute getTypeScope_Min() + public EReference getTypeScope_Type() { - return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(0); + return (EReference)typeScopeEClass.getEStructuralFeatures().get(0); } /** @@ -1231,7 +1231,7 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EAttribute getTypeScope_Greather() + public EAttribute getTypeScope_SetsNew() { return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(1); } @@ -1241,7 +1241,7 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EAttribute getTypeScope_GreaterOrEqual() + public EAttribute getTypeScope_SetsSum() { return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(2); } @@ -1251,9 +1251,9 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EReference getTypeScope_Type() + public EAttribute getTypeScope_Min() { - return (EReference)typeScopeEClass.getEStructuralFeatures().get(3); + return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(3); } /** @@ -1261,21 +1261,11 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements * * @generated */ - public EAttribute getTypeScope_Less() + public EAttribute getTypeScope_MaxUnlimited() { return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(4); } - /** - * - * - * @generated - */ - public EAttribute getTypeScope_LessOrEqual() - { - return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(5); - } - /** * * @@ -1283,7 +1273,7 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements */ public EAttribute getTypeScope_Max() { - return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(6); + return (EAttribute)typeScopeEClass.getEStructuralFeatures().get(5); } /** @@ -1723,12 +1713,11 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements 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__SETS_NEW); + createEAttribute(typeScopeEClass, TYPE_SCOPE__SETS_SUM); + createEAttribute(typeScopeEClass, TYPE_SCOPE__MIN); + createEAttribute(typeScopeEClass, TYPE_SCOPE__MAX_UNLIMITED); createEAttribute(typeScopeEClass, TYPE_SCOPE__MAX); typeReferenceEClass = createEClass(TYPE_REFERENCE); @@ -1957,12 +1946,11 @@ public class ApplicationConfigurationPackageImpl extends EPackageImpl implements 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_SetsNew(), theEcorePackage.getEBoolean(), "setsNew", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getTypeScope_SetsSum(), theEcorePackage.getEBoolean(), "setsSum", null, 0, 1, TypeScope.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + 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_MaxUnlimited(), theEcorePackage.getEBoolean(), "maxUnlimited", 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); diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ClassReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ClassReferenceImpl.java new file mode 100644 index 00000000..0cb8c9e0 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ClassReferenceImpl.java @@ -0,0 +1,194 @@ +/** + * generated by Xtext 2.10.0 + */ +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.ClassReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.MetamodelElement; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Class Reference'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ClassReferenceImpl#getElement Element}
  • + *
+ * + * @generated + */ +public class ClassReferenceImpl extends TypeReferenceImpl implements ClassReference +{ + /** + * The cached value of the '{@link #getElement() Element}' containment reference. + * + * + * @see #getElement() + * @generated + * @ordered + */ + protected MetamodelElement element; + + /** + * + * + * @generated + */ + protected ClassReferenceImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.CLASS_REFERENCE; + } + + /** + * + * + * @generated + */ + public MetamodelElement getElement() + { + return element; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetElement(MetamodelElement newElement, NotificationChain msgs) + { + MetamodelElement oldElement = element; + element = newElement; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CLASS_REFERENCE__ELEMENT, oldElement, newElement); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setElement(MetamodelElement newElement) + { + if (newElement != element) + { + NotificationChain msgs = null; + if (element != null) + msgs = ((InternalEObject)element).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.CLASS_REFERENCE__ELEMENT, null, msgs); + if (newElement != null) + msgs = ((InternalEObject)newElement).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.CLASS_REFERENCE__ELEMENT, null, msgs); + msgs = basicSetElement(newElement, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CLASS_REFERENCE__ELEMENT, newElement, newElement)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CLASS_REFERENCE__ELEMENT: + return basicSetElement(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CLASS_REFERENCE__ELEMENT: + return getElement(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CLASS_REFERENCE__ELEMENT: + setElement((MetamodelElement)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CLASS_REFERENCE__ELEMENT: + setElement((MetamodelElement)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CLASS_REFERENCE__ELEMENT: + return element != null; + } + return super.eIsSet(featureID); + } + +} //ClassReferenceImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigDeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigDeclarationImpl.java new file mode 100644 index 00000000..48d6831a --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigDeclarationImpl.java @@ -0,0 +1,194 @@ +/** + * generated by Xtext 2.10.0 + */ +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.ConfigDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Config Declaration'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigDeclarationImpl#getSpecification Specification}
  • + *
+ * + * @generated + */ +public class ConfigDeclarationImpl extends DeclarationImpl implements ConfigDeclaration +{ + /** + * The cached value of the '{@link #getSpecification() Specification}' containment reference. + * + * + * @see #getSpecification() + * @generated + * @ordered + */ + protected ConfigSpecification specification; + + /** + * + * + * @generated + */ + protected ConfigDeclarationImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.CONFIG_DECLARATION; + } + + /** + * + * + * @generated + */ + public ConfigSpecification getSpecification() + { + return specification; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetSpecification(ConfigSpecification newSpecification, NotificationChain msgs) + { + ConfigSpecification oldSpecification = specification; + specification = newSpecification; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CONFIG_DECLARATION__SPECIFICATION, oldSpecification, newSpecification); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setSpecification(ConfigSpecification newSpecification) + { + if (newSpecification != specification) + { + NotificationChain msgs = null; + if (specification != null) + msgs = ((InternalEObject)specification).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.CONFIG_DECLARATION__SPECIFICATION, null, msgs); + if (newSpecification != null) + msgs = ((InternalEObject)newSpecification).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.CONFIG_DECLARATION__SPECIFICATION, null, msgs); + msgs = basicSetSpecification(newSpecification, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CONFIG_DECLARATION__SPECIFICATION, newSpecification, newSpecification)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIG_DECLARATION__SPECIFICATION: + return basicSetSpecification(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIG_DECLARATION__SPECIFICATION: + return getSpecification(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIG_DECLARATION__SPECIFICATION: + setSpecification((ConfigSpecification)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIG_DECLARATION__SPECIFICATION: + setSpecification((ConfigSpecification)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIG_DECLARATION__SPECIFICATION: + return specification != null; + } + return super.eIsSet(featureID); + } + +} //ConfigDeclarationImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigEntryImpl.java new file mode 100644 index 00000000..3ab3d587 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigEntryImpl.java @@ -0,0 +1,234 @@ +/** + * generated by Xtext 2.10.0 + */ +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.ConfigEntry; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'Config Entry'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigEntryImpl#getKey Key}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigEntryImpl#getValue Value}
  • + *
+ * + * @generated + */ +public class ConfigEntryImpl extends MinimalEObjectImpl.Container implements ConfigEntry +{ + /** + * The default value of the '{@link #getKey() Key}' attribute. + * + * + * @see #getKey() + * @generated + * @ordered + */ + protected static final String KEY_EDEFAULT = null; + + /** + * The cached value of the '{@link #getKey() Key}' attribute. + * + * + * @see #getKey() + * @generated + * @ordered + */ + protected String key = KEY_EDEFAULT; + + /** + * The default value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected static final String VALUE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getValue() Value}' attribute. + * + * + * @see #getValue() + * @generated + * @ordered + */ + protected String value = VALUE_EDEFAULT; + + /** + * + * + * @generated + */ + protected ConfigEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.CONFIG_ENTRY; + } + + /** + * + * + * @generated + */ + public String getKey() + { + return key; + } + + /** + * + * + * @generated + */ + public void setKey(String newKey) + { + String oldKey = key; + key = newKey; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CONFIG_ENTRY__KEY, oldKey, key)); + } + + /** + * + * + * @generated + */ + public String getValue() + { + return value; + } + + /** + * + * + * @generated + */ + public void setValue(String newValue) + { + String oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CONFIG_ENTRY__VALUE, oldValue, value)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIG_ENTRY__KEY: + return getKey(); + case ApplicationConfigurationPackage.CONFIG_ENTRY__VALUE: + return getValue(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIG_ENTRY__KEY: + setKey((String)newValue); + return; + case ApplicationConfigurationPackage.CONFIG_ENTRY__VALUE: + setValue((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIG_ENTRY__KEY: + setKey(KEY_EDEFAULT); + return; + case ApplicationConfigurationPackage.CONFIG_ENTRY__VALUE: + setValue(VALUE_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIG_ENTRY__KEY: + return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key); + case ApplicationConfigurationPackage.CONFIG_ENTRY__VALUE: + return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (key: "); + result.append(key); + result.append(", value: "); + result.append(value); + result.append(')'); + return result.toString(); + } + +} //ConfigEntryImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigImpl.java new file mode 100644 index 00000000..d05e968b --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigImpl.java @@ -0,0 +1,43 @@ +/** + * generated by Xtext 2.10.0 + */ +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.Config; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'Config'. + * + * + * @generated + */ +public class ConfigImpl extends MinimalEObjectImpl.Container implements Config +{ + /** + * + * + * @generated + */ + protected ConfigImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.CONFIG; + } + +} //ConfigImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigReferenceImpl.java new file mode 100644 index 00000000..5051ccd6 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigReferenceImpl.java @@ -0,0 +1,173 @@ +/** + * generated by Xtext 2.10.0 + */ +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.ConfigDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigReference; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Config Reference'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigReferenceImpl#getConfig Config}
  • + *
+ * + * @generated + */ +public class ConfigReferenceImpl extends ConfigImpl implements ConfigReference +{ + /** + * The cached value of the '{@link #getConfig() Config}' reference. + * + * + * @see #getConfig() + * @generated + * @ordered + */ + protected ConfigDeclaration config; + + /** + * + * + * @generated + */ + protected ConfigReferenceImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.CONFIG_REFERENCE; + } + + /** + * + * + * @generated + */ + public ConfigDeclaration getConfig() + { + if (config != null && config.eIsProxy()) + { + InternalEObject oldConfig = (InternalEObject)config; + config = (ConfigDeclaration)eResolveProxy(oldConfig); + if (config != oldConfig) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG, oldConfig, config)); + } + } + return config; + } + + /** + * + * + * @generated + */ + public ConfigDeclaration basicGetConfig() + { + return config; + } + + /** + * + * + * @generated + */ + public void setConfig(ConfigDeclaration newConfig) + { + ConfigDeclaration oldConfig = config; + config = newConfig; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG, oldConfig, config)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG: + if (resolve) return getConfig(); + return basicGetConfig(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG: + setConfig((ConfigDeclaration)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG: + setConfig((ConfigDeclaration)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIG_REFERENCE__CONFIG: + return config != null; + } + return super.eIsSet(featureID); + } + +} //ConfigReferenceImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigSpecificationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigSpecificationImpl.java new file mode 100644 index 00000000..6056d7a4 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ConfigSpecificationImpl.java @@ -0,0 +1,166 @@ +/** + * generated by Xtext 2.10.0 + */ +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.ConfigEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ConfigSpecification; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Config Specification'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ConfigSpecificationImpl#getEntries Entries}
  • + *
+ * + * @generated + */ +public class ConfigSpecificationImpl extends ConfigImpl implements ConfigSpecification +{ + /** + * The cached value of the '{@link #getEntries() Entries}' containment reference list. + * + * + * @see #getEntries() + * @generated + * @ordered + */ + protected EList entries; + + /** + * + * + * @generated + */ + protected ConfigSpecificationImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.CONFIG_SPECIFICATION; + } + + /** + * + * + * @generated + */ + public EList getEntries() + { + if (entries == null) + { + entries = new EObjectContainmentEList(ConfigEntry.class, this, ApplicationConfigurationPackage.CONFIG_SPECIFICATION__ENTRIES); + } + return entries; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIG_SPECIFICATION__ENTRIES: + return ((InternalEList)getEntries()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIG_SPECIFICATION__ENTRIES: + return getEntries(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIG_SPECIFICATION__ENTRIES: + getEntries().clear(); + getEntries().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIG_SPECIFICATION__ENTRIES: + getEntries().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.CONFIG_SPECIFICATION__ENTRIES: + return entries != null && !entries.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //ConfigSpecificationImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileDeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileDeclarationImpl.java new file mode 100644 index 00000000..6ad7f209 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileDeclarationImpl.java @@ -0,0 +1,194 @@ +/** + * generated by Xtext 2.10.0 + */ +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.FileDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileSpecification; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'File Declaration'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileDeclarationImpl#getSpecification Specification}
  • + *
+ * + * @generated + */ +public class FileDeclarationImpl extends DeclarationImpl implements FileDeclaration +{ + /** + * The cached value of the '{@link #getSpecification() Specification}' containment reference. + * + * + * @see #getSpecification() + * @generated + * @ordered + */ + protected FileSpecification specification; + + /** + * + * + * @generated + */ + protected FileDeclarationImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.FILE_DECLARATION; + } + + /** + * + * + * @generated + */ + public FileSpecification getSpecification() + { + return specification; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetSpecification(FileSpecification newSpecification, NotificationChain msgs) + { + FileSpecification oldSpecification = specification; + specification = newSpecification; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.FILE_DECLARATION__SPECIFICATION, oldSpecification, newSpecification); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setSpecification(FileSpecification newSpecification) + { + if (newSpecification != specification) + { + NotificationChain msgs = null; + if (specification != null) + msgs = ((InternalEObject)specification).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.FILE_DECLARATION__SPECIFICATION, null, msgs); + if (newSpecification != null) + msgs = ((InternalEObject)newSpecification).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.FILE_DECLARATION__SPECIFICATION, null, msgs); + msgs = basicSetSpecification(newSpecification, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.FILE_DECLARATION__SPECIFICATION, newSpecification, newSpecification)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FILE_DECLARATION__SPECIFICATION: + return basicSetSpecification(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FILE_DECLARATION__SPECIFICATION: + return getSpecification(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FILE_DECLARATION__SPECIFICATION: + setSpecification((FileSpecification)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FILE_DECLARATION__SPECIFICATION: + setSpecification((FileSpecification)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FILE_DECLARATION__SPECIFICATION: + return specification != null; + } + return super.eIsSet(featureID); + } + +} //FileDeclarationImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileImpl.java new file mode 100644 index 00000000..c0972e97 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileImpl.java @@ -0,0 +1,43 @@ +/** + * generated by Xtext 2.10.0 + */ +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.File; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'File'. + * + * + * @generated + */ +public class FileImpl extends MinimalEObjectImpl.Container implements File +{ + /** + * + * + * @generated + */ + protected FileImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.FILE; + } + +} //FileImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileReferenceImpl.java new file mode 100644 index 00000000..a8382432 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileReferenceImpl.java @@ -0,0 +1,173 @@ +/** + * generated by Xtext 2.10.0 + */ +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.FileDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.FileReference; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'File Reference'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileReferenceImpl#getReferred Referred}
  • + *
+ * + * @generated + */ +public class FileReferenceImpl extends FileImpl implements FileReference +{ + /** + * The cached value of the '{@link #getReferred() Referred}' reference. + * + * + * @see #getReferred() + * @generated + * @ordered + */ + protected FileDeclaration referred; + + /** + * + * + * @generated + */ + protected FileReferenceImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.FILE_REFERENCE; + } + + /** + * + * + * @generated + */ + public FileDeclaration getReferred() + { + if (referred != null && referred.eIsProxy()) + { + InternalEObject oldReferred = (InternalEObject)referred; + referred = (FileDeclaration)eResolveProxy(oldReferred); + if (referred != oldReferred) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.FILE_REFERENCE__REFERRED, oldReferred, referred)); + } + } + return referred; + } + + /** + * + * + * @generated + */ + public FileDeclaration basicGetReferred() + { + return referred; + } + + /** + * + * + * @generated + */ + public void setReferred(FileDeclaration newReferred) + { + FileDeclaration oldReferred = referred; + referred = newReferred; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.FILE_REFERENCE__REFERRED, oldReferred, referred)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FILE_REFERENCE__REFERRED: + if (resolve) return getReferred(); + return basicGetReferred(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FILE_REFERENCE__REFERRED: + setReferred((FileDeclaration)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FILE_REFERENCE__REFERRED: + setReferred((FileDeclaration)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FILE_REFERENCE__REFERRED: + return referred != null; + } + return super.eIsSet(featureID); + } + +} //FileReferenceImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileSpecificationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileSpecificationImpl.java new file mode 100644 index 00000000..25fb7994 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FileSpecificationImpl.java @@ -0,0 +1,177 @@ +/** + * generated by Xtext 2.10.0 + */ +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.FileSpecification; + +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 'File Specification'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FileSpecificationImpl#getPath Path}
  • + *
+ * + * @generated + */ +public class FileSpecificationImpl extends FileImpl implements FileSpecification +{ + /** + * The default value of the '{@link #getPath() Path}' attribute. + * + * + * @see #getPath() + * @generated + * @ordered + */ + protected static final String PATH_EDEFAULT = null; + + /** + * The cached value of the '{@link #getPath() Path}' attribute. + * + * + * @see #getPath() + * @generated + * @ordered + */ + protected String path = PATH_EDEFAULT; + + /** + * + * + * @generated + */ + protected FileSpecificationImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.FILE_SPECIFICATION; + } + + /** + * + * + * @generated + */ + public String getPath() + { + return path; + } + + /** + * + * + * @generated + */ + public void setPath(String newPath) + { + String oldPath = path; + path = newPath; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.FILE_SPECIFICATION__PATH, oldPath, path)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FILE_SPECIFICATION__PATH: + return getPath(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FILE_SPECIFICATION__PATH: + setPath((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FILE_SPECIFICATION__PATH: + setPath(PATH_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FILE_SPECIFICATION__PATH: + return PATH_EDEFAULT == null ? path != null : !PATH_EDEFAULT.equals(path); + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (path: "); + result.append(path); + result.append(')'); + return result.toString(); + } + +} //FileSpecificationImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FolderEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FolderEntryImpl.java new file mode 100644 index 00000000..0d65b1b6 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/FolderEntryImpl.java @@ -0,0 +1,166 @@ +/** + * generated by Xtext 2.10.0 + */ +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.FolderEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ModelEntry; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Folder Entry'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.FolderEntryImpl#getExclusion Exclusion}
  • + *
+ * + * @generated + */ +public class FolderEntryImpl extends PartialModelEntryImpl implements FolderEntry +{ + /** + * The cached value of the '{@link #getExclusion() Exclusion}' containment reference list. + * + * + * @see #getExclusion() + * @generated + * @ordered + */ + protected EList exclusion; + + /** + * + * + * @generated + */ + protected FolderEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.FOLDER_ENTRY; + } + + /** + * + * + * @generated + */ + public EList getExclusion() + { + if (exclusion == null) + { + exclusion = new EObjectContainmentEList(ModelEntry.class, this, ApplicationConfigurationPackage.FOLDER_ENTRY__EXCLUSION); + } + return exclusion; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FOLDER_ENTRY__EXCLUSION: + return ((InternalEList)getExclusion()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FOLDER_ENTRY__EXCLUSION: + return getExclusion(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FOLDER_ENTRY__EXCLUSION: + getExclusion().clear(); + getExclusion().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FOLDER_ENTRY__EXCLUSION: + getExclusion().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.FOLDER_ENTRY__EXCLUSION: + return exclusion != null && !exclusion.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //FolderEntryImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GenerationTaskImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GenerationTaskImpl.java new file mode 100644 index 00000000..a4c27c8d --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GenerationTaskImpl.java @@ -0,0 +1,951 @@ +/** + * generated by Xtext 2.10.0 + */ +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.Config; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.File; +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.Metamodel; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModel; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Scope; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.Solver; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Generation Task'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getMetamodel Metamodel}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getPartialModel Partial Model}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getPatterns Patterns}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getScope Scope}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getNumber Number}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getRuns Runs}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getSolver Solver}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getConfig Config}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getTagetFolder Taget Folder}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getDebugFolder Debug Folder}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getTargetLogFile Target Log File}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GenerationTaskImpl#getTargetStatisticsFile Target Statistics File}
  • + *
+ * + * @generated + */ +public class GenerationTaskImpl extends TaskImpl implements GenerationTask +{ + /** + * The cached value of the '{@link #getMetamodel() Metamodel}' containment reference. + * + * + * @see #getMetamodel() + * @generated + * @ordered + */ + protected Metamodel metamodel; + + /** + * The cached value of the '{@link #getPartialModel() Partial Model}' containment reference. + * + * + * @see #getPartialModel() + * @generated + * @ordered + */ + protected PartialModel partialModel; + + /** + * The cached value of the '{@link #getPatterns() Patterns}' containment reference. + * + * + * @see #getPatterns() + * @generated + * @ordered + */ + protected GraphPattern patterns; + + /** + * The cached value of the '{@link #getScope() Scope}' containment reference. + * + * + * @see #getScope() + * @generated + * @ordered + */ + protected Scope scope; + + /** + * The default value of the '{@link #getNumber() Number}' attribute. + * + * + * @see #getNumber() + * @generated + * @ordered + */ + protected static final int NUMBER_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getNumber() Number}' attribute. + * + * + * @see #getNumber() + * @generated + * @ordered + */ + protected int number = NUMBER_EDEFAULT; + + /** + * The default value of the '{@link #getRuns() Runs}' attribute. + * + * + * @see #getRuns() + * @generated + * @ordered + */ + protected static final int RUNS_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getRuns() Runs}' attribute. + * + * + * @see #getRuns() + * @generated + * @ordered + */ + protected int runs = RUNS_EDEFAULT; + + /** + * The default value of the '{@link #getSolver() Solver}' attribute. + * + * + * @see #getSolver() + * @generated + * @ordered + */ + protected static final Solver SOLVER_EDEFAULT = Solver.SMT_SOLVER; + + /** + * The cached value of the '{@link #getSolver() Solver}' attribute. + * + * + * @see #getSolver() + * @generated + * @ordered + */ + protected Solver solver = SOLVER_EDEFAULT; + + /** + * The cached value of the '{@link #getConfig() Config}' containment reference. + * + * + * @see #getConfig() + * @generated + * @ordered + */ + protected Config config; + + /** + * The cached value of the '{@link #getTagetFolder() Taget Folder}' containment reference. + * + * + * @see #getTagetFolder() + * @generated + * @ordered + */ + protected File tagetFolder; + + /** + * The cached value of the '{@link #getDebugFolder() Debug Folder}' containment reference. + * + * + * @see #getDebugFolder() + * @generated + * @ordered + */ + protected File debugFolder; + + /** + * The cached value of the '{@link #getTargetLogFile() Target Log File}' containment reference. + * + * + * @see #getTargetLogFile() + * @generated + * @ordered + */ + protected File targetLogFile; + + /** + * The cached value of the '{@link #getTargetStatisticsFile() Target Statistics File}' containment reference. + * + * + * @see #getTargetStatisticsFile() + * @generated + * @ordered + */ + protected File targetStatisticsFile; + + /** + * + * + * @generated + */ + protected GenerationTaskImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.GENERATION_TASK; + } + + /** + * + * + * @generated + */ + public Metamodel getMetamodel() + { + return metamodel; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetMetamodel(Metamodel newMetamodel, NotificationChain msgs) + { + Metamodel oldMetamodel = metamodel; + metamodel = newMetamodel; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL, oldMetamodel, newMetamodel); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setMetamodel(Metamodel newMetamodel) + { + if (newMetamodel != metamodel) + { + NotificationChain msgs = null; + if (metamodel != null) + msgs = ((InternalEObject)metamodel).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL, null, msgs); + if (newMetamodel != null) + msgs = ((InternalEObject)newMetamodel).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL, null, msgs); + msgs = basicSetMetamodel(newMetamodel, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL, newMetamodel, newMetamodel)); + } + + /** + * + * + * @generated + */ + public PartialModel getPartialModel() + { + return partialModel; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetPartialModel(PartialModel newPartialModel, NotificationChain msgs) + { + PartialModel oldPartialModel = partialModel; + partialModel = newPartialModel; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL, oldPartialModel, newPartialModel); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setPartialModel(PartialModel newPartialModel) + { + if (newPartialModel != partialModel) + { + NotificationChain msgs = null; + if (partialModel != null) + msgs = ((InternalEObject)partialModel).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL, null, msgs); + if (newPartialModel != null) + msgs = ((InternalEObject)newPartialModel).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL, null, msgs); + msgs = basicSetPartialModel(newPartialModel, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL, newPartialModel, newPartialModel)); + } + + /** + * + * + * @generated + */ + public GraphPattern getPatterns() + { + return patterns; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetPatterns(GraphPattern newPatterns, NotificationChain msgs) + { + GraphPattern oldPatterns = patterns; + patterns = newPatterns; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS, oldPatterns, newPatterns); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setPatterns(GraphPattern newPatterns) + { + if (newPatterns != patterns) + { + NotificationChain msgs = null; + if (patterns != null) + msgs = ((InternalEObject)patterns).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS, null, msgs); + if (newPatterns != null) + msgs = ((InternalEObject)newPatterns).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS, null, msgs); + msgs = basicSetPatterns(newPatterns, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS, newPatterns, newPatterns)); + } + + /** + * + * + * @generated + */ + public Scope getScope() + { + return scope; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetScope(Scope newScope, NotificationChain msgs) + { + Scope oldScope = scope; + scope = newScope; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__SCOPE, oldScope, newScope); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setScope(Scope newScope) + { + if (newScope != scope) + { + NotificationChain msgs = null; + if (scope != null) + msgs = ((InternalEObject)scope).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__SCOPE, null, msgs); + if (newScope != null) + msgs = ((InternalEObject)newScope).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__SCOPE, null, msgs); + msgs = basicSetScope(newScope, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__SCOPE, newScope, newScope)); + } + + /** + * + * + * @generated + */ + public int getNumber() + { + return number; + } + + /** + * + * + * @generated + */ + public void setNumber(int newNumber) + { + int oldNumber = number; + number = newNumber; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__NUMBER, oldNumber, number)); + } + + /** + * + * + * @generated + */ + public int getRuns() + { + return runs; + } + + /** + * + * + * @generated + */ + public void setRuns(int newRuns) + { + int oldRuns = runs; + runs = newRuns; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__RUNS, oldRuns, runs)); + } + + /** + * + * + * @generated + */ + public Solver getSolver() + { + return solver; + } + + /** + * + * + * @generated + */ + public void setSolver(Solver newSolver) + { + Solver oldSolver = solver; + solver = newSolver == null ? SOLVER_EDEFAULT : newSolver; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__SOLVER, oldSolver, solver)); + } + + /** + * + * + * @generated + */ + public Config getConfig() + { + return config; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetConfig(Config newConfig, NotificationChain msgs) + { + Config oldConfig = config; + config = newConfig; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__CONFIG, oldConfig, newConfig); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setConfig(Config newConfig) + { + if (newConfig != config) + { + NotificationChain msgs = null; + if (config != null) + msgs = ((InternalEObject)config).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__CONFIG, null, msgs); + if (newConfig != null) + msgs = ((InternalEObject)newConfig).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__CONFIG, null, msgs); + msgs = basicSetConfig(newConfig, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__CONFIG, newConfig, newConfig)); + } + + /** + * + * + * @generated + */ + public File getTagetFolder() + { + return tagetFolder; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetTagetFolder(File newTagetFolder, NotificationChain msgs) + { + File oldTagetFolder = tagetFolder; + tagetFolder = newTagetFolder; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, oldTagetFolder, newTagetFolder); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setTagetFolder(File newTagetFolder) + { + if (newTagetFolder != tagetFolder) + { + NotificationChain msgs = null; + if (tagetFolder != null) + msgs = ((InternalEObject)tagetFolder).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, null, msgs); + if (newTagetFolder != null) + msgs = ((InternalEObject)newTagetFolder).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, null, msgs); + msgs = basicSetTagetFolder(newTagetFolder, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER, newTagetFolder, newTagetFolder)); + } + + /** + * + * + * @generated + */ + public File getDebugFolder() + { + return debugFolder; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetDebugFolder(File newDebugFolder, NotificationChain msgs) + { + File oldDebugFolder = debugFolder; + debugFolder = newDebugFolder; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER, oldDebugFolder, newDebugFolder); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setDebugFolder(File newDebugFolder) + { + if (newDebugFolder != debugFolder) + { + NotificationChain msgs = null; + if (debugFolder != null) + msgs = ((InternalEObject)debugFolder).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER, null, msgs); + if (newDebugFolder != null) + msgs = ((InternalEObject)newDebugFolder).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER, null, msgs); + msgs = basicSetDebugFolder(newDebugFolder, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER, newDebugFolder, newDebugFolder)); + } + + /** + * + * + * @generated + */ + public File getTargetLogFile() + { + return targetLogFile; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetTargetLogFile(File newTargetLogFile, NotificationChain msgs) + { + File oldTargetLogFile = targetLogFile; + targetLogFile = newTargetLogFile; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE, oldTargetLogFile, newTargetLogFile); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setTargetLogFile(File newTargetLogFile) + { + if (newTargetLogFile != targetLogFile) + { + NotificationChain msgs = null; + if (targetLogFile != null) + msgs = ((InternalEObject)targetLogFile).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE, null, msgs); + if (newTargetLogFile != null) + msgs = ((InternalEObject)newTargetLogFile).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE, null, msgs); + msgs = basicSetTargetLogFile(newTargetLogFile, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE, newTargetLogFile, newTargetLogFile)); + } + + /** + * + * + * @generated + */ + public File getTargetStatisticsFile() + { + return targetStatisticsFile; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetTargetStatisticsFile(File newTargetStatisticsFile, NotificationChain msgs) + { + File oldTargetStatisticsFile = targetStatisticsFile; + targetStatisticsFile = newTargetStatisticsFile; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE, oldTargetStatisticsFile, newTargetStatisticsFile); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setTargetStatisticsFile(File newTargetStatisticsFile) + { + if (newTargetStatisticsFile != targetStatisticsFile) + { + NotificationChain msgs = null; + if (targetStatisticsFile != null) + msgs = ((InternalEObject)targetStatisticsFile).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE, null, msgs); + if (newTargetStatisticsFile != null) + msgs = ((InternalEObject)newTargetStatisticsFile).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE, null, msgs); + msgs = basicSetTargetStatisticsFile(newTargetStatisticsFile, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE, newTargetStatisticsFile, newTargetStatisticsFile)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL: + return basicSetMetamodel(null, msgs); + case ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL: + return basicSetPartialModel(null, msgs); + case ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS: + return basicSetPatterns(null, msgs); + case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: + return basicSetScope(null, msgs); + case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: + return basicSetConfig(null, msgs); + case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: + return basicSetTagetFolder(null, msgs); + case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: + return basicSetDebugFolder(null, msgs); + case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: + return basicSetTargetLogFile(null, msgs); + case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: + return basicSetTargetStatisticsFile(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL: + return getMetamodel(); + case ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL: + return getPartialModel(); + case ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS: + return getPatterns(); + case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: + return getScope(); + case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: + return getNumber(); + case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: + return getRuns(); + case ApplicationConfigurationPackage.GENERATION_TASK__SOLVER: + return getSolver(); + case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: + return getConfig(); + case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: + return getTagetFolder(); + case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: + return getDebugFolder(); + case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: + return getTargetLogFile(); + case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: + return getTargetStatisticsFile(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL: + setMetamodel((Metamodel)newValue); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL: + setPartialModel((PartialModel)newValue); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS: + setPatterns((GraphPattern)newValue); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: + setScope((Scope)newValue); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: + setNumber((Integer)newValue); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: + setRuns((Integer)newValue); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__SOLVER: + setSolver((Solver)newValue); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: + setConfig((Config)newValue); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: + setTagetFolder((File)newValue); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: + setDebugFolder((File)newValue); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: + setTargetLogFile((File)newValue); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: + setTargetStatisticsFile((File)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL: + setMetamodel((Metamodel)null); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL: + setPartialModel((PartialModel)null); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS: + setPatterns((GraphPattern)null); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: + setScope((Scope)null); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: + setNumber(NUMBER_EDEFAULT); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: + setRuns(RUNS_EDEFAULT); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__SOLVER: + setSolver(SOLVER_EDEFAULT); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: + setConfig((Config)null); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: + setTagetFolder((File)null); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: + setDebugFolder((File)null); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: + setTargetLogFile((File)null); + return; + case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: + setTargetStatisticsFile((File)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.GENERATION_TASK__METAMODEL: + return metamodel != null; + case ApplicationConfigurationPackage.GENERATION_TASK__PARTIAL_MODEL: + return partialModel != null; + case ApplicationConfigurationPackage.GENERATION_TASK__PATTERNS: + return patterns != null; + case ApplicationConfigurationPackage.GENERATION_TASK__SCOPE: + return scope != null; + case ApplicationConfigurationPackage.GENERATION_TASK__NUMBER: + return number != NUMBER_EDEFAULT; + case ApplicationConfigurationPackage.GENERATION_TASK__RUNS: + return runs != RUNS_EDEFAULT; + case ApplicationConfigurationPackage.GENERATION_TASK__SOLVER: + return solver != SOLVER_EDEFAULT; + case ApplicationConfigurationPackage.GENERATION_TASK__CONFIG: + return config != null; + case ApplicationConfigurationPackage.GENERATION_TASK__TAGET_FOLDER: + return tagetFolder != null; + case ApplicationConfigurationPackage.GENERATION_TASK__DEBUG_FOLDER: + return debugFolder != null; + case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_LOG_FILE: + return targetLogFile != null; + case ApplicationConfigurationPackage.GENERATION_TASK__TARGET_STATISTICS_FILE: + return targetStatisticsFile != null; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (number: "); + result.append(number); + result.append(", runs: "); + result.append(runs); + result.append(", solver: "); + result.append(solver); + result.append(')'); + return result.toString(); + } + +} //GenerationTaskImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternDeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternDeclarationImpl.java new file mode 100644 index 00000000..f9028b90 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternDeclarationImpl.java @@ -0,0 +1,194 @@ +/** + * generated by Xtext 2.10.0 + */ +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.GraphPatternDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Graph Pattern Declaration'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternDeclarationImpl#getSpecification Specification}
  • + *
+ * + * @generated + */ +public class GraphPatternDeclarationImpl extends DeclarationImpl implements GraphPatternDeclaration +{ + /** + * The cached value of the '{@link #getSpecification() Specification}' containment reference. + * + * + * @see #getSpecification() + * @generated + * @ordered + */ + protected PatternSpecification specification; + + /** + * + * + * @generated + */ + protected GraphPatternDeclarationImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_DECLARATION; + } + + /** + * + * + * @generated + */ + public PatternSpecification getSpecification() + { + return specification; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetSpecification(PatternSpecification newSpecification, NotificationChain msgs) + { + PatternSpecification oldSpecification = specification; + specification = newSpecification; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION, oldSpecification, newSpecification); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setSpecification(PatternSpecification newSpecification) + { + if (newSpecification != specification) + { + NotificationChain msgs = null; + if (specification != null) + msgs = ((InternalEObject)specification).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION, null, msgs); + if (newSpecification != null) + msgs = ((InternalEObject)newSpecification).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION, null, msgs); + msgs = basicSetSpecification(newSpecification, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION, newSpecification, newSpecification)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION: + return basicSetSpecification(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION: + return getSpecification(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION: + setSpecification((PatternSpecification)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION: + setSpecification((PatternSpecification)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.GRAPH_PATTERN_DECLARATION__SPECIFICATION: + return specification != null; + } + return super.eIsSet(featureID); + } + +} //GraphPatternDeclarationImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternImpl.java new file mode 100644 index 00000000..c16c760e --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternImpl.java @@ -0,0 +1,43 @@ +/** + * generated by Xtext 2.10.0 + */ +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.GraphPattern; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'Graph Pattern'. + * + * + * @generated + */ +public class GraphPatternImpl extends MinimalEObjectImpl.Container implements GraphPattern +{ + /** + * + * + * @generated + */ + protected GraphPatternImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.GRAPH_PATTERN; + } + +} //GraphPatternImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternReferenceImpl.java new file mode 100644 index 00000000..3f3e69d3 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/GraphPatternReferenceImpl.java @@ -0,0 +1,173 @@ +/** + * generated by Xtext 2.10.0 + */ +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.GraphPatternDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.GraphPatternReference; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Graph Pattern Reference'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.GraphPatternReferenceImpl#getReferred Referred}
  • + *
+ * + * @generated + */ +public class GraphPatternReferenceImpl extends GraphPatternImpl implements GraphPatternReference +{ + /** + * The cached value of the '{@link #getReferred() Referred}' reference. + * + * + * @see #getReferred() + * @generated + * @ordered + */ + protected GraphPatternDeclaration referred; + + /** + * + * + * @generated + */ + protected GraphPatternReferenceImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.GRAPH_PATTERN_REFERENCE; + } + + /** + * + * + * @generated + */ + public GraphPatternDeclaration getReferred() + { + if (referred != null && referred.eIsProxy()) + { + InternalEObject oldReferred = (InternalEObject)referred; + referred = (GraphPatternDeclaration)eResolveProxy(oldReferred); + if (referred != oldReferred) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE__REFERRED, oldReferred, referred)); + } + } + return referred; + } + + /** + * + * + * @generated + */ + public GraphPatternDeclaration basicGetReferred() + { + return referred; + } + + /** + * + * + * @generated + */ + public void setReferred(GraphPatternDeclaration newReferred) + { + GraphPatternDeclaration oldReferred = referred; + referred = newReferred; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE__REFERRED, oldReferred, referred)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE__REFERRED: + if (resolve) return getReferred(); + return basicGetReferred(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE__REFERRED: + setReferred((GraphPatternDeclaration)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE__REFERRED: + setReferred((GraphPatternDeclaration)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.GRAPH_PATTERN_REFERENCE__REFERRED: + return referred != null; + } + return super.eIsSet(featureID); + } + +} //GraphPatternReferenceImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerReferenceImpl.java new file mode 100644 index 00000000..679a427e --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerReferenceImpl.java @@ -0,0 +1,41 @@ +/** + * generated by Xtext 2.10.0 + */ +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.IntegerReference; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Integer Reference'. + * + * + * @generated + */ +public class IntegerReferenceImpl extends TypeReferenceImpl implements IntegerReference +{ + /** + * + * + * @generated + */ + protected IntegerReferenceImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.INTEGER_REFERENCE; + } + +} //IntegerReferenceImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerScopeImpl.java new file mode 100644 index 00000000..18682765 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/IntegerScopeImpl.java @@ -0,0 +1,41 @@ +/** + * generated by Xtext 2.10.0 + */ +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.IntegerScope; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Integer Scope'. + * + * + * @generated + */ +public class IntegerScopeImpl extends IntegerReferenceImpl implements IntegerScope +{ + /** + * + * + * @generated + */ + protected IntegerScopeImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.INTEGER_SCOPE; + } + +} //IntegerScopeImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ModelEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ModelEntryImpl.java new file mode 100644 index 00000000..4a513df4 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ModelEntryImpl.java @@ -0,0 +1,41 @@ +/** + * generated by Xtext 2.10.0 + */ +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.ModelEntry; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Model Entry'. + * + * + * @generated + */ +public class ModelEntryImpl extends PartialModelEntryImpl implements ModelEntry +{ + /** + * + * + * @generated + */ + protected ModelEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.MODEL_ENTRY; + } + +} //ModelEntryImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectReferenceImpl.java new file mode 100644 index 00000000..f3c82772 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ObjectReferenceImpl.java @@ -0,0 +1,41 @@ +/** + * generated by Xtext 2.10.0 + */ +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.ObjectReference; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Object Reference'. + * + * + * @generated + */ +public class ObjectReferenceImpl extends TypeReferenceImpl implements ObjectReference +{ + /** + * + * + * @generated + */ + protected ObjectReferenceImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.OBJECT_REFERENCE; + } + +} //ObjectReferenceImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelDeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelDeclarationImpl.java new file mode 100644 index 00000000..237f3f5d --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelDeclarationImpl.java @@ -0,0 +1,194 @@ +/** + * generated by Xtext 2.10.0 + */ +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.PartialModelDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Partial Model Declaration'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelDeclarationImpl#getSpecification Specification}
  • + *
+ * + * @generated + */ +public class PartialModelDeclarationImpl extends DeclarationImpl implements PartialModelDeclaration +{ + /** + * The cached value of the '{@link #getSpecification() Specification}' containment reference. + * + * + * @see #getSpecification() + * @generated + * @ordered + */ + protected PartialModelSpecification specification; + + /** + * + * + * @generated + */ + protected PartialModelDeclarationImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_DECLARATION; + } + + /** + * + * + * @generated + */ + public PartialModelSpecification getSpecification() + { + return specification; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetSpecification(PartialModelSpecification newSpecification, NotificationChain msgs) + { + PartialModelSpecification oldSpecification = specification; + specification = newSpecification; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION__SPECIFICATION, oldSpecification, newSpecification); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setSpecification(PartialModelSpecification newSpecification) + { + if (newSpecification != specification) + { + NotificationChain msgs = null; + if (specification != null) + msgs = ((InternalEObject)specification).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION__SPECIFICATION, null, msgs); + if (newSpecification != null) + msgs = ((InternalEObject)newSpecification).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION__SPECIFICATION, null, msgs); + msgs = basicSetSpecification(newSpecification, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION__SPECIFICATION, newSpecification, newSpecification)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION__SPECIFICATION: + return basicSetSpecification(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION__SPECIFICATION: + return getSpecification(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION__SPECIFICATION: + setSpecification((PartialModelSpecification)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION__SPECIFICATION: + setSpecification((PartialModelSpecification)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PARTIAL_MODEL_DECLARATION__SPECIFICATION: + return specification != null; + } + return super.eIsSet(featureID); + } + +} //PartialModelDeclarationImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelEntryImpl.java new file mode 100644 index 00000000..c8932cf6 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelEntryImpl.java @@ -0,0 +1,195 @@ +/** + * generated by Xtext 2.10.0 + */ +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.File; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelEntry; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'Partial Model Entry'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelEntryImpl#getPath Path}
  • + *
+ * + * @generated + */ +public class PartialModelEntryImpl extends MinimalEObjectImpl.Container implements PartialModelEntry +{ + /** + * The cached value of the '{@link #getPath() Path}' containment reference. + * + * + * @see #getPath() + * @generated + * @ordered + */ + protected File path; + + /** + * + * + * @generated + */ + protected PartialModelEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_ENTRY; + } + + /** + * + * + * @generated + */ + public File getPath() + { + return path; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetPath(File newPath, NotificationChain msgs) + { + File oldPath = path; + path = newPath; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH, oldPath, newPath); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setPath(File newPath) + { + if (newPath != path) + { + NotificationChain msgs = null; + if (path != null) + msgs = ((InternalEObject)path).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH, null, msgs); + if (newPath != null) + msgs = ((InternalEObject)newPath).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH, null, msgs); + msgs = basicSetPath(newPath, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH, newPath, newPath)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: + return basicSetPath(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: + return getPath(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: + setPath((File)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: + setPath((File)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PARTIAL_MODEL_ENTRY__PATH: + return path != null; + } + return super.eIsSet(featureID); + } + +} //PartialModelEntryImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelImpl.java new file mode 100644 index 00000000..07fb5f92 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelImpl.java @@ -0,0 +1,43 @@ +/** + * generated by Xtext 2.10.0 + */ +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.PartialModel; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'Partial Model'. + * + * + * @generated + */ +public class PartialModelImpl extends MinimalEObjectImpl.Container implements PartialModel +{ + /** + * + * + * @generated + */ + protected PartialModelImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.PARTIAL_MODEL; + } + +} //PartialModelImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelReferenceImpl.java new file mode 100644 index 00000000..36398a23 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelReferenceImpl.java @@ -0,0 +1,173 @@ +/** + * generated by Xtext 2.10.0 + */ +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.PartialModelDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelReference; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Partial Model Reference'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelReferenceImpl#getReferred Referred}
  • + *
+ * + * @generated + */ +public class PartialModelReferenceImpl extends PartialModelImpl implements PartialModelReference +{ + /** + * The cached value of the '{@link #getReferred() Referred}' reference. + * + * + * @see #getReferred() + * @generated + * @ordered + */ + protected PartialModelDeclaration referred; + + /** + * + * + * @generated + */ + protected PartialModelReferenceImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_REFERENCE; + } + + /** + * + * + * @generated + */ + public PartialModelDeclaration getReferred() + { + if (referred != null && referred.eIsProxy()) + { + InternalEObject oldReferred = (InternalEObject)referred; + referred = (PartialModelDeclaration)eResolveProxy(oldReferred); + if (referred != oldReferred) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE__REFERRED, oldReferred, referred)); + } + } + return referred; + } + + /** + * + * + * @generated + */ + public PartialModelDeclaration basicGetReferred() + { + return referred; + } + + /** + * + * + * @generated + */ + public void setReferred(PartialModelDeclaration newReferred) + { + PartialModelDeclaration oldReferred = referred; + referred = newReferred; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE__REFERRED, oldReferred, referred)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE__REFERRED: + if (resolve) return getReferred(); + return basicGetReferred(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE__REFERRED: + setReferred((PartialModelDeclaration)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE__REFERRED: + setReferred((PartialModelDeclaration)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PARTIAL_MODEL_REFERENCE__REFERRED: + return referred != null; + } + return super.eIsSet(featureID); + } + +} //PartialModelReferenceImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelSpecificationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelSpecificationImpl.java new file mode 100644 index 00000000..adc3f715 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PartialModelSpecificationImpl.java @@ -0,0 +1,166 @@ +/** + * generated by Xtext 2.10.0 + */ +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.PartialModelEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PartialModelSpecification; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Partial Model Specification'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PartialModelSpecificationImpl#getEntry Entry}
  • + *
+ * + * @generated + */ +public class PartialModelSpecificationImpl extends PartialModelImpl implements PartialModelSpecification +{ + /** + * The cached value of the '{@link #getEntry() Entry}' containment reference list. + * + * + * @see #getEntry() + * @generated + * @ordered + */ + protected EList entry; + + /** + * + * + * @generated + */ + protected PartialModelSpecificationImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.PARTIAL_MODEL_SPECIFICATION; + } + + /** + * + * + * @generated + */ + public EList getEntry() + { + if (entry == null) + { + entry = new EObjectContainmentEList(PartialModelEntry.class, this, ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION__ENTRY); + } + return entry; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION__ENTRY: + return ((InternalEList)getEntry()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION__ENTRY: + return getEntry(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION__ENTRY: + getEntry().clear(); + getEntry().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION__ENTRY: + getEntry().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PARTIAL_MODEL_SPECIFICATION__ENTRY: + return entry != null && !entry.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //PartialModelSpecificationImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternElementImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternElementImpl.java new file mode 100644 index 00000000..d2b9df58 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternElementImpl.java @@ -0,0 +1,174 @@ +/** + * generated by Xtext 2.10.0 + */ +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.PatternElement; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.viatra.query.patternlanguage.patternLanguage.Pattern; + +/** + * + * An implementation of the model object 'Pattern Element'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternElementImpl#getPattern Pattern}
  • + *
+ * + * @generated + */ +public class PatternElementImpl extends PatternEntryImpl implements PatternElement +{ + /** + * The cached value of the '{@link #getPattern() Pattern}' reference. + * + * + * @see #getPattern() + * @generated + * @ordered + */ + protected Pattern pattern; + + /** + * + * + * @generated + */ + protected PatternElementImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.PATTERN_ELEMENT; + } + + /** + * + * + * @generated + */ + public Pattern getPattern() + { + if (pattern != null && pattern.eIsProxy()) + { + InternalEObject oldPattern = (InternalEObject)pattern; + pattern = (Pattern)eResolveProxy(oldPattern); + if (pattern != oldPattern) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN, oldPattern, pattern)); + } + } + return pattern; + } + + /** + * + * + * @generated + */ + public Pattern basicGetPattern() + { + return pattern; + } + + /** + * + * + * @generated + */ + public void setPattern(Pattern newPattern) + { + Pattern oldPattern = pattern; + pattern = newPattern; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN, oldPattern, pattern)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN: + if (resolve) return getPattern(); + return basicGetPattern(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN: + setPattern((Pattern)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN: + setPattern((Pattern)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PATTERN_ELEMENT__PATTERN: + return pattern != null; + } + return super.eIsSet(featureID); + } + +} //PatternElementImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternEntryImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternEntryImpl.java new file mode 100644 index 00000000..27903c3b --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternEntryImpl.java @@ -0,0 +1,175 @@ +/** + * generated by Xtext 2.10.0 + */ +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.PatternEntry; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +import org.eclipse.viatra.query.patternlanguage.patternLanguage.PatternModel; + +/** + * + * An implementation of the model object 'Pattern Entry'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternEntryImpl#getPackage Package}
  • + *
+ * + * @generated + */ +public class PatternEntryImpl extends MinimalEObjectImpl.Container implements PatternEntry +{ + /** + * The cached value of the '{@link #getPackage() Package}' reference. + * + * + * @see #getPackage() + * @generated + * @ordered + */ + protected PatternModel package_; + + /** + * + * + * @generated + */ + protected PatternEntryImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.PATTERN_ENTRY; + } + + /** + * + * + * @generated + */ + public PatternModel getPackage() + { + if (package_ != null && package_.eIsProxy()) + { + InternalEObject oldPackage = (InternalEObject)package_; + package_ = (PatternModel)eResolveProxy(oldPackage); + if (package_ != oldPackage) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE, oldPackage, package_)); + } + } + return package_; + } + + /** + * + * + * @generated + */ + public PatternModel basicGetPackage() + { + return package_; + } + + /** + * + * + * @generated + */ + public void setPackage(PatternModel newPackage) + { + PatternModel oldPackage = package_; + package_ = newPackage; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE, oldPackage, package_)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: + if (resolve) return getPackage(); + return basicGetPackage(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: + setPackage((PatternModel)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: + setPackage((PatternModel)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PATTERN_ENTRY__PACKAGE: + return package_ != null; + } + return super.eIsSet(featureID); + } + +} //PatternEntryImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternSpecificationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternSpecificationImpl.java new file mode 100644 index 00000000..055c9beb --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/PatternSpecificationImpl.java @@ -0,0 +1,166 @@ +/** + * generated by Xtext 2.10.0 + */ +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.PatternEntry; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.PatternSpecification; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Pattern Specification'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.PatternSpecificationImpl#getEntries Entries}
  • + *
+ * + * @generated + */ +public class PatternSpecificationImpl extends GraphPatternImpl implements PatternSpecification +{ + /** + * The cached value of the '{@link #getEntries() Entries}' containment reference list. + * + * + * @see #getEntries() + * @generated + * @ordered + */ + protected EList entries; + + /** + * + * + * @generated + */ + protected PatternSpecificationImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.PATTERN_SPECIFICATION; + } + + /** + * + * + * @generated + */ + public EList getEntries() + { + if (entries == null) + { + entries = new EObjectContainmentEList(PatternEntry.class, this, ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES); + } + return entries; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES: + return ((InternalEList)getEntries()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES: + return getEntries(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES: + getEntries().clear(); + getEntries().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES: + getEntries().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.PATTERN_SPECIFICATION__ENTRIES: + return entries != null && !entries.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //PatternSpecificationImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealReferenceImpl.java new file mode 100644 index 00000000..13966640 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealReferenceImpl.java @@ -0,0 +1,41 @@ +/** + * generated by Xtext 2.10.0 + */ +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.RealReference; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Real Reference'. + * + * + * @generated + */ +public class RealReferenceImpl extends TypeReferenceImpl implements RealReference +{ + /** + * + * + * @generated + */ + protected RealReferenceImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.REAL_REFERENCE; + } + +} //RealReferenceImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealScopeImpl.java new file mode 100644 index 00000000..c00b711a --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/RealScopeImpl.java @@ -0,0 +1,41 @@ +/** + * generated by Xtext 2.10.0 + */ +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.RealScope; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Real Scope'. + * + * + * @generated + */ +public class RealScopeImpl extends RealReferenceImpl implements RealScope +{ + /** + * + * + * @generated + */ + protected RealScopeImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.REAL_SCOPE; + } + +} //RealScopeImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeDeclarationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeDeclarationImpl.java new file mode 100644 index 00000000..3ec2bf39 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeDeclarationImpl.java @@ -0,0 +1,194 @@ +/** + * generated by Xtext 2.10.0 + */ +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.ScopeDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeSpecification; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Scope Declaration'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeDeclarationImpl#getSpecification Specification}
  • + *
+ * + * @generated + */ +public class ScopeDeclarationImpl extends DeclarationImpl implements ScopeDeclaration +{ + /** + * The cached value of the '{@link #getSpecification() Specification}' containment reference. + * + * + * @see #getSpecification() + * @generated + * @ordered + */ + protected ScopeSpecification specification; + + /** + * + * + * @generated + */ + protected ScopeDeclarationImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.SCOPE_DECLARATION; + } + + /** + * + * + * @generated + */ + public ScopeSpecification getSpecification() + { + return specification; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetSpecification(ScopeSpecification newSpecification, NotificationChain msgs) + { + ScopeSpecification oldSpecification = specification; + specification = newSpecification; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.SCOPE_DECLARATION__SPECIFICATION, oldSpecification, newSpecification); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setSpecification(ScopeSpecification newSpecification) + { + if (newSpecification != specification) + { + NotificationChain msgs = null; + if (specification != null) + msgs = ((InternalEObject)specification).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.SCOPE_DECLARATION__SPECIFICATION, null, msgs); + if (newSpecification != null) + msgs = ((InternalEObject)newSpecification).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.SCOPE_DECLARATION__SPECIFICATION, null, msgs); + msgs = basicSetSpecification(newSpecification, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.SCOPE_DECLARATION__SPECIFICATION, newSpecification, newSpecification)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.SCOPE_DECLARATION__SPECIFICATION: + return basicSetSpecification(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.SCOPE_DECLARATION__SPECIFICATION: + return getSpecification(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.SCOPE_DECLARATION__SPECIFICATION: + setSpecification((ScopeSpecification)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.SCOPE_DECLARATION__SPECIFICATION: + setSpecification((ScopeSpecification)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.SCOPE_DECLARATION__SPECIFICATION: + return specification != null; + } + return super.eIsSet(featureID); + } + +} //ScopeDeclarationImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeImpl.java new file mode 100644 index 00000000..3187f7f0 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeImpl.java @@ -0,0 +1,43 @@ +/** + * generated by Xtext 2.10.0 + */ +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.Scope; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'Scope'. + * + * + * @generated + */ +public class ScopeImpl extends MinimalEObjectImpl.Container implements Scope +{ + /** + * + * + * @generated + */ + protected ScopeImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.SCOPE; + } + +} //ScopeImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeReferenceImpl.java new file mode 100644 index 00000000..3f516183 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeReferenceImpl.java @@ -0,0 +1,173 @@ +/** + * generated by Xtext 2.10.0 + */ +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.ScopeDeclaration; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ScopeReference; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +/** + * + * An implementation of the model object 'Scope Reference'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeReferenceImpl#getReferred Referred}
  • + *
+ * + * @generated + */ +public class ScopeReferenceImpl extends ScopeImpl implements ScopeReference +{ + /** + * The cached value of the '{@link #getReferred() Referred}' reference. + * + * + * @see #getReferred() + * @generated + * @ordered + */ + protected ScopeDeclaration referred; + + /** + * + * + * @generated + */ + protected ScopeReferenceImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.SCOPE_REFERENCE; + } + + /** + * + * + * @generated + */ + public ScopeDeclaration getReferred() + { + if (referred != null && referred.eIsProxy()) + { + InternalEObject oldReferred = (InternalEObject)referred; + referred = (ScopeDeclaration)eResolveProxy(oldReferred); + if (referred != oldReferred) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, ApplicationConfigurationPackage.SCOPE_REFERENCE__REFERRED, oldReferred, referred)); + } + } + return referred; + } + + /** + * + * + * @generated + */ + public ScopeDeclaration basicGetReferred() + { + return referred; + } + + /** + * + * + * @generated + */ + public void setReferred(ScopeDeclaration newReferred) + { + ScopeDeclaration oldReferred = referred; + referred = newReferred; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.SCOPE_REFERENCE__REFERRED, oldReferred, referred)); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.SCOPE_REFERENCE__REFERRED: + if (resolve) return getReferred(); + return basicGetReferred(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.SCOPE_REFERENCE__REFERRED: + setReferred((ScopeDeclaration)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.SCOPE_REFERENCE__REFERRED: + setReferred((ScopeDeclaration)null); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.SCOPE_REFERENCE__REFERRED: + return referred != null; + } + return super.eIsSet(featureID); + } + +} //ScopeReferenceImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeSpecificationImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeSpecificationImpl.java new file mode 100644 index 00000000..a36883ad --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/ScopeSpecificationImpl.java @@ -0,0 +1,166 @@ +/** + * generated by Xtext 2.10.0 + */ +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.ScopeSpecification; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * + * An implementation of the model object 'Scope Specification'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.ScopeSpecificationImpl#getScopes Scopes}
  • + *
+ * + * @generated + */ +public class ScopeSpecificationImpl extends ScopeImpl implements ScopeSpecification +{ + /** + * The cached value of the '{@link #getScopes() Scopes}' containment reference list. + * + * + * @see #getScopes() + * @generated + * @ordered + */ + protected EList scopes; + + /** + * + * + * @generated + */ + protected ScopeSpecificationImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.SCOPE_SPECIFICATION; + } + + /** + * + * + * @generated + */ + public EList getScopes() + { + if (scopes == null) + { + scopes = new EObjectContainmentEList(TypeScope.class, this, ApplicationConfigurationPackage.SCOPE_SPECIFICATION__SCOPES); + } + return scopes; + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.SCOPE_SPECIFICATION__SCOPES: + return ((InternalEList)getScopes()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.SCOPE_SPECIFICATION__SCOPES: + return getScopes(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.SCOPE_SPECIFICATION__SCOPES: + getScopes().clear(); + getScopes().addAll((Collection)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.SCOPE_SPECIFICATION__SCOPES: + getScopes().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.SCOPE_SPECIFICATION__SCOPES: + return scopes != null && !scopes.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //ScopeSpecificationImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringReferenceImpl.java new file mode 100644 index 00000000..a6206202 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringReferenceImpl.java @@ -0,0 +1,41 @@ +/** + * generated by Xtext 2.10.0 + */ +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.StringReference; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'String Reference'. + * + * + * @generated + */ +public class StringReferenceImpl extends TypeReferenceImpl implements StringReference +{ + /** + * + * + * @generated + */ + protected StringReferenceImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.STRING_REFERENCE; + } + +} //StringReferenceImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringScopeImpl.java new file mode 100644 index 00000000..dd4e679c --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/StringScopeImpl.java @@ -0,0 +1,41 @@ +/** + * generated by Xtext 2.10.0 + */ +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.StringScope; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'String Scope'. + * + * + * @generated + */ +public class StringScopeImpl extends StringReferenceImpl implements StringScope +{ + /** + * + * + * @generated + */ + protected StringScopeImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.STRING_SCOPE; + } + +} //StringScopeImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TaskImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TaskImpl.java new file mode 100644 index 00000000..bef54421 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TaskImpl.java @@ -0,0 +1,41 @@ +/** + * generated by Xtext 2.10.0 + */ +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.Task; + +import org.eclipse.emf.ecore.EClass; + +/** + * + * An implementation of the model object 'Task'. + * + * + * @generated + */ +public class TaskImpl extends CommandImpl implements Task +{ + /** + * + * + * @generated + */ + protected TaskImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.TASK; + } + +} //TaskImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeReferenceImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeReferenceImpl.java new file mode 100644 index 00000000..f969a0a7 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeReferenceImpl.java @@ -0,0 +1,43 @@ +/** + * generated by Xtext 2.10.0 + */ +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.TypeReference; + +import org.eclipse.emf.ecore.EClass; + +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'Type Reference'. + * + * + * @generated + */ +public class TypeReferenceImpl extends MinimalEObjectImpl.Container implements TypeReference +{ + /** + * + * + * @generated + */ + protected TypeReferenceImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.TYPE_REFERENCE; + } + +} //TypeReferenceImpl diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeScopeImpl.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeScopeImpl.java new file mode 100644 index 00000000..0cc0e0bf --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/impl/TypeScopeImpl.java @@ -0,0 +1,490 @@ +/** + * generated by Xtext 2.10.0 + */ +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.TypeReference; +import hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.TypeScope; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; + +/** + * + * An implementation of the model object 'Type Scope'. + * + *

+ * The following features are implemented: + *

+ *
    + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#getType Type}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#isSetsNew Sets New}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#isSetsSum Sets Sum}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#getMin Min}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#isMaxUnlimited Max Unlimited}
  • + *
  • {@link hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.impl.TypeScopeImpl#getMax Max}
  • + *
+ * + * @generated + */ +public class TypeScopeImpl extends MinimalEObjectImpl.Container implements TypeScope +{ + /** + * The cached value of the '{@link #getType() Type}' containment reference. + * + * + * @see #getType() + * @generated + * @ordered + */ + protected TypeReference type; + + /** + * The default value of the '{@link #isSetsNew() Sets New}' attribute. + * + * + * @see #isSetsNew() + * @generated + * @ordered + */ + protected static final boolean SETS_NEW_EDEFAULT = false; + + /** + * The cached value of the '{@link #isSetsNew() Sets New}' attribute. + * + * + * @see #isSetsNew() + * @generated + * @ordered + */ + protected boolean setsNew = SETS_NEW_EDEFAULT; + + /** + * The default value of the '{@link #isSetsSum() Sets Sum}' attribute. + * + * + * @see #isSetsSum() + * @generated + * @ordered + */ + protected static final boolean SETS_SUM_EDEFAULT = false; + + /** + * The cached value of the '{@link #isSetsSum() Sets Sum}' attribute. + * + * + * @see #isSetsSum() + * @generated + * @ordered + */ + protected boolean setsSum = SETS_SUM_EDEFAULT; + + /** + * The default value of the '{@link #getMin() Min}' attribute. + * + * + * @see #getMin() + * @generated + * @ordered + */ + protected static final int MIN_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getMin() Min}' attribute. + * + * + * @see #getMin() + * @generated + * @ordered + */ + protected int min = MIN_EDEFAULT; + + /** + * The default value of the '{@link #isMaxUnlimited() Max Unlimited}' attribute. + * + * + * @see #isMaxUnlimited() + * @generated + * @ordered + */ + protected static final boolean MAX_UNLIMITED_EDEFAULT = false; + + /** + * The cached value of the '{@link #isMaxUnlimited() Max Unlimited}' attribute. + * + * + * @see #isMaxUnlimited() + * @generated + * @ordered + */ + protected boolean maxUnlimited = MAX_UNLIMITED_EDEFAULT; + + /** + * The default value of the '{@link #getMax() Max}' attribute. + * + * + * @see #getMax() + * @generated + * @ordered + */ + protected static final int MAX_EDEFAULT = 0; + + /** + * The cached value of the '{@link #getMax() Max}' attribute. + * + * + * @see #getMax() + * @generated + * @ordered + */ + protected int max = MAX_EDEFAULT; + + /** + * + * + * @generated + */ + protected TypeScopeImpl() + { + super(); + } + + /** + * + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return ApplicationConfigurationPackage.Literals.TYPE_SCOPE; + } + + /** + * + * + * @generated + */ + public TypeReference getType() + { + return type; + } + + /** + * + * + * @generated + */ + public NotificationChain basicSetType(TypeReference newType, NotificationChain msgs) + { + TypeReference oldType = type; + type = newType; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__TYPE, oldType, newType); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * + * + * @generated + */ + public void setType(TypeReference newType) + { + if (newType != type) + { + NotificationChain msgs = null; + if (type != null) + msgs = ((InternalEObject)type).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.TYPE_SCOPE__TYPE, null, msgs); + if (newType != null) + msgs = ((InternalEObject)newType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ApplicationConfigurationPackage.TYPE_SCOPE__TYPE, null, msgs); + msgs = basicSetType(newType, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__TYPE, newType, newType)); + } + + /** + * + * + * @generated + */ + public boolean isSetsNew() + { + return setsNew; + } + + /** + * + * + * @generated + */ + public void setSetsNew(boolean newSetsNew) + { + boolean oldSetsNew = setsNew; + setsNew = newSetsNew; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW, oldSetsNew, setsNew)); + } + + /** + * + * + * @generated + */ + public boolean isSetsSum() + { + return setsSum; + } + + /** + * + * + * @generated + */ + public void setSetsSum(boolean newSetsSum) + { + boolean oldSetsSum = setsSum; + setsSum = newSetsSum; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM, oldSetsSum, setsSum)); + } + + /** + * + * + * @generated + */ + public int getMin() + { + return min; + } + + /** + * + * + * @generated + */ + public void setMin(int newMin) + { + int oldMin = min; + min = newMin; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__MIN, oldMin, min)); + } + + /** + * + * + * @generated + */ + public boolean isMaxUnlimited() + { + return maxUnlimited; + } + + /** + * + * + * @generated + */ + public void setMaxUnlimited(boolean newMaxUnlimited) + { + boolean oldMaxUnlimited = maxUnlimited; + maxUnlimited = newMaxUnlimited; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__MAX_UNLIMITED, oldMaxUnlimited, maxUnlimited)); + } + + /** + * + * + * @generated + */ + public int getMax() + { + return max; + } + + /** + * + * + * @generated + */ + public void setMax(int newMax) + { + int oldMax = max; + max = newMax; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, ApplicationConfigurationPackage.TYPE_SCOPE__MAX, oldMax, max)); + } + + /** + * + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case ApplicationConfigurationPackage.TYPE_SCOPE__TYPE: + return basicSetType(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case ApplicationConfigurationPackage.TYPE_SCOPE__TYPE: + return getType(); + case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: + return isSetsNew(); + case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: + return isSetsSum(); + case ApplicationConfigurationPackage.TYPE_SCOPE__MIN: + return getMin(); + case ApplicationConfigurationPackage.TYPE_SCOPE__MAX_UNLIMITED: + return isMaxUnlimited(); + case ApplicationConfigurationPackage.TYPE_SCOPE__MAX: + return getMax(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case ApplicationConfigurationPackage.TYPE_SCOPE__TYPE: + setType((TypeReference)newValue); + return; + case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: + setSetsNew((Boolean)newValue); + return; + case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: + setSetsSum((Boolean)newValue); + return; + case ApplicationConfigurationPackage.TYPE_SCOPE__MIN: + setMin((Integer)newValue); + return; + case ApplicationConfigurationPackage.TYPE_SCOPE__MAX_UNLIMITED: + setMaxUnlimited((Boolean)newValue); + return; + case ApplicationConfigurationPackage.TYPE_SCOPE__MAX: + setMax((Integer)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.TYPE_SCOPE__TYPE: + setType((TypeReference)null); + return; + case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: + setSetsNew(SETS_NEW_EDEFAULT); + return; + case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: + setSetsSum(SETS_SUM_EDEFAULT); + return; + case ApplicationConfigurationPackage.TYPE_SCOPE__MIN: + setMin(MIN_EDEFAULT); + return; + case ApplicationConfigurationPackage.TYPE_SCOPE__MAX_UNLIMITED: + setMaxUnlimited(MAX_UNLIMITED_EDEFAULT); + return; + case ApplicationConfigurationPackage.TYPE_SCOPE__MAX: + setMax(MAX_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case ApplicationConfigurationPackage.TYPE_SCOPE__TYPE: + return type != null; + case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_NEW: + return setsNew != SETS_NEW_EDEFAULT; + case ApplicationConfigurationPackage.TYPE_SCOPE__SETS_SUM: + return setsSum != SETS_SUM_EDEFAULT; + case ApplicationConfigurationPackage.TYPE_SCOPE__MIN: + return min != MIN_EDEFAULT; + case ApplicationConfigurationPackage.TYPE_SCOPE__MAX_UNLIMITED: + return maxUnlimited != MAX_UNLIMITED_EDEFAULT; + case ApplicationConfigurationPackage.TYPE_SCOPE__MAX: + return max != MAX_EDEFAULT; + } + return super.eIsSet(featureID); + } + + /** + * + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (setsNew: "); + result.append(setsNew); + result.append(", setsSum: "); + result.append(setsSum); + result.append(", min: "); + result.append(min); + result.append(", maxUnlimited: "); + result.append(maxUnlimited); + result.append(", max: "); + result.append(max); + result.append(')'); + return result.toString(); + } + +} //TypeScopeImpl 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 13039f39..652983a6 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 @@ -1212,9 +1212,9 @@ rulePartialModelDeclaration returns [EObject current=null] leaveRule(); }: ( - otherlv_0='partial-model' + otherlv_0='models' { - newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getPartialModelKeyword_0()); + newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); } ( ( @@ -2067,130 +2067,118 @@ ruleTypeScope returns [EObject current=null] leaveRule(); }: ( + otherlv_0='#' + { + newLeafNode(otherlv_0, grammarAccess.getTypeScopeAccess().getNumberSignKeyword_0()); + } + ( + ( + { + newCompositeNode(grammarAccess.getTypeScopeAccess().getTypeTypeReferenceParserRuleCall_1_0()); + } + lv_type_1_0=ruleTypeReference + { + if ($current==null) { + $current = createModelElementForParent(grammarAccess.getTypeScopeRule()); + } + set( + $current, + "type", + lv_type_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeReference"); + afterParserOrEnumRuleCall(); + } + ) + ) ( ( ( - lv_min_0_0=RULE_INT + lv_setsNew_2_0='+=' { - newLeafNode(lv_min_0_0, grammarAccess.getTypeScopeAccess().getMinINTTerminalRuleCall_0_0_0()); + newLeafNode(lv_setsNew_2_0, grammarAccess.getTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } { if ($current==null) { $current = createModelElement(grammarAccess.getTypeScopeRule()); } - setWithLastConsumed( - $current, - "min", - lv_min_0_0, - "org.eclipse.xtext.common.Terminals.INT"); + setWithLastConsumed($current, "setsNew", true, "+="); } ) ) + | ( ( - ( - 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, "<="); + lv_setsSum_3_0='=' + { + newLeafNode(lv_setsSum_3_0, grammarAccess.getTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + } + { + if ($current==null) { + $current = createModelElement(grammarAccess.getTypeScopeRule()); } - ) + setWithLastConsumed($current, "setsSum", true, "="); + } ) ) - )? - otherlv_3='#' - { - newLeafNode(otherlv_3, grammarAccess.getTypeScopeAccess().getNumberSignKeyword_1()); - } + ) ( ( + lv_min_4_0=RULE_INT { - newCompositeNode(grammarAccess.getTypeScopeAccess().getTypeTypeReferenceParserRuleCall_2_0()); + newLeafNode(lv_min_4_0, grammarAccess.getTypeScopeAccess().getMinINTTerminalRuleCall_3_0()); } - lv_type_4_0=ruleTypeReference { if ($current==null) { - $current = createModelElementForParent(grammarAccess.getTypeScopeRule()); + $current = createModelElement(grammarAccess.getTypeScopeRule()); } - set( + setWithLastConsumed( $current, - "type", - lv_type_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeReference"); - afterParserOrEnumRuleCall(); + "min", + lv_min_4_0, + "org.eclipse.xtext.common.Terminals.INT"); } ) ) ( + otherlv_5='..' + { + newLeafNode(otherlv_5, grammarAccess.getTypeScopeAccess().getFullStopFullStopKeyword_4_0()); + } ( ( ( - lv_less_5_0='<' + lv_maxUnlimited_6_0='*' { - newLeafNode(lv_less_5_0, grammarAccess.getTypeScopeAccess().getLessLessThanSignKeyword_3_0_0_0()); + newLeafNode(lv_maxUnlimited_6_0, grammarAccess.getTypeScopeAccess().getMaxUnlimitedAsteriskKeyword_4_1_0_0()); } { if ($current==null) { $current = createModelElement(grammarAccess.getTypeScopeRule()); } - setWithLastConsumed($current, "less", true, "<"); + setWithLastConsumed($current, "maxUnlimited", true, "*"); } ) ) | ( ( - lv_lessOrEqual_6_0='<=' + lv_max_7_0=RULE_INT { - newLeafNode(lv_lessOrEqual_6_0, grammarAccess.getTypeScopeAccess().getLessOrEqualLessThanSignEqualsSignKeyword_3_0_1_0()); + newLeafNode(lv_max_7_0, grammarAccess.getTypeScopeAccess().getMaxINTTerminalRuleCall_4_1_1_0()); } { if ($current==null) { $current = createModelElement(grammarAccess.getTypeScopeRule()); } - setWithLastConsumed($current, "lessOrEqual", true, "<="); + setWithLastConsumed( + $current, + "max", + lv_max_7_0, + "org.eclipse.xtext.common.Terminals.INT"); } ) ) ) - ( - ( - 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"); - } - ) - ) )? ) ; 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 0b45afaa..989df9b4 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,38 +1,40 @@ -'#'=30 +'#'=28 +'*'=31 +'+='=29 ','=18 '.'=11 +'..'=30 '::'=22 -'<'=28 -'<='=29 '='=16 -'AlloySolver'=47 -'Object'=33 -'SMTSolver'=46 -'ViatraSolver'=48 -'['=31 -']'=32 +'AlloySolver'=49 +'Object'=34 +'SMTSolver'=48 +'ViatraSolver'=50 +'['=32 +']'=33 'config'=27 -'debug'=43 +'debug'=45 'epackage'=13 'excluding'=21 'file'=15 'folder'=24 -'generate'=38 +'generate'=39 'import'=12 -'int'=34 -'log'=44 +'int'=35 +'log'=46 'metamodel'=23 -'number'=39 -'output'=42 +'models'=25 +'number'=41 +'output'=44 'package'=20 -'partial-model'=25 +'partial-model'=40 'patterns'=26 -'real'=35 -'runs'=40 -'scope'=37 -'solver'=41 -'statistics'=45 -'string'=36 +'real'=36 +'runs'=42 +'scope'=38 +'solver'=43 +'statistics'=47 +'string'=37 'viatra'=14 '{'=17 '}'=19 @@ -81,3 +83,5 @@ T__45=45 T__46=46 T__47=47 T__48=48 +T__49=49 +T__50=50 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 3474822c..d93c5bbe 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,6 +12,7 @@ import java.util.ArrayList; @SuppressWarnings("all") public class InternalApplicationConfigurationLexer extends Lexer { + public static final int T__50=50; public static final int T__19=19; public static final int T__15=15; public static final int T__16=16; @@ -50,6 +51,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { 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__49=49; public static final int T__44=44; public static final int T__45=45; public static final int T__46=46; @@ -366,10 +368,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__25; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:25:7: ( 'partial-model' ) - // InternalApplicationConfiguration.g:25:9: 'partial-model' + // InternalApplicationConfiguration.g:25:7: ( 'models' ) + // InternalApplicationConfiguration.g:25:9: 'models' { - match("partial-model"); + match("models"); } @@ -429,10 +431,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__28; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:28:7: ( '<' ) - // InternalApplicationConfiguration.g:28:9: '<' + // InternalApplicationConfiguration.g:28:7: ( '#' ) + // InternalApplicationConfiguration.g:28:9: '#' { - match('<'); + match('#'); } @@ -449,10 +451,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__29; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:29:7: ( '<=' ) - // InternalApplicationConfiguration.g:29:9: '<=' + // InternalApplicationConfiguration.g:29:7: ( '+=' ) + // InternalApplicationConfiguration.g:29:9: '+=' { - match("<="); + match("+="); } @@ -470,10 +472,11 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__30; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:30:7: ( '#' ) - // InternalApplicationConfiguration.g:30:9: '#' + // InternalApplicationConfiguration.g:30:7: ( '..' ) + // InternalApplicationConfiguration.g:30:9: '..' { - match('#'); + match(".."); + } @@ -490,10 +493,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__31; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:31:7: ( '[' ) - // InternalApplicationConfiguration.g:31:9: '[' + // InternalApplicationConfiguration.g:31:7: ( '*' ) + // InternalApplicationConfiguration.g:31:9: '*' { - match('['); + match('*'); } @@ -510,10 +513,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__32; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:32:7: ( ']' ) - // InternalApplicationConfiguration.g:32:9: ']' + // InternalApplicationConfiguration.g:32:7: ( '[' ) + // InternalApplicationConfiguration.g:32:9: '[' { - match(']'); + match('['); } @@ -530,11 +533,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__33; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:33:7: ( 'Object' ) - // InternalApplicationConfiguration.g:33:9: 'Object' + // InternalApplicationConfiguration.g:33:7: ( ']' ) + // InternalApplicationConfiguration.g:33:9: ']' { - match("Object"); - + match(']'); } @@ -551,10 +553,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__34; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:34:7: ( 'int' ) - // InternalApplicationConfiguration.g:34:9: 'int' + // InternalApplicationConfiguration.g:34:7: ( 'Object' ) + // InternalApplicationConfiguration.g:34:9: 'Object' { - match("int"); + match("Object"); } @@ -572,10 +574,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__35; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:35:7: ( 'real' ) - // InternalApplicationConfiguration.g:35:9: 'real' + // InternalApplicationConfiguration.g:35:7: ( 'int' ) + // InternalApplicationConfiguration.g:35:9: 'int' { - match("real"); + match("int"); } @@ -593,10 +595,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__36; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:36:7: ( 'string' ) - // InternalApplicationConfiguration.g:36:9: 'string' + // InternalApplicationConfiguration.g:36:7: ( 'real' ) + // InternalApplicationConfiguration.g:36:9: 'real' { - match("string"); + match("real"); } @@ -614,10 +616,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__37; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:37:7: ( 'scope' ) - // InternalApplicationConfiguration.g:37:9: 'scope' + // InternalApplicationConfiguration.g:37:7: ( 'string' ) + // InternalApplicationConfiguration.g:37:9: 'string' { - match("scope"); + match("string"); } @@ -635,10 +637,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__38; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:38:7: ( 'generate' ) - // InternalApplicationConfiguration.g:38:9: 'generate' + // InternalApplicationConfiguration.g:38:7: ( 'scope' ) + // InternalApplicationConfiguration.g:38:9: 'scope' { - match("generate"); + match("scope"); } @@ -656,10 +658,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__39; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:39:7: ( 'number' ) - // InternalApplicationConfiguration.g:39:9: 'number' + // InternalApplicationConfiguration.g:39:7: ( 'generate' ) + // InternalApplicationConfiguration.g:39:9: 'generate' { - match("number"); + match("generate"); } @@ -677,10 +679,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__40; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:40:7: ( 'runs' ) - // InternalApplicationConfiguration.g:40:9: 'runs' + // InternalApplicationConfiguration.g:40:7: ( 'partial-model' ) + // InternalApplicationConfiguration.g:40:9: 'partial-model' { - match("runs"); + match("partial-model"); } @@ -698,10 +700,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__41; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:41:7: ( 'solver' ) - // InternalApplicationConfiguration.g:41:9: 'solver' + // InternalApplicationConfiguration.g:41:7: ( 'number' ) + // InternalApplicationConfiguration.g:41:9: 'number' { - match("solver"); + match("number"); } @@ -719,10 +721,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__42; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:42:7: ( 'output' ) - // InternalApplicationConfiguration.g:42:9: 'output' + // InternalApplicationConfiguration.g:42:7: ( 'runs' ) + // InternalApplicationConfiguration.g:42:9: 'runs' { - match("output"); + match("runs"); } @@ -740,10 +742,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__43; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:43:7: ( 'debug' ) - // InternalApplicationConfiguration.g:43:9: 'debug' + // InternalApplicationConfiguration.g:43:7: ( 'solver' ) + // InternalApplicationConfiguration.g:43:9: 'solver' { - match("debug"); + match("solver"); } @@ -761,10 +763,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__44; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:44:7: ( 'log' ) - // InternalApplicationConfiguration.g:44:9: 'log' + // InternalApplicationConfiguration.g:44:7: ( 'output' ) + // InternalApplicationConfiguration.g:44:9: 'output' { - match("log"); + match("output"); } @@ -782,10 +784,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__45; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:45:7: ( 'statistics' ) - // InternalApplicationConfiguration.g:45:9: 'statistics' + // InternalApplicationConfiguration.g:45:7: ( 'debug' ) + // InternalApplicationConfiguration.g:45:9: 'debug' { - match("statistics"); + match("debug"); } @@ -803,10 +805,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__46; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:46:7: ( 'SMTSolver' ) - // InternalApplicationConfiguration.g:46:9: 'SMTSolver' + // InternalApplicationConfiguration.g:46:7: ( 'log' ) + // InternalApplicationConfiguration.g:46:9: 'log' { - match("SMTSolver"); + match("log"); } @@ -824,10 +826,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__47; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:47:7: ( 'AlloySolver' ) - // InternalApplicationConfiguration.g:47:9: 'AlloySolver' + // InternalApplicationConfiguration.g:47:7: ( 'statistics' ) + // InternalApplicationConfiguration.g:47:9: 'statistics' { - match("AlloySolver"); + match("statistics"); } @@ -845,10 +847,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = T__48; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:48:7: ( 'ViatraSolver' ) - // InternalApplicationConfiguration.g:48:9: 'ViatraSolver' + // InternalApplicationConfiguration.g:48:7: ( 'SMTSolver' ) + // InternalApplicationConfiguration.g:48:9: 'SMTSolver' { - match("ViatraSolver"); + match("SMTSolver"); } @@ -861,15 +863,57 @@ public class InternalApplicationConfigurationLexer extends Lexer { } // $ANTLR end "T__48" + // $ANTLR start "T__49" + public final void mT__49() throws RecognitionException { + try { + int _type = T__49; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:49:7: ( 'AlloySolver' ) + // InternalApplicationConfiguration.g:49:9: 'AlloySolver' + { + match("AlloySolver"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__49" + + // $ANTLR start "T__50" + public final void mT__50() throws RecognitionException { + try { + int _type = T__50; + int _channel = DEFAULT_TOKEN_CHANNEL; + // InternalApplicationConfiguration.g:50:7: ( 'ViatraSolver' ) + // InternalApplicationConfiguration.g:50:9: 'ViatraSolver' + { + match("ViatraSolver"); + + + } + + state.type = _type; + state.channel = _channel; + } + finally { + } + } + // $ANTLR end "T__50" + // $ANTLR start "RULE_ID" public final void mRULE_ID() throws RecognitionException { try { int _type = RULE_ID; int _channel = DEFAULT_TOKEN_CHANNEL; - // 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:3107:9: ( ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* ) + // InternalApplicationConfiguration.g:3107:11: ( '^' )? ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* { - // InternalApplicationConfiguration.g:3119:11: ( '^' )? + // InternalApplicationConfiguration.g:3107:11: ( '^' )? int alt1=2; int LA1_0 = input.LA(1); @@ -878,7 +922,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt1) { case 1 : - // InternalApplicationConfiguration.g:3119:11: '^' + // InternalApplicationConfiguration.g:3107:11: '^' { match('^'); @@ -896,7 +940,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { recover(mse); throw mse;} - // InternalApplicationConfiguration.g:3119:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* + // InternalApplicationConfiguration.g:3107:40: ( 'a' .. 'z' | 'A' .. 'Z' | '_' | '0' .. '9' )* loop2: do { int alt2=2; @@ -945,10 +989,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_INT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:3121:10: ( ( '0' .. '9' )+ ) - // InternalApplicationConfiguration.g:3121:12: ( '0' .. '9' )+ + // InternalApplicationConfiguration.g:3109:10: ( ( '0' .. '9' )+ ) + // InternalApplicationConfiguration.g:3109:12: ( '0' .. '9' )+ { - // InternalApplicationConfiguration.g:3121:12: ( '0' .. '9' )+ + // InternalApplicationConfiguration.g:3109:12: ( '0' .. '9' )+ int cnt3=0; loop3: do { @@ -962,7 +1006,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt3) { case 1 : - // InternalApplicationConfiguration.g:3121:13: '0' .. '9' + // InternalApplicationConfiguration.g:3109:13: '0' .. '9' { matchRange('0','9'); @@ -994,10 +1038,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_STRING; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:3123:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) - // InternalApplicationConfiguration.g:3123:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalApplicationConfiguration.g:3111:13: ( ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) ) + // InternalApplicationConfiguration.g:3111:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) { - // InternalApplicationConfiguration.g:3123:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) + // InternalApplicationConfiguration.g:3111:15: ( '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' | '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' ) int alt6=2; int LA6_0 = input.LA(1); @@ -1015,10 +1059,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt6) { case 1 : - // InternalApplicationConfiguration.g:3123:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' + // InternalApplicationConfiguration.g:3111:16: '\"' ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* '\"' { match('\"'); - // InternalApplicationConfiguration.g:3123:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* + // InternalApplicationConfiguration.g:3111:20: ( '\\\\' . | ~ ( ( '\\\\' | '\"' ) ) )* loop4: do { int alt4=3; @@ -1034,7 +1078,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt4) { case 1 : - // InternalApplicationConfiguration.g:3123:21: '\\\\' . + // InternalApplicationConfiguration.g:3111:21: '\\\\' . { match('\\'); matchAny(); @@ -1042,7 +1086,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 2 : - // InternalApplicationConfiguration.g:3123:28: ~ ( ( '\\\\' | '\"' ) ) + // InternalApplicationConfiguration.g:3111:28: ~ ( ( '\\\\' | '\"' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1067,10 +1111,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 2 : - // InternalApplicationConfiguration.g:3123:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' + // InternalApplicationConfiguration.g:3111:48: '\\'' ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* '\\'' { match('\''); - // InternalApplicationConfiguration.g:3123:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* + // InternalApplicationConfiguration.g:3111:53: ( '\\\\' . | ~ ( ( '\\\\' | '\\'' ) ) )* loop5: do { int alt5=3; @@ -1086,7 +1130,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt5) { case 1 : - // InternalApplicationConfiguration.g:3123:54: '\\\\' . + // InternalApplicationConfiguration.g:3111:54: '\\\\' . { match('\\'); matchAny(); @@ -1094,7 +1138,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 2 : - // InternalApplicationConfiguration.g:3123:61: ~ ( ( '\\\\' | '\\'' ) ) + // InternalApplicationConfiguration.g:3111:61: ~ ( ( '\\\\' | '\\'' ) ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='&')||(input.LA(1)>='(' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1137,12 +1181,12 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_ML_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:3125:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) - // InternalApplicationConfiguration.g:3125:19: '/*' ( options {greedy=false; } : . )* '*/' + // InternalApplicationConfiguration.g:3113:17: ( '/*' ( options {greedy=false; } : . )* '*/' ) + // InternalApplicationConfiguration.g:3113:19: '/*' ( options {greedy=false; } : . )* '*/' { match("/*"); - // InternalApplicationConfiguration.g:3125:24: ( options {greedy=false; } : . )* + // InternalApplicationConfiguration.g:3113:24: ( options {greedy=false; } : . )* loop7: do { int alt7=2; @@ -1167,7 +1211,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt7) { case 1 : - // InternalApplicationConfiguration.g:3125:52: . + // InternalApplicationConfiguration.g:3113:52: . { matchAny(); @@ -1197,12 +1241,12 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_SL_COMMENT; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:3127:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) - // InternalApplicationConfiguration.g:3127:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? + // InternalApplicationConfiguration.g:3115:17: ( '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? ) + // InternalApplicationConfiguration.g:3115:19: '//' (~ ( ( '\\n' | '\\r' ) ) )* ( ( '\\r' )? '\\n' )? { match("//"); - // InternalApplicationConfiguration.g:3127:24: (~ ( ( '\\n' | '\\r' ) ) )* + // InternalApplicationConfiguration.g:3115:24: (~ ( ( '\\n' | '\\r' ) ) )* loop8: do { int alt8=2; @@ -1215,7 +1259,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { switch (alt8) { case 1 : - // InternalApplicationConfiguration.g:3127:24: ~ ( ( '\\n' | '\\r' ) ) + // InternalApplicationConfiguration.g:3115: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(); @@ -1235,7 +1279,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } } while (true); - // InternalApplicationConfiguration.g:3127:40: ( ( '\\r' )? '\\n' )? + // InternalApplicationConfiguration.g:3115:40: ( ( '\\r' )? '\\n' )? int alt10=2; int LA10_0 = input.LA(1); @@ -1244,9 +1288,9 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt10) { case 1 : - // InternalApplicationConfiguration.g:3127:41: ( '\\r' )? '\\n' + // InternalApplicationConfiguration.g:3115:41: ( '\\r' )? '\\n' { - // InternalApplicationConfiguration.g:3127:41: ( '\\r' )? + // InternalApplicationConfiguration.g:3115:41: ( '\\r' )? int alt9=2; int LA9_0 = input.LA(1); @@ -1255,7 +1299,7 @@ public class InternalApplicationConfigurationLexer extends Lexer { } switch (alt9) { case 1 : - // InternalApplicationConfiguration.g:3127:41: '\\r' + // InternalApplicationConfiguration.g:3115:41: '\\r' { match('\r'); @@ -1287,10 +1331,10 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_WS; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:3129:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) - // InternalApplicationConfiguration.g:3129:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalApplicationConfiguration.g:3117:9: ( ( ' ' | '\\t' | '\\r' | '\\n' )+ ) + // InternalApplicationConfiguration.g:3117:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ { - // InternalApplicationConfiguration.g:3129:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ + // InternalApplicationConfiguration.g:3117:11: ( ' ' | '\\t' | '\\r' | '\\n' )+ int cnt11=0; loop11: do { @@ -1344,8 +1388,8 @@ public class InternalApplicationConfigurationLexer extends Lexer { try { int _type = RULE_ANY_OTHER; int _channel = DEFAULT_TOKEN_CHANNEL; - // InternalApplicationConfiguration.g:3131:16: ( . ) - // InternalApplicationConfiguration.g:3131:18: . + // InternalApplicationConfiguration.g:3119:16: ( . ) + // InternalApplicationConfiguration.g:3119:18: . { matchAny(); @@ -1360,8 +1404,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 | 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; + // 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 | T__49 | T__50 | RULE_ID | RULE_INT | RULE_STRING | RULE_ML_COMMENT | RULE_SL_COMMENT | RULE_WS | RULE_ANY_OTHER ) + int alt12=47; alt12 = dfa12.predict(input); switch (alt12) { case 1 : @@ -1631,49 +1675,63 @@ public class InternalApplicationConfigurationLexer extends Lexer { } break; case 39 : - // InternalApplicationConfiguration.g:1:238: RULE_ID + // InternalApplicationConfiguration.g:1:238: T__49 { - mRULE_ID(); + mT__49(); } break; case 40 : - // InternalApplicationConfiguration.g:1:246: RULE_INT + // InternalApplicationConfiguration.g:1:244: T__50 { - mRULE_INT(); + mT__50(); } break; case 41 : - // InternalApplicationConfiguration.g:1:255: RULE_STRING + // InternalApplicationConfiguration.g:1:250: RULE_ID { - mRULE_STRING(); + mRULE_ID(); } break; case 42 : - // InternalApplicationConfiguration.g:1:267: RULE_ML_COMMENT + // InternalApplicationConfiguration.g:1:258: RULE_INT { - mRULE_ML_COMMENT(); + mRULE_INT(); } break; case 43 : - // InternalApplicationConfiguration.g:1:283: RULE_SL_COMMENT + // InternalApplicationConfiguration.g:1:267: RULE_STRING { - mRULE_SL_COMMENT(); + mRULE_STRING(); } break; case 44 : - // InternalApplicationConfiguration.g:1:299: RULE_WS + // InternalApplicationConfiguration.g:1:279: RULE_ML_COMMENT { - mRULE_WS(); + mRULE_ML_COMMENT(); } break; case 45 : - // InternalApplicationConfiguration.g:1:307: RULE_ANY_OTHER + // InternalApplicationConfiguration.g:1:295: RULE_SL_COMMENT + { + mRULE_SL_COMMENT(); + + } + break; + case 46 : + // InternalApplicationConfiguration.g:1:311: RULE_WS + { + mRULE_WS(); + + } + break; + case 47 : + // InternalApplicationConfiguration.g:1:319: RULE_ANY_OTHER { mRULE_ANY_OTHER(); @@ -1687,102 +1745,101 @@ public class InternalApplicationConfigurationLexer extends Lexer { protected DFA12 dfa12 = new DFA12(this); static final String DFA12_eotS = - "\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"; + "\1\uffff\1\47\4\52\4\uffff\1\52\1\45\2\52\1\uffff\1\45\3\uffff\13\52\1\45\2\uffff\3\45\4\uffff\2\52\1\uffff\5\52\4\uffff\1\52\1\uffff\3\52\5\uffff\16\52\5\uffff\1\52\1\156\26\52\1\u0085\4\52\1\uffff\3\52\1\u008d\10\52\1\u0096\1\u0097\10\52\1\uffff\7\52\1\uffff\10\52\2\uffff\2\52\1\u00b1\4\52\1\u00b6\3\52\1\u00ba\2\52\1\u00bd\1\u00be\4\52\1\u00c3\1\u00c4\1\u00c5\1\u00c6\1\52\1\uffff\1\u00c8\1\52\1\u00ca\1\u00cb\1\uffff\3\52\1\uffff\2\52\2\uffff\1\u00d1\3\52\4\uffff\1\52\1\uffff\1\52\2\uffff\3\52\1\u00da\1\52\1\uffff\1\u00dc\1\uffff\2\52\1\u00df\3\52\1\uffff\1\u00e3\1\uffff\1\u00e4\1\52\1\uffff\1\u00e6\2\52\2\uffff\1\u00e9\1\uffff\2\52\1\uffff\1\u00ec\1\52\1\uffff\1\u00ee\1\uffff"; static final String DFA12_eofS = - "\u00e7\uffff"; + "\u00ef\uffff"; static final String DFA12_minS = - "\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"; + "\1\0\1\56\1\155\1\160\2\151\4\uffff\1\141\1\72\1\145\1\157\1\uffff\1\75\3\uffff\1\142\1\145\1\143\1\145\2\165\1\145\1\157\1\115\1\154\1\151\1\101\2\uffff\2\0\1\52\4\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\2\154\4\uffff\1\143\1\uffff\1\164\1\144\1\156\5\uffff\1\152\1\141\1\156\1\141\1\157\1\154\1\156\1\155\1\164\1\142\1\147\1\124\1\154\1\141\5\uffff\1\157\1\60\1\143\1\154\1\164\1\145\1\144\1\153\2\164\1\141\1\145\1\146\1\145\1\154\1\163\1\151\1\164\1\160\1\166\1\145\1\142\1\160\1\165\1\60\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\60\1\145\1\141\1\145\1\151\1\155\1\154\1\151\1\143\2\60\1\156\1\151\2\145\1\162\1\145\1\165\1\147\1\uffff\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\147\1\162\1\141\1\157\1\163\1\147\1\164\2\uffff\1\147\1\163\1\60\1\162\1\141\1\162\1\164\1\60\1\154\1\123\1\141\1\60\1\147\1\151\2\60\1\145\1\156\1\154\1\144\4\60\1\164\1\uffff\1\60\1\164\2\60\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\60\1\163\1\55\1\145\4\uffff\1\151\1\uffff\1\145\2\uffff\1\145\1\154\1\157\1\60\1\147\1\uffff\1\60\1\uffff\1\154\1\143\1\60\1\162\1\166\1\154\1\uffff\1\60\1\uffff\1\60\1\163\1\uffff\1\60\1\145\1\166\2\uffff\1\60\1\uffff\1\162\1\145\1\uffff\1\60\1\162\1\uffff\1\60\1\uffff"; static final String DFA12_maxS = - "\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"; + "\1\uffff\1\56\1\156\1\170\1\151\1\157\4\uffff\1\141\1\72\2\157\1\uffff\1\75\3\uffff\1\142\1\165\1\164\1\145\2\165\1\145\1\157\1\115\1\154\1\151\1\172\2\uffff\2\uffff\1\57\4\uffff\1\160\1\164\1\uffff\1\141\1\143\1\141\2\154\4\uffff\1\164\1\uffff\1\164\1\144\1\156\5\uffff\1\152\1\141\1\156\1\162\1\157\1\154\1\156\1\155\1\164\1\142\1\147\1\124\1\154\1\141\5\uffff\1\157\1\172\1\143\1\154\1\164\1\145\1\144\1\153\2\164\1\141\1\145\1\146\1\145\1\154\1\163\1\151\1\164\1\160\1\166\1\145\1\142\1\160\1\165\1\172\1\123\1\157\1\164\1\162\1\uffff\1\153\1\165\1\162\1\172\1\145\1\141\1\145\1\151\1\155\1\154\1\151\1\143\2\172\1\156\1\151\2\145\1\162\1\145\1\165\1\147\1\uffff\1\157\1\171\1\162\1\164\1\141\1\144\1\141\1\uffff\1\162\1\147\1\162\1\141\1\157\1\163\1\147\1\164\2\uffff\1\147\1\163\1\172\1\162\1\141\1\162\1\164\1\172\1\154\1\123\1\141\1\172\1\147\1\151\2\172\1\145\1\156\1\154\1\144\4\172\1\164\1\uffff\1\172\1\164\2\172\1\uffff\1\166\1\157\1\123\1\uffff\1\145\1\156\2\uffff\1\172\1\163\1\55\1\145\4\uffff\1\151\1\uffff\1\145\2\uffff\1\145\1\154\1\157\1\172\1\147\1\uffff\1\172\1\uffff\1\154\1\143\1\172\1\162\1\166\1\154\1\uffff\1\172\1\uffff\1\172\1\163\1\uffff\1\172\1\145\1\166\2\uffff\1\172\1\uffff\1\162\1\145\1\uffff\1\172\1\162\1\uffff\1\172\1\uffff"; static final String DFA12_acceptS = - "\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"; + "\6\uffff\1\6\1\7\1\10\1\11\4\uffff\1\22\1\uffff\1\25\1\26\1\27\14\uffff\1\51\1\52\3\uffff\1\56\1\57\1\24\1\1\2\uffff\1\51\5\uffff\1\6\1\7\1\10\1\11\1\uffff\1\14\3\uffff\1\22\1\23\1\25\1\26\1\27\16\uffff\1\52\1\53\1\54\1\55\1\56\35\uffff\1\31\26\uffff\1\44\7\uffff\1\5\10\uffff\1\32\1\40\31\uffff\1\34\4\uffff\1\43\3\uffff\1\2\2\uffff\1\4\1\16\4\uffff\1\17\1\21\1\30\1\33\1\uffff\1\41\1\uffff\1\37\1\42\5\uffff\1\12\1\uffff\1\36\6\uffff\1\3\1\uffff\1\20\2\uffff\1\35\3\uffff\1\13\1\15\1\uffff\1\46\2\uffff\1\45\2\uffff\1\47\1\uffff\1\50"; static final String DFA12_specialS = - "\1\1\37\uffff\1\2\1\0\u00c5\uffff}>"; + "\1\2\40\uffff\1\0\1\1\u00cc\uffff}>"; static final String[] DFA12_transitionS = { - "\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", + "\11\45\2\44\2\45\1\44\22\45\1\44\1\45\1\41\1\16\3\45\1\42\2\45\1\20\1\17\1\10\1\45\1\1\1\43\12\40\1\13\2\45\1\6\3\45\1\34\15\37\1\23\3\37\1\33\2\37\1\35\4\37\1\21\1\45\1\22\1\36\1\37\1\45\2\37\1\15\1\31\1\3\1\5\1\26\1\37\1\2\2\37\1\32\1\14\1\27\1\30\1\12\1\37\1\24\1\25\2\37\1\4\4\37\1\7\1\45\1\11\uff82\45", + "\1\46", + "\1\50\1\51", + "\1\53\7\uffff\1\54", + "\1\55", + "\1\56\5\uffff\1\57", "", - "\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\66\11\uffff\1\67", + "\1\70", + "", + "\1\72", "", "", "", - "\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\76", + "\1\77\17\uffff\1\100", + "\1\102\13\uffff\1\103\4\uffff\1\101", "\1\104", "\1\105", "\1\106", "\1\107", "\1\110", - "\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\111", + "\1\112", + "\1\113", + "\32\52\4\uffff\1\52\1\uffff\32\52", "", "", - "\0\112", - "\0\112", - "\1\113\4\uffff\1\114", + "\0\115", + "\0\115", + "\1\116\4\uffff\1\117", "", "", "", - "\1\116", - "\1\117", "", - "\1\120", "\1\121", "\1\122", + "", "\1\123", "\1\124", + "\1\125", + "\1\126", + "\1\127", "", "", "", "", - "\1\125\16\uffff\1\126\1\uffff\1\127", + "\1\130\16\uffff\1\132\1\uffff\1\131", "", - "\1\130", - "\1\131", + "\1\133", + "\1\134", + "\1\135", "", "", "", "", "", - "\1\132", - "\1\133", - "\1\134", - "\1\136\20\uffff\1\135", + "\1\136", "\1\137", "\1\140", - "\1\141", - "\1\142", + "\1\142\20\uffff\1\141", "\1\143", "\1\144", "\1\145", "\1\146", "\1\147", "\1\150", + "\1\151", + "\1\152", + "\1\153", + "\1\154", "", "", "", "", "", - "\1\151", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", - "\1\153", - "\1\154", "\1\155", - "\1\156", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\1\157", "\1\160", "\1\161", @@ -1800,135 +1857,144 @@ public class InternalApplicationConfigurationLexer extends Lexer { "\1\175", "\1\176", "\1\177", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u0080", "\1\u0081", "\1\u0082", "\1\u0083", "\1\u0084", - "", - "\1\u0085", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\1\u0086", "\1\u0087", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u0088", "\1\u0089", + "", "\1\u008a", "\1\u008b", "\1\u008c", - "\1\u008d", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\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\u0090", + "\1\u0091", "\1\u0092", "\1\u0093", "\1\u0094", "\1\u0095", - "\1\u0096", - "\1\u0097", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\1\u0098", "\1\u0099", - "", "\1\u009a", "\1\u009b", "\1\u009c", "\1\u009d", "\1\u009e", "\1\u009f", - "\1\u00a0", "", + "\1\u00a0", "\1\u00a1", "\1\u00a2", "\1\u00a3", "\1\u00a4", "\1\u00a5", "\1\u00a6", - "\1\u00a7", - "", "", + "\1\u00a7", "\1\u00a8", "\1\u00a9", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u00aa", "\1\u00ab", "\1\u00ac", "\1\u00ad", "\1\u00ae", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "", + "", + "\1\u00af", "\1\u00b0", - "\1\u00b1", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\1\u00b2", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u00b3", "\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", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00b7", "\1\u00b8", "\1\u00b9", - "\1\u00ba", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\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\u00bc", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\1\u00bf", - "", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\1\u00c0", "\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\u00c2", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\1\u00c7", - "\1\u00c8", "", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00c9", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "", - "\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", + "", + "", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00d2", "\1\u00d3", + "\1\u00d4", + "", + "", "", "", - "\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\u00d7", "\1\u00d8", "\1\u00d9", - "\1\u00da", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00db", "", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "", - "\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\u00de", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "\1\u00e0", + "\1\u00e1", + "\1\u00e2", "", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "", - "\12\50\7\uffff\32\50\4\uffff\1\50\1\uffff\32\50", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00e5", "", - "\1\u00e2", - "\1\u00e3", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00e7", + "\1\u00e8", "", - "\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", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "", + "\1\u00ea", + "\1\u00eb", + "", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", + "\1\u00ed", + "", + "\12\52\7\uffff\32\52\4\uffff\1\52\1\uffff\32\52", "" }; @@ -1962,7 +2028,7 @@ 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 | 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 );"; + 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 | T__49 | T__50 | 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; @@ -1972,13 +2038,23 @@ public class InternalApplicationConfigurationLexer extends Lexer { int LA12_33 = input.LA(1); s = -1; - if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 74;} + if ( ((LA12_33>='\u0000' && LA12_33<='\uFFFF')) ) {s = 77;} - else s = 36; + else s = 37; if ( s>=0 ) return s; break; case 1 : + int LA12_34 = input.LA(1); + + s = -1; + if ( ((LA12_34>='\u0000' && LA12_34<='\uFFFF')) ) {s = 77;} + + else s = 37; + + if ( s>=0 ) return s; + break; + case 2 : int LA12_0 = input.LA(1); s = -1; @@ -2008,61 +2084,53 @@ public class InternalApplicationConfigurationLexer extends Lexer { else if ( (LA12_0=='c') ) {s = 13;} - else if ( (LA12_0=='<') ) {s = 14;} + else if ( (LA12_0=='#') ) {s = 14;} - else if ( (LA12_0=='#') ) {s = 15;} + else if ( (LA12_0=='+') ) {s = 15;} - else if ( (LA12_0=='[') ) {s = 16;} + else if ( (LA12_0=='*') ) {s = 16;} - else if ( (LA12_0==']') ) {s = 17;} + else if ( (LA12_0=='[') ) {s = 17;} - else if ( (LA12_0=='O') ) {s = 18;} + else if ( (LA12_0==']') ) {s = 18;} - else if ( (LA12_0=='r') ) {s = 19;} + else if ( (LA12_0=='O') ) {s = 19;} - else if ( (LA12_0=='s') ) {s = 20;} + else if ( (LA12_0=='r') ) {s = 20;} - else if ( (LA12_0=='g') ) {s = 21;} + else if ( (LA12_0=='s') ) {s = 21;} - else if ( (LA12_0=='n') ) {s = 22;} + else if ( (LA12_0=='g') ) {s = 22;} - else if ( (LA12_0=='o') ) {s = 23;} + else if ( (LA12_0=='n') ) {s = 23;} - else if ( (LA12_0=='d') ) {s = 24;} + else if ( (LA12_0=='o') ) {s = 24;} - else if ( (LA12_0=='l') ) {s = 25;} + else if ( (LA12_0=='d') ) {s = 25;} - else if ( (LA12_0=='S') ) {s = 26;} + else if ( (LA12_0=='l') ) {s = 26;} - else if ( (LA12_0=='A') ) {s = 27;} + else if ( (LA12_0=='S') ) {s = 27;} - else if ( (LA12_0=='V') ) {s = 28;} + else if ( (LA12_0=='A') ) {s = 28;} - else if ( (LA12_0=='^') ) {s = 29;} + else if ( (LA12_0=='V') ) {s = 29;} - 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=='^') ) {s = 30;} - else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 31;} + else if ( ((LA12_0>='B' && LA12_0<='N')||(LA12_0>='P' && LA12_0<='R')||(LA12_0>='T' && LA12_0<='U')||(LA12_0>='W' && LA12_0<='Z')||LA12_0=='_'||(LA12_0>='a' && LA12_0<='b')||LA12_0=='h'||(LA12_0>='j' && LA12_0<='k')||LA12_0=='q'||(LA12_0>='t' && LA12_0<='u')||(LA12_0>='w' && LA12_0<='z')) ) {s = 31;} - else if ( (LA12_0=='\"') ) {s = 32;} + else if ( ((LA12_0>='0' && LA12_0<='9')) ) {s = 32;} - else if ( (LA12_0=='\'') ) {s = 33;} + else if ( (LA12_0=='\"') ) {s = 33;} - else if ( (LA12_0=='/') ) {s = 34;} + else if ( (LA12_0=='\'') ) {s = 34;} - else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 35;} + else if ( (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 = 36;} - - if ( s>=0 ) return s; - break; - case 2 : - int LA12_32 = input.LA(1); - - s = -1; - if ( ((LA12_32>='\u0000' && LA12_32<='\uFFFF')) ) {s = 74;} + else if ( ((LA12_0>='\t' && LA12_0<='\n')||LA12_0=='\r'||LA12_0==' ') ) {s = 36;} - else s = 36; + else if ( ((LA12_0>='\u0000' && LA12_0<='\b')||(LA12_0>='\u000B' && LA12_0<='\f')||(LA12_0>='\u000E' && LA12_0<='\u001F')||LA12_0=='!'||(LA12_0>='$' && LA12_0<='&')||(LA12_0>='(' && LA12_0<=')')||LA12_0=='-'||(LA12_0>=';' && LA12_0<='<')||(LA12_0>='>' && LA12_0<='@')||LA12_0=='\\'||LA12_0=='`'||LA12_0=='|'||(LA12_0>='~' && LA12_0<='\uFFFF')) ) {s = 37;} 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 5a083af8..be068326 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 @@ -23,8 +23,9 @@ import java.util.HashMap; @SuppressWarnings("all") public class InternalApplicationConfigurationParser extends AbstractInternalAntlrParser { public static final String[] tokenNames = new String[] { - "", "", "", "", "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'" + "", "", "", "", "RULE_ID", "RULE_STRING", "RULE_INT", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'.'", "'import'", "'epackage'", "'viatra'", "'file'", "'='", "'{'", "','", "'}'", "'package'", "'excluding'", "'::'", "'metamodel'", "'folder'", "'models'", "'patterns'", "'config'", "'#'", "'+='", "'..'", "'*'", "'['", "']'", "'Object'", "'int'", "'real'", "'string'", "'scope'", "'generate'", "'partial-model'", "'number'", "'runs'", "'solver'", "'output'", "'debug'", "'log'", "'statistics'", "'SMTSolver'", "'AlloySolver'", "'ViatraSolver'" }; + public static final int T__50=50; public static final int T__19=19; public static final int T__15=15; public static final int T__16=16; @@ -63,6 +64,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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__49=49; public static final int T__44=44; public static final int T__45=45; public static final int T__46=46; @@ -230,7 +232,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl int alt2=2; int LA2_0 = input.LA(1); - if ( (LA2_0==15||LA2_0==23||(LA2_0>=25 && LA2_0<=27)||(LA2_0>=37 && LA2_0<=38)) ) { + if ( (LA2_0==15||LA2_0==23||(LA2_0>=25 && LA2_0<=27)||(LA2_0>=38 && LA2_0<=39)) ) { alt2=1; } @@ -362,10 +364,10 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl int alt3=2; int LA3_0 = input.LA(1); - if ( (LA3_0==15||LA3_0==23||(LA3_0>=25 && LA3_0<=27)||LA3_0==37) ) { + if ( (LA3_0==15||LA3_0==23||(LA3_0>=25 && LA3_0<=27)||LA3_0==38) ) { alt3=1; } - else if ( (LA3_0==38) ) { + else if ( (LA3_0==39) ) { alt3=2; } else { @@ -1073,7 +1075,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl alt6=5; } break; - case 37: + case 38: { alt6=6; } @@ -3740,7 +3742,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $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 ) ) ) ; + // InternalApplicationConfiguration.g:1207:1: rulePartialModelDeclaration returns [EObject current=null] : (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ; public final EObject rulePartialModelDeclaration() throws RecognitionException { EObject current = null; @@ -3753,16 +3755,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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:1213:2: ( (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) ) + // InternalApplicationConfiguration.g:1214:2: (otherlv_0= 'models' ( (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 ) ) + // InternalApplicationConfiguration.g:1214:2: (otherlv_0= 'models' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= rulePartialModelSpecification ) ) ) + // InternalApplicationConfiguration.g:1215:3: otherlv_0= 'models' ( (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()); + newLeafNode(otherlv_0, grammarAccess.getPartialModelDeclarationAccess().getModelsKeyword_0()); } // InternalApplicationConfiguration.g:1219:3: ( (lv_name_1_0= RULE_ID ) ) @@ -6131,7 +6133,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl int alt30=2; int LA30_0 = input.LA(1); - if ( (LA30_0==RULE_INT||LA30_0==30) ) { + if ( (LA30_0==28) ) { alt30=1; } switch (alt30) { @@ -6315,51 +6317,102 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $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 ) ) )? ) ; + // InternalApplicationConfiguration.g:2062:1: ruleTypeScope returns [EObject current=null] : (otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? ) ; 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 otherlv_0=null; + Token lv_setsNew_2_0=null; + Token lv_setsSum_3_0=null; + Token lv_min_4_0=null; + Token otherlv_5=null; + Token lv_maxUnlimited_6_0=null; Token lv_max_7_0=null; - EObject lv_type_4_0 = null; + EObject lv_type_1_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:2068:2: ( (otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? ) ) + // InternalApplicationConfiguration.g:2069:2: (otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? ) { - // 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:2069:2: (otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? ) + // InternalApplicationConfiguration.g:2070:3: otherlv_0= '#' ( (lv_type_1_0= ruleTypeReference ) ) ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) ( (lv_min_4_0= RULE_INT ) ) (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? { - // 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); + otherlv_0=(Token)match(input,28,FOLLOW_22); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_0, grammarAccess.getTypeScopeAccess().getNumberSignKeyword_0()); + + } + // InternalApplicationConfiguration.g:2074:3: ( (lv_type_1_0= ruleTypeReference ) ) + // InternalApplicationConfiguration.g:2075:4: (lv_type_1_0= ruleTypeReference ) + { + // InternalApplicationConfiguration.g:2075:4: (lv_type_1_0= ruleTypeReference ) + // InternalApplicationConfiguration.g:2076:5: lv_type_1_0= ruleTypeReference + { + if ( state.backtracking==0 ) { - if ( (LA32_0==RULE_INT) ) { - alt32=1; + newCompositeNode(grammarAccess.getTypeScopeAccess().getTypeTypeReferenceParserRuleCall_1_0()); + } - switch (alt32) { + pushFollow(FOLLOW_23); + lv_type_1_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_1_0, + "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeReference"); + afterParserOrEnumRuleCall(); + + } + + } + + + } + + // InternalApplicationConfiguration.g:2093:3: ( ( (lv_setsNew_2_0= '+=' ) ) | ( (lv_setsSum_3_0= '=' ) ) ) + int alt31=2; + int LA31_0 = input.LA(1); + + if ( (LA31_0==29) ) { + alt31=1; + } + else if ( (LA31_0==16) ) { + 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:2071:4: ( (lv_min_0_0= RULE_INT ) ) ( ( (lv_greather_1_0= '<' ) ) | ( (lv_greaterOrEqual_2_0= '<=' ) ) ) + // InternalApplicationConfiguration.g:2094:4: ( (lv_setsNew_2_0= '+=' ) ) { - // InternalApplicationConfiguration.g:2071:4: ( (lv_min_0_0= RULE_INT ) ) - // InternalApplicationConfiguration.g:2072:5: (lv_min_0_0= RULE_INT ) + // InternalApplicationConfiguration.g:2094:4: ( (lv_setsNew_2_0= '+=' ) ) + // InternalApplicationConfiguration.g:2095:5: (lv_setsNew_2_0= '+=' ) { - // InternalApplicationConfiguration.g:2072:5: (lv_min_0_0= RULE_INT ) - // InternalApplicationConfiguration.g:2073:6: lv_min_0_0= RULE_INT + // InternalApplicationConfiguration.g:2095:5: (lv_setsNew_2_0= '+=' ) + // InternalApplicationConfiguration.g:2096:6: lv_setsNew_2_0= '+=' { - lv_min_0_0=(Token)match(input,RULE_INT,FOLLOW_22); if (state.failed) return current; + lv_setsNew_2_0=(Token)match(input,29,FOLLOW_24); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_min_0_0, grammarAccess.getTypeScopeAccess().getMinINTTerminalRuleCall_0_0_0()); + newLeafNode(lv_setsNew_2_0, grammarAccess.getTypeScopeAccess().getSetsNewPlusSignEqualsSignKeyword_2_0_0()); } if ( state.backtracking==0 ) { @@ -6367,11 +6420,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl if (current==null) { current = createModelElement(grammarAccess.getTypeScopeRule()); } - setWithLastConsumed( - current, - "min", - lv_min_0_0, - "org.eclipse.xtext.common.Terminals.INT"); + setWithLastConsumed(current, "setsNew", true, "+="); } @@ -6380,88 +6429,35 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // 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); + break; + case 2 : + // InternalApplicationConfiguration.g:2109:4: ( (lv_setsSum_3_0= '=' ) ) + { + // InternalApplicationConfiguration.g:2109:4: ( (lv_setsSum_3_0= '=' ) ) + // InternalApplicationConfiguration.g:2110:5: (lv_setsSum_3_0= '=' ) + { + // InternalApplicationConfiguration.g:2110:5: (lv_setsSum_3_0= '=' ) + // InternalApplicationConfiguration.g:2111:6: lv_setsSum_3_0= '=' + { + lv_setsSum_3_0=(Token)match(input,16,FOLLOW_24); if (state.failed) return current; + if ( state.backtracking==0 ) { - throw nvae; + newLeafNode(lv_setsSum_3_0, grammarAccess.getTypeScopeAccess().getSetsSumEqualsSignKeyword_2_1_0()); + } - 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, "<="); - - } - - } - + if ( state.backtracking==0 ) { - } + if (current==null) { + current = createModelElement(grammarAccess.getTypeScopeRule()); + } + setWithLastConsumed(current, "setsSum", true, "="); + + } + } - } - break; } @@ -6471,39 +6467,28 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - 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:2124:3: ( (lv_min_4_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2125:4: (lv_min_4_0= RULE_INT ) { - // InternalApplicationConfiguration.g:2126:4: (lv_type_4_0= ruleTypeReference ) - // InternalApplicationConfiguration.g:2127:5: lv_type_4_0= ruleTypeReference + // InternalApplicationConfiguration.g:2125:4: (lv_min_4_0= RULE_INT ) + // InternalApplicationConfiguration.g:2126:5: lv_min_4_0= RULE_INT { + lv_min_4_0=(Token)match(input,RULE_INT,FOLLOW_25); if (state.failed) return current; if ( state.backtracking==0 ) { - newCompositeNode(grammarAccess.getTypeScopeAccess().getTypeTypeReferenceParserRuleCall_2_0()); + newLeafNode(lv_min_4_0, grammarAccess.getTypeScopeAccess().getMinINTTerminalRuleCall_3_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()); + current = createModelElement(grammarAccess.getTypeScopeRule()); } - set( + setWithLastConsumed( current, - "type", - lv_type_4_0, - "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeReference"); - afterParserOrEnumRuleCall(); + "min", + lv_min_4_0, + "org.eclipse.xtext.common.Terminals.INT"); } @@ -6512,48 +6497,54 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // 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); + // InternalApplicationConfiguration.g:2142:3: (otherlv_5= '..' ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) )? + int alt33=2; + int LA33_0 = input.LA(1); - if ( ((LA34_0>=28 && LA34_0<=29)) ) { - alt34=1; + if ( (LA33_0==30) ) { + alt33=1; } - switch (alt34) { + switch (alt33) { case 1 : - // InternalApplicationConfiguration.g:2145:4: ( ( (lv_less_5_0= '<' ) ) | ( (lv_lessOrEqual_6_0= '<=' ) ) ) ( (lv_max_7_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2143:4: otherlv_5= '..' ( ( (lv_maxUnlimited_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); + otherlv_5=(Token)match(input,30,FOLLOW_26); if (state.failed) return current; + if ( state.backtracking==0 ) { + + newLeafNode(otherlv_5, grammarAccess.getTypeScopeAccess().getFullStopFullStopKeyword_4_0()); + + } + // InternalApplicationConfiguration.g:2147:4: ( ( (lv_maxUnlimited_6_0= '*' ) ) | ( (lv_max_7_0= RULE_INT ) ) ) + int alt32=2; + int LA32_0 = input.LA(1); - if ( (LA33_0==28) ) { - alt33=1; + if ( (LA32_0==31) ) { + alt32=1; } - else if ( (LA33_0==29) ) { - alt33=2; + else if ( (LA32_0==RULE_INT) ) { + alt32=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = - new NoViableAltException("", 33, 0, input); + new NoViableAltException("", 32, 0, input); throw nvae; } - switch (alt33) { + switch (alt32) { case 1 : - // InternalApplicationConfiguration.g:2146:5: ( (lv_less_5_0= '<' ) ) + // InternalApplicationConfiguration.g:2148:5: ( (lv_maxUnlimited_6_0= '*' ) ) { - // InternalApplicationConfiguration.g:2146:5: ( (lv_less_5_0= '<' ) ) - // InternalApplicationConfiguration.g:2147:6: (lv_less_5_0= '<' ) + // InternalApplicationConfiguration.g:2148:5: ( (lv_maxUnlimited_6_0= '*' ) ) + // InternalApplicationConfiguration.g:2149:6: (lv_maxUnlimited_6_0= '*' ) { - // InternalApplicationConfiguration.g:2147:6: (lv_less_5_0= '<' ) - // InternalApplicationConfiguration.g:2148:7: lv_less_5_0= '<' + // InternalApplicationConfiguration.g:2149:6: (lv_maxUnlimited_6_0= '*' ) + // InternalApplicationConfiguration.g:2150:7: lv_maxUnlimited_6_0= '*' { - lv_less_5_0=(Token)match(input,28,FOLLOW_26); if (state.failed) return current; + lv_maxUnlimited_6_0=(Token)match(input,31,FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_less_5_0, grammarAccess.getTypeScopeAccess().getLessLessThanSignKeyword_3_0_0_0()); + newLeafNode(lv_maxUnlimited_6_0, grammarAccess.getTypeScopeAccess().getMaxUnlimitedAsteriskKeyword_4_1_0_0()); } if ( state.backtracking==0 ) { @@ -6561,7 +6552,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl if (current==null) { current = createModelElement(grammarAccess.getTypeScopeRule()); } - setWithLastConsumed(current, "less", true, "<"); + setWithLastConsumed(current, "maxUnlimited", true, "*"); } @@ -6574,18 +6565,18 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:2161:5: ( (lv_lessOrEqual_6_0= '<=' ) ) + // InternalApplicationConfiguration.g:2163:5: ( (lv_max_7_0= RULE_INT ) ) { - // InternalApplicationConfiguration.g:2161:5: ( (lv_lessOrEqual_6_0= '<=' ) ) - // InternalApplicationConfiguration.g:2162:6: (lv_lessOrEqual_6_0= '<=' ) + // InternalApplicationConfiguration.g:2163:5: ( (lv_max_7_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2164:6: (lv_max_7_0= RULE_INT ) { - // InternalApplicationConfiguration.g:2162:6: (lv_lessOrEqual_6_0= '<=' ) - // InternalApplicationConfiguration.g:2163:7: lv_lessOrEqual_6_0= '<=' + // InternalApplicationConfiguration.g:2164:6: (lv_max_7_0= RULE_INT ) + // InternalApplicationConfiguration.g:2165:7: lv_max_7_0= RULE_INT { - lv_lessOrEqual_6_0=(Token)match(input,29,FOLLOW_26); if (state.failed) return current; + lv_max_7_0=(Token)match(input,RULE_INT,FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { - newLeafNode(lv_lessOrEqual_6_0, grammarAccess.getTypeScopeAccess().getLessOrEqualLessThanSignEqualsSignKeyword_3_0_1_0()); + newLeafNode(lv_max_7_0, grammarAccess.getTypeScopeAccess().getMaxINTTerminalRuleCall_4_1_1_0()); } if ( state.backtracking==0 ) { @@ -6593,7 +6584,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl if (current==null) { current = createModelElement(grammarAccess.getTypeScopeRule()); } - setWithLastConsumed(current, "lessOrEqual", true, "<="); + setWithLastConsumed( + current, + "max", + lv_max_7_0, + "org.eclipse.xtext.common.Terminals.INT"); } @@ -6608,36 +6603,6 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // 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; @@ -6669,7 +6634,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleTypeReference" - // InternalApplicationConfiguration.g:2199:1: entryRuleTypeReference returns [EObject current=null] : iv_ruleTypeReference= ruleTypeReference EOF ; + // InternalApplicationConfiguration.g:2187:1: entryRuleTypeReference returns [EObject current=null] : iv_ruleTypeReference= ruleTypeReference EOF ; public final EObject entryRuleTypeReference() throws RecognitionException { EObject current = null; @@ -6677,8 +6642,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2199:54: (iv_ruleTypeReference= ruleTypeReference EOF ) - // InternalApplicationConfiguration.g:2200:2: iv_ruleTypeReference= ruleTypeReference EOF + // InternalApplicationConfiguration.g:2187:54: (iv_ruleTypeReference= ruleTypeReference EOF ) + // InternalApplicationConfiguration.g:2188:2: iv_ruleTypeReference= ruleTypeReference EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTypeReferenceRule()); @@ -6709,7 +6674,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $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 ) ; + // InternalApplicationConfiguration.g:2194:1: ruleTypeReference returns [EObject current=null] : (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) ; public final EObject ruleTypeReference() throws RecognitionException { EObject current = null; @@ -6728,48 +6693,48 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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:2200:2: ( (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) ) + // InternalApplicationConfiguration.g:2201: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; + // InternalApplicationConfiguration.g:2201:2: (this_ClassReference_0= ruleClassReference | this_ObjectReference_1= ruleObjectReference | this_IntegerReference_2= ruleIntegerReference | this_RealReference_3= ruleRealReference | this_StringReference_4= ruleStringReference ) + int alt34=5; switch ( input.LA(1) ) { - case 31: - { - alt35=1; - } - break; - case 33: + case 32: { - alt35=2; + alt34=1; } break; case 34: { - alt35=3; + alt34=2; } break; case 35: { - alt35=4; + alt34=3; } break; case 36: { - alt35=5; + alt34=4; + } + break; + case 37: + { + alt34=5; } break; default: if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = - new NoViableAltException("", 35, 0, input); + new NoViableAltException("", 34, 0, input); throw nvae; } - switch (alt35) { + switch (alt34) { case 1 : - // InternalApplicationConfiguration.g:2214:3: this_ClassReference_0= ruleClassReference + // InternalApplicationConfiguration.g:2202:3: this_ClassReference_0= ruleClassReference { if ( state.backtracking==0 ) { @@ -6791,7 +6756,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:2223:3: this_ObjectReference_1= ruleObjectReference + // InternalApplicationConfiguration.g:2211:3: this_ObjectReference_1= ruleObjectReference { if ( state.backtracking==0 ) { @@ -6813,7 +6778,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:2232:3: this_IntegerReference_2= ruleIntegerReference + // InternalApplicationConfiguration.g:2220:3: this_IntegerReference_2= ruleIntegerReference { if ( state.backtracking==0 ) { @@ -6835,7 +6800,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 4 : - // InternalApplicationConfiguration.g:2241:3: this_RealReference_3= ruleRealReference + // InternalApplicationConfiguration.g:2229:3: this_RealReference_3= ruleRealReference { if ( state.backtracking==0 ) { @@ -6857,7 +6822,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 5 : - // InternalApplicationConfiguration.g:2250:3: this_StringReference_4= ruleStringReference + // InternalApplicationConfiguration.g:2238:3: this_StringReference_4= ruleStringReference { if ( state.backtracking==0 ) { @@ -6903,7 +6868,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleClassReference" - // InternalApplicationConfiguration.g:2262:1: entryRuleClassReference returns [EObject current=null] : iv_ruleClassReference= ruleClassReference EOF ; + // InternalApplicationConfiguration.g:2250:1: entryRuleClassReference returns [EObject current=null] : iv_ruleClassReference= ruleClassReference EOF ; public final EObject entryRuleClassReference() throws RecognitionException { EObject current = null; @@ -6911,8 +6876,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2262:55: (iv_ruleClassReference= ruleClassReference EOF ) - // InternalApplicationConfiguration.g:2263:2: iv_ruleClassReference= ruleClassReference EOF + // InternalApplicationConfiguration.g:2250:55: (iv_ruleClassReference= ruleClassReference EOF ) + // InternalApplicationConfiguration.g:2251:2: iv_ruleClassReference= ruleClassReference EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getClassReferenceRule()); @@ -6943,7 +6908,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleClassReference" - // InternalApplicationConfiguration.g:2269:1: ruleClassReference returns [EObject current=null] : (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) ; + // InternalApplicationConfiguration.g:2257:1: ruleClassReference returns [EObject current=null] : (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) ; public final EObject ruleClassReference() throws RecognitionException { EObject current = null; @@ -6956,23 +6921,23 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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:2263:2: ( (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) ) + // InternalApplicationConfiguration.g:2264: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= ']' + // InternalApplicationConfiguration.g:2264:2: (otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' ) + // InternalApplicationConfiguration.g:2265:3: otherlv_0= '[' ( (lv_element_1_0= ruleMetamodelElement ) ) otherlv_2= ']' { - otherlv_0=(Token)match(input,31,FOLLOW_6); if (state.failed) return current; + otherlv_0=(Token)match(input,32,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:2269:3: ( (lv_element_1_0= ruleMetamodelElement ) ) + // InternalApplicationConfiguration.g:2270:4: (lv_element_1_0= ruleMetamodelElement ) { - // InternalApplicationConfiguration.g:2282:4: (lv_element_1_0= ruleMetamodelElement ) - // InternalApplicationConfiguration.g:2283:5: lv_element_1_0= ruleMetamodelElement + // InternalApplicationConfiguration.g:2270:4: (lv_element_1_0= ruleMetamodelElement ) + // InternalApplicationConfiguration.g:2271:5: lv_element_1_0= ruleMetamodelElement { if ( state.backtracking==0 ) { @@ -7003,7 +6968,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_2=(Token)match(input,32,FOLLOW_2); if (state.failed) return current; + otherlv_2=(Token)match(input,33,FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_2, grammarAccess.getClassReferenceAccess().getRightSquareBracketKeyword_2()); @@ -7034,7 +6999,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleObjectReference" - // InternalApplicationConfiguration.g:2308:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ; + // InternalApplicationConfiguration.g:2296:1: entryRuleObjectReference returns [EObject current=null] : iv_ruleObjectReference= ruleObjectReference EOF ; public final EObject entryRuleObjectReference() throws RecognitionException { EObject current = null; @@ -7042,8 +7007,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2308:56: (iv_ruleObjectReference= ruleObjectReference EOF ) - // InternalApplicationConfiguration.g:2309:2: iv_ruleObjectReference= ruleObjectReference EOF + // InternalApplicationConfiguration.g:2296:56: (iv_ruleObjectReference= ruleObjectReference EOF ) + // InternalApplicationConfiguration.g:2297:2: iv_ruleObjectReference= ruleObjectReference EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getObjectReferenceRule()); @@ -7074,7 +7039,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleObjectReference" - // InternalApplicationConfiguration.g:2315:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'Object' ) ; + // InternalApplicationConfiguration.g:2303:1: ruleObjectReference returns [EObject current=null] : ( () otherlv_1= 'Object' ) ; public final EObject ruleObjectReference() throws RecognitionException { EObject current = null; @@ -7084,14 +7049,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2321:2: ( ( () otherlv_1= 'Object' ) ) - // InternalApplicationConfiguration.g:2322:2: ( () otherlv_1= 'Object' ) + // InternalApplicationConfiguration.g:2309:2: ( ( () otherlv_1= 'Object' ) ) + // InternalApplicationConfiguration.g:2310:2: ( () otherlv_1= 'Object' ) { - // InternalApplicationConfiguration.g:2322:2: ( () otherlv_1= 'Object' ) - // InternalApplicationConfiguration.g:2323:3: () otherlv_1= 'Object' + // InternalApplicationConfiguration.g:2310:2: ( () otherlv_1= 'Object' ) + // InternalApplicationConfiguration.g:2311:3: () otherlv_1= 'Object' { - // InternalApplicationConfiguration.g:2323:3: () - // InternalApplicationConfiguration.g:2324:4: + // InternalApplicationConfiguration.g:2311:3: () + // InternalApplicationConfiguration.g:2312:4: { if ( state.backtracking==0 ) { @@ -7103,7 +7068,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,33,FOLLOW_2); if (state.failed) return current; + otherlv_1=(Token)match(input,34,FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getObjectReferenceAccess().getObjectKeyword_1()); @@ -7134,7 +7099,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleIntegerReference" - // InternalApplicationConfiguration.g:2338:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ; + // InternalApplicationConfiguration.g:2326:1: entryRuleIntegerReference returns [EObject current=null] : iv_ruleIntegerReference= ruleIntegerReference EOF ; public final EObject entryRuleIntegerReference() throws RecognitionException { EObject current = null; @@ -7142,8 +7107,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2338:57: (iv_ruleIntegerReference= ruleIntegerReference EOF ) - // InternalApplicationConfiguration.g:2339:2: iv_ruleIntegerReference= ruleIntegerReference EOF + // InternalApplicationConfiguration.g:2326:57: (iv_ruleIntegerReference= ruleIntegerReference EOF ) + // InternalApplicationConfiguration.g:2327:2: iv_ruleIntegerReference= ruleIntegerReference EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getIntegerReferenceRule()); @@ -7174,7 +7139,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleIntegerReference" - // InternalApplicationConfiguration.g:2345:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ; + // InternalApplicationConfiguration.g:2333:1: ruleIntegerReference returns [EObject current=null] : ( () otherlv_1= 'int' ) ; public final EObject ruleIntegerReference() throws RecognitionException { EObject current = null; @@ -7184,14 +7149,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2351:2: ( ( () otherlv_1= 'int' ) ) - // InternalApplicationConfiguration.g:2352:2: ( () otherlv_1= 'int' ) + // InternalApplicationConfiguration.g:2339:2: ( ( () otherlv_1= 'int' ) ) + // InternalApplicationConfiguration.g:2340:2: ( () otherlv_1= 'int' ) { - // InternalApplicationConfiguration.g:2352:2: ( () otherlv_1= 'int' ) - // InternalApplicationConfiguration.g:2353:3: () otherlv_1= 'int' + // InternalApplicationConfiguration.g:2340:2: ( () otherlv_1= 'int' ) + // InternalApplicationConfiguration.g:2341:3: () otherlv_1= 'int' { - // InternalApplicationConfiguration.g:2353:3: () - // InternalApplicationConfiguration.g:2354:4: + // InternalApplicationConfiguration.g:2341:3: () + // InternalApplicationConfiguration.g:2342:4: { if ( state.backtracking==0 ) { @@ -7203,7 +7168,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,34,FOLLOW_2); if (state.failed) return current; + otherlv_1=(Token)match(input,35,FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getIntegerReferenceAccess().getIntKeyword_1()); @@ -7234,7 +7199,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleRealReference" - // InternalApplicationConfiguration.g:2368:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ; + // InternalApplicationConfiguration.g:2356:1: entryRuleRealReference returns [EObject current=null] : iv_ruleRealReference= ruleRealReference EOF ; public final EObject entryRuleRealReference() throws RecognitionException { EObject current = null; @@ -7242,8 +7207,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2368:54: (iv_ruleRealReference= ruleRealReference EOF ) - // InternalApplicationConfiguration.g:2369:2: iv_ruleRealReference= ruleRealReference EOF + // InternalApplicationConfiguration.g:2356:54: (iv_ruleRealReference= ruleRealReference EOF ) + // InternalApplicationConfiguration.g:2357:2: iv_ruleRealReference= ruleRealReference EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getRealReferenceRule()); @@ -7274,7 +7239,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleRealReference" - // InternalApplicationConfiguration.g:2375:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ; + // InternalApplicationConfiguration.g:2363:1: ruleRealReference returns [EObject current=null] : ( () otherlv_1= 'real' ) ; public final EObject ruleRealReference() throws RecognitionException { EObject current = null; @@ -7284,14 +7249,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2381:2: ( ( () otherlv_1= 'real' ) ) - // InternalApplicationConfiguration.g:2382:2: ( () otherlv_1= 'real' ) + // InternalApplicationConfiguration.g:2369:2: ( ( () otherlv_1= 'real' ) ) + // InternalApplicationConfiguration.g:2370:2: ( () otherlv_1= 'real' ) { - // InternalApplicationConfiguration.g:2382:2: ( () otherlv_1= 'real' ) - // InternalApplicationConfiguration.g:2383:3: () otherlv_1= 'real' + // InternalApplicationConfiguration.g:2370:2: ( () otherlv_1= 'real' ) + // InternalApplicationConfiguration.g:2371:3: () otherlv_1= 'real' { - // InternalApplicationConfiguration.g:2383:3: () - // InternalApplicationConfiguration.g:2384:4: + // InternalApplicationConfiguration.g:2371:3: () + // InternalApplicationConfiguration.g:2372:4: { if ( state.backtracking==0 ) { @@ -7303,7 +7268,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,35,FOLLOW_2); if (state.failed) return current; + otherlv_1=(Token)match(input,36,FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getRealReferenceAccess().getRealKeyword_1()); @@ -7334,7 +7299,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleStringReference" - // InternalApplicationConfiguration.g:2398:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ; + // InternalApplicationConfiguration.g:2386:1: entryRuleStringReference returns [EObject current=null] : iv_ruleStringReference= ruleStringReference EOF ; public final EObject entryRuleStringReference() throws RecognitionException { EObject current = null; @@ -7342,8 +7307,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2398:56: (iv_ruleStringReference= ruleStringReference EOF ) - // InternalApplicationConfiguration.g:2399:2: iv_ruleStringReference= ruleStringReference EOF + // InternalApplicationConfiguration.g:2386:56: (iv_ruleStringReference= ruleStringReference EOF ) + // InternalApplicationConfiguration.g:2387:2: iv_ruleStringReference= ruleStringReference EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getStringReferenceRule()); @@ -7374,7 +7339,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleStringReference" - // InternalApplicationConfiguration.g:2405:1: ruleStringReference returns [EObject current=null] : ( () otherlv_1= 'string' ) ; + // InternalApplicationConfiguration.g:2393:1: ruleStringReference returns [EObject current=null] : ( () otherlv_1= 'string' ) ; public final EObject ruleStringReference() throws RecognitionException { EObject current = null; @@ -7384,14 +7349,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2411:2: ( ( () otherlv_1= 'string' ) ) - // InternalApplicationConfiguration.g:2412:2: ( () otherlv_1= 'string' ) + // InternalApplicationConfiguration.g:2399:2: ( ( () otherlv_1= 'string' ) ) + // InternalApplicationConfiguration.g:2400:2: ( () otherlv_1= 'string' ) { - // InternalApplicationConfiguration.g:2412:2: ( () otherlv_1= 'string' ) - // InternalApplicationConfiguration.g:2413:3: () otherlv_1= 'string' + // InternalApplicationConfiguration.g:2400:2: ( () otherlv_1= 'string' ) + // InternalApplicationConfiguration.g:2401:3: () otherlv_1= 'string' { - // InternalApplicationConfiguration.g:2413:3: () - // InternalApplicationConfiguration.g:2414:4: + // InternalApplicationConfiguration.g:2401:3: () + // InternalApplicationConfiguration.g:2402:4: { if ( state.backtracking==0 ) { @@ -7403,7 +7368,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - otherlv_1=(Token)match(input,36,FOLLOW_2); if (state.failed) return current; + otherlv_1=(Token)match(input,37,FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_1, grammarAccess.getStringReferenceAccess().getStringKeyword_1()); @@ -7434,7 +7399,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleScopeDeclaration" - // InternalApplicationConfiguration.g:2428:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ; + // InternalApplicationConfiguration.g:2416:1: entryRuleScopeDeclaration returns [EObject current=null] : iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ; public final EObject entryRuleScopeDeclaration() throws RecognitionException { EObject current = null; @@ -7442,8 +7407,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2428:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ) - // InternalApplicationConfiguration.g:2429:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF + // InternalApplicationConfiguration.g:2416:57: (iv_ruleScopeDeclaration= ruleScopeDeclaration EOF ) + // InternalApplicationConfiguration.g:2417:2: iv_ruleScopeDeclaration= ruleScopeDeclaration EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getScopeDeclarationRule()); @@ -7474,7 +7439,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $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 ) ) ) ; + // InternalApplicationConfiguration.g:2423: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; @@ -7487,23 +7452,23 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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:2429:2: ( (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) ) + // InternalApplicationConfiguration.g:2430: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 ) ) + // InternalApplicationConfiguration.g:2430:2: (otherlv_0= 'scope' ( (lv_name_1_0= RULE_ID ) ) ( (lv_specification_2_0= ruleScopeSpecification ) ) ) + // InternalApplicationConfiguration.g:2431: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; + otherlv_0=(Token)match(input,38,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:2435:3: ( (lv_name_1_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2436: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 + // InternalApplicationConfiguration.g:2436:4: (lv_name_1_0= RULE_ID ) + // InternalApplicationConfiguration.g:2437: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 ) { @@ -7529,11 +7494,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - // InternalApplicationConfiguration.g:2465:3: ( (lv_specification_2_0= ruleScopeSpecification ) ) - // InternalApplicationConfiguration.g:2466:4: (lv_specification_2_0= ruleScopeSpecification ) + // InternalApplicationConfiguration.g:2453:3: ( (lv_specification_2_0= ruleScopeSpecification ) ) + // InternalApplicationConfiguration.g:2454:4: (lv_specification_2_0= ruleScopeSpecification ) { - // InternalApplicationConfiguration.g:2466:4: (lv_specification_2_0= ruleScopeSpecification ) - // InternalApplicationConfiguration.g:2467:5: lv_specification_2_0= ruleScopeSpecification + // InternalApplicationConfiguration.g:2454:4: (lv_specification_2_0= ruleScopeSpecification ) + // InternalApplicationConfiguration.g:2455:5: lv_specification_2_0= ruleScopeSpecification { if ( state.backtracking==0 ) { @@ -7589,7 +7554,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleScopeReference" - // InternalApplicationConfiguration.g:2488:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ; + // InternalApplicationConfiguration.g:2476:1: entryRuleScopeReference returns [EObject current=null] : iv_ruleScopeReference= ruleScopeReference EOF ; public final EObject entryRuleScopeReference() throws RecognitionException { EObject current = null; @@ -7597,8 +7562,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2488:55: (iv_ruleScopeReference= ruleScopeReference EOF ) - // InternalApplicationConfiguration.g:2489:2: iv_ruleScopeReference= ruleScopeReference EOF + // InternalApplicationConfiguration.g:2476:55: (iv_ruleScopeReference= ruleScopeReference EOF ) + // InternalApplicationConfiguration.g:2477:2: iv_ruleScopeReference= ruleScopeReference EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getScopeReferenceRule()); @@ -7629,7 +7594,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleScopeReference" - // InternalApplicationConfiguration.g:2495:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; + // InternalApplicationConfiguration.g:2483:1: ruleScopeReference returns [EObject current=null] : ( (otherlv_0= RULE_ID ) ) ; public final EObject ruleScopeReference() throws RecognitionException { EObject current = null; @@ -7639,14 +7604,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2501:2: ( ( (otherlv_0= RULE_ID ) ) ) - // InternalApplicationConfiguration.g:2502:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2489:2: ( ( (otherlv_0= RULE_ID ) ) ) + // InternalApplicationConfiguration.g:2490:2: ( (otherlv_0= RULE_ID ) ) { - // InternalApplicationConfiguration.g:2502:2: ( (otherlv_0= RULE_ID ) ) - // InternalApplicationConfiguration.g:2503:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:2490:2: ( (otherlv_0= RULE_ID ) ) + // InternalApplicationConfiguration.g:2491:3: (otherlv_0= RULE_ID ) { - // InternalApplicationConfiguration.g:2503:3: (otherlv_0= RULE_ID ) - // InternalApplicationConfiguration.g:2504:4: otherlv_0= RULE_ID + // InternalApplicationConfiguration.g:2491:3: (otherlv_0= RULE_ID ) + // InternalApplicationConfiguration.g:2492:4: otherlv_0= RULE_ID { if ( state.backtracking==0 ) { @@ -7689,7 +7654,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleScope" - // InternalApplicationConfiguration.g:2518:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ; + // InternalApplicationConfiguration.g:2506:1: entryRuleScope returns [EObject current=null] : iv_ruleScope= ruleScope EOF ; public final EObject entryRuleScope() throws RecognitionException { EObject current = null; @@ -7697,8 +7662,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2518:46: (iv_ruleScope= ruleScope EOF ) - // InternalApplicationConfiguration.g:2519:2: iv_ruleScope= ruleScope EOF + // InternalApplicationConfiguration.g:2506:46: (iv_ruleScope= ruleScope EOF ) + // InternalApplicationConfiguration.g:2507:2: iv_ruleScope= ruleScope EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getScopeRule()); @@ -7729,7 +7694,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleScope" - // InternalApplicationConfiguration.g:2525:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ; + // InternalApplicationConfiguration.g:2513:1: ruleScope returns [EObject current=null] : (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ; public final EObject ruleScope() throws RecognitionException { EObject current = null; @@ -7742,29 +7707,29 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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:2519:2: ( (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) ) + // InternalApplicationConfiguration.g:2520: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); + // InternalApplicationConfiguration.g:2520:2: (this_ScopeSpecification_0= ruleScopeSpecification | this_ScopeReference_1= ruleScopeReference ) + int alt35=2; + int LA35_0 = input.LA(1); - if ( (LA36_0==17) ) { - alt36=1; + if ( (LA35_0==17) ) { + alt35=1; } - else if ( (LA36_0==RULE_ID) ) { - alt36=2; + else if ( (LA35_0==RULE_ID) ) { + alt35=2; } else { if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = - new NoViableAltException("", 36, 0, input); + new NoViableAltException("", 35, 0, input); throw nvae; } - switch (alt36) { + switch (alt35) { case 1 : - // InternalApplicationConfiguration.g:2533:3: this_ScopeSpecification_0= ruleScopeSpecification + // InternalApplicationConfiguration.g:2521:3: this_ScopeSpecification_0= ruleScopeSpecification { if ( state.backtracking==0 ) { @@ -7786,7 +7751,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:2542:3: this_ScopeReference_1= ruleScopeReference + // InternalApplicationConfiguration.g:2530:3: this_ScopeReference_1= ruleScopeReference { if ( state.backtracking==0 ) { @@ -7832,7 +7797,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleTask" - // InternalApplicationConfiguration.g:2554:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ; + // InternalApplicationConfiguration.g:2542:1: entryRuleTask returns [EObject current=null] : iv_ruleTask= ruleTask EOF ; public final EObject entryRuleTask() throws RecognitionException { EObject current = null; @@ -7840,8 +7805,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2554:45: (iv_ruleTask= ruleTask EOF ) - // InternalApplicationConfiguration.g:2555:2: iv_ruleTask= ruleTask EOF + // InternalApplicationConfiguration.g:2542:45: (iv_ruleTask= ruleTask EOF ) + // InternalApplicationConfiguration.g:2543:2: iv_ruleTask= ruleTask EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getTaskRule()); @@ -7872,7 +7837,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleTask" - // InternalApplicationConfiguration.g:2561:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ; + // InternalApplicationConfiguration.g:2549:1: ruleTask returns [EObject current=null] : this_GenerationTask_0= ruleGenerationTask ; public final EObject ruleTask() throws RecognitionException { EObject current = null; @@ -7883,8 +7848,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl enterRule(); try { - // InternalApplicationConfiguration.g:2567:2: (this_GenerationTask_0= ruleGenerationTask ) - // InternalApplicationConfiguration.g:2568:2: this_GenerationTask_0= ruleGenerationTask + // InternalApplicationConfiguration.g:2555:2: (this_GenerationTask_0= ruleGenerationTask ) + // InternalApplicationConfiguration.g:2556:2: this_GenerationTask_0= ruleGenerationTask { if ( state.backtracking==0 ) { @@ -7924,7 +7889,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "entryRuleGenerationTask" - // InternalApplicationConfiguration.g:2579:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ; + // InternalApplicationConfiguration.g:2567:1: entryRuleGenerationTask returns [EObject current=null] : iv_ruleGenerationTask= ruleGenerationTask EOF ; public final EObject entryRuleGenerationTask() throws RecognitionException { EObject current = null; @@ -7932,8 +7897,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl try { - // InternalApplicationConfiguration.g:2579:55: (iv_ruleGenerationTask= ruleGenerationTask EOF ) - // InternalApplicationConfiguration.g:2580:2: iv_ruleGenerationTask= ruleGenerationTask EOF + // InternalApplicationConfiguration.g:2567:55: (iv_ruleGenerationTask= ruleGenerationTask EOF ) + // InternalApplicationConfiguration.g:2568:2: iv_ruleGenerationTask= ruleGenerationTask EOF { if ( state.backtracking==0 ) { newCompositeNode(grammarAccess.getGenerationTaskRule()); @@ -7964,7 +7929,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $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= '}' ) ; + // InternalApplicationConfiguration.g:2574:1: ruleGenerationTask returns [EObject current=null] : (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ; public final EObject ruleGenerationTask() throws RecognitionException { EObject current = null; @@ -8022,20 +7987,20 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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:2580:2: ( (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) ) + // InternalApplicationConfiguration.g:2581:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) { - // 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= '}' + // InternalApplicationConfiguration.g:2581:2: (otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' ) + // InternalApplicationConfiguration.g:2582:3: otherlv_0= 'generate' () otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) otherlv_40= '}' { - otherlv_0=(Token)match(input,38,FOLLOW_14); if (state.failed) return current; + otherlv_0=(Token)match(input,39,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: + // InternalApplicationConfiguration.g:2586:3: () + // InternalApplicationConfiguration.g:2587:4: { if ( state.backtracking==0 ) { @@ -8053,45 +8018,45 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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:2597:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) ) + // InternalApplicationConfiguration.g:2598:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) { - // 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 ) ) ) ) ) ) )* ) + // InternalApplicationConfiguration.g:2598:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) ) + // InternalApplicationConfiguration.g:2599:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) { 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:2602:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* ) + // InternalApplicationConfiguration.g:2603:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* { - // 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: + // InternalApplicationConfiguration.g:2603:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )* + loop36: do { - int alt37=13; - alt37 = dfa37.predict(input); - switch (alt37) { + int alt36=13; + alt36 = dfa36.predict(input); + switch (alt36) { case 1 : - // InternalApplicationConfiguration.g:2616:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2604: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 ) ) ) ) ) + // InternalApplicationConfiguration.g:2604:4: ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2605: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 ) ) ) ) + // InternalApplicationConfiguration.g:2605:111: ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) + // InternalApplicationConfiguration.g:2606: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 ) ) ) + // InternalApplicationConfiguration.g:2609:9: ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) + // InternalApplicationConfiguration.g:2609: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 ) ) + // InternalApplicationConfiguration.g:2609:19: (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) + // InternalApplicationConfiguration.g:2609: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 ) { @@ -8105,11 +8070,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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:2617:9: ( (lv_metamodel_6_0= ruleMetamodel ) ) + // InternalApplicationConfiguration.g:2618:10: (lv_metamodel_6_0= ruleMetamodel ) { - // InternalApplicationConfiguration.g:2630:10: (lv_metamodel_6_0= ruleMetamodel ) - // InternalApplicationConfiguration.g:2631:11: lv_metamodel_6_0= ruleMetamodel + // InternalApplicationConfiguration.g:2618:10: (lv_metamodel_6_0= ruleMetamodel ) + // InternalApplicationConfiguration.g:2619:11: lv_metamodel_6_0= ruleMetamodel { if ( state.backtracking==0 ) { @@ -8157,30 +8122,30 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:2654:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2642: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 ) ) ) ) ) + // InternalApplicationConfiguration.g:2642:4: ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2643: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 ) ) ) ) + // InternalApplicationConfiguration.g:2643:111: ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) + // InternalApplicationConfiguration.g:2644: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 ) ) ) + // InternalApplicationConfiguration.g:2647:9: ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) + // InternalApplicationConfiguration.g:2647: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 ) ) + // InternalApplicationConfiguration.g:2647:19: (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) + // InternalApplicationConfiguration.g:2647: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; + otherlv_7=(Token)match(input,40,FOLLOW_10); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_7, grammarAccess.getGenerationTaskAccess().getPartialModelKeyword_3_1_0()); @@ -8192,11 +8157,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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:2655:9: ( (lv_partialModel_9_0= rulePartialModel ) ) + // InternalApplicationConfiguration.g:2656:10: (lv_partialModel_9_0= rulePartialModel ) { - // InternalApplicationConfiguration.g:2668:10: (lv_partialModel_9_0= rulePartialModel ) - // InternalApplicationConfiguration.g:2669:11: lv_partialModel_9_0= rulePartialModel + // InternalApplicationConfiguration.g:2656:10: (lv_partialModel_9_0= rulePartialModel ) + // InternalApplicationConfiguration.g:2657:11: lv_partialModel_9_0= rulePartialModel { if ( state.backtracking==0 ) { @@ -8244,28 +8209,28 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:2692:4: ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2680: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 ) ) ) ) ) + // InternalApplicationConfiguration.g:2680:4: ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2681: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 ) ) ) ) + // InternalApplicationConfiguration.g:2681:111: ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) + // InternalApplicationConfiguration.g:2682: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 ) ) ) + // InternalApplicationConfiguration.g:2685:9: ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) + // InternalApplicationConfiguration.g:2685: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 ) ) + // InternalApplicationConfiguration.g:2685:19: (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) + // InternalApplicationConfiguration.g:2685: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 ) { @@ -8279,11 +8244,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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:2693:9: ( (lv_patterns_12_0= ruleGraphPattern ) ) + // InternalApplicationConfiguration.g:2694:10: (lv_patterns_12_0= ruleGraphPattern ) { - // InternalApplicationConfiguration.g:2706:10: (lv_patterns_12_0= ruleGraphPattern ) - // InternalApplicationConfiguration.g:2707:11: lv_patterns_12_0= ruleGraphPattern + // InternalApplicationConfiguration.g:2694:10: (lv_patterns_12_0= ruleGraphPattern ) + // InternalApplicationConfiguration.g:2695:11: lv_patterns_12_0= ruleGraphPattern { if ( state.backtracking==0 ) { @@ -8331,30 +8296,30 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 4 : - // InternalApplicationConfiguration.g:2730:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2718: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 ) ) ) ) ) + // InternalApplicationConfiguration.g:2718:4: ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2719: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 ) ) ) ) + // InternalApplicationConfiguration.g:2719:111: ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) + // InternalApplicationConfiguration.g:2720: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 ) ) ) + // InternalApplicationConfiguration.g:2723:9: ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) + // InternalApplicationConfiguration.g:2723: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 ) ) + // InternalApplicationConfiguration.g:2723:19: (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) + // InternalApplicationConfiguration.g:2723:20: otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) { - otherlv_13=(Token)match(input,37,FOLLOW_10); if (state.failed) return current; + otherlv_13=(Token)match(input,38,FOLLOW_10); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_13, grammarAccess.getGenerationTaskAccess().getScopeKeyword_3_3_0()); @@ -8366,11 +8331,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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:2731:9: ( (lv_scope_15_0= ruleScope ) ) + // InternalApplicationConfiguration.g:2732:10: (lv_scope_15_0= ruleScope ) { - // InternalApplicationConfiguration.g:2744:10: (lv_scope_15_0= ruleScope ) - // InternalApplicationConfiguration.g:2745:11: lv_scope_15_0= ruleScope + // InternalApplicationConfiguration.g:2732:10: (lv_scope_15_0= ruleScope ) + // InternalApplicationConfiguration.g:2733:11: lv_scope_15_0= ruleScope { if ( state.backtracking==0 ) { @@ -8418,46 +8383,46 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 5 : - // InternalApplicationConfiguration.g:2768:4: ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2756: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 ) ) ) ) ) + // InternalApplicationConfiguration.g:2756:4: ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2757: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 ) ) ) ) + // InternalApplicationConfiguration.g:2757:111: ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) + // InternalApplicationConfiguration.g:2758: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 ) ) ) + // InternalApplicationConfiguration.g:2761:9: ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:2761: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 ) ) + // InternalApplicationConfiguration.g:2761:19: (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:2761: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; + otherlv_16=(Token)match(input,41,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; + otherlv_17=(Token)match(input,16,FOLLOW_24); 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:2769:9: ( (lv_number_18_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2770: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 + // InternalApplicationConfiguration.g:2770:10: (lv_number_18_0= RULE_INT ) + // InternalApplicationConfiguration.g:2771: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 ) { @@ -8500,46 +8465,46 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 6 : - // InternalApplicationConfiguration.g:2805:4: ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2793: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 ) ) ) ) ) + // InternalApplicationConfiguration.g:2793:4: ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2794: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 ) ) ) ) + // InternalApplicationConfiguration.g:2794:111: ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) + // InternalApplicationConfiguration.g:2795: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 ) ) ) + // InternalApplicationConfiguration.g:2798:9: ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) + // InternalApplicationConfiguration.g:2798: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 ) ) + // InternalApplicationConfiguration.g:2798:19: (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) + // InternalApplicationConfiguration.g:2798: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; + otherlv_19=(Token)match(input,42,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; + otherlv_20=(Token)match(input,16,FOLLOW_24); 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:2806:9: ( (lv_runs_21_0= RULE_INT ) ) + // InternalApplicationConfiguration.g:2807: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 + // InternalApplicationConfiguration.g:2807:10: (lv_runs_21_0= RULE_INT ) + // InternalApplicationConfiguration.g:2808: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 ) { @@ -8582,30 +8547,30 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 7 : - // InternalApplicationConfiguration.g:2842:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2830: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 ) ) ) ) ) + // InternalApplicationConfiguration.g:2830:4: ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2831: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 ) ) ) ) + // InternalApplicationConfiguration.g:2831:111: ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) + // InternalApplicationConfiguration.g:2832: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 ) ) ) + // InternalApplicationConfiguration.g:2835:9: ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) + // InternalApplicationConfiguration.g:2835: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 ) ) + // InternalApplicationConfiguration.g:2835:19: (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) + // InternalApplicationConfiguration.g:2835:20: otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) { - otherlv_22=(Token)match(input,41,FOLLOW_10); if (state.failed) return current; + otherlv_22=(Token)match(input,43,FOLLOW_10); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_22, grammarAccess.getGenerationTaskAccess().getSolverKeyword_3_6_0()); @@ -8617,11 +8582,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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:2843:9: ( (lv_solver_24_0= ruleSolver ) ) + // InternalApplicationConfiguration.g:2844:10: (lv_solver_24_0= ruleSolver ) { - // InternalApplicationConfiguration.g:2856:10: (lv_solver_24_0= ruleSolver ) - // InternalApplicationConfiguration.g:2857:11: lv_solver_24_0= ruleSolver + // InternalApplicationConfiguration.g:2844:10: (lv_solver_24_0= ruleSolver ) + // InternalApplicationConfiguration.g:2845:11: lv_solver_24_0= ruleSolver { if ( state.backtracking==0 ) { @@ -8669,28 +8634,28 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 8 : - // InternalApplicationConfiguration.g:2880:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2868: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 ) ) ) ) ) + // InternalApplicationConfiguration.g:2868:4: ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2869: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 ) ) ) ) + // InternalApplicationConfiguration.g:2869:111: ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) + // InternalApplicationConfiguration.g:2870: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 ) ) ) + // InternalApplicationConfiguration.g:2873:9: ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) + // InternalApplicationConfiguration.g:2873: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 ) ) + // InternalApplicationConfiguration.g:2873:19: (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) + // InternalApplicationConfiguration.g:2873: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 ) { @@ -8704,11 +8669,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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:2881:9: ( (lv_config_27_0= ruleConfig ) ) + // InternalApplicationConfiguration.g:2882:10: (lv_config_27_0= ruleConfig ) { - // InternalApplicationConfiguration.g:2894:10: (lv_config_27_0= ruleConfig ) - // InternalApplicationConfiguration.g:2895:11: lv_config_27_0= ruleConfig + // InternalApplicationConfiguration.g:2882:10: (lv_config_27_0= ruleConfig ) + // InternalApplicationConfiguration.g:2883:11: lv_config_27_0= ruleConfig { if ( state.backtracking==0 ) { @@ -8756,30 +8721,30 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 9 : - // InternalApplicationConfiguration.g:2918:4: ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2906: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 ) ) ) ) ) + // InternalApplicationConfiguration.g:2906:4: ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2907: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 ) ) ) ) + // InternalApplicationConfiguration.g:2907:111: ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:2908: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 ) ) ) + // InternalApplicationConfiguration.g:2911:9: ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:2911: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 ) ) + // InternalApplicationConfiguration.g:2911:19: (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:2911:20: otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) { - otherlv_28=(Token)match(input,42,FOLLOW_10); if (state.failed) return current; + otherlv_28=(Token)match(input,44,FOLLOW_10); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_28, grammarAccess.getGenerationTaskAccess().getOutputKeyword_3_8_0()); @@ -8791,11 +8756,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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:2919:9: ( (lv_tagetFolder_30_0= ruleFile ) ) + // InternalApplicationConfiguration.g:2920:10: (lv_tagetFolder_30_0= ruleFile ) { - // InternalApplicationConfiguration.g:2932:10: (lv_tagetFolder_30_0= ruleFile ) - // InternalApplicationConfiguration.g:2933:11: lv_tagetFolder_30_0= ruleFile + // InternalApplicationConfiguration.g:2920:10: (lv_tagetFolder_30_0= ruleFile ) + // InternalApplicationConfiguration.g:2921:11: lv_tagetFolder_30_0= ruleFile { if ( state.backtracking==0 ) { @@ -8843,30 +8808,30 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 10 : - // InternalApplicationConfiguration.g:2956:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2944: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 ) ) ) ) ) + // InternalApplicationConfiguration.g:2944:4: ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2945: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 ) ) ) ) + // InternalApplicationConfiguration.g:2945:111: ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:2946: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 ) ) ) + // InternalApplicationConfiguration.g:2949:9: ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:2949: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 ) ) + // InternalApplicationConfiguration.g:2949:19: (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:2949:20: otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) { - otherlv_31=(Token)match(input,43,FOLLOW_10); if (state.failed) return current; + otherlv_31=(Token)match(input,45,FOLLOW_10); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_31, grammarAccess.getGenerationTaskAccess().getDebugKeyword_3_9_0()); @@ -8878,11 +8843,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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:2957:9: ( (lv_debugFolder_33_0= ruleFile ) ) + // InternalApplicationConfiguration.g:2958:10: (lv_debugFolder_33_0= ruleFile ) { - // InternalApplicationConfiguration.g:2970:10: (lv_debugFolder_33_0= ruleFile ) - // InternalApplicationConfiguration.g:2971:11: lv_debugFolder_33_0= ruleFile + // InternalApplicationConfiguration.g:2958:10: (lv_debugFolder_33_0= ruleFile ) + // InternalApplicationConfiguration.g:2959:11: lv_debugFolder_33_0= ruleFile { if ( state.backtracking==0 ) { @@ -8930,30 +8895,30 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 11 : - // InternalApplicationConfiguration.g:2994:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2982: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 ) ) ) ) ) + // InternalApplicationConfiguration.g:2982:4: ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:2983: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 ) ) ) ) + // InternalApplicationConfiguration.g:2983:112: ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:2984: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 ) ) ) + // InternalApplicationConfiguration.g:2987:9: ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:2987: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 ) ) + // InternalApplicationConfiguration.g:2987:19: (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:2987:20: otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) { - otherlv_34=(Token)match(input,44,FOLLOW_10); if (state.failed) return current; + otherlv_34=(Token)match(input,46,FOLLOW_10); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_34, grammarAccess.getGenerationTaskAccess().getLogKeyword_3_10_0()); @@ -8965,11 +8930,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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:2995:9: ( (lv_targetLogFile_36_0= ruleFile ) ) + // InternalApplicationConfiguration.g:2996:10: (lv_targetLogFile_36_0= ruleFile ) { - // InternalApplicationConfiguration.g:3008:10: (lv_targetLogFile_36_0= ruleFile ) - // InternalApplicationConfiguration.g:3009:11: lv_targetLogFile_36_0= ruleFile + // InternalApplicationConfiguration.g:2996:10: (lv_targetLogFile_36_0= ruleFile ) + // InternalApplicationConfiguration.g:2997:11: lv_targetLogFile_36_0= ruleFile { if ( state.backtracking==0 ) { @@ -9017,30 +8982,30 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 12 : - // InternalApplicationConfiguration.g:3032:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:3020: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 ) ) ) ) ) + // InternalApplicationConfiguration.g:3020:4: ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) + // InternalApplicationConfiguration.g:3021: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 ) ) ) ) + // InternalApplicationConfiguration.g:3021:112: ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) + // InternalApplicationConfiguration.g:3022: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 ) ) ) + // InternalApplicationConfiguration.g:3025:9: ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) + // InternalApplicationConfiguration.g:3025: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 ) ) + // InternalApplicationConfiguration.g:3025:19: (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) + // InternalApplicationConfiguration.g:3025:20: otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) { - otherlv_37=(Token)match(input,45,FOLLOW_10); if (state.failed) return current; + otherlv_37=(Token)match(input,47,FOLLOW_10); if (state.failed) return current; if ( state.backtracking==0 ) { newLeafNode(otherlv_37, grammarAccess.getGenerationTaskAccess().getStatisticsKeyword_3_11_0()); @@ -9052,11 +9017,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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:3033:9: ( (lv_targetStatisticsFile_39_0= ruleFile ) ) + // InternalApplicationConfiguration.g:3034:10: (lv_targetStatisticsFile_39_0= ruleFile ) { - // InternalApplicationConfiguration.g:3046:10: (lv_targetStatisticsFile_39_0= ruleFile ) - // InternalApplicationConfiguration.g:3047:11: lv_targetStatisticsFile_39_0= ruleFile + // InternalApplicationConfiguration.g:3034:10: (lv_targetStatisticsFile_39_0= ruleFile ) + // InternalApplicationConfiguration.g:3035:11: lv_targetStatisticsFile_39_0= ruleFile { if ( state.backtracking==0 ) { @@ -9105,7 +9070,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl break; default : - break loop37; + break loop36; } } while (true); @@ -9150,7 +9115,7 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl // $ANTLR start "ruleSolver" - // InternalApplicationConfiguration.g:3085:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ; + // InternalApplicationConfiguration.g:3073:1: ruleSolver returns [Enumerator current=null] : ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ; public final Enumerator ruleSolver() throws RecognitionException { Enumerator current = null; @@ -9162,43 +9127,43 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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:3079:2: ( ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) ) + // InternalApplicationConfiguration.g:3080: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; + // InternalApplicationConfiguration.g:3080:2: ( (enumLiteral_0= 'SMTSolver' ) | (enumLiteral_1= 'AlloySolver' ) | (enumLiteral_2= 'ViatraSolver' ) ) + int alt37=3; switch ( input.LA(1) ) { - case 46: + case 48: { - alt38=1; + alt37=1; } break; - case 47: + case 49: { - alt38=2; + alt37=2; } break; - case 48: + case 50: { - alt38=3; + alt37=3; } break; default: if (state.backtracking>0) {state.failed=true; return current;} NoViableAltException nvae = - new NoViableAltException("", 38, 0, input); + new NoViableAltException("", 37, 0, input); throw nvae; } - switch (alt38) { + switch (alt37) { case 1 : - // InternalApplicationConfiguration.g:3093:3: (enumLiteral_0= 'SMTSolver' ) + // InternalApplicationConfiguration.g:3081:3: (enumLiteral_0= 'SMTSolver' ) { - // InternalApplicationConfiguration.g:3093:3: (enumLiteral_0= 'SMTSolver' ) - // InternalApplicationConfiguration.g:3094:4: enumLiteral_0= 'SMTSolver' + // InternalApplicationConfiguration.g:3081:3: (enumLiteral_0= 'SMTSolver' ) + // InternalApplicationConfiguration.g:3082:4: enumLiteral_0= 'SMTSolver' { - enumLiteral_0=(Token)match(input,46,FOLLOW_2); if (state.failed) return current; + enumLiteral_0=(Token)match(input,48,FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { current = grammarAccess.getSolverAccess().getSMTSolverEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); @@ -9212,12 +9177,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 2 : - // InternalApplicationConfiguration.g:3101:3: (enumLiteral_1= 'AlloySolver' ) + // InternalApplicationConfiguration.g:3089:3: (enumLiteral_1= 'AlloySolver' ) { - // InternalApplicationConfiguration.g:3101:3: (enumLiteral_1= 'AlloySolver' ) - // InternalApplicationConfiguration.g:3102:4: enumLiteral_1= 'AlloySolver' + // InternalApplicationConfiguration.g:3089:3: (enumLiteral_1= 'AlloySolver' ) + // InternalApplicationConfiguration.g:3090:4: enumLiteral_1= 'AlloySolver' { - enumLiteral_1=(Token)match(input,47,FOLLOW_2); if (state.failed) return current; + enumLiteral_1=(Token)match(input,49,FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { current = grammarAccess.getSolverAccess().getAlloySolverEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); @@ -9231,12 +9196,12 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } break; case 3 : - // InternalApplicationConfiguration.g:3109:3: (enumLiteral_2= 'ViatraSolver' ) + // InternalApplicationConfiguration.g:3097:3: (enumLiteral_2= 'ViatraSolver' ) { - // InternalApplicationConfiguration.g:3109:3: (enumLiteral_2= 'ViatraSolver' ) - // InternalApplicationConfiguration.g:3110:4: enumLiteral_2= 'ViatraSolver' + // InternalApplicationConfiguration.g:3097:3: (enumLiteral_2= 'ViatraSolver' ) + // InternalApplicationConfiguration.g:3098:4: enumLiteral_2= 'ViatraSolver' { - enumLiteral_2=(Token)match(input,48,FOLLOW_2); if (state.failed) return current; + enumLiteral_2=(Token)match(input,50,FOLLOW_2); if (state.failed) return current; if ( state.backtracking==0 ) { current = grammarAccess.getSolverAccess().getViatraSolverEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); @@ -9301,14 +9266,14 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl } - protected DFA37 dfa37 = new DFA37(this); + protected DFA36 dfa36 = new DFA36(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_3s = "\1\57\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", + "\1\1\3\uffff\1\2\2\uffff\1\4\1\11\12\uffff\1\5\1\uffff\1\3\1\6\1\7\1\10\1\12\1\13\1\14\1\15", "", "", "", @@ -9331,11 +9296,11 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s); - class DFA37 extends DFA { + class DFA36 extends DFA { - public DFA37(BaseRecognizer recognizer) { + public DFA36(BaseRecognizer recognizer) { this.recognizer = recognizer; - this.decisionNumber = 37; + this.decisionNumber = 36; this.eot = dfa_1; this.eof = dfa_1; this.min = dfa_2; @@ -9345,53 +9310,53 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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 ) ) ) ) ) ) )*"; + return "()* loopback of 2603:6: ( ({...}? => ( ({...}? => (otherlv_4= 'metamodel' otherlv_5= '=' ( (lv_metamodel_6_0= ruleMetamodel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'partial-model' otherlv_8= '=' ( (lv_partialModel_9_0= rulePartialModel ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'patterns' otherlv_11= '=' ( (lv_patterns_12_0= ruleGraphPattern ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'scope' otherlv_14= '=' ( (lv_scope_15_0= ruleScope ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_16= 'number' otherlv_17= '=' ( (lv_number_18_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_19= 'runs' otherlv_20= '=' ( (lv_runs_21_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_22= 'solver' otherlv_23= '=' ( (lv_solver_24_0= ruleSolver ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_25= 'config' otherlv_26= '=' ( (lv_config_27_0= ruleConfig ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_28= 'output' otherlv_29= '=' ( (lv_tagetFolder_30_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_31= 'debug' otherlv_32= '=' ( (lv_debugFolder_33_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_34= 'log' otherlv_35= '=' ( (lv_targetLogFile_36_0= ruleFile ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_37= 'statistics' otherlv_38= '=' ( (lv_targetStatisticsFile_39_0= ruleFile ) ) ) ) ) ) )*"; } 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 LA36_0 = input.LA(1); - int index37_0 = input.index(); + int index36_0 = input.index(); input.rewind(); s = -1; - if ( (LA37_0==19) ) {s = 1;} + if ( (LA36_0==19) ) {s = 1;} - else if ( LA37_0 == 23 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 0) ) {s = 2;} + else if ( LA36_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 ( LA36_0 == 40 && 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 ( LA36_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 ( LA36_0 == 38 && 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 ( LA36_0 == 41 && 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 ( LA36_0 == 42 && 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 ( LA36_0 == 43 && 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 ( LA36_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 ( LA36_0 == 44 && 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 ( LA36_0 == 45 && 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 ( LA36_0 == 46 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 10) ) {s = 12;} - else if ( LA37_0 == 45 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 13;} + else if ( LA36_0 == 47 && getUnorderedGroupHelper().canSelect(grammarAccess.getGenerationTaskAccess().getUnorderedGroup_3(), 11) ) {s = 13;} - input.seek(index37_0); + input.seek(index36_0); if ( s>=0 ) return s; break; } if (state.backtracking>0) {state.failed=true; return -1;} NoViableAltException nvae = - new NoViableAltException(getDescription(), 37, _s, input); + new NoViableAltException(getDescription(), 36, _s, input); error(nvae); throw nvae; } @@ -9400,8 +9365,8 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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[]{0x000000600E809002L}); - public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x000000600E808002L}); + public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x000000C00E809002L}); + public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x000000C00E808002L}); 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}); @@ -9417,16 +9382,16 @@ public class InternalApplicationConfigurationParser extends AbstractInternalAntl 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_20 = new BitSet(new long[]{0x0000000010080000L}); + public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000010000000L}); + public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000003D00000000L}); + public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000020010000L}); + public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x0000000000000040L}); + public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000000040000002L}); + public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000080000040L}); + public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000200000000L}); + public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000FF400C880000L}); public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000000020010L}); - public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0001C00000000000L}); + public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0007000000000000L}); } 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 50aad570..7315b343 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 @@ -751,7 +751,7 @@ public class ApplicationConfigurationSemanticSequencer extends AbstractDelegatin * TypeScope returns TypeScope * * Constraint: - * ((min=INT (greather?='<' | greaterOrEqual?='<='))? type=TypeReference ((less?='<' | lessOrEqual?='<=') max=INT)?) + * (type=TypeReference (setsNew?='+=' | setsSum?='=') min=INT (maxUnlimited?='*' | max=INT)?) */ protected void sequence_TypeScope(ISerializationContext context, TypeScope semanticObject) { genericSequencer.createSequence(context, semanticObject); 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 688dd229..f13a19a3 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 @@ -734,21 +734,21 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen 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 Keyword cModelsKeyword_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; + // 'models' name=ID specification=PartialModelSpecification; @Override public ParserRule getRule() { return rule; } - //'partial-model' name=ID specification=PartialModelSpecification + //'models' name=ID specification=PartialModelSpecification public Group getGroup() { return cGroup; } - //'partial-model' - public Keyword getPartialModelKeyword_0() { return cPartialModelKeyword_0; } + //'models' + public Keyword getModelsKeyword_0() { return cModelsKeyword_0; } //name=ID public Assignment getNameAssignment_1() { return cNameAssignment_1; } @@ -1256,89 +1256,81 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen 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); + private final Keyword cNumberSignKeyword_0 = (Keyword)cGroup.eContents().get(0); + private final Assignment cTypeAssignment_1 = (Assignment)cGroup.eContents().get(1); + private final RuleCall cTypeTypeReferenceParserRuleCall_1_0 = (RuleCall)cTypeAssignment_1.eContents().get(0); + private final Alternatives cAlternatives_2 = (Alternatives)cGroup.eContents().get(2); + private final Assignment cSetsNewAssignment_2_0 = (Assignment)cAlternatives_2.eContents().get(0); + private final Keyword cSetsNewPlusSignEqualsSignKeyword_2_0_0 = (Keyword)cSetsNewAssignment_2_0.eContents().get(0); + private final Assignment cSetsSumAssignment_2_1 = (Assignment)cAlternatives_2.eContents().get(1); + private final Keyword cSetsSumEqualsSignKeyword_2_1_0 = (Keyword)cSetsSumAssignment_2_1.eContents().get(0); + private final Assignment cMinAssignment_3 = (Assignment)cGroup.eContents().get(3); + private final RuleCall cMinINTTerminalRuleCall_3_0 = (RuleCall)cMinAssignment_3.eContents().get(0); + private final Group cGroup_4 = (Group)cGroup.eContents().get(4); + private final Keyword cFullStopFullStopKeyword_4_0 = (Keyword)cGroup_4.eContents().get(0); + private final Alternatives cAlternatives_4_1 = (Alternatives)cGroup_4.eContents().get(1); + private final Assignment cMaxUnlimitedAssignment_4_1_0 = (Assignment)cAlternatives_4_1.eContents().get(0); + private final Keyword cMaxUnlimitedAsteriskKeyword_4_1_0_0 = (Keyword)cMaxUnlimitedAssignment_4_1_0.eContents().get(0); + private final Assignment cMaxAssignment_4_1_1 = (Assignment)cAlternatives_4_1.eContents().get(1); + private final RuleCall cMaxINTTerminalRuleCall_4_1_1_0 = (RuleCall)cMaxAssignment_4_1_1.eContents().get(0); //TypeScope: - // (min=INT (greather?='<' | greaterOrEqual?='<='))? '#' type=TypeReference ((less?='<' | lessOrEqual?='<=') max=INT)?; + // '#' type=TypeReference (setsNew?='+=' | setsSum?='=') min=INT ('..' (maxUnlimited?='*' | max=INT))?; @Override public ParserRule getRule() { return rule; } - //(min=INT (greather?='<' | greaterOrEqual?='<='))? '#' type=TypeReference ((less?='<' | lessOrEqual?='<=') max=INT)? + //'#' type=TypeReference (setsNew?='+=' | setsSum?='=') min=INT ('..' (maxUnlimited?='*' | 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; } + //'#' + public Keyword getNumberSignKeyword_0() { return cNumberSignKeyword_0; } - //(greather?='<' | greaterOrEqual?='<=') - public Alternatives getAlternatives_0_1() { return cAlternatives_0_1; } + //type=TypeReference + public Assignment getTypeAssignment_1() { return cTypeAssignment_1; } - //greather?='<' - public Assignment getGreatherAssignment_0_1_0() { return cGreatherAssignment_0_1_0; } + //TypeReference + public RuleCall getTypeTypeReferenceParserRuleCall_1_0() { return cTypeTypeReferenceParserRuleCall_1_0; } - //'<' - public Keyword getGreatherLessThanSignKeyword_0_1_0_0() { return cGreatherLessThanSignKeyword_0_1_0_0; } + //(setsNew?='+=' | setsSum?='=') + public Alternatives getAlternatives_2() { return cAlternatives_2; } - //greaterOrEqual?='<=' - public Assignment getGreaterOrEqualAssignment_0_1_1() { return cGreaterOrEqualAssignment_0_1_1; } + //setsNew?='+=' + public Assignment getSetsNewAssignment_2_0() { return cSetsNewAssignment_2_0; } - //'<=' - public Keyword getGreaterOrEqualLessThanSignEqualsSignKeyword_0_1_1_0() { return cGreaterOrEqualLessThanSignEqualsSignKeyword_0_1_1_0; } + //'+=' + public Keyword getSetsNewPlusSignEqualsSignKeyword_2_0_0() { return cSetsNewPlusSignEqualsSignKeyword_2_0_0; } - //'#' - public Keyword getNumberSignKeyword_1() { return cNumberSignKeyword_1; } + //setsSum?='=' + public Assignment getSetsSumAssignment_2_1() { return cSetsSumAssignment_2_1; } - //type=TypeReference - public Assignment getTypeAssignment_2() { return cTypeAssignment_2; } + //'=' + public Keyword getSetsSumEqualsSignKeyword_2_1_0() { return cSetsSumEqualsSignKeyword_2_1_0; } - //TypeReference - public RuleCall getTypeTypeReferenceParserRuleCall_2_0() { return cTypeTypeReferenceParserRuleCall_2_0; } + //min=INT + public Assignment getMinAssignment_3() { return cMinAssignment_3; } - //((less?='<' | lessOrEqual?='<=') max=INT)? - public Group getGroup_3() { return cGroup_3; } + //INT + public RuleCall getMinINTTerminalRuleCall_3_0() { return cMinINTTerminalRuleCall_3_0; } - //(less?='<' | lessOrEqual?='<=') - public Alternatives getAlternatives_3_0() { return cAlternatives_3_0; } + //('..' (maxUnlimited?='*' | max=INT))? + public Group getGroup_4() { return cGroup_4; } - //less?='<' - public Assignment getLessAssignment_3_0_0() { return cLessAssignment_3_0_0; } + //'..' + public Keyword getFullStopFullStopKeyword_4_0() { return cFullStopFullStopKeyword_4_0; } - //'<' - public Keyword getLessLessThanSignKeyword_3_0_0_0() { return cLessLessThanSignKeyword_3_0_0_0; } + //(maxUnlimited?='*' | max=INT) + public Alternatives getAlternatives_4_1() { return cAlternatives_4_1; } - //lessOrEqual?='<=' - public Assignment getLessOrEqualAssignment_3_0_1() { return cLessOrEqualAssignment_3_0_1; } + //maxUnlimited?='*' + public Assignment getMaxUnlimitedAssignment_4_1_0() { return cMaxUnlimitedAssignment_4_1_0; } - //'<=' - public Keyword getLessOrEqualLessThanSignEqualsSignKeyword_3_0_1_0() { return cLessOrEqualLessThanSignEqualsSignKeyword_3_0_1_0; } + //'*' + public Keyword getMaxUnlimitedAsteriskKeyword_4_1_0_0() { return cMaxUnlimitedAsteriskKeyword_4_1_0_0; } //max=INT - public Assignment getMaxAssignment_3_1() { return cMaxAssignment_3_1; } + public Assignment getMaxAssignment_4_1_1() { return cMaxAssignment_4_1_1; } //INT - public RuleCall getMaxINTTerminalRuleCall_3_1_0() { return cMaxINTTerminalRuleCall_3_1_0; } + public RuleCall getMaxINTTerminalRuleCall_4_1_1_0() { return cMaxINTTerminalRuleCall_4_1_1_0; } } public class TypeReferenceElements extends AbstractParserRuleElementFinder { private final ParserRule rule = (ParserRule) GrammarUtil.findRuleForName(getGrammar(), "hu.bme.mit.inf.dslreasoner.application.ApplicationConfiguration.TypeReference"); @@ -1548,7 +1540,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen private final RuleCall cGenerationTaskParserRuleCall = (RuleCall)rule.eContents().get(1); //Task: - // GenerationTask / *| MeasurementTask | ValidationTask* /; + // GenerationTask / *| CoverageCalculation | ValidationTask* /; @Override public ParserRule getRule() { return rule; } //GenerationTask @@ -1628,8 +1620,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen // 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)?) - // '}'; + // targetStatisticsFile=File)?) '}'; @Override public ParserRule getRule() { return rule; } //'generate' {GenerationTask} '{' (('metamodel' '=' metamodel=Metamodel)? & ('partial-model' '=' @@ -2259,7 +2250,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen } //PartialModelDeclaration: - // 'partial-model' name=ID specification=PartialModelSpecification; + // 'models' name=ID specification=PartialModelSpecification; public PartialModelDeclarationElements getPartialModelDeclarationAccess() { return pPartialModelDeclaration; } @@ -2438,7 +2429,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen } //TypeScope: - // (min=INT (greather?='<' | greaterOrEqual?='<='))? '#' type=TypeReference ((less?='<' | lessOrEqual?='<=') max=INT)?; + // '#' type=TypeReference (setsNew?='+=' | setsSum?='=') min=INT ('..' (maxUnlimited?='*' | max=INT))?; public TypeScopeElements getTypeScopeAccess() { return pTypeScope; } @@ -2538,7 +2529,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen } //Task: - // GenerationTask / *| MeasurementTask | ValidationTask* /; + // GenerationTask / *| CoverageCalculation | ValidationTask* /; public TaskElements getTaskAccess() { return pTask; } @@ -2552,8 +2543,7 @@ public class ApplicationConfigurationGrammarAccess extends AbstractGrammarElemen // 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)?) - // '}'; + // targetStatisticsFile=File)?) '}'; public GenerationTaskElements getGenerationTaskAccess() { return pGenerationTask; } 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 1e8fd485..2ac81bf6 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 @@ -118,10 +118,10 @@ ScopeDeclaration: 'scope' name = ID specification = ScopeSpecification; ScopeReference: referred = [ScopeDeclaration]; Scope: ScopeSpecification | ScopeReference; -Task: GenerationTask /*| MeasurementTask | ValidationTask*/; +Task: GenerationTask /*| CoverageCalculation | ValidationTask*/; -GenerationTask: 'generate' {GenerationTask} '{' - (('metamodel' '=' metamodel = Metamodel)? & +GenerationTask: 'generate' {GenerationTask} '{'( + ('metamodel' '=' metamodel = Metamodel)? & ('partial-model' '=' partialModel = PartialModel)? & ('patterns' '=' patterns = GraphPattern)? & ('scope' '=' scope = Scope)? & @@ -132,6 +132,6 @@ GenerationTask: 'generate' {GenerationTask} '{' ('output' '=' tagetFolder = File)? & ('debug' '=' debugFolder = File)? & ('log' '=' targetLogFile = File)? & - ('statistics' '=' targetStatisticsFile = File)?) - '}' + ('statistics' '=' targetStatisticsFile = File)? + )'}' ; \ No newline at end of file diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/.gitignore b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/.gitignore index d1f59103..0d946acb 100644 --- a/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/.gitignore +++ b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/.gitignore @@ -19,3 +19,5 @@ /MetamodelLoader.java /ModelLoader.java /QueryLoader.java +/.MetamodelValidator.java._trace +/.QueryAndMetamodelValidator.java._trace diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/validation/.MetamodelValidator.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/validation/.MetamodelValidator.xtendbin new file mode 100644 index 00000000..4b5f1417 Binary files /dev/null and b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/validation/.MetamodelValidator.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/validation/.QueryAndMetamodelValidator.xtendbin b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/validation/.QueryAndMetamodelValidator.xtendbin new file mode 100644 index 00000000..3816ffb2 Binary files /dev/null and b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/validation/.QueryAndMetamodelValidator.xtendbin differ diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/validation/.gitignore b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/validation/.gitignore new file mode 100644 index 00000000..48aea421 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/validation/.gitignore @@ -0,0 +1,2 @@ +/.MetamodelValidator.java._trace +/.QueryAndMetamodelValidator.java._trace diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/validation/MetamodelValidator.java b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/validation/MetamodelValidator.java new file mode 100644 index 00000000..1e21f6ab --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/validation/MetamodelValidator.java @@ -0,0 +1,167 @@ +package hu.bme.mit.inf.dslreasoner.application.execution.validation; + +import hu.bme.mit.inf.dslreasoner.ecore2logic.EcoreMetamodelDescriptor; +import java.util.Collections; +import java.util.LinkedList; +import java.util.List; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EDataType; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EEnumLiteral; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.EcorePackage; +import org.eclipse.xtend2.lib.StringConcatenation; +import org.eclipse.xtext.xbase.lib.CollectionLiterals; +import org.eclipse.xtext.xbase.lib.Extension; + +@SuppressWarnings("all") +public class MetamodelValidator { + public LinkedList validateMetamodel(final EcoreMetamodelDescriptor descriptor) { + final LinkedList errors = new LinkedList(); + List _classes = descriptor.getClasses(); + this.allSupertypesAreIncluded(_classes, errors); + List _enums = descriptor.getEnums(); + List _literals = descriptor.getLiterals(); + this.allEnumTypesareIncluded(_enums, _literals, errors); + List _classes_1 = descriptor.getClasses(); + List _references = descriptor.getReferences(); + this.referenceEndpointsAreIncluded(_classes_1, _references, errors); + List _classes_2 = descriptor.getClasses(); + List _attributes = descriptor.getAttributes(); + this.attributeSourcePontIsIncluded(_classes_2, _attributes, errors); + List _attributes_1 = descriptor.getAttributes(); + this.attributeTargetIsSupported(_attributes_1, errors); + return errors; + } + + private boolean supportedEDataType(final EDataType dataType) { + @Extension + final EcorePackage l = EcorePackage.eINSTANCE; + EDataType _eInt = l.getEInt(); + EDataType _eBoolean = l.getEBoolean(); + EDataType _eString = l.getEString(); + EDataType _eDouble = l.getEDouble(); + EDataType _eFloat = l.getEFloat(); + return Collections.unmodifiableList(CollectionLiterals.newArrayList(_eInt, _eBoolean, _eString, _eDouble, _eFloat)).contains(dataType); + } + + public void allSupertypesAreIncluded(final List classes, final List errors) { + for (final EClass c : classes) { + EList _eSuperTypes = c.getESuperTypes(); + for (final EClass s : _eSuperTypes) { + boolean _contains = classes.contains(s); + boolean _not = (!_contains); + if (_not) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("Metamodel contains \""); + String _name = c.getName(); + _builder.append(_name, ""); + _builder.append("\" but not contains its supertype \""); + String _name_1 = s.getName(); + _builder.append(_name_1, ""); + _builder.append("\"!"); + errors.add(_builder.toString()); + } + } + } + } + + public void allEnumTypesareIncluded(final List enums, final List literals, final List errors) { + for (final EEnumLiteral l : literals) { + EEnum _eEnum = l.getEEnum(); + boolean _contains = enums.contains(_eEnum); + boolean _not = (!_contains); + if (_not) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("Metamodel contains literal \""); + String _name = l.getName(); + _builder.append(_name, ""); + _builder.append("\" but does not contains enum \""); + EEnum _eEnum_1 = l.getEEnum(); + String _name_1 = _eEnum_1.getName(); + _builder.append(_name_1, ""); + _builder.append("\"!"); + errors.add(_builder.toString()); + } + } + } + + public void referenceEndpointsAreIncluded(final List classes, final List references, final List errors) { + for (final EReference reference : references) { + { + final EClass src = reference.getEContainingClass(); + boolean _contains = classes.contains(src); + boolean _not = (!_contains); + if (_not) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("Metamodel contains reference \""); + String _name = reference.getName(); + _builder.append(_name, ""); + _builder.append("\" but does not contains its source type \""); + String _name_1 = src.getName(); + _builder.append(_name_1, ""); + _builder.append("\"!"); + errors.add(_builder.toString()); + } + final EClass trg = reference.getEReferenceType(); + boolean _contains_1 = classes.contains(trg); + boolean _not_1 = (!_contains_1); + if (_not_1) { + StringConcatenation _builder_1 = new StringConcatenation(); + _builder_1.append("Metamodel contains reference \""); + String _name_2 = reference.getName(); + _builder_1.append(_name_2, ""); + _builder_1.append("\" but does not contains its target type \""); + String _name_3 = trg.getName(); + _builder_1.append(_name_3, ""); + _builder_1.append("\"!"); + errors.add(_builder_1.toString()); + } + } + } + } + + public void attributeSourcePontIsIncluded(final List classes, final List attributes, final List errors) { + for (final EAttribute attribute : attributes) { + { + final Class src = attribute.getContainerClass(); + boolean _contains = classes.contains(src); + boolean _not = (!_contains); + if (_not) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("Metamodel contains attribute \""); + String _name = attribute.getName(); + _builder.append(_name, ""); + _builder.append("\" but does not contains its source type \""); + String _name_1 = src.getName(); + _builder.append(_name_1, ""); + _builder.append("\"!"); + errors.add(_builder.toString()); + } + } + } + } + + public void attributeTargetIsSupported(final List attributes, final List errors) { + for (final EAttribute attribute : attributes) { + { + final EDataType trg = attribute.getEAttributeType(); + boolean _supportedEDataType = this.supportedEDataType(trg); + boolean _not = (!_supportedEDataType); + if (_not) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("Metamodels contains attribute \""); + String _name = attribute.getName(); + _builder.append(_name, ""); + _builder.append("\" with unsupported type \""); + String _name_1 = trg.getName(); + _builder.append(_name_1, ""); + _builder.append("\"!"); + errors.add(_builder.toString()); + } + } + } + } +} diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/validation/QueryAndMetamodelValidator.java b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/validation/QueryAndMetamodelValidator.java new file mode 100644 index 00000000..ee4567d8 --- /dev/null +++ b/Application/hu.bme.mit.inf.dslreasoner.application/xtend-gen/hu/bme/mit/inf/dslreasoner/application/execution/validation/QueryAndMetamodelValidator.java @@ -0,0 +1,93 @@ +package hu.bme.mit.inf.dslreasoner.application.execution.validation; + +import com.google.common.collect.Iterables; +import hu.bme.mit.inf.dslreasoner.ecore2logic.EcoreMetamodelDescriptor; +import hu.bme.mit.inf.dslreasoner.viatra2logic.ViatraQuerySetDescriptor; +import java.util.Collections; +import java.util.LinkedList; +import java.util.List; +import java.util.Set; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.common.util.TreeIterator; +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EClassifier; +import org.eclipse.emf.ecore.EEnum; +import org.eclipse.emf.ecore.EEnumLiteral; +import org.eclipse.emf.ecore.ENamedElement; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.viatra.query.patternlanguage.patternLanguage.Pattern; +import org.eclipse.xtend2.lib.StringConcatenation; +import org.eclipse.xtext.xbase.lib.CollectionLiterals; +import org.eclipse.xtext.xbase.lib.Functions.Function1; +import org.eclipse.xtext.xbase.lib.IterableExtensions; +import org.eclipse.xtext.xbase.lib.IteratorExtensions; +import org.eclipse.xtext.xbase.lib.ListExtensions; +import org.eclipse.xtext.xbase.lib.Pair; + +@SuppressWarnings("all") +public class QueryAndMetamodelValidator { + public LinkedList validateQueryAndMetamodel(final EcoreMetamodelDescriptor metamodel, final Pair> viatra) { + final Set patterns = viatra.getValue(); + List _classes = metamodel.getClasses(); + List _enums = metamodel.getEnums(); + Iterable _plus = Iterables.concat(_classes, _enums); + List _literals = metamodel.getLiterals(); + Iterable _plus_1 = Iterables.concat(_plus, _literals); + List _attributes = metamodel.getAttributes(); + Iterable _plus_2 = Iterables.concat(_plus_1, _attributes); + List _references = metamodel.getReferences(); + Iterable _plus_3 = Iterables.concat(_plus_2, _references); + final Set elementsInMetamodel = IterableExtensions.toSet(_plus_3); + final LinkedList errors = new LinkedList(); + for (final Pattern pattern : patterns) { + { + final Iterable elements = this.getReferredNamedElements(pattern); + for (final ENamedElement element : elements) { + boolean _contains = elementsInMetamodel.contains(element); + boolean _not = (!_contains); + if (_not) { + StringConcatenation _builder = new StringConcatenation(); + _builder.append("Pattern \""); + String _name = pattern.getName(); + _builder.append(_name, ""); + _builder.append("\" refers to an element \""); + _builder.append(element, ""); + _builder.append("\" that is not included to the selected metamodel!"); + errors.add(_builder.toString()); + } + } + } + } + return errors; + } + + public Iterable getReferredNamedElements(final Pattern pattern) { + TreeIterator _eAllContents = pattern.eAllContents(); + final List elements = IteratorExtensions.toList(_eAllContents); + final Function1> _function = (EObject element) -> { + EClass _eClass = element.eClass(); + final EList references = _eClass.getEAllReferences(); + final Function1> _function_1 = (EReference r) -> { + boolean _isMany = r.isMany(); + if (_isMany) { + Object _eGet = element.eGet(r); + return Iterables.filter(((List) _eGet), ENamedElement.class); + } else { + final Object value = element.eGet(r); + if ((value instanceof ENamedElement)) { + return Collections.unmodifiableList(CollectionLiterals.newArrayList(((ENamedElement)value))); + } else { + return Collections.unmodifiableList(CollectionLiterals.newArrayList()); + } + } + }; + List> _map = ListExtensions.>map(references, _function_1); + Iterable _flatten = Iterables.concat(_map); + return Iterables.filter(_flatten, ENamedElement.class); + }; + List> _map = ListExtensions.>map(elements, _function); + return Iterables.concat(_map); + } +} -- cgit v1.2.3-54-g00ecf